Sack Library Documentation
ContentsIndexReferenceHome
Example

This creates an image to write to, creates an image to copy (a 64 by 64 square that is filled with 50% green color). And copies the image to the output buffer.

Image output = MakeImageFile( 1024, 768 );
Image source = MakeImageFile( 64, 64 );
   
// 50% transparent
ClearImageTo( source, SetAlpha( BASE_COLOR_GREEN, 128 ) );
ClearImage( output );
   
BlotImage( output, source, 100, 100 );
BlotImageAlpha( output, source, 200, 200 );

 

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.