HPGS - HPGl Script
Data Fields
hpgs_paint_color_st Struct Reference

An image RGB color with an optional palette index. More...

#include <hpgs.h>

Data Fields

unsigned char r
 
unsigned char g
 
unsigned char b
 
unsigned char index
 

Detailed Description

An image RGB color with an optional palette index.

This structure has a public alias hpgs_paint_color and represents an image RGB color with an optional palette index consisting of single byte r,g and b color values in the range 0 to 255 as well as of a single byte palette index.

For calculating a suitable palette index for a given hpgs_image consider calling hpgs_image_define_color.


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