VgaGames4 - image man-pages

[.. upper level ..]

struct VG_ImagecopyAttrPixel

Pixel-modifying part of image-copy attributes.

ELEMENTS
int opaqueness Opaqueness in percent: - 0 = invisible - 100 = full visible (default)
int brightness Brightness in percent: - 0 = dark - 100 = bright (default) - >100 up to VG_MAX_BRIGHTNESS = overdriving bright
int colorize_color Colorizing: one of VG_COLORS or from VG_COLOR_RGB(), (default = VG_COLOR_TRANSPARENT)
int colorize_percent Colorizing: depth in percent: 0 = no, 100 = maximal, (default = 0)
int pixelcolor Pixel color, one of: - VG_PIXELCOLOR_NOP = no change, (default) - VG_PIXELCOLOR_GREY = convert to grey - VG_PIXELCOLOR_INVERT = invert color
struct VG_PixelColor (*cbf)(struct VG_PixelColor) Individual pixel-modifying function, (default = NULL), will be called at last, if not NULL, - Parameter: pixel - Return value: modified pixel

SEE ALSO
VG_MAX_BRIGHTNESS VG_IMAGECOPY_ATTRPIXEL_DEFAULT() struct VG_ImagecopyAttr vg4->window->setattr() vg4->window->getattr()