Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::image::GetImageSize Function
C++
__cdecl IMAGE_PROC void GetImageSize(Image pImage, _32 * width, _32 * height);
void (* GetImageSize)(Image pImage, _32 *width, _32 *height);
Parameters 
Description 
Image pImage 
image to get the size of 
_32 * width 
pointer to a 32 bit unsigned value to result with the width, if NULL ignored. 
_32 * height 
pointer to a 32 bit unsigned value to result with the height, if NULL ignored. 

Used as a proper accessor method to get an image's width and height. Decided to allow the image structure to be mostly public, so the first 4 members are the images x,y, width and height, and are immediately accessable by the Image pointer.

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!