Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::image::SetImageBound Function
C++
__cdecl IMAGE_PROC void SetImageBound(Image pImage, P_IMAGE_RECTANGLE bound);
Parameters 
Description 
Image pImage 
Image to set the drawing clipping rectangle. 
P_IMAGE_RECTANGLE bound 
a pointer to an IMAGE_RECTANGLE to set the image boundaries to. 

Sets the active image rectangle to the bounding rectangle specified. This can be used to limit artificially drawing onto an image. (It is easier to track to create a subimage in the location to draw instead of masking with a bound rect, which has problems restoring back to initial conditions)

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!