#include "BIDIB.H"
HANDLE CALLBACK SkewDIB( HANDLE hDIB1,
BOOL bDirection,
int nIncrement,
LPINT nErr,
LPXCOORD lpCoord)
Description
Skews the device independent bitmap (DIB) in the X axis or Y axis.
Parameters
|
HANDLE |
hDIB1 |
Handle to the DIB to be skewed. |
|
BOOL |
bDirection |
TRUE in the X axis, FALSE in the Y axis. |
|
int |
nIncrement |
Number of pixels skewed. |
|
LPINT |
nErr |
Error code. |
|
LPXCOORD |
lpCoord |
Coordinates of the old image in a new rectangle. |
Return values
HANDLE to the newly created DIB. NULL on error.
Programming notes
Skewing to the right defines a positive value in nPixels. Skewing to the bottom defines a negative value in nPixels.
This function does not delete the original DIB.
Requirements
Header : Declared in BiDIB.h; include BiDIB.h.
Library : Use BiDIB.lib.
DLLs : BiDIB.dll.
Code example
None at present.