vg4->window->setattr()
Set window attributes.
SYNTAX
void
vg4->window->setattr(struct VG_ImagecopyAttrPixel *iattr_pixel)
FUNCTION PARAMETERS
iattr_pixel | Pixel-modifying part of image-copy attributes, or NULL = set to default |
DESCRIPTION
Set window attributes.
Showing window contents will be influenced according to these attributes.
EXAMPLE
/* show window contents in grey color */ struct VG_ImagecopyAttrPixel wattr_pixel; VG_IMAGECOPY_ATTRPIXEL_DEFAULT(&wattr_pixel); wattr_pixel.pixelcolor = VG_PIXELCOLOR_GREY; vg4->window->setattr(&wattr_pixel);
SEE ALSO