Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::image::GetImageSurface Function
C++
__cdecl IMAGE_PROC PCDATA GetImageSurface(Image pImage);
PCDATA (* GetImageSurface)(Image pImage);
Parameters 
Description 
Image pImage 
Image to get the surface of. 

Returns the pointer to the color buffer currently used internal to the image.

This might be used to do an optimized output routine. Drawing to the image with plot and line are not necessarily the best for things like circles. Provides ability for user to output directly to the color buffer.

Image image = MakeImageFile( 100, 100 );
PCDATA pointer_color_data = GetImageSurface( image );
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!