GATE
gate_rasterimage_class Struct Reference

Public Attributes

unsigned int width
 
unsigned int height
 
gate_uint16_t bits_per_pixel
 
gate_uint16_t line_padding
 
gate_uint16_t pixel_format
 
gate_uint16_t pixel_length
 
gate_rasterimage_get_ptr_t get_ptr
 
gate_rasterimage_write_pixel_t write_pixel
 
gate_rasterimage_read_pixel_t read_pixel
 
gate_uint8_tdata
 
gate_image_databuffer_tdatabuffer
 

Member Data Documentation

◆ bits_per_pixel

gate_uint16_t gate_rasterimage_class::bits_per_pixel

width of image in pixels

◆ data

gate_uint8_t* gate_rasterimage_class::data

pointer to pixel data (first pixel)

◆ databuffer

gate_image_databuffer_t* gate_rasterimage_class::databuffer

pointer to image_databuffer reference

◆ get_ptr

gate_rasterimage_get_ptr_t gate_rasterimage_class::get_ptr

pointer to function returning a pixel position

◆ height

unsigned int gate_rasterimage_class::height

height of image in pixels

◆ line_padding

gate_uint16_t gate_rasterimage_class::line_padding

padding bytes at the end of a line before next line starts

◆ pixel_format

gate_uint16_t gate_rasterimage_class::pixel_format

GATE_IMAGE_PIXELFORMAT_* format ID

◆ pixel_length

gate_uint16_t gate_rasterimage_class::pixel_length

length of one pixel in bytes

◆ read_pixel

gate_rasterimage_read_pixel_t gate_rasterimage_class::read_pixel

pointer to function to read a pixel from a position

◆ width

unsigned int gate_rasterimage_class::width

width of image in pixels

◆ write_pixel

gate_rasterimage_write_pixel_t gate_rasterimage_class::write_pixel

pointer to function to write a pixel to a position


The documentation for this struct was generated from the following file: