[Previous] [Contents] [Next]

my_blit()

copy data from one location to another

Synopsis:

int my_blit( int x1, int y1, 
             int w, int h, 
             int x2, int y2 );

Description:

This function copies data from one location to another. The arguments (all in source coordinates) are:

x1, y1
The location of the data to be copied.
w, h
The width and height of the area to be copied.
x2, y2
The location the data is to be copied to.

If printing is done in landscape mode, you'll need to swap the x and y coordinates. You'll need to convert these arguments to printer coordinates.

Returns:

1
Success.
0
The blitting couldn't be done; let the render library reprocess the data and redraw the area.

Classification:

Photon

Safety:
Interrupt handler Not applicable
Signal handler Not applicable
Thread Not applicable

[Previous] [Contents] [Next]