Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::image::GetImageSize Function
C++
__cdecl IMAGE_PROC 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.

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