XaDrwOld.h File Reference

(r1785/r882)

#include "XaDraw.h"

Go to the source code of this file.

Functions

DWORD XaDrawOld_GetVersion ()
const GCONTEXTXaDrawOld_GetContext ()
 Returns a pointer to the global context. (Useful for making clones of the global context).
INT32 XaDrawOld_ClearLastError ()
eError XaDrawOld_GetLastError ()
INT32 XaColourOld_GetGraduationTableSize ()
INT32 XaColourOld_GetGraduationTableLength ()
INT32 XaColourOld_GetLongGraduationTableSize ()
INT32 XaColourOld_GetLongGraduationTableLength ()
INT32 XaColourOld_GetTransparentGraduationTableSize ()
INT32 XaColourOld_GetTransparentGraduationTableLength ()
INT32 XaColourOld_GetLongTransparentGraduationTableSize ()
INT32 XaColourOld_GetLongTransparentGraduationTableLength ()
INT32 XaDrawOld_IsFPU (BOOL Flag)
INT32 XaDrawOld_SetMemoryHandlers (pBYTE(*MemoryAlloc)(UINT32 Size), void(*MemoryFree)(pBYTE Address))
INT32 XaDrawOld_SetStackLimit (pcVOID StackLimit)
INT32 XaDrawOld_SetStackSize (UINT32 StackSize)
INT32 XaDrawOld_Terminate ()
INT32 XaDrawOld_ContextLength ()
INT32 XaDrawOld_ComparePalettes (pcGCONTEXT pContext, pcLOGPALETTE Palette, BOOL Flag)
INT32 XaDrawOld_SaveContext (pGCONTEXT pContext)
INT32 XaDrawOld_RestoreContext (pcGCONTEXT pContext)
pcLOGPALETTE XaColourOld_SelectPalette (BOOL Flag)
INT32 XaColourOld_InitialiseWithPalette (pcLOGPALETTE Palette)
INT32 XaColourOld_SetDitherStyle (DitherStyle Style=DITHER_GREY_ORDERED)
INT32 XaColourOld_SetTileSmoothingFlag (BOOL Flag)
INT32 XaColourOld_SetTileFilteringFlag (BOOL Flag)
INT32 XaColourOld_SetHalftoneOrigin (INT32 x, INT32 y)
INT32 XaColourOld_SetColour (COLORREF Colour)
INT32 XaColourOld_SetSolidColour (COLORREF Colour, UINT32 BPP, UINT32 Format16BPP)
INT32 XaColourOld_SetWordColour (DWORD Colour)
INT32 XaColourOld_SetInvert (DWORD Colour)
INT32 XaColourOld_SetTransparency (COLORREF Colour, DWORD Style)
INT32 XaColourOld_SetTransparencyLookupTable (pcBYTE Table)
pcBYTE XaColourOld_ReturnBrush ()
pcBYTE XaColourOld_ReturnBrushRGB ()
INT32 XaColourOld_AddToGraduationTable (COLORREF Colour, BOOL HSVFlag, pGraduationTable Table, UINT32 Index)
INT32 XaColourOld_BuildGraduationTable (COLORREF StartColour, COLORREF EndColour, BOOL HSVFlag, pGraduationTable Table)
INT32 XaColourOld_BuildGraduationTable32 (COLORREF StartColour, COLORREF EndColour, BOOL HSVFlag, pGraduationTable32 Table)
INT32 XaColourOld_BuildTransparencyTable (BYTE StartColour, BYTE EndColour, pTransparentGradTable Table)
INT32 XaColourOld_SetGraduation (DWORD Style, pcGraduationTable Table, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC)
INT32 XaColourOld_SetGraduation4 (DWORD Style, pcGraduationTable Table, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, pcPOINT PointD)
INT32 XaColourOld_SetMultiRadial (DWORD Style, pcGraduationTable Table, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, pcPOINT PointD)
INT32 XaColourOld_Set3WayGraduation (DWORD Style, COLORREF ColourA, COLORREF ColourB, COLORREF ColourD, pcPOINT PointA, pcPOINT PointB, pcPOINT PointD)
INT32 XaColourOld_Set3WayGraduation4 (DWORD Style, COLORREF ColourA, COLORREF ColourB, COLORREF ColourD, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, pcPOINT PointD)
INT32 XaColourOld_Set4WayGraduation (DWORD Style, COLORREF ColourA, COLORREF ColourB, COLORREF ColourC, COLORREF ColourD, pcPOINT PointA, pcPOINT PointB, pcPOINT PointD)
INT32 XaColourOld_Set4WayGraduation4 (DWORD Style, COLORREF ColourA, COLORREF ColourB, COLORREF ColourC, COLORREF ColourD, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, pcPOINT PointD)
INT32 XaColourOld_SetGourand (DWORD Style, COLORREF ColourA, COLORREF ColourB, COLORREF ColourD, pcPOINT PointA, pcPOINT PointB, pcPOINT PointD)
INT32 XaColourOld_SetTransparentGraduation (DWORD Style, pcTransparentGradTable Table, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC)
INT32 XaColourOld_SetTransparentGraduation4 (DWORD Style, pcTransparentGradTable Table, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, pcPOINT PointD)
INT32 XaColourOld_SetTransparent3WayGraduation (DWORD Style, BYTE ValueA, BYTE ValueB, BYTE ValueD, pcPOINT PointA, pcPOINT PointB, pcPOINT PointD)
INT32 XaColourOld_SetTransparent3WayGraduation4 (DWORD Style, BYTE ValueA, BYTE ValueB, BYTE ValueD, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, pcPOINT PointD)
INT32 XaColourOld_SetTransparent4WayGraduation (DWORD Style, BYTE ValueA, BYTE ValueB, BYTE ValueC, BYTE ValueD, pcPOINT PointA, pcPOINT PointB, pcPOINT PointD)
INT32 XaColourOld_SetTransparent4WayGraduation4 (DWORD Style, BYTE ValueA, BYTE ValueB, BYTE ValueC, BYTE ValueD, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, pcPOINT PointD)
INT32 XaBitmapOld_SetBias (double)
INT32 XaBitmapOld_SetGain (double)
INT32 XaBitmapOld_SetBrightness (double)
INT32 XaBitmapOld_SetContrast (double)
INT32 XaBitmapOld_SetGamma (double)
INT32 XaBitmapOld_SetPostGamma (double)
INT32 XaBitmapOld_SetSaturation (double)
INT32 XaBitmapOld_SetContone (UINT32 uContoneStyle, COLORREF rgbStart=0x000000, COLORREF rgbEnd=0xFFFFFF)
INT32 XaBitmapOld_SetInputRange (BYTE uStart=0x00, BYTE uEnd=0xFF)
INT32 XaBitmapOld_SetOutputRange (BYTE uStart=0x00, BYTE uEnd=0xFF)
INT32 XaColourOld_SetTilePattern (pcBITMAPINFOHEADER BitmapInfo, pcBYTE Bitmap, DWORD Style, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, COLORREF DefaultColour=0, pcBGRT TranslationTable=0, pcBYTE RedTranslationTable=0, pcBYTE GreenTranslationTable=0, pcBYTE BlueTranslationTable=0, pcBYTE TransparencyTranslationTable=0, INT32 TileOffset=0)
INT32 XaColourOld_SetTilePattern4 (pcBITMAPINFOHEADER BitmapInfo, pcBYTE Bitmap, DWORD Style, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, pcPOINT PointD, COLORREF DefaultColour=0, pcBGRT TranslationTable=0, pcBYTE RedTranslationTable=0, pcBYTE GreenTranslationTable=0, pcBYTE BlueTranslationTable=0, pcBYTE TransparencyTranslationTable=0, INT32 TileOffset=0)
INT32 XaColourOld_SetTransparentTilePattern (pcBITMAPINFOHEADER BitmapInfo, pcBYTE Bitmap, DWORD Style, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, BYTE DefaultColour=0, pcBYTE TransparencyTranslationTable=0, INT32 TileOffset=0)
INT32 XaColourOld_SetTransparentTilePattern4 (pcBITMAPINFOHEADER BitmapInfo, pcBYTE Bitmap, DWORD Style, pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, pcPOINT PointD, BYTE DefaultColour=0, pcBYTE TransparencyTranslationTable=0, INT32 TileOffset=0)
INT32 XaColourOld_ConvertBitmap (pcBITMAPINFOHEADER SBitmapInfo, pcBYTE SBitmap, pcBITMAPINFOHEADER DBitmapInfo, pBYTE DBitmap, DWORD Dither)
INT32 XaColourOld_SetConversionPalette (pcLOGPALETTE pPalette)
INT32 XaColourOld_SetMaxDiffusionError (UINT32 MaxError)
INT32 XaColourOld_ScaleBitmap (pcBITMAPINFOHEADER SBitmapInfo, pcBYTE SBitmap, pcBITMAPINFOHEADER DBitmapInfo, pBYTE DBitmap, UINT32 Channels)
INT32 XaColourOld_SetGreyConversionValues (UINT32 Red, UINT32 Green, UINT32 Blue)
COLORREF XaColourOld_ConvertHSVtoRGB (COLORREF hsv)
COLORREF XaColourOld_ConvertRGBtoHSV (COLORREF rgb)
INT32 XaColourOld_SetSeparationTables (pcBGR CyanSeparationTable, pcBGR MagentaSeparationTable, pcBGR YellowSeparationTable, pcBGR BlackSeparationTable, pcBYTE UnderColourRemovalTable, pcBYTE BlackGenerationTable)
INT32 XaColourOld_SetBitmapConversionTable (pcBGR BitmapConversionTable)
INT32 XaDrawOld_SetDIBitmap (pcBITMAPINFOHEADER BitmapInfo, pBYTE Bitmap, UINT32 Format16BPP=FORMAT16BPP_555)
INT32 XaDrawOld_SetInvertedDIBitmap (pcBITMAPINFOHEADER BitmapInfo, pBYTE Bitmap, UINT32 Format16BPP=FORMAT16BPP_555)
INT32 XaDrawOld_SetMatrix (pcGMATRIX Matrix)
INT32 XaDrawOld_MaxScale (pcGMATRIX Matrix, pcRECT BBox)
INT32 XaDrawOld_GetMaxBitmapWidth ()
INT32 XaDrawOld_GetMaxBitmapDepth ()
INT32 XaDrawOld_SetAntialiasFlag (BOOL Flag)
INT32 XaDrawOld_SetDashAdjustmentFlag (BOOL Flag)
INT32 XaDrawOld_SetHintingFlag (BOOL Flag)
INT32 XaDrawOld_SetFlatness (UINT32 Flatness)
INT32 XaDrawOld_SetMiterLimit (UINT32 MiterLimit)
INT32 XaDrawOld_FillRectangle (pcRECT Rectangle)
INT32 XaDrawOld_FillPoint (pcPOINT Point)
INT32 XaDrawOld_FillPath (pcPOINT Points, pcBYTE Types, UINT32 Length, UINT32 Winding)
INT32 XaDrawOld_FillTriangle (pcPOINT PointA, pcPOINT PointB, pcPOINT PointC, DWORD Flags)
INT32 XaDrawOld_HintPath (pPOINT Points, pcBYTE Types, UINT32 Length, BOOL Close, UINT32 LineWidth)
INT32 XaDrawOld_StrokePath (pcPOINT Points, pcBYTE Types, UINT32 Length, BOOL Close, UINT32 LineWidth, DWORD LineCaps, DWORD LineJoin, pcDashType Dash)
INT32 XaDrawOld_StrokePathToPath (pcPOINT IPoints, pcBYTE ITypes, UINT32 ILength, pPOINT OPoints, pBYTE OTypes, UINT32 OLength, BOOL Close, UINT32 LineWidth, DWORD LineCaps, DWORD LineJoin, pcDashType Dash)
INT32 XaDrawOld_CalcStrokeBBox (pcPOINT IPoints, pcBYTE ITypes, UINT32 ILength, pRECT Rect, BOOL Close, UINT32 LineWidth, DWORD LineCaps, DWORD LineJoin, pcDashType Dash)
INT32 XaDrawOld_IsOverlap (pcPOINT Points, pcBYTE Types, UINT32 Length, UINT32 Winding)
INT32 XaDrawOld_IsStrokeOverlap (pcPOINT Points, pcBYTE Types, UINT32 Length, BOOL Close, UINT32 LineWidth, DWORD LineCaps, DWORD LineJoin, pcDashType Dash)
INT32 XaDrawOld_GetStatistics (pcPOINT Points, pcBYTE Types, UINT32 Length, UINT32 Winding, pSTATISTICS Stats)
INT32 XaDrawOld_MakeRegion (pcPOINT Points, pcBYTE Types, UINT32 Length, UINT32 Winding, pREGION ORegion, UINT32 OLength)
INT32 XaDrawOld_MakeUnclippedRegion (pcPOINT Points, pcBYTE Types, UINT32 Length, UINT32 Winding, pREGION ORegion, UINT32 OLength)
INT32 XaDrawOld_FillRegion (pcREGION Region, pcPOINT Offset)
INT32 XaDrawOld_ClipRectangle (pcRECT Rectangle)
INT32 XaDrawOld_DeviceClipRectangle (pcRECT Rectangle)
INT32 XaDrawOld_GetDeviceClipRectangle (pRECT Rectangle)
INT32 XaDrawOld_ClipRegion (pcREGION Region)
pcREGION XaDrawOld_GetClipRegion ()
INT32 XaDrawOld_CalcBBox (pcPOINT Points, pcBYTE Types, UINT32 Length, pRECT Rect, BOOL Flatten)
INT32 XaDrawOld_TransformPath (pcPOINT IPoints, pPOINT OPoints, UINT32 Length, pcGMATRIX Matrix)
INT32 XaDrawOld_ScrollBitmap (INT32 x, INT32 y)
INT32 XaDrawOld_ClearChangedBBox ()
INT32 XaDrawOld_GetChangedBBox (pRECT Rectangle)
INT32 XaDrawOld_SetChangedBBox (pcRECT Rectangle)
INT32 XaDrawOld_SetBevelContrast (UINT32 Contrast)
INT32 XaDrawOld_SetBevelLightness (UINT32 Contrast)
INT32 XaDrawOld_SetBevelDarkness (UINT32 Contrast)
INT32 XaDrawOld_TranslateBevelValue (BYTE Index, BYTE Colour)


