gclip.h File Reference

(r1785/r751)

Go to the source code of this file.

Functions

INT32 ClipPathToPath (PPOINT SPoints, PBYTE STypes, UINT32 SLength, double SFlatness, PPOINT CPoints, PBYTE CTypes, UINT32 CLength, double CFlatness, UINT32 Flags, UINT32 Tolerance, PPOINT OPoints, PBYTE OTypes, UINT32 OMaxLength)


Function Documentation

INT32 ClipPathToPath PPOINT  SPoints,
PBYTE  STypes,
UINT32  SLength,
double  SFlatness,
PPOINT  CPoints,
PBYTE  CTypes,
UINT32  CLength,
double  CFlatness,
UINT32  Flags,
UINT32  Tolerance,
PPOINT  OPoints,
PBYTE  OTypes,
UINT32  OMaxLength
 

INT32 ClipPathToPath( PPOINT SPoints, PBYTE STypes, UINT32 SLength, UINT32 SFlatness, PPOINT CPoints, PBYTE CTypes, UINT32 CLength, UINT32 CFlatness, UINT32 Flags, UINT32 Tolerance, PPOINT OPoints, PBYTE OTypes, UINT32 OMaxLength ) ;

SPoints,STypes,SLength - Source path SFlatness - Source path flatness CPoints,CTypes,CLength - Clip path CFlatness - Clip path flatness Flags - Flags CLIPPING_STYLE - Clip style 001 - Source AND NOT Clip 010 - Source AND Clip (Intersection) 011 - Source 100 - NOT Source AND Clip 101 - Source EOR Clip 110 - Clip 111 - Source OR Clip (Union)

  • If source stroked then 000 - Source AND Clip (Intersection) ??? - Source AND NOT Clip CLIPPING_SOURCE_WINDING - Source path winding. CLIPPING_CLIP_WINDING - Clip path winding. CLIPPING_IS_STROKED - Source is stroked, not filled CLIPPING_IS_CLOSED - Source path is to be closed (only applicable is stroked). Tolerance - Tolerance - two points closer than this value are considered to be the same point. OPoints,OTypes - Output path OMaxLength - Maximum length of output path.

Returns the length of the path, or an error code if an error occurs. Possible error codes are -1 - Insufficient memory to create the path. Increase buffer sizes and try again. -2 - new failed.


Generated on Sat Nov 10 03:49:10 2007 for Camelot by  doxygen 1.4.4