## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreBitblt Parameter - cPoints

cPoints (LONG) - input Number of (X,Y) pairs in paptlPoint.

A count of the number of (X,Y) pairs in the paptlPoint array. The count can be 2, 3, or 4.

cPoints=2 A raster operation (as determined by lRop) on the destination rectangle.

cPoints=3 A copy between two rectangles of the same size. Only the bottom- left corner is given for the source rectangle.

cPoints=4 An operation is determined by comparing the sizes of the two rectangles:

Target<Source Compress the source rectangle into the target rectangle. The flOptions flags determine how to handle eliminated rows and columns. In this case, the function can be passed to the GreBitblt routine in the graphics engine.

Target=Source Copy between equal rectangles.

Target>Source Stretch the source rectangle into the target rectangle. In this case, the function can be passed to the GreBitblt routine in the graphics engine.