Function Documentation

INT32 XaBitmapOld_SetBias double   ) 
 

Definition at line 819 of file XaDrwOld.cpp.

00820 {
00821     XA_DRAW_ENTER(TEXT("XaBitmapOld_SetBias"),s_pContext);
00822     INT32 nRetVal = XaBitmap_SetBias(s_pContext,fBias);
00823     XA_DRAW_LEAVE(s_pConvert);
00824     return nRetVal;
00825 }

INT32 XaBitmapOld_SetBrightness double   ) 
 

INT32 XaBitmapOld_SetContone UINT32  uContoneStyle,
COLORREF  rgbStart = 0x000000,
COLORREF  rgbEnd = 0xFFFFFF
 

Definition at line 835 of file XaDrwOld.cpp.

00836 {
00837     XA_DRAW_ENTER(TEXT("XaBitmapOld_SetContone"),s_pContext);
00838     INT32 nRetVal = XaBitmap_SetContone(s_pContext,uContoneStyle,rgbStart,rgbEnd);
00839     XA_DRAW_LEAVE(s_pConvert);
00840     return nRetVal;
00841 }

INT32 XaBitmapOld_SetContrast double   ) 
 

INT32 XaBitmapOld_SetGain double   ) 
 

Definition at line 827 of file XaDrwOld.cpp.

00828 {
00829     XA_DRAW_ENTER(TEXT("XaBitmapOld_SetGain"),s_pContext);
00830     INT32 nRetVal = XaBitmap_SetGain(s_pContext,fGain);
00831     XA_DRAW_LEAVE(s_pConvert);
00832     return nRetVal;
00833 }

INT32 XaBitmapOld_SetGamma double   ) 
 

INT32 XaBitmapOld_SetInputRange BYTE  uStart = 0x00,
BYTE  uEnd = 0xFF
 

Definition at line 843 of file XaDrwOld.cpp.

00844 {
00845     XA_DRAW_ENTER(TEXT("XaBitmapOld_SetInputRange"),s_pContext);
00846     INT32 nRetVal = XaBitmap_SetInputRange(s_pContext,uStart,uEnd);
00847     XA_DRAW_LEAVE(s_pConvert);
00848     return nRetVal;
00849 }

INT32 XaBitmapOld_SetOutputRange BYTE  uStart = 0x00,
BYTE  uEnd = 0xFF
 

Definition at line 851 of file XaDrwOld.cpp.

00852 {
00853     XA_DRAW_ENTER(TEXT("XaBitmapOld_SetOutputRange"),s_pContext);
00854     INT32 nRetVal = XaBitmap_SetOutputRange(s_pContext,uStart,uEnd);
00855     XA_DRAW_LEAVE(s_pConvert);
00856     return nRetVal;
00857 }

INT32 XaBitmapOld_SetPostGamma double   ) 
 

INT32 XaBitmapOld_SetSaturation double   ) 
 

INT32 XaColourOld_AddToGraduationTable COLORREF  Colour,
BOOL  HSVFlag,
pGraduationTable  Table,
UINT32  Index
 

Definition at line 547 of file XaDrwOld.cpp.

00553 {
00554     XA_DRAW_ENTER(TEXT("XaColourOld_AddToGraduationTable"), s_pContext);
00555     INT32 nRetVal =
00556         XaColour_AddToGraduationTable(s_pContext, Colour, HSVFlag,
00557                                                             Table, Index);
00558     XA_DRAW_LEAVE(s_pContext);
00559     return nRetVal;
00560 }

INT32 XaColourOld_BuildGraduationTable COLORREF  StartColour,
COLORREF  EndColour,
BOOL  HSVFlag,
pGraduationTable  Table
 

Definition at line 562 of file XaDrwOld.cpp.

00568 {
00569     XA_DRAW_ENTER(TEXT("XaColourOld_BuildGraduationTable"), s_pContext);
00570     INT32 nRetVal =
00571         XaColour_BuildGraduationTable(s_pContext, StartColour, EndColour,
00572                                                             HSVFlag, Table);
00573     XA_DRAW_LEAVE(s_pContext);
00574     return nRetVal;
00575 }

INT32 XaColourOld_BuildGraduationTable32 COLORREF  StartColour,
COLORREF  EndColour,
BOOL  HSVFlag,
pGraduationTable32  Table
 

Definition at line 577 of file XaDrwOld.cpp.

00583 {
00584     XA_DRAW_ENTER(TEXT("XaColourOld_BuildGraduationTable32"), s_pContext);
00585     INT32 nRetVal =
00586         XaColour_BuildGraduationTable32(s_pContext, StartColour, EndColour,
00587                                                             HSVFlag, Table);
00588     XA_DRAW_LEAVE(s_pContext);
00589     return nRetVal;
00590 }

INT32 XaColourOld_BuildTransparencyTable BYTE  StartColour,
BYTE  EndColour,
pTransparentGradTable  Table
 

Definition at line 592 of file XaDrwOld.cpp.

00597 {
00598     XA_DRAW_ENTER(TEXT("XaColourOld_BuildTransparencyTable"), s_pContext);
00599     INT32 nRetVal =
00600         XaColour_BuildTransparencyTable(s_pContext, StartColour, EndColour,
00601                                                             Table);
00602     XA_DRAW_LEAVE(s_pContext);
00603     return nRetVal;
00604 }

INT32 XaColourOld_ConvertBitmap pcBITMAPINFOHEADER  SBitmapInfo,
pcBYTE  SBitmap,
pcBITMAPINFOHEADER  DBitmapInfo,
pBYTE  DBitmap,
DWORD  Dither
 

Definition at line 973 of file XaDrwOld.cpp.

00978 {
00979     XA_DRAW_ENTER(TEXT("XaColourOld_ConvertBitmap"), s_pContext);
00980     INT32 nRetVal =
00981         XaColour_ConvertBitmap( s_pContext,
00982                                                     SBitmapInfo, SBitmap,
00983                                                     DBitmapInfo, DBitmap, Dither);
00984     XA_DRAW_LEAVE(s_pContext);
00985     return nRetVal;
00986 }

COLORREF XaColourOld_ConvertHSVtoRGB COLORREF  hsv  ) 
 

Definition at line 1033 of file XaDrwOld.cpp.

01034 {
01035     XA_DRAW_ENTER(TEXT("XaColourOld_ConvertHSVtoRGB"), NULL);
01036     COLORREF rgb =
01037         XaColour_ConvertHSVtoRGB(hsv);
01038     XA_DRAW_LEAVE(NULL);
01039     return rgb;
01040 }

COLORREF XaColourOld_ConvertRGBtoHSV COLORREF  rgb  ) 
 

Definition at line 1042 of file XaDrwOld.cpp.

01043 {
01044     XA_DRAW_ENTER(TEXT("XaColourOld_ConvertRGBtoHSV"), NULL);
01045     COLORREF hsv =
01046         XaColour_ConvertRGBtoHSV(rgb);
01047     XA_DRAW_LEAVE(NULL);
01048     return hsv;
01049 }

INT32 XaColourOld_GetGraduationTableLength  ) 
 

Definition at line 275 of file XaDrwOld.cpp.

00276 {
00277     XA_DRAW_ENTER(TEXT("XaColourOld_GetGraduationTableLength"), NULL);
00278     INT32 nRetVal = XaColour_GetGraduationTableLength();
00279     XA_DRAW_LEAVE(NULL);
00280     return nRetVal;
00281 }

INT32 XaColourOld_GetGraduationTableSize  ) 
 

Definition at line 267 of file XaDrwOld.cpp.

00268 {
00269     XA_DRAW_ENTER(TEXT("XaColourOld_GetGraduationTableSize"), s_pContext);
00270     INT32 nRetVal = XaColour_GetGraduationTableSize(s_pContext);
00271     XA_DRAW_LEAVE(s_pContext);
00272     return nRetVal;
00273 }

INT32 XaColourOld_GetLongGraduationTableLength  ) 
 

Definition at line 291 of file XaDrwOld.cpp.

00292 {
00293     XA_DRAW_ENTER(TEXT("XaColourOld_GetLongGraduationTableLength"), NULL);
00294     INT32 nRetVal = XaColour_GetLongGraduationTableLength();
00295     XA_DRAW_LEAVE(NULL);
00296     return nRetVal;
00297 }

INT32 XaColourOld_GetLongGraduationTableSize  ) 
 

Definition at line 283 of file XaDrwOld.cpp.

00284 {
00285     XA_DRAW_ENTER(TEXT("XaColourOld_GetLongGraduationTableSize"), s_pContext);
00286     INT32 nRetVal = XaColour_GetLongGraduationTableSize(s_pContext);
00287     XA_DRAW_LEAVE(s_pContext);
00288     return nRetVal;
00289 }

INT32 XaColourOld_GetLongTransparentGraduationTableLength  ) 
 

Definition at line 323 of file XaDrwOld.cpp.

00324 {
00325     XA_DRAW_ENTER(TEXT("XaColourOld_GetLongTransparentGraduationTableLength"), NULL);
00326     INT32 nRetVal = XaColour_GetLongTransparentGraduationTableLength();
00327     XA_DRAW_LEAVE(NULL);
00328     return nRetVal;
00329 }

INT32 XaColourOld_GetLongTransparentGraduationTableSize  ) 
 

Definition at line 315 of file XaDrwOld.cpp.

00316 {
00317     XA_DRAW_ENTER(TEXT("XaColourOld_GetLongTransparentGraduationTableSize"), NULL);
00318     INT32 nRetVal = XaColour_GetLongTransparentGraduationTableSize();
00319     XA_DRAW_LEAVE(NULL);
00320     return nRetVal;
00321 }

INT32 XaColourOld_GetTransparentGraduationTableLength  ) 
 

Definition at line 307 of file XaDrwOld.cpp.

00308 {
00309     XA_DRAW_ENTER(TEXT("XaColourOld_GetTransparentGraduationTableLength"), NULL);
00310     INT32 nRetVal = XaColour_GetTransparentGraduationTableLength();
00311     XA_DRAW_LEAVE(NULL);
00312     return nRetVal;
00313 }

INT32 XaColourOld_GetTransparentGraduationTableSize  ) 
 

Definition at line 299 of file XaDrwOld.cpp.

00300 {
00301     XA_DRAW_ENTER(TEXT("XaColourOld_GetTransparentGraduationTableSize"), NULL);
00302     INT32 nRetVal = XaColour_GetTransparentGraduationTableSize();
00303     XA_DRAW_LEAVE(NULL);
00304     return nRetVal;
00305 }

INT32 XaColourOld_InitialiseWithPalette pcLOGPALETTE  Palette  ) 
 

Definition at line 429 of file XaDrwOld.cpp.

00430 {
00431     XA_DRAW_ENTER(TEXT("XaColourOld_InitialiseWithPalette"), s_pContext);
00432     INT32 nRetVal =
00433         XaColour_InitialiseWithPalette(s_pContext, Palette);
00434     XA_DRAW_LEAVE(s_pContext);
00435     return nRetVal;
00436 }

pcBYTE XaColourOld_ReturnBrush  ) 
 

Definition at line 529 of file XaDrwOld.cpp.

00530 {
00531     XA_DRAW_ENTER(TEXT("XaColourOld_ReturnBrush"), s_pContext);
00532     pcBYTE pRetVal =
00533         XaColour_ReturnBrush(s_pContext);
00534     XA_DRAW_LEAVE(s_pContext);
00535     return pRetVal;
00536 }

pcBYTE XaColourOld_ReturnBrushRGB  ) 
 

Definition at line 538 of file XaDrwOld.cpp.

00539 {
00540     XA_DRAW_ENTER(TEXT("XaColourOld_ReturnBrushRGB"), s_pContext);
00541     pcBYTE pRetVal =
00542         XaColour_ReturnBrushRGB(s_pContext);
00543     XA_DRAW_LEAVE(s_pContext);
00544     return pRetVal;
00545 }

INT32 XaColourOld_ScaleBitmap pcBITMAPINFOHEADER  SBitmapInfo,
pcBYTE  SBitmap,
pcBITMAPINFOHEADER  DBitmapInfo,
pBYTE  DBitmap,
UINT32  Channels
 

Definition at line 1006 of file XaDrwOld.cpp.

01011 {
01012     XA_DRAW_ENTER(TEXT("XaColourOld_ScaleBitmap"), s_pContext);
01013     INT32 nRetVal =
01014         XaColour_ScaleBitmap(   s_pContext,
01015                                                     SBitmapInfo, SBitmap,
01016                                                     DBitmapInfo, DBitmap,
01017                                                     Channels);
01018     XA_DRAW_LEAVE(s_pContext);
01019     return nRetVal;
01020 }

pcLOGPALETTE XaColourOld_SelectPalette BOOL  Flag  ) 
 

Definition at line 420 of file XaDrwOld.cpp.

00421 {
00422     XA_DRAW_ENTER(TEXT("XaColourOld_SelectPalette"), s_pContext);
00423     pcLOGPALETTE pRetVal =
00424         XaColour_SelectPalette(s_pContext, Flag);
00425     XA_DRAW_LEAVE(s_pContext);
00426     return pRetVal;
00427 }

INT32 XaColourOld_Set3WayGraduation DWORD  Style,
COLORREF  ColourA,
COLORREF  ColourB,
COLORREF  ColourD,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointD
 

Definition at line 651 of file XaDrwOld.cpp.

00656 {
00657     XA_DRAW_ENTER(TEXT("XaColourOld_Set3WayGraduation"), s_pContext);
00658     INT32 nRetVal =
00659         XaColour_Set3WayGraduation( s_pContext, Style,
00660                                                         ColourA, ColourB, ColourD,
00661                                                         PointA, PointB, PointD);
00662     XA_DRAW_LEAVE(s_pContext);
00663     return nRetVal;
00664 }

INT32 XaColourOld_Set3WayGraduation4 DWORD  Style,
COLORREF  ColourA,
COLORREF  ColourB,
COLORREF  ColourD,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
pcPOINT  PointD
 

Definition at line 666 of file XaDrwOld.cpp.

00671 {
00672     XA_DRAW_ENTER(TEXT("XaColourOld_Set3WayGraduation4"), s_pContext);
00673     INT32 nRetVal =
00674         XaColour_Set3WayGraduation4(s_pContext, Style,
00675                                                         ColourA, ColourB, ColourD,
00676                                                         PointA, PointB, PointC, PointD);
00677     XA_DRAW_LEAVE(s_pContext);
00678     return nRetVal;
00679 }

INT32 XaColourOld_Set4WayGraduation DWORD  Style,
COLORREF  ColourA,
COLORREF  ColourB,
COLORREF  ColourC,
COLORREF  ColourD,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointD
 

Definition at line 681 of file XaDrwOld.cpp.

