Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::image::GetImageSurface Function
C++
__cdecl IMAGE_PROC PCDATA GetImageSurface(Image pImage);
IMAGE_PROC_PTR(PCDATA, GetImageSurface);
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 );
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!