xagdraw.h

Go to the documentation of this file.
00001 // $Id: xagdraw.h 882 2006-04-25 15:40:57Z gavin $
00002 /* @@tag:xara-cn@@ DO NOT MODIFY THIS LINE
00003 ================================XARAHEADERSTART===========================
00004  
00005                Xara LX, a vector drawing and manipulation program.
00006                     Copyright (C) 1993-2006 Xara Group Ltd.
00007        Copyright on certain contributions may be held in joint with their
00008               respective authors. See AUTHORS file for details.
00009 
00010 LICENSE TO USE AND MODIFY SOFTWARE
00011 ----------------------------------
00012 
00013 This file is part of Xara LX.
00014 
00015 Xara LX is free software; you can redistribute it and/or modify it
00016 under the terms of the GNU General Public License version 2 as published
00017 by the Free Software Foundation.
00018 
00019 Xara LX and its component source files are distributed in the hope
00020 that it will be useful, but WITHOUT ANY WARRANTY; without even the
00021 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00022 See the GNU General Public License for more details.
00023 
00024 You should have received a copy of the GNU General Public License along
00025 with Xara LX (see the file GPL in the root directory of the
00026 distribution); if not, write to the Free Software Foundation, Inc., 51
00027 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
00028 
00029 
00030 ADDITIONAL RIGHTS
00031 -----------------
00032 
00033 Conditional upon your continuing compliance with the GNU General Public
00034 License described above, Xara Group Ltd grants to you certain additional
00035 rights. 
00036 
00037 The additional rights are to use, modify, and distribute the software
00038 together with the wxWidgets library, the wxXtra library, and the "CDraw"
00039 library and any other such library that any version of Xara LX relased
00040 by Xara Group Ltd requires in order to compile and execute, including
00041 the static linking of that library to XaraLX. In the case of the
00042 "CDraw" library, you may satisfy obligation under the GNU General Public
00043 License to provide source code by providing a binary copy of the library
00044 concerned and a copy of the license accompanying it.
00045 
00046 Nothing in this section restricts any of the rights you have under
00047 the GNU General Public License.
00048 
00049 
00050 SCOPE OF LICENSE
00051 ----------------
00052 
00053 This license applies to this program (XaraLX) and its constituent source
00054 files only, and does not necessarily apply to other Xara products which may
00055 in part share the same code base, and are subject to their own licensing
00056 terms.
00057 
00058 This license does not apply to files in the wxXtra directory, which
00059 are built into a separate library, and are subject to the wxWindows
00060 license contained within that directory in the file "WXXTRA-LICENSE".
00061 
00062 This license does not apply to the binary libraries (if any) within
00063 the "libs" directory, which are subject to a separate license contained
00064 within that directory in the file "LIBS-LICENSE".
00065 
00066 
00067 ARRANGEMENTS FOR CONTRIBUTION OF MODIFICATIONS
00068 ----------------------------------------------
00069 
00070 Subject to the terms of the GNU Public License (see above), you are
00071 free to do whatever you like with your modifications. However, you may
00072 (at your option) wish contribute them to Xara's source tree. You can
00073 find details of how to do this at:
00074   http://www.xaraxtreme.org/developers/
00075 
00076 Prior to contributing your modifications, you will need to complete our
00077 contributor agreement. This can be found at:
00078   http://www.xaraxtreme.org/developers/contribute/
00079 
00080 Please note that Xara will not accept modifications which modify any of
00081 the text between the start and end of this header (marked
00082 XARAHEADERSTART and XARAHEADEREND).
00083 
00084 
00085 MARKS
00086 -----
00087 
00088 Xara, Xara LX, Xara X, Xara X/Xtreme, Xara Xtreme, the Xtreme and Xara
00089 designs are registered or unregistered trademarks, design-marks, and/or
00090 service marks of Xara Group Ltd. All rights in these marks are reserved.
00091 
00092 
00093       Xara Group Ltd, Gaddesden Place, Hemel Hempstead, HP2 6EX, UK.
00094                         http://www.xara.com/
00095 
00096 =================================XARAHEADEREND============================
00097  */
00098 
00099 #ifndef INC_XaGDraw_h
00100 #define INC_XaGDraw_h
00101 
00102 /********************************************************************************************
00103 
00104 This file provides as direct mapping from Xa* to G*_
00105 The direct mapping is only used if CONFIG_DEBUG_XADRAW is not defined.
00106 
00107 NOTE: Do not include this file directly. Include XaDraw.h or XaDrwOld.h (V3 and V2 style
00108       interface respectively).
00109 
00110 ********************************************************************************************/
00111 
00112 #include "gdraw.h"
00113 
00114 #ifndef CONFIG_DEBUG_XADRAW
00115 
00116 #define XaDraw_GetVersion           (GDraw_GetVersion)
00117 #define XaDraw_ClearLastError       (GDraw_ClearLastError)
00118 #define XaDraw_GetLastError         (GDraw_GetLastError)
00119 #define XaDraw_GetLastErrorText     (GDraw_GetLastErrorText)
00120 
00121 #define XaDraw_Initialise           (GDraw_Initialise)
00122 #define XaDraw_CopyContext          (GDraw_CopyContext)
00123 
00124 #define XaColour_GetGraduationTableSize \
00125                                     (GColour_GetGraduationTableSize)
00126 #define XaColour_GetGraduationTableLength \
00127                                     (GColour_GetGraduationTableLength)
00128 #define XaColour_GetLongGraduationTableSize \
00129                                     (GColour_GetLongGraduationTableSize)
00130 #define XaColour_GetLongGraduationTableLength \
00131                                     (GColour_GetLongGraduationTableLength)
00132 #define XaColour_GetTransparentGraduationTableSize \
00133                                     (GColour_GetTransparentGraduationTableSize)
00134 #define XaColour_GetTransparentGraduationTableLength \
00135                                     (GColour_GetTransparentGraduationTableLength)
00136 #define XaColour_GetLongTransparentGraduationTableSize \
00137                                     (GColour_GetLongTransparentGraduationTableSize)
00138 #define XaColour_GetLongTransparentGraduationTableLength \
00139                                     (GColour_GetLongTransparentGraduationTableLength)
00140 
00141 
00142 #define XaDraw_SetMemoryHandlers    (GDraw_SetMemoryHandlers)
00143 #define XaDraw_SetStackLimit        (GDraw_SetStackLimit)
00144 #define XaDraw_SetStackSize         (GDraw_SetStackSize)
00145 #define XaDraw_Terminate            (GDraw_Terminate)
00146 #define XaDraw_Clean                (GDraw_Clean)
00147 
00148 
00149 #define XaDraw_ContextLength        (GDraw_ContextLength)
00150 #define XaDraw_ComparePalettes      (GDraw_ComparePalettes)
00151 
00152 
00153 #define XaColour_SelectPalette      (GColour_SelectPalette)
00154 #define XaColour_InitialiseWithPalette  \
00155                                     (GColour_InitialiseWithPalette)
00156 #define XaColour_SetDitherStyle     (GColour_SetDitherStyle)
00157 #define XaColour_SetTileSmoothingFlag \
00158                                     (GColour_SetTileSmoothingFlag)
00159 #define XaColour_SetTileFilteringFlag \
00160                                     (GColour_SetTileFilteringFlag)
00161 #define XaBitmap_SetMaxFilterSize   (GBitmap_SetMaxFilterSize)
00162 #define XaBitmap_Sharpen            (GBitmap_Sharpen)
00163 #define XaBitmap_Blur               (GBitmap_Blur)
00164 #define XaColour_SetHalftoneOrigin  (GColour_SetHalftoneOrigin)
00165 #define XaColour_SetColour          (GColour_SetColour)
00166 #define XaColour_SetSolidColour     (GColour_SetSolidColour)
00167 #define XaColour_SetWordColour      (GColour_SetWordColour)
00168 #define XaColour_SetInvert          (GColour_SetInvert)
00169 #define XaColour_SetTransparency    (GColour_SetTransparency)
00170 #define XaColour_SetTransparencyLookupTable \
00171                                     (GColour_SetTransparencyLookupTable)
00172 #define XaColour_ReturnBrush        (GColour_ReturnBrush)
00173 #define XaColour_ReturnBrushRGB     (GColour_ReturnBrushRGB)
00174 #define XaColour_AddToGraduationTable \
00175                                     (GColour_AddToGraduationTable)
00176 #define XaColour_BuildGraduationTable \
00177                                     (GColour_BuildGraduationTable)
00178 #define XaColour_BuildGraduationTable32 \
00179                                     (GColour_BuildGraduationTable32)
00180 #define XaColour_BuildTransparencyTable \
00181                                     (GColour_BuildTransparencyTable)
00182 #define XaColour_SetGraduation      (GColour_SetGraduation)
00183 #define XaColour_SetGraduation4     (GColour_SetGraduation4)
00184 #define XaColour_Set3WayGraduation  (GColour_Set3WayGraduation)
00185 #define XaColour_Set3WayGraduation4 (GColour_Set3WayGraduation4)
00186 #define XaColour_Set4WayGraduation  (GColour_Set4WayGraduation)
00187 #define XaColour_Set4WayGraduation4 (GColour_Set4WayGraduation4)
00188 #define XaColour_SetGourand         (GColour_SetGourand)
00189 #define XaColour_SetTransparentGraduation \
00190                                     (GColour_SetTransparentGraduation)
00191 #define XaColour_SetTransparentGraduation4 \
00192                                     (GColour_SetTransparentGraduation4)
00193 #define XaColour_SetTransparent3WayGraduation \
00194                                     (GColour_SetTransparent3WayGraduation)
00195 #define XaColour_SetTransparent3WayGraduation4 \
00196                                     (GColour_SetTransparent3WayGraduation4)
00197 #define XaColour_SetTransparent4WayGraduation \
00198                                     (GColour_SetTransparent4WayGraduation)
00199 #define XaColour_SetTransparent4WayGraduation4 \
00200                                     (GColour_SetTransparent4WayGraduation4)
00201 #define XaBitmap_SetBias            (GBitmap_SetBias)
00202 #define XaBitmap_SetGain            (GBitmap_SetGain)
00203 #define XaBitmap_SetBrightness      (GBitmap_SetBrightness)
00204 #define XaBitmap_SetContrast        (GBitmap_SetContrast)
00205 #define XaBitmap_SetGamma           (GBitmap_SetGamma)
00206 #define XaBitmap_SetPostGamma       (GBitmap_SetPostGamma)
00207 #define XaBitmap_SetSaturation      (GBitmap_SetSaturation)
00208 #define XaBitmap_SetContone         (GBitmap_SetContone)
00209 #define XaBitmap_SetInputRange      (GBitmap_SetInputRange)
00210 #define XaBitmap_SetOutputRange     (GBitmap_SetOutputRange)
00211 #define XaColour_SetTilePattern     (GColour_SetTilePattern)
00212 #define XaColour_SetTilePattern4    (GColour_SetTilePattern4)
00213 #define XaColour_SetTransparentTilePattern \
00214                                     (GColour_SetTransparentTilePattern)
00215 #define XaColour_SetTransparentTilePattern4 \
00216                                     (GColour_SetTransparentTilePattern4)
00217 #define XaColour_ConvertBitmap      (GColour_ConvertBitmap)
00218 #define XaColour_SetConversionPalette \
00219                                     (GColour_SetConversionPalette)
00220 #define XaColour_SetMaxDiffusionError \
00221                                     (GColour_SetMaxDiffusionError)
00222 #define XaColour_ScaleBitmap        (GColour_ScaleBitmap)
00223 
00224 
00225 #define XaColour_SetGreyConversionValues \
00226                                     (GColour_SetGreyConversionValues)
00227 
00228 
00229 #define XaColour_ConvertHSVtoRGB    (GColour_ConvertHSVtoRGB)
00230 #define XaColour_ConvertRGBtoHSV    (GColour_ConvertRGBtoHSV)
00231 
00232 
00233 #define XaColour_SetSeparationTables \
00234                                     (GColour_SetSeparationTables)
00235 #define XaColour_SetBitmapConversionTable \
00236                                     (GColour_SetBitmapConversionTable)
00237 
00238 
00239 #define XaDraw_SetDIBitmap          (GDraw_SetDIBitmap)
00240 #define XaDraw_SetInvertedDIBitmap  (GDraw_SetInvertedDIBitmap)
00241 #define XaDraw_SetMatrix            (GDraw_SetMatrix)
00242 #define XaDraw_MaxScale             (GDraw_MaxScale)
00243 #define XaDraw_GetMaxBitmapWidth    (GDraw_GetMaxBitmapWidth)
00244 #define XaDraw_GetMaxBitmapDepth    (GDraw_GetMaxBitmapDepth)
00245 #define XaDraw_SetAntialiasFlag     (GDraw_SetAntialiasFlag)
00246 #define XaDraw_SetDashAdjustmentFlag \
00247                                     (GDraw_SetDashAdjustmentFlag)
00248 #define XaDraw_SetHintingFlag       (GDraw_SetHintingFlag)
00249 #define XaDraw_SetFlatness          (GDraw_SetFlatness)
00250 #define XaDraw_SetMiterLimit        (GDraw_SetMiterLimit)
00251 #define XaDraw_FillRectangle        (GDraw_FillRectangle)
00252 #define XaDraw_FillPoint            (GDraw_FillPoint)
00253 #define XaDraw_FillPath             (GDraw_FillPath)
00254 #define XaDraw_InitialiseFillPath   (GDraw_InitialiseFillPath)
00255 #define XaDraw_FillPathLine         (GDraw_FillPathLine)
00256 #define XaDraw_DoFillPath           (GDraw_DoFillPath)
00257 #define XaDraw_FillTriangle         (GDraw_FillTriangle)
00258 #define XaDraw_HintPath             (GDraw_HintPath)
00259 #define XaDraw_StrokePath           (GDraw_StrokePath)
00260 #define XaDraw_StrokePathToPath     (GDraw_StrokePathToPath)
00261 #define XaDraw_CalcStrokeBBox       (GDraw_CalcStrokeBBox)
00262 #define XaDraw_IsOverlap            (GDraw_IsOverlap)
00263 #define XaDraw_IsStrokeOverlap      (GDraw_IsStrokeOverlap)
00264 #define XaDraw_GetStatistics        (GDraw_GetStatistics)
00265 #define XaDraw_MakeRegion           (GDraw_MakeRegion)
00266 #define XaDraw_MakeUnclippedRegion  (GDraw_MakeUnclippedRegion)
00267 #define XaDraw_FillRegion           (GDraw_FillRegion)
00268 #define XaDraw_ClipRectangle        (GDraw_ClipRectangle)
00269 #define XaDraw_DeviceClipRectangle  (GDraw_DeviceClipRectangle)
00270 #define XaDraw_GetDeviceClipRectangle \
00271                                     (GDraw_GetDeviceClipRectangle)
00272 #define XaDraw_ClipRegion           (GDraw_ClipRegion)
00273 #define XaDraw_GetClipRegion        (GDraw_GetClipRegion)
00274 #define XaDraw_CalcSimpleBBox       (GDraw_CalcSimpleBBox)
00275 #define XaDraw_CalcBBox             (GDraw_CalcBBox)
00276 #define XaDraw_TransformPath        (GDraw_TransformPath)
00277 #define XaDraw_ScrollBitmap         (GDraw_ScrollBitmap)
00278 
00279 
00280 #define XaDraw_ClearChangedBBox     (GDraw_ClearChangedBBox)
00281 #define XaDraw_GetChangedBBox       (GDraw_GetChangedBBox)
00282 #define XaDraw_SetChangedBBox       (GDraw_SetChangedBBox)
00283 
00284 
00285 #define XaDraw_SetBevelContrast     (GDraw_SetBevelContrast)
00286 #define XaDraw_SetBevelLightness    (GDraw_SetBevelLightness)
00287 #define XaDraw_SetBevelDarkness     (GDraw_SetBevelDarkness)
00288 #define XaDraw_TranslateBevelValue  (GDraw_TranslateBevelValue)
00289 
00290 
00291 #define XaBitmap_PlotTile           (GBitmap_PlotTile)
00292 #define XaBitmap_PlotTile4          (GBitmap_PlotTile4)
00293 
00294 #define Xa3D_SetTruePerspectiveFlag (G3D_SetTruePerspectiveFlag)
00295 #define Xa3D_DefineView             (G3D_DefineView)
00296 #define Xa3D_DefineTexture          (G3D_DefineTexture)
00297 #define Xa3D_Define2ndTexture       (G3D_Define2ndTexture)
00298 #define Xa3D_ConvertColourFormat    (G3D_ConvertColourFormat)
00299 #define Xa3D_AddTriangleToView      (G3D_AddTriangleToView)
00300 #define Xa3D_AddFlatTriangleToView  (G3D_AddFlatTriangleToView)
00301 #define Xa3D_AddTextureToView       (G3D_AddTextureToView)
00302 #define Xa3D_AddFlatTextureToView   (G3D_AddFlatTextureToView)
00303 #define Xa3D_AddTexturesToView      (G3D_AddTexturesToView)
00304 #define Xa3D_AddFlatTexturesToView  (G3D_AddFlatTexturesToView)
00305 #define Xa3D_SetSideFaceFlag        (G3D_SetSideFaceFlag)
00306 #define Xa3D_GetViewBBox            (G3D_GetViewBBox)
00307 #define Xa3D_PlotView               (G3D_PlotView)
00308 #define XaDraw_SetAntialiasQualityFlag      (GDraw_SetAntialiasQualityFlag)
00309 
00310 #endif // !CONFIG_DEBUG_XADRAW
00311 
00312 #endif // INC_XaGDraw_h

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