00686 {
00687     XA_DRAW_ENTER(TEXT("XaColourOld_Set4WayGraduation"), s_pContext);
00688     INT32 nRetVal =
00689         XaColour_Set4WayGraduation( s_pContext, Style,
00690                                                         ColourA, ColourB, ColourC, ColourD,
00691                                                         PointA, PointB, PointD);
00692     XA_DRAW_LEAVE(s_pContext);
00693     return nRetVal;
00694 }

INT32 XaColourOld_Set4WayGraduation4 DWORD  Style,
COLORREF  ColourA,
COLORREF  ColourB,
COLORREF  ColourC,
COLORREF  ColourD,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
pcPOINT  PointD
 

Definition at line 696 of file XaDrwOld.cpp.

00701 {
00702     XA_DRAW_ENTER(TEXT("XaColourOld_Set4WayGraduation4"), s_pContext);
00703     INT32 nRetVal =
00704         XaColour_Set4WayGraduation4(    s_pContext, Style,
00705                                                         ColourA, ColourB, ColourC, ColourD,
00706                                                         PointA, PointB, PointC, PointD);
00707     XA_DRAW_LEAVE(s_pContext);
00708     return nRetVal;
00709 }

INT32 XaColourOld_SetBitmapConversionTable pcBGR  BitmapConversionTable  ) 
 

Definition at line 1073 of file XaDrwOld.cpp.

01076 {
01077     XA_DRAW_ENTER(TEXT("XaColourOld_SetBitmapConversionTable"), s_pContext);
01078     INT32 nRetVal =
01079         XaColour_SetBitmapConversionTable(  s_pContext,
01080                                                                 BitmapConversionTable);
01081     XA_DRAW_LEAVE(s_pContext);
01082     return nRetVal;
01083 }

INT32 XaColourOld_SetColour COLORREF  Colour  ) 
 

Definition at line 474 of file XaDrwOld.cpp.

00475 {
00476     XA_DRAW_ENTER(TEXT("XaColourOld_SetColour"), s_pContext);
00477     INT32 nRetVal =
00478         XaColour_SetColour(s_pContext, Colour);
00479     XA_DRAW_LEAVE(s_pContext);
00480     return nRetVal;
00481 }

INT32 XaColourOld_SetConversionPalette pcLOGPALETTE  pPalette  ) 
 

Definition at line 988 of file XaDrwOld.cpp.

00989 {
00990     XA_DRAW_ENTER(TEXT("XaColourOld_SetConversionPalette"), s_pContext);
00991     INT32 nRetVal =
00992         XaColour_SetConversionPalette(s_pContext, pPalette);
00993     XA_DRAW_LEAVE(s_pContext);
00994     return nRetVal;
00995 }

INT32 XaColourOld_SetDitherStyle DitherStyle  Style = DITHER_GREY_ORDERED  ) 
 

Definition at line 438 of file XaDrwOld.cpp.

00439 {
00440     XA_DRAW_ENTER(TEXT("XaColourOld_SetDitherStyle"), s_pContext);
00441     INT32 nRetVal =
00442         XaColour_SetDitherStyle(s_pContext, Style);
00443     XA_DRAW_LEAVE(s_pContext);
00444     return nRetVal;
00445 }

INT32 XaColourOld_SetGourand DWORD  Style,
COLORREF  ColourA,
COLORREF  ColourB,
COLORREF  ColourD,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointD
 

Definition at line 711 of file XaDrwOld.cpp.

00716 {
00717     XA_DRAW_ENTER(TEXT("XaColourOld_SetGourand"), s_pContext);
00718     INT32 nRetVal =
00719         XaColour_SetGourand(s_pContext, Style,
00720                                                 ColourA, ColourB, ColourD,
00721                                                 PointA, PointB, PointD);
00722     XA_DRAW_LEAVE(s_pContext);
00723     return nRetVal;
00724 }

INT32 XaColourOld_SetGraduation DWORD  Style,
pcGraduationTable  Table,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC
 

Definition at line 606 of file XaDrwOld.cpp.

00613 {
00614     XA_DRAW_ENTER(TEXT("XaColourOld_SetGraduation"), s_pContext);
00615     INT32 nRetVal =
00616         XaColour_SetGraduation(s_pContext, Style, Table,
00617                                                     PointA, PointB, PointC);
00618     XA_DRAW_LEAVE(s_pContext);
00619     return nRetVal;
00620 }

INT32 XaColourOld_SetGraduation4 DWORD  Style,
pcGraduationTable  Table,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
pcPOINT  PointD
 

Definition at line 622 of file XaDrwOld.cpp.

00630 {
00631     XA_DRAW_ENTER(TEXT("XaColourOld_SetGraduation4"), s_pContext);
00632     INT32 nRetVal =
00633         XaColour_SetGraduation4(s_pContext, Style, Table,
00634                                                     PointA, PointB, PointC, PointD);
00635     XA_DRAW_LEAVE(s_pContext);
00636     return nRetVal;
00637 }

INT32 XaColourOld_SetGreyConversionValues UINT32  Red,
UINT32  Green,
UINT32  Blue
 

Definition at line 1023 of file XaDrwOld.cpp.

01024 {
01025     XA_DRAW_ENTER(TEXT("XaColourOld_SetGreyConversionValues"), s_pContext);
01026     INT32 nRetVal =
01027         XaColour_SetGreyConversionValues(   s_pContext,
01028                                                                 Red, Green, Blue);
01029     XA_DRAW_LEAVE(s_pContext);
01030     return nRetVal;
01031 }

INT32 XaColourOld_SetHalftoneOrigin INT32  x,
INT32  y
 

Definition at line 465 of file XaDrwOld.cpp.

00466 {
00467     XA_DRAW_ENTER(TEXT("XaColourOld_SetHalftoneOrigin"), s_pContext);
00468     INT32 nRetVal =
00469         XaColour_SetHalftoneOrigin(s_pContext, x, y);
00470     XA_DRAW_LEAVE(s_pContext);
00471     return nRetVal;
00472 }

INT32 XaColourOld_SetInvert DWORD  Colour  ) 
 

Definition at line 502 of file XaDrwOld.cpp.

00503 {
00504     XA_DRAW_ENTER(TEXT("XaColourOld_SetInvert"), s_pContext);
00505     INT32 nRetVal =
00506         XaColour_SetInvert(s_pContext, Colour);
00507     XA_DRAW_LEAVE(s_pContext);
00508     return nRetVal;
00509 }

INT32 XaColourOld_SetMaxDiffusionError UINT32  MaxError  ) 
 

Definition at line 997 of file XaDrwOld.cpp.

00998 {
00999     XA_DRAW_ENTER(TEXT("XaColourOld_SetMaxDiffusionError"), s_pContext);
01000     INT32 nRetVal =
01001         XaColour_SetMaxDiffusionError(s_pContext, MaxError);
01002     XA_DRAW_LEAVE(s_pContext);
01003     return nRetVal;
01004 }

INT32 XaColourOld_SetMultiRadial DWORD  Style,
pcGraduationTable  Table,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
pcPOINT  PointD
 

Definition at line 639 of file XaDrwOld.cpp.

00647 {
00648     return GERROR_UNIMPLEMENTED;
00649 }

INT32 XaColourOld_SetSeparationTables pcBGR  CyanSeparationTable,
pcBGR  MagentaSeparationTable,
pcBGR  YellowSeparationTable,
pcBGR  BlackSeparationTable,
pcBYTE  UnderColourRemovalTable,
pcBYTE  BlackGenerationTable
 

Definition at line 1051 of file XaDrwOld.cpp.

01059 {
01060     XA_DRAW_ENTER(TEXT("XaColourOld_SetSeparationTables"), s_pContext);
01061     INT32 nRetVal =
01062         XaColour_SetSeparationTables(   s_pContext,
01063                                                             CyanSeparationTable,
01064                                                             MagentaSeparationTable,
01065                                                             YellowSeparationTable,
01066                                                             BlackSeparationTable,
01067                                                             UnderColourRemovalTable,
01068                                                             BlackGenerationTable);
01069     XA_DRAW_LEAVE(s_pContext);
01070     return nRetVal;
01071 }

INT32 XaColourOld_SetSolidColour COLORREF  Colour,
UINT32  BPP,
UINT32  Format16BPP
 

Definition at line 483 of file XaDrwOld.cpp.

00485 {
00486     XA_DRAW_ENTER(TEXT("XaColourOld_SetSolidColour"), s_pContext);
00487     INT32 nRetVal =
00488         XaColour_SetSolidColour(s_pContext, Colour, BPP, Format16BPP);
00489     XA_DRAW_LEAVE(s_pContext);
00490     return nRetVal;
00491 }

INT32 XaColourOld_SetTileFilteringFlag BOOL  Flag  ) 
 

Definition at line 456 of file XaDrwOld.cpp.

00457 {
00458     XA_DRAW_ENTER(TEXT("XaColourOld_SetTileFilteringFlag"), s_pContext);
00459     INT32 nRetVal =
00460         XaColour_SetTileFilteringFlag(s_pContext, Flag);
00461     XA_DRAW_LEAVE(s_pContext);
00462     return nRetVal;
00463 }

INT32 XaColourOld_SetTilePattern pcBITMAPINFOHEADER  BitmapInfo,
pcBYTE  Bitmap,
DWORD  Style,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
COLORREF  DefaultColour = 0,
pcBGRT  TranslationTable = 0,
pcBYTE  RedTranslationTable = 0,
pcBYTE  GreenTranslationTable = 0,
pcBYTE  BlueTranslationTable = 0,
pcBYTE  TransparencyTranslationTable = 0,
INT32  TileOffset = 0
 

Definition at line 859 of file XaDrwOld.cpp.

