Documentation Project 1
ContentsIndexHome
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 );

 

Copyright (c) 2010. All rights reserved.