wxArt2D
Classes | Macros | Functions | Variables
stylebase.cpp File Reference
#include "a2dprec.h"
#include "wx/wx.h"
#include <wx/dir.h>
#include <wx/file.h>
#include <wx/filename.h>
#include <wx/fontenum.h>
#include <wx/module.h>
#include "wx/general/genmod.h"
#include "wx/artbase/stylebase.h"
#include "wx/artbase/bbox.h"
#include "wx/artbase/drawer2d.h"
#include "wx/artbase/polyver.h"
#include <wx/listimpl.cpp>
Include dependency graph for stylebase.cpp:

Go to the source code of this file.

Classes

class  a2dFontRefData
 
class  a2dFontDcData
 
class  DcFontEnumerator
 a2dFontDcData auxiliry class to aid in enumerating fonts. More...
 
class  a2dFontFreetypeData
 Freetype font class. More...
 
class  a2dFontStrokeData
 
class  a2dFillRefData
 Internal to a2dFill for refcounting in wxObject style. More...
 
class  a2dOneColourFillData
 One Colour Fill. More...
 
class  a2dTwoColourFillData
 To set a two colour fill. More...
 
class  a2dHatchFillData
 Two colour Hatch Fill. More...
 
class  a2dLinearGradientFillData
 Linear gradient Fill. More...
 
class  a2dRadialGradientFillData
 radial gradient Fill More...
 
class  a2dPatternFillData
 Filling using a wxbitmap. More...
 
class  a2dStrokeRefData
 Internal to a2dStroke for refcounting in wxObject style. More...
 
class  a2dOneColourStrokeData
 One Colour Fill. More...
 
class  a2dPatternStrokeData
 Filling using a wxbitmap. More...
 

Macros

#define newline   wxString("\n")
 
#define wxART2D_USE_DC2FREETYPE   1
 
#define CHAR_CACHE_START   wxChar(' ')
 
#define CHAR_CACHE_END   wxChar('~')
 
#define BGI_FONT_MAGIC   "PK\b\bBGI "
 

Functions

 WX_DEFINE_LIST (a2dFontInfoList)
 
int MoveToFunc (const FT_Vector *to, void *user)
 
int LineToFunc (const FT_Vector *to, void *user)
 
int ConicToFunc (const FT_Vector *control, const FT_Vector *to, void *user)
 
int CubicToFunc (const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to, void *user)
 
 a2dDECLARE_GLOBAL_VAR (const a2dFill *, a2dBLACK_FILL)
 
 a2dDECLARE_GLOBAL_VAR (const a2dFill *, a2dWHITE_FILL)
 
 a2dDECLARE_GLOBAL_VAR (const a2dFill *, a2dTRANSPARENT_FILL)
 
 a2dDECLARE_GLOBAL_VAR (const a2dFill *, a2dNullFILL)
 used to remove fill style in objects
 
 a2dDECLARE_GLOBAL_VAR (const a2dFill *, a2dINHERIT_FILL)
 
 a2dDECLARE_GLOBAL_VAR (const a2dFill *, a2dSELECT_FILL)
 
 a2dDECLARE_GLOBAL_VAR (const a2dStroke *, a2dBLACK_STROKE)
 
 a2dDECLARE_GLOBAL_VAR (const a2dStroke *, a2dWHITE_STROKE)
 
 a2dDECLARE_GLOBAL_VAR (const a2dStroke *, a2dTRANSPARENT_STROKE)
 
 a2dDECLARE_GLOBAL_VAR (const a2dStroke *, a2dNullSTROKE)
 used to remove stroke style in objects
 
 a2dDECLARE_GLOBAL_VAR (const a2dStroke *, a2dINHERIT_STROKE)
 
 a2dDECLARE_GLOBAL_VAR (const a2dStroke *, a2dLAYER_SELECT_STROKE)
 used layer wxLAYER_SELECTED in to show selected object (and nested objects)
 
 a2dDECLARE_GLOBAL_VAR (const a2dFont *, a2dNullFONT)
 used to remove font style in objects
 
 a2dDECLARE_GLOBAL_VAR (const a2dFont *, a2dDEFAULT_CANVASFONT)
 
void a2dCanvasInitializeStockObjects ()
 to initialize stock style ( a2dStroke a2dFill ) objects. More...
 
void a2dCanvasDeleteStockObjects ()
 to delete stock style ( a2dStroke a2dFill ) objects. More...
 
wxString FillStyle2String (a2dFillStyle style)
 convert a style enum to a string
 
a2dFillStyle FillString2Style (const wxString &stylestr)
 convert a string to a style enum
 
wxString StrokeStyle2String (a2dStrokeStyle style)
 convert a style enum to a string
 
a2dStrokeStyle StrokeString2Style (const wxString &stylestr)
 convert a string to a style enum
 

Variables

FT_Library g_freetypeLibrary
 

Detailed Description

Author
Klaas Holwerda

Copyright: 2000-2004 (c) Klaas Holwerda

Licence: wxWidgets Licence

RCS-ID:

Id:
stylebase.cpp,v 1.142 2009/08/20 18:59:14 titato Exp

Definition in file stylebase.cpp.

stylebase.cpp File Reference -- Sun Oct 12 2014 17:04:27 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation