Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
The rendering of this shape becomes undefined when any one of the following is true:
• destination_x, destination_y pixel position falls outside the frame buffer.
• source_x_offset, source_y_offset results in a starting position beyond the image's dimension.
• source_width and/or source_height is larger than the actual image's width and height.
• pointer is not properly initialized to a GFX_RESOURCE_HDR object.
Preconditions
None.
Example
// assume the backgroundImage has dimension of 320x240 pixels.
GFX_RESOURCE_HDR *pBackgroundImage;
pBackgroundImage = (GFX_RESOURCE_HDR *)&backgroundImage;
// Render only 1/4 of the image. Render the lower right
// corner of the image
GFX_ImagePartialDraw( 10, 10,
320/2,
240/2,
320/2,
240/2,
pBackgroundImage);
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
96
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf