#include <artglob.h>


Public Member Functions | |
| a2dGlobal () | |
| constructor | |
| virtual | ~a2dGlobal () |
| destructor | |
| void | Aberration (double angle, double radius, double &dphi, unsigned int &segments) |
| based on angle and radius and m_displayaberration calculate a proper delta phi and number of segments | |
| void | SetPolygonFillThreshold (wxUint16 pixels) |
| set threshold at which polygon is drawn filled or only outline | |
| wxUint16 | GetPolygonFillThreshold () |
| get threshold at which polygon is drawn filled or only outline | |
| a2dPathList & | GetFontPathList () |
| Path for Fonts. | |
| a2dPathList & | GetImagePathList () |
| Path for Images. | |
| a2dPathList & | GetIconPathList () |
| Path for Icons and small bitmaps. | |
Static Public Member Functions | |
| static void | SetDisplayAberration (double aber) |
| set the display aberation, display of curved shapes | |
| static double | GetDisplayAberration () |
| static void | SetRoundFactor (double roundFactor) |
| static double | GetRoundFactor () |
| static void | SetPrimitiveThreshold (wxUint16 pixels, bool asrect=true) |
| set drawing threshold to the given number of pixels | |
| static wxUint16 | GetPrimitiveThreshold () |
| get drawing threshold | |
| static bool | GetThresholdDrawRectangle () |
| underneath the threshold draw rectangles instead of the real object. | |
| static void | SetAberPolyToArc (double aber) |
| conversion from polygon/polyline into arc in database units | |
| static double | GetAberPolyToArc () |
| conversion from polygon/polyline into arc in database units | |
| static void | SetAberArcToPoly (double aber) |
| conversion from arc into lines in database units | |
| static double | GetAberArcToPoly () |
| conversion from arc into lines in database units | |
Static Protected Attributes | |
| static a2dPathList | m_fontpath = a2dPathList() |
| static a2dPathList | m_imagepath = a2dPathList() |
| static a2dPathList | m_iconpath = a2dPathList() |
| static wxUint16 | m_drawingthreshold = 1 |
| object smaller than this value will not be rendered | |
| static wxUint16 | m_polygonFillThreshold = 0 |
| get threshold at which polygon is drawn filled or only outline | |
| static bool | m_asrectangle = true |
| underneath the threshold draw rectangles if true else nothing | |
| static double | m_arc2polyaber = 0 |
| conversion from arc into lines in database units | |
| static double | m_poly2arcaber = 0 |
| static double | m_displayaberration = 0 |
| static double | m_roundFactor = 1.5 |
Definition at line 90 of file artglob.h.
| void a2dGlobal::Aberration | ( | double | angle, | |
| double | radius, | |||
| double & | dphi, | |||
| unsigned int & | segments | |||
| ) |
based on angle and radius and m_displayaberration calculate a proper delta phi and number of segments
The calculation is used for circular arc segments
Definition at line 146 of file artglob.cpp.
| static void a2dGlobal::SetDisplayAberration | ( | double | aber | ) | [inline, static] |
| static double a2dGlobal::GetDisplayAberration | ( | ) | [inline, static] |
| static double a2dGlobal::GetRoundFactor | ( | ) | [inline, static] |
| static void a2dGlobal::SetPrimitiveThreshold | ( | wxUint16 | pixels, | |
| bool | asrect = true | |||
| ) | [inline, static] |
set drawing threshold to the given number of pixels
every object with a boundingbox (in device coordinates) smaller than the number of pixels in width or height will not be rendered. For drawing with a high dynamic range (small and big objects combined), this means a gain in speed.
| static wxUint16 a2dGlobal::GetPrimitiveThreshold | ( | ) | [inline, static] |