00874 {
00875     XA_DRAW_ENTER(TEXT("XaColourOld_SetTilePattern"), s_pContext);
00876     INT32 nRetVal =
00877         XaColour_SetTilePattern(s_pContext,
00878                                                     BitmapInfo, Bitmap, Style,
00879                                                     PointA, PointB, PointC,
00880                                                     DefaultColour,
00881                                                     TranslationTable,
00882                                                     RedTranslationTable,
00883                                                     GreenTranslationTable,
00884                                                     BlueTranslationTable,
00885                                                     TransparencyTranslationTable,
00886                                                     TileOffset);
00887     XA_DRAW_LEAVE(s_pContext);
00888     return nRetVal;
00889 }

INT32 XaColourOld_SetTilePattern4 pcBITMAPINFOHEADER  BitmapInfo,
pcBYTE  Bitmap,
DWORD  Style,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
pcPOINT  PointD,
COLORREF  DefaultColour = 0,
pcBGRT  TranslationTable = 0,
pcBYTE  RedTranslationTable = 0,
pcBYTE  GreenTranslationTable = 0,
pcBYTE  BlueTranslationTable = 0,
pcBYTE  TransparencyTranslationTable = 0,
INT32  TileOffset = 0
 

Definition at line 891 of file XaDrwOld.cpp.

00907 {
00908     XA_DRAW_ENTER(TEXT("XaColourOld_SetTilePattern4"), s_pContext);
00909     INT32 nRetVal =
00910         XaColour_SetTilePattern4(s_pContext,
00911                                                     BitmapInfo, Bitmap, Style,
00912                                                     PointA, PointB, PointC, PointD,
00913                                                     DefaultColour,
00914                                                     TranslationTable,
00915                                                     RedTranslationTable,
00916                                                     GreenTranslationTable,
00917                                                     BlueTranslationTable,
00918                                                     TransparencyTranslationTable,
00919                                                     TileOffset);
00920     XA_DRAW_LEAVE(s_pContext);
00921     return nRetVal;
00922 }

INT32 XaColourOld_SetTileSmoothingFlag BOOL  Flag  ) 
 

Definition at line 447 of file XaDrwOld.cpp.

00448 {
00449     XA_DRAW_ENTER(TEXT("XaColourOld_SetTileSmoothingFlag"), s_pContext);
00450     INT32 nRetVal =
00451         XaColour_SetTileSmoothingFlag(s_pContext, Flag);
00452     XA_DRAW_LEAVE(s_pContext);
00453     return nRetVal;
00454 }

INT32 XaColourOld_SetTransparency COLORREF  Colour,
DWORD  Style
 

Definition at line 511 of file XaDrwOld.cpp.

00512 {
00513     XA_DRAW_ENTER(TEXT("XaColourOld_SetTransparency"), s_pContext);
00514     INT32 nRetVal =
00515         XaColour_SetTransparency(s_pContext, Colour, Style);
00516     XA_DRAW_LEAVE(s_pContext);
00517     return nRetVal;
00518 }

INT32 XaColourOld_SetTransparencyLookupTable pcBYTE  Table  ) 
 

Definition at line 520 of file XaDrwOld.cpp.

00521 {
00522     XA_DRAW_ENTER(TEXT("XaColourOld_SetTransparencyLookupTable"), s_pContext);
00523     INT32 nRetVal =
00524         XaColour_SetTransparencyLookupTable(s_pContext, Table);
00525     XA_DRAW_LEAVE(s_pContext);
00526     return nRetVal;
00527 }

INT32 XaColourOld_SetTransparent3WayGraduation DWORD  Style,
BYTE  ValueA,
BYTE  ValueB,
BYTE  ValueD,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointD
 

Definition at line 759 of file XaDrwOld.cpp.

00764 {
00765     XA_DRAW_ENTER(TEXT("XaColourOld_SetTransparent3WayGraduation"), s_pContext);
00766     INT32 nRetVal =
00767         XaColour_SetTransparent3WayGraduation(  s_pContext, Style,
00768                                                                     ValueA, ValueB, ValueD,
00769                                                                     PointA, PointB, PointD);
00770     XA_DRAW_LEAVE(s_pContext);
00771     return nRetVal;
00772 }

INT32 XaColourOld_SetTransparent3WayGraduation4 DWORD  Style,
BYTE  ValueA,
BYTE  ValueB,
BYTE  ValueD,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
pcPOINT  PointD
 

Definition at line 774 of file XaDrwOld.cpp.

00779 {
00780     XA_DRAW_ENTER(TEXT("XaColourOld_SetTransparent3WayGraduation4"), s_pContext);
00781     INT32 nRetVal =
00782         XaColour_SetTransparent3WayGraduation4( s_pContext, Style,
00783                                                                     ValueA, ValueB, ValueD,
00784                                                                     PointA, PointB, PointC, PointD);
00785     XA_DRAW_LEAVE(s_pContext);
00786     return nRetVal;
00787 }

INT32 XaColourOld_SetTransparent4WayGraduation DWORD  Style,
BYTE  ValueA,
BYTE  ValueB,
BYTE  ValueC,
BYTE  ValueD,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointD
 

Definition at line 789 of file XaDrwOld.cpp.

00794 {
00795     XA_DRAW_ENTER(TEXT("XaColourOld_SetTransparent4WayGraduation"), s_pContext);
00796     INT32 nRetVal =
00797         XaColour_SetTransparent4WayGraduation(  s_pContext, Style,
00798                                                                     ValueA, ValueB, ValueC, ValueD,
00799                                                                     PointA, PointB,         PointD);
00800     XA_DRAW_LEAVE(s_pContext);
00801     return nRetVal;
00802 }

INT32 XaColourOld_SetTransparent4WayGraduation4 DWORD  Style,
BYTE  ValueA,
BYTE  ValueB,
BYTE  ValueC,
BYTE  ValueD,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
pcPOINT  PointD
 

Definition at line 804 of file XaDrwOld.cpp.

00809 {
00810     XA_DRAW_ENTER(TEXT("XaColourOld_SetTransparent4WayGraduation4"), s_pContext);
00811     INT32 nRetVal =
00812         XaColour_SetTransparent4WayGraduation4( s_pContext, Style,
00813                                                                     ValueA, ValueB, ValueC, ValueD,
00814                                                                     PointA, PointB, PointC, PointD);
00815     XA_DRAW_LEAVE(s_pContext);
00816     return nRetVal;
00817 }

INT32 XaColourOld_SetTransparentGraduation DWORD  Style,
pcTransparentGradTable  Table,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC
 

Definition at line 726 of file XaDrwOld.cpp.

00733 {
00734     XA_DRAW_ENTER(TEXT("XaColourOld_SetTransparentGraduation"), s_pContext);
00735     INT32 nRetVal =
00736         XaColour_SetTransparentGraduation(  s_pContext, Style, Table,
00737                                                                 PointA, PointB, PointC);
00738     XA_DRAW_LEAVE(s_pContext);
00739     return nRetVal;
00740 }

INT32 XaColourOld_SetTransparentGraduation4 DWORD  Style,
pcTransparentGradTable  Table,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
pcPOINT  PointD
 

Definition at line 742 of file XaDrwOld.cpp.

00750 {
00751     XA_DRAW_ENTER(TEXT("XaColourOld_SetTransparentGraduation4"), s_pContext);
00752     INT32 nRetVal =
00753         XaColour_SetTransparentGraduation4( s_pContext, Style, Table,
00754                                                                 PointA, PointB, PointC, PointD);
00755     XA_DRAW_LEAVE(s_pContext);
00756     return nRetVal;
00757 }

INT32 XaColourOld_SetTransparentTilePattern pcBITMAPINFOHEADER  BitmapInfo,
pcBYTE  Bitmap,
DWORD  Style,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
BYTE  DefaultColour = 0,
pcBYTE  TransparencyTranslationTable = 0,
INT32  TileOffset = 0
 

Definition at line 924 of file XaDrwOld.cpp.

00935 {
00936     XA_DRAW_ENTER(TEXT("XaColourOld_SetTransparentTilePattern"), s_pContext);
00937     INT32 nRetVal =
00938         XaColour_SetTransparentTilePattern(s_pContext,
00939                                                     BitmapInfo, Bitmap, Style,
00940                                                     PointA, PointB, PointC,
00941                                                     DefaultColour,
00942                                                     TransparencyTranslationTable,
00943                                                     TileOffset);
00944     XA_DRAW_LEAVE(s_pContext);
00945     return nRetVal;
00946 }

INT32 XaColourOld_SetTransparentTilePattern4 pcBITMAPINFOHEADER  BitmapInfo,
pcBYTE  Bitmap,
DWORD  Style,
pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
pcPOINT  PointD,
BYTE  DefaultColour = 0,
pcBYTE  TransparencyTranslationTable = 0,
INT32  TileOffset = 0
 

Definition at line 948 of file XaDrwOld.cpp.

00960 {
00961     XA_DRAW_ENTER(TEXT("XaColourOld_SetTransparentTilePattern4"), s_pContext);
00962     INT32 nRetVal =
00963         XaColour_SetTransparentTilePattern4(s_pContext,
00964                                                     BitmapInfo, Bitmap, Style,
00965                                                     PointA, PointB, PointC, PointD,
00966                                                     DefaultColour,
00967                                                     TransparencyTranslationTable,
00968                                                     TileOffset);
00969     XA_DRAW_LEAVE(s_pContext);
00970     return nRetVal;
00971 }

INT32 XaColourOld_SetWordColour DWORD  Colour  ) 
 

Definition at line 493 of file XaDrwOld.cpp.

00494 {
00495     XA_DRAW_ENTER(TEXT("XaColourOld_SetWordColour"), s_pContext);
00496     INT32 nRetVal =
00497         XaColour_SetWordColour(s_pContext, Colour);
00498     XA_DRAW_LEAVE(s_pContext);
00499     return nRetVal;
00500 }

INT32 XaDrawOld_CalcBBox pcPOINT  Points,
pcBYTE  Types,
UINT32  Length,
pRECT  Rect,
BOOL  Flatten
 

Definition at line 1467 of file XaDrwOld.cpp.

01474 {
01475     XA_DRAW_ENTER(TEXT("XaDrawOld_CalcBBox"), s_pContext);
01476     INT32 nRetVal =
01477         XaDraw_CalcBBox(s_pContext, Points, Types, Length, Rect, Flatten);
01478     XA_DRAW_LEAVE(s_pContext);
01479     return nRetVal;
01480 }

INT32 XaDrawOld_CalcStrokeBBox pcPOINT  IPoints,
pcBYTE  ITypes,
UINT32  ILength,
pRECT  Rect,
BOOL  Close,
UINT32  LineWidth,
DWORD  LineCaps,
DWORD  LineJoin,
pcDashType  Dash
 

Definition at line 1298 of file XaDrwOld.cpp.

01309 {
01310     XA_DRAW_ENTER(TEXT("XaDrawOld_CalcStrokeBBox"), s_pContext);
01311     INT32 nRetVal =
01312         XaDraw_CalcStrokeBBox(  s_pContext,
01313                                                     IPoints, ITypes, ILength,
01314                                                     Rect, Close,
01315                                                     LineWidth, LineCaps, LineJoin, Dash);
01316     XA_DRAW_LEAVE(s_pContext);
01317     return nRetVal;
01318 }

INT32 XaDrawOld_ClearChangedBBox  ) 
 

Definition at line 1507 of file XaDrwOld.cpp.

01508 {
01509     XA_DRAW_ENTER(TEXT("XaDrawOld_ClearChangedBBox"), s_pContext);
01510     INT32 nRetVal =
01511         XaDraw_ClearChangedBBox(s_pContext);
01512     XA_DRAW_LEAVE(s_pContext);
01513     return nRetVal;
01514 }

INT32 XaDrawOld_ClearLastError  ) 
 

Definition at line 243 of file XaDrwOld.cpp.

00244 {
00245     XA_DRAW_ENTER(TEXT("XaDrawOld_ClearLastError"), s_pContext);
00246     INT32 nRetVal = XaDraw_ClearLastError(s_pContext);
00247     XA_DRAW_LEAVE(s_pContext);
00248     return nRetVal;
00249 }

INT32 XaDrawOld_ClipRectangle pcRECT  Rectangle  ) 
 

Definition at line 1422 of file XaDrwOld.cpp.

01423 {
01424     XA_DRAW_ENTER(TEXT("XaDrawOld_ClipRectangle"), s_pContext);
01425     INT32 nRetVal =
01426         XaDraw_ClipRectangle(s_pContext, Rectangle);
01427     XA_DRAW_LEAVE(s_pContext);
01428     return nRetVal;
01429 }

INT32 XaDrawOld_ClipRegion pcREGION  Region  ) 
 

Definition at line 1449 of file XaDrwOld.cpp.

01450 {
01451     XA_DRAW_ENTER(TEXT("XaDrawOld_ClipRegion"), s_pContext);
01452     INT32 nRetVal =
01453         XaDraw_ClipRegion(s_pContext, Region);
01454     XA_DRAW_LEAVE(s_pContext);
01455     return nRetVal;
01456 }

INT32 XaDrawOld_ComparePalettes pcGCONTEXT  pContext,
pcLOGPALETTE  Palette,
BOOL  Flag
 

Definition at line 393 of file XaDrwOld.cpp.

00394 {
00395     XA_DRAW_ENTER(TEXT("XaDrawOld_ComparePalettes"), s_pContext);
00396     INT32 nRetVal =
00397         XaDraw_ComparePalettes(pContext, Palette, Flag);
00398     XA_DRAW_LEAVE(s_pContext);
00399     return nRetVal;
00400 }

INT32 XaDrawOld_ContextLength  ) 
 

Definition at line 384 of file XaDrwOld.cpp.

00385 {
00386     XA_DRAW_ENTER(TEXT("XaDrawOld_ContextLength"), NULL);
00387     INT32 nRetVal =
00388         XaDraw_ContextLength();
00389     XA_DRAW_LEAVE(NULL);
00390     return nRetVal;
00391 }

INT32 XaDrawOld_DeviceClipRectangle pcRECT  Rectangle  ) 
 

Definition at line 1431 of file XaDrwOld.cpp.

01432 {
01433     XA_DRAW_ENTER(TEXT("XaDrawOld_DeviceClipRectangle"), s_pContext);
01434     INT32 nRetVal =
01435         XaDraw_DeviceClipRectangle(s_pContext, Rectangle);
01436     XA_DRAW_LEAVE(s_pContext);
01437     return nRetVal;
01438 }

INT32 XaDrawOld_FillPath pcPOINT  Points,
pcBYTE  Types,
UINT32  Length,
UINT32  Winding
 

Definition at line 1212 of file XaDrwOld.cpp.

01218 {
01219     XA_DRAW_ENTER(TEXT("XaDrawOld_FillPath"), s_pContext);
01220     INT32 nRetVal =
01221         XaDraw_FillPath(s_pContext, Points, Types, Length, Winding);
01222     XA_DRAW_LEAVE(s_pContext);
01223     return nRetVal;
01224 }

INT32 XaDrawOld_FillPoint pcPOINT  Point  ) 
 

Definition at line 1203 of file XaDrwOld.cpp.

01204 {
01205     XA_DRAW_ENTER(TEXT("XaDrawOld_FillPoint"), s_pContext);
01206     INT32 nRetVal =
01207         XaDraw_FillPoint(s_pContext, Point);
01208     XA_DRAW_LEAVE(s_pContext);
01209     return nRetVal;
01210 }

INT32 XaDrawOld_FillRectangle pcRECT  Rectangle  ) 
 

Definition at line 1194 of file XaDrwOld.cpp.

01195 {
01196     XA_DRAW_ENTER(TEXT("XaDrawOld_FillRectangle"), s_pContext);
01197     INT32 nRetVal =
01198         XaDraw_FillRectangle(s_pContext, Rectangle);
01199     XA_DRAW_LEAVE(s_pContext);
01200     return nRetVal;
01201 }

INT32 XaDrawOld_FillRegion pcREGION  Region,
pcPOINT  Offset
 

Definition at line 1410 of file XaDrwOld.cpp.

01414 {
01415     XA_DRAW_ENTER(TEXT("XaDrawOld_FillRegion"), s_pContext);
01416     INT32 nRetVal =
01417         XaDraw_FillRegion(s_pContext, Region, Offset);
01418     XA_DRAW_LEAVE(s_pContext);
01419     return nRetVal;
01420 }

INT32 XaDrawOld_FillTriangle pcPOINT  PointA,
pcPOINT  PointB,
pcPOINT  PointC,
DWORD  Flags
 

Definition at line 1226 of file XaDrwOld.cpp.

01232 {
01233     XA_DRAW_ENTER(TEXT("XaDrawOld_FillTriangle"), s_pContext);
01234     INT32 nRetVal =
01235         XaDraw_FillTriangle(s_pContext, PointA, PointB, PointC, Flags);
01236     XA_DRAW_LEAVE(s_pContext);
01237     return nRetVal;
01238 }

INT32 XaDrawOld_GetChangedBBox pRECT  Rectangle  ) 
 

Definition at line 1516 of file XaDrwOld.cpp.

01517 {
01518     XA_DRAW_ENTER(TEXT("XaDrawOld_GetChangedBBox"), s_pContext);
01519     INT32 nRetVal =
01520         XaDraw_GetChangedBBox(s_pContext, Rectangle);
01521     XA_DRAW_LEAVE(s_pContext);
01522     return nRetVal;
01523 }

pcREGION XaDrawOld_GetClipRegion  ) 
 

Definition at line 1458 of file XaDrwOld.cpp.

01459 {
01460     XA_DRAW_ENTER(TEXT("XaDrawOld_GetClipRegion"), s_pContext);
01461     pcREGION pRetVal =
01462         XaDraw_GetClipRegion(s_pContext);
01463     XA_DRAW_LEAVE(s_pContext);
01464     return pRetVal;
01465 }

const GCONTEXT* XaDrawOld_GetContext  ) 
 

Returns a pointer to the global context. (Useful for making clones of the global context).

Author:
Derek_Cox (Xara Group Ltd) <camelotdev@xara.com>
Date:
29/05/2001
Parameters:
- [INPUTS]
Returns:
const pointer to the global context

Definition at line 198 of file XaDrwOld.cpp.

00199 {
00200     return s_pContext;
00201 }

INT32 XaDrawOld_GetDeviceClipRectangle pRECT  Rectangle  ) 
 

Definition at line 1440 of file XaDrwOld.cpp.

01441 {
01442     XA_DRAW_ENTER(TEXT("XaDrawOld_GetDeviceClipRectangle"), s_pContext);
01443     INT32 nRetVal =
01444         XaDraw_GetDeviceClipRectangle(s_pContext, Rectangle);
01445     XA_DRAW_LEAVE(s_pContext);
01446     return nRetVal;
01447 }

eError XaDrawOld_GetLastError  ) 
 

Definition at line 251 of file XaDrwOld.cpp.

00252 {
00253     XA_DRAW_ENTER(TEXT("XaDrawOld_GetLastError"), s_pContext);
00254     eError nRetVal = XaDraw_GetLastError(s_pContext);
00255     XA_DRAW_LEAVE(s_pContext);
00256     return nRetVal;
00257 }

INT32 XaDrawOld_GetMaxBitmapDepth  ) 
 

Definition at line 1140 of file XaDrwOld.cpp.

01141 {
01142     XA_DRAW_ENTER(TEXT("XaDrawOld_GetMaxBitmapDepth"), NULL);
01143     INT32 nRetVal =
01144         XaDraw_GetMaxBitmapDepth();
01145     XA_DRAW_LEAVE(NULL);
01146     return nRetVal;
01147 }

INT32 XaDrawOld_GetMaxBitmapWidth  ) 
 

Definition at line 1131 of file XaDrwOld.cpp.

01132 {
01133     XA_DRAW_ENTER(TEXT("XaDrawOld_GetMaxBitmapWidth"), NULL);
01134     INT32 nRetVal =
01135         XaDraw_GetMaxBitmapWidth();
01136     XA_DRAW_LEAVE(NULL);
01137     return nRetVal;
01138 }

INT32 XaDrawOld_GetStatistics pcPOINT  Points,
pcBYTE  Types,
UINT32  Length,
UINT32  Winding,
pSTATISTICS  Stats
 

Definition at line 1355 of file XaDrwOld.cpp.

01362 {
01363     XA_DRAW_ENTER(TEXT("XaDrawOld_GetStatistics"), s_pContext);
01364     INT32 nRetVal =
01365         XaDraw_GetStatistics(   s_pContext,
01366                                                     Points, Types, Length,
01367                                                     Winding, Stats);
01368     XA_DRAW_LEAVE(s_pContext);
01369     return nRetVal;
01370 }

DWORD XaDrawOld_GetVersion  ) 
 

Translations functions to provide the GDraw V2 interface to GDraw V3. See GDraw V2 for details about each function.

Each wrapper: 1) calls XA_DRAW_ENTER 2) calls the original GDraw function, 3) calls XA_DRAW_LEAVE

Template:

INT32 Xa<catgegory>Old_<fn_name>(INT32 nParam1) { XA_DRAW_ENTER(TEXT("<fn_name>"), s_pContext); INT32 nRetVal = Xa<category>_<fn_name>(s_pContext, nParam1); XA_DRAW_LEAVE(s_pContext); return nRetVal; }

Definition at line 225 of file XaDrwOld.cpp.

00226 {
00227     XA_DRAW_ENTER(TEXT("XaDrawOld_GetVersion"), NULL);
00228     DWORD nRetVal = XaDraw_GetVersion();
00229     XA_DRAW_LEAVE(NULL);
00230 
00231     if (NULL == s_pContext)
00232     {
00233         s_pContext = static_cast<GCONTEXT*>(malloc(XaDraw_ContextLength()));
00234         memset(s_pContext, 0, XaDraw_ContextLength());
00235         INT32 nError = XaDraw_Initialise(s_pContext, NULL);
00236         if (GERROR_NO_ERROR != nError)
00237             return 0;
00238     }
00239 
00240     return nRetVal;
00241 }

INT32 XaDrawOld_HintPath pPOINT  Points,
pcBYTE  Types,
UINT32  Length,
BOOL  Close,
UINT32  LineWidth
 

Definition at line 1240 of file XaDrwOld.cpp.

01247 {
01248     XA_DRAW_ENTER(TEXT("XaDrawOld_HintPath"), s_pContext);
01249     INT32 nRetVal =
01250         XaDraw_HintPath(s_pContext, Points, Types, Length, Close, LineWidth);
01251     XA_DRAW_LEAVE(s_pContext);
01252     return nRetVal;
01253 }

INT32 XaDrawOld_IsFPU BOOL  Flag  ) 
 

Definition at line 331 of file XaDrwOld.cpp.

00332 {
00333     Flag = Flag;
00334     // No longer required
00335     return GERROR_NO_ERROR;
00336 }

INT32 XaDrawOld_IsOverlap pcPOINT  Points,
pcBYTE  Types,
UINT32  Length,
UINT32  Winding
 

Definition at line 1320 of file XaDrwOld.cpp.

01326 {
01327     XA_DRAW_ENTER(TEXT("XaDrawOld_IsOverlap"), s_pContext);
01328     INT32 nRetVal =
01329         XaDraw_IsOverlap(   s_pContext,
01330                                                 Points, Types, Length, Winding);
01331     XA_DRAW_LEAVE(s_pContext);
01332     return nRetVal;
01333 }

INT32 XaDrawOld_IsStrokeOverlap pcPOINT  Points,
pcBYTE  Types,
UINT32  Length,
BOOL  Close,
UINT32  LineWidth,
DWORD  LineCaps,
DWORD  LineJoin,
pcDashType  Dash
 

Definition at line 1335 of file XaDrwOld.cpp.

01345 {
01346     XA_DRAW_ENTER(TEXT("XaDrawOld_IsStrokeOverlap"), s_pContext);
01347     INT32 nRetVal =
01348         XaDraw_IsStrokeOverlap( s_pContext,
01349                                                     Points, Types, Length, Close,
01350                                                     LineWidth, LineCaps, LineJoin, Dash);
01351     XA_DRAW_LEAVE(s_pContext);
01352     return nRetVal;
01353 }

INT32 XaDrawOld_MakeRegion pcPOINT  Points,
pcBYTE  Types,
UINT32  Length,
UINT32  Winding,
pREGION  ORegion,
UINT32  OLength
 

Definition at line 1372 of file XaDrwOld.cpp.

01380 {
01381     XA_DRAW_ENTER(TEXT("XaDrawOld_MakeRegion"), s_pContext);
01382     INT32 nRetVal =
01383         XaDraw_MakeRegion(  s_pContext,
01384                                                 Points, Types, Length,
01385                                                 Winding,
01386                                                 ORegion, OLength);
01387     XA_DRAW_LEAVE(s_pContext);
01388     return nRetVal;
01389 }

INT32 XaDrawOld_MakeUnclippedRegion pcPOINT  Points,
pcBYTE  Types,
UINT32  Length,
UINT32  Winding,
pREGION  ORegion,
UINT32  OLength
 

Definition at line 1391 of file XaDrwOld.cpp.

01399 {
01400     XA_DRAW_ENTER(TEXT("XaDrawOld_MakeUnclippedRegion"), s_pContext);
01401     INT32 nRetVal =
01402         XaDraw_MakeUnclippedRegion( s_pContext,
01403                                                         Points, Types, Length,
01404                                                         Winding,
01405                                                         ORegion, OLength);
01406     XA_DRAW_LEAVE(s_pContext);
01407     return nRetVal;
01408 }

INT32 XaDrawOld_MaxScale pcGMATRIX  Matrix,
pcRECT  BBox
 

Definition at line 1122 of file XaDrwOld.cpp.

01123 {
01124     XA_DRAW_ENTER(TEXT("XaDrawOld_MaxScale"), s_pContext);
01125     INT32 nRetVal =
01126         XaDraw_MaxScale(s_pContext, Matrix, BBox);
01127     XA_DRAW_LEAVE(s_pContext);
01128     return nRetVal;
01129 }

INT32 XaDrawOld_RestoreContext pcGCONTEXT  pContext  ) 
 

Definition at line 410 of file XaDrwOld.cpp.

00411 {
00412     XA_DRAW_ENTER(TEXT("XaDrawOld_RestoreContext"), s_pContext);
00413     INT32 nRetVal = XaDraw_CopyContext(pContext, s_pContext);
00414     DWORD* pStyle = (DWORD*)((BYTE*)s_pContext + 0x37C);
00415     *pStyle = 0;    // STYLE_INVALID
00416     XA_DRAW_LEAVE(s_pContext);
00417     return nRetVal;
00418 }

INT32 XaDrawOld_SaveContext pGCONTEXT  pContext  ) 
 

Definition at line 402 of file XaDrwOld.cpp.

00403 {
00404     XA_DRAW_ENTER(TEXT("XaDrawOld_SaveContext"), s_pContext);
00405     INT32 nRetVal = XaDraw_CopyContext(s_pContext, pContext);
00406     XA_DRAW_LEAVE(s_pContext);
00407     return nRetVal;
00408 }

INT32 XaDrawOld_ScrollBitmap INT32  x,
INT32  y
 

Definition at line 1498 of file XaDrwOld.cpp.

01499 {
01500     XA_DRAW_ENTER(TEXT("XaDrawOld_ScrollBitmap"), s_pContext);
01501     INT32 nRetVal =
01502         XaDraw_ScrollBitmap(s_pContext, x, y);
01503     XA_DRAW_LEAVE(s_pContext);
01504     return nRetVal;
01505 }

INT32 XaDrawOld_SetAntialiasFlag BOOL  Flag  ) 
 

Definition at line 1149 of file XaDrwOld.cpp.

01150 {
01151     XA_DRAW_ENTER(TEXT("XaDrawOld_SetAntialiasFlag"), s_pContext);
01152     INT32 nRetVal =
01153         XaDraw_SetAntialiasFlag(s_pContext, Flag);
01154     XA_DRAW_LEAVE(s_pContext);
01155     return nRetVal;
01156 }

INT32 XaDrawOld_SetBevelContrast UINT32  Contrast  ) 
 

Definition at line 1534 of file XaDrwOld.cpp.

01535 {
01536     XA_DRAW_ENTER(TEXT("XaDrawOld_SetBevelContrast"), s_pContext);
01537     INT32 nRetVal =
01538         XaDraw_SetBevelContrast(s_pContext, Contrast);
01539     XA_DRAW_LEAVE(s_pContext);
01540     return nRetVal;
01541 }

INT32 XaDrawOld_SetBevelDarkness UINT32  Contrast  ) 
 

Definition at line 1552 of file XaDrwOld.cpp.

01553 {
01554     XA_DRAW_ENTER(TEXT("XaDrawOld_SetBevelDarkness"), s_pContext);
01555     INT32 nRetVal =
01556         XaDraw_SetBevelDarkness(s_pContext, Contrast);
01557     XA_DRAW_LEAVE(s_pContext);
01558     return nRetVal;
01559 }

INT32 XaDrawOld_SetBevelLightness UINT32  Contrast  ) 
 

Definition at line 1543 of file XaDrwOld.cpp.

01544 {
01545     XA_DRAW_ENTER(TEXT("XaDrawOld_SetBevelLightness"), s_pContext);
01546     INT32 nRetVal =
01547         XaDraw_SetBevelLightness(s_pContext, Contrast);
01548     XA_DRAW_LEAVE(s_pContext);
01549     return nRetVal;
01550 }

INT32 XaDrawOld_SetChangedBBox pcRECT  Rectangle  ) 
 

Definition at line 1525 of file XaDrwOld.cpp.

01526 {
01527     XA_DRAW_ENTER(TEXT("XaDrawOld_SetChangedBBox"), s_pContext);
01528     INT32 nRetVal =
01529         XaDraw_SetChangedBBox(s_pContext, Rectangle);
01530     XA_DRAW_LEAVE(s_pContext);
01531     return nRetVal;
01532 }

INT32 XaDrawOld_SetDashAdjustmentFlag BOOL  Flag  ) 
 

Definition at line 1158 of file XaDrwOld.cpp.

01159 {
01160     XA_DRAW_ENTER(TEXT("XaDrawOld_SetDashAdjustmentFlag"), s_pContext);
01161     INT32 nRetVal =
01162         XaDraw_SetDashAdjustmentFlag(s_pContext, Flag);
01163     XA_DRAW_LEAVE(s_pContext);
01164     return nRetVal;
01165 }

INT32 XaDrawOld_SetDIBitmap pcBITMAPINFOHEADER  BitmapInfo,
pBYTE  Bitmap,
UINT32  Format16BPP = FORMAT16BPP_555
 

Definition at line 1085 of file XaDrwOld.cpp.

01090 {
01091     XA_DRAW_ENTER(TEXT("XaDrawOld_SetDIBitmap"), s_pContext);
01092     INT32 nRetVal =
01093         XaDraw_SetDIBitmap( s_pContext,
01094                                                 BitmapInfo, Bitmap, Format16BPP);
01095     XA_DRAW_LEAVE(s_pContext);
01096     return nRetVal;
01097 }

INT32 XaDrawOld_SetFlatness UINT32  Flatness  ) 
 

Definition at line 1176 of file XaDrwOld.cpp.

01177 {
01178     XA_DRAW_ENTER(TEXT("XaDrawOld_SetFlatness"), s_pContext);
01179     INT32 nRetVal =
01180         XaDraw_SetFlatness(s_pContext, Flatness);
01181     XA_DRAW_LEAVE(s_pContext);
01182     return nRetVal;
01183 }

INT32 XaDrawOld_SetHintingFlag BOOL  Flag  ) 
 

Definition at line 1167 of file XaDrwOld.cpp.

01168 {
01169     XA_DRAW_ENTER(TEXT("XaDrawOld_SetHintingFlag"), s_pContext);
01170     INT32 nRetVal =
01171         XaDraw_SetHintingFlag(s_pContext, Flag);
01172     XA_DRAW_LEAVE(s_pContext);
01173     return nRetVal;
01174 }

INT32 XaDrawOld_SetInvertedDIBitmap pcBITMAPINFOHEADER  BitmapInfo,
pBYTE  Bitmap,
UINT32  Format16BPP = FORMAT16BPP_555
 

Definition at line 1099 of file XaDrwOld.cpp.

01104 {
01105     XA_DRAW_ENTER(TEXT("XaDrawOld_SetInvertedDIBitmap"), s_pContext);
01106     INT32 nRetVal =
01107         XaDraw_SetInvertedDIBitmap( s_pContext,
01108                                                         BitmapInfo, Bitmap, Format16BPP);
01109     XA_DRAW_LEAVE(s_pContext);
01110     return nRetVal;
01111 }

INT32 XaDrawOld_SetMatrix pcGMATRIX  Matrix  ) 
 

Definition at line 1113 of file XaDrwOld.cpp.

01114 {
01115     XA_DRAW_ENTER(TEXT("XaDrawOld_SetMatrix"), s_pContext);
01116     INT32 nRetVal =
01117         XaDraw_SetMatrix(s_pContext, Matrix);
01118     XA_DRAW_LEAVE(s_pContext);
01119     return nRetVal;
01120 }

INT32 XaDrawOld_SetMemoryHandlers pBYTE(*)(UINT32 Size)  MemoryAlloc,
void(*)(pBYTE Address)  MemoryFree
 

Definition at line 338 of file XaDrwOld.cpp.

00342 {
00343     XA_DRAW_ENTER(TEXT("XaDrawOld_SetMemoryHandlers"), s_pContext);
00344     INT32 nRetVal =
00345         XaDraw_SetMemoryHandlers(s_pContext, MemoryAlloc, MemoryFree);
00346     XA_DRAW_LEAVE(s_pContext);
00347     return nRetVal;
00348 }

INT32 XaDrawOld_SetMiterLimit UINT32  MiterLimit  ) 
 

Definition at line 1185 of file XaDrwOld.cpp.

01186 {
01187     XA_DRAW_ENTER(TEXT("XaDrawOld_SetMiterLimit"), s_pContext);
01188     INT32 nRetVal =
01189         XaDraw_SetMiterLimit(s_pContext, MiterLimit);
01190     XA_DRAW_LEAVE(s_pContext);
01191     return nRetVal;
01192 }

INT32 XaDrawOld_SetStackLimit pcVOID  StackLimit  ) 
 

Definition at line 350 of file XaDrwOld.cpp.

00351 {
00352     XA_DRAW_ENTER(TEXT("XaDrawOld_SetStackLimit"), s_pContext);
00353     INT32 nRetVal =
00354         XaDraw_SetStackLimit(s_pContext, StackLimit);
00355     XA_DRAW_LEAVE(s_pContext);
00356     return nRetVal;
00357 }

INT32 XaDrawOld_SetStackSize UINT32  StackSize  ) 
 

Definition at line 359 of file XaDrwOld.cpp.

00360 {
00361     XA_DRAW_ENTER(TEXT("XaDrawOld_SetStackSize"), s_pContext);
00362     INT32 nRetVal =
00363         XaDraw_SetStackSize(s_pContext, StackSize);
00364     XA_DRAW_LEAVE(s_pContext);
00365     return nRetVal;
00366 }

INT32 XaDrawOld_StrokePath pcPOINT  Points,
pcBYTE  Types,
UINT32  Length,
BOOL  Close,
UINT32  LineWidth,
DWORD  LineCaps,
DWORD  LineJoin,
pcDashType  Dash
 

Definition at line 1255 of file XaDrwOld.cpp.

01265 {
01266     XA_DRAW_ENTER(TEXT("XaDrawOld_StrokePath"), s_pContext);
01267     INT32 nRetVal =
01268         XaDraw_StrokePath(s_pContext, Points, Types, Length, Close,
01269                                                 LineWidth, LineCaps, LineJoin, Dash);
01270     XA_DRAW_LEAVE(s_pContext);
01271     return nRetVal;
01272 }

INT32 XaDrawOld_StrokePathToPath pcPOINT  IPoints,
pcBYTE  ITypes,
UINT32  ILength,
pPOINT  OPoints,
pBYTE  OTypes,
UINT32  OLength,
BOOL  Close,
UINT32  LineWidth,
DWORD  LineCaps,
DWORD  LineJoin,
pcDashType  Dash
 

Definition at line 1274 of file XaDrwOld.cpp.

01287 {
01288     XA_DRAW_ENTER(TEXT("XaDrawOld_StrokePathToPath"), s_pContext);
01289     INT32 nRetVal =
01290         XaDraw_StrokePathToPath(s_pContext,
01291                                                     IPoints, ITypes, ILength,
01292                                                     OPoints, OTypes, OLength, Close,
01293                                                     LineWidth, LineCaps, LineJoin, Dash);
01294     XA_DRAW_LEAVE(s_pContext);
01295     return nRetVal;
01296 }

INT32 XaDrawOld_Terminate  ) 
 

Definition at line 368 of file XaDrwOld.cpp.

00369 {
00370     XA_DRAW_ENTER(TEXT("XaDrawOld_Terminate"), s_pContext);
00371     INT32 nRetVal =
00372         XaDraw_Terminate(s_pContext);
00373     XA_DRAW_LEAVE(s_pContext);
00374 
00375     if (NULL != s_pContext)
00376     {
00377         free(s_pContext);
00378         s_pContext = NULL;
00379     }
00380 
00381     return nRetVal;
00382 }

INT32 XaDrawOld_TransformPath pcPOINT  IPoints,
pPOINT  OPoints,
UINT32  Length,
pcGMATRIX  Matrix
 

Definition at line 1482 of file XaDrwOld.cpp.

01488 {
01489     XA_DRAW_ENTER(TEXT("XaDrawOld_TransformPath"), s_pContext);
01490     INT32 nRetVal =
01491         XaDraw_TransformPath(   s_pContext,
01492                                                     IPoints, OPoints,
01493                                                     Length, Matrix);
01494     XA_DRAW_LEAVE(s_pContext);
01495     return nRetVal;
01496 }

INT32 XaDrawOld_TranslateBevelValue BYTE  Index,
BYTE  Colour
 

Definition at line 1561 of file XaDrwOld.cpp.

01562 {
01563     XA_DRAW_ENTER(TEXT("XaDrawOld_TranslateBevelValue"), s_pContext);
01564     INT32 nRetVal =
01565         XaDraw_TranslateBevelValue(s_pContext, Index, Colour);
01566     XA_DRAW_LEAVE(s_pContext);
01567     return nRetVal;
01568 }


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