pub fn calc_start_index_stride_and_skip(&self) -> (u32, u32, u32) {
		let start_index =
			self.pane_start_y * self.map_width.val_as_u32() * 2 + self.pane_start_x * 2;
		let pane_width = match self.pane_width {
			Some(w) => w,
			None => 0,
		};
		let stride = pane_width * 2;
		let skip = self.map_width.val_as_u32() * 2 - pane_width * 2;
		(start_index, stride, skip)
	}
/// Calculate the required start index and
Calculate the required start index and
Calculate the required start index and
pub fn calc_start_index_stride_and_skip(&self) -> (u32, u32, u32) {
		let start_index =
			self.pane_start_y * self.map_width.val_as_u32() * 2 + self.pane_start_x * 2;
		let pane_width = match self.pane_width {
			Some(w) => w,
			None => 0,
		};
		let stride = pane_width * 2;
		let skip = self.map_width.val_as_u32() * 2 - pane_width * 2;
		(start_index, stride, skip)
	}
pub fn calc_start_index_stride_and_skip ( & self ) -> ( u32 , u32 , u32 ) { let start_index = self . pane_start_y * self . map_width . val_as_u32 ( ) * 2 + self . pane_start_x * 2 ; let pane_width = match self . pane_width { Some ( w ) => w , None => 0 , } ; let stride = pane_width * 2 ; let skip = self . map_width . val_as_u32 ( ) * 2 - pane_width * 2 ; ( start_index , stride , skip ) }
Calculate the required start index and
Calculate the required start index and
&self