wxArt2D
|
classes for initializing the artbase modules, and set paths to be used for fonts etc. More...
#include "wx/wx.h"
#include <wx/module.h>
#include "wx/geometry.h"
#include "wx/general/genmod.h"
#include <wx/dynarray.h>
#include <wx/listimpl.cpp>
Go to the source code of this file.
Classes | |
class | a2dArtBaseModule |
initiation module for the wxArt2D library More... | |
class | a2dGlobal |
class for storing paths and settings, which are used within the artbase module. More... | |
class | a2dDoMu |
store and convert number to number with unit and visa versa. e.g. 1.23e-6 => 1.23 * 1e-6 More... | |
class | a2dAET |
Used internal for scanned ( gradient etc. ) polygon filling. More... | |
Macros | |
#define | A2DARTBASEDLLEXP |
#define | A2DARTBASEDLLEXP_DATA(type) type |
#define | A2DARTBASEDLLEXP_CTORFN |
#define | a2dACCUR 1e-6 |
accuracy used to have some limit to calculation like hittesting | |
#define | Round(x) (int) floor( (x) + 0.5 ) |
round to integer such that e.g 2.5 < x < 3.5 becomes 3 | |
Typedefs | |
typedef wxPoint2DDouble | a2dPoint2D |
this to define if coordinate numbers are integer or doubles | |
Enumerations | |
enum | a2dDrawStyle { a2dFILLED, a2dWIREFRAME, a2dWIREFRAME_ZERO_WIDTH, a2dWIREFRAME_INVERT, a2dWIREFRAME_INVERT_ZERO_WIDTH, a2dFIX_STYLE, a2dFIX_STYLE_INVERT } |
Define the manner in which a2dCanvasView draws to the device. More... | |
Functions | |
double | wxDegToRad (double deg) |
conversion from degrees to radians | |
double | wxRadToDeg (double rad) |
conversion from radians to degrees | |
void | Aberration (double aber, double angle, double radius, double &dphi, unsigned int &segments) |
calculate number of segments in an arc such that a certain accuracy is maintained | |
double | wxSqr (double x) |
good replacement for pow(x,2) | |
WX_DECLARE_LIST_WITH_DECL (a2dAET, a2dAETList, class) | |
Holds Active edge table. Used internal for scanned ( gradient etc. ) polygon filling. | |
WX_DECLARE_LIST_WITH_DECL (int, a2dCriticalPointList, class) | |
Holds local minimums in polygon. Used internal for scanned ( gradient etc. ) polygon filling. | |
WX_DECLARE_LIST_WITH_DECL (wxRegion, a2dClipRegionList, class) | |
Holds all clipping regions within a a2dCanvasView. | |
Variables | |
const double | wxPI |
defines PI | |
a2dGlobal * | a2dGlobals |
global a2dCanvasGlobal to have easy access to global settings | |
const int | SPLINE_STEP = 20 |
number of steps when converting a spline to lines. | |