Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::image::SetImageBound Function
C++
__cdecl IMAGE_PROC void SetImageBound(Image pImage, P_IMAGE_RECTANGLE bound);
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)

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!