VgaGames 3 - Video man-pages

[.. upper level ..]

VG3_image_attr_sum()

Get the sum of two image-attribute structures.
SYNTAX
void VG3_image_attr_sum(struct vg3_image_attributes *gesattr, struct vg3_image_attributes *attr1, struct vg3_image_attributes *attr2)

FUNCTION PARAMETERS
gesattr For returning the sum of image-attributes
attr1 First structure with image-attributes
attr2 Second structure with image-attributes

DESCRIPTION
Add two image-attribute structures together. A use case could be if an image of a sprite has attributes and should be drawn with further attributes.