![]() | Macro Programming | ![]() |
#include <setup.h>
Static Public Member Functions | |
static void | setBackgroundColor (int red, int green, int blue) |
set the backgroundcolor | |
static void | setGridColor (int red, int green, int blue) |
set the gridcolor | |
static void | setHighlightBrush (int brush) |
set the highlightbrush | |
static void | setHighlightColor (int red, int green, int blue) |
set the highlightcolor | |
static void | setMouseColor (int red, int green, int blue) |
set the mousecolor | |
static void | setSelectColor (int red, int green, int blue) |
set the selectcolor | |
static void | setZeroColor (int red, int green, int blue) |
set the zerocolor | |
Static Public Attributes | |
static bool | cifSaveCircle |
cif circle | |
static double | circularDefault |
circle default | |
static int | defaultBezierIteration |
bezier | |
static int | defaultPathCap |
path cap | |
static int | defaultPathWidth |
path width | |
static int | defaultTextPresentation |
text presentation | |
static int | defaultTextWidth |
text width | |
static int | depthOfCellrefs |
depth of cellrefs | |
static bool | displayCellName |
cell names | |
static bool | displayCells |
display cells | |
static bool | dxfSaveCircle |
dxf circle | |
static string | font |
font | |
static int | fontIteration |
font iteration | |
static int | mouseView |
mouse view | |
static bool | oasisSaveCircle |
oasis circle | |
static bool | oasisSaveCtrapezoid |
oasis Ctrapezoid | |
static bool | oasisSaveTrapezoid |
oasis Trapezoid | |
static bool | scrollDirection |
scroll direction | |
static bool | showGrid |
show grid | |
static int | showReport |
show reports |
In this call you can modifie the basic setup.
static void setup::setBackgroundColor | ( | int | red, | |
int | green, | |||
int | blue | |||
) | [static] |
set the backgroundcolor
The bachgroundcolor is set.
red | red channel | |
green | green channel | |
blue | blue channel |
static void setup::setGridColor | ( | int | red, | |
int | green, | |||
int | blue | |||
) | [static] |
set the gridcolor
The gridcolor is set. The gridpoint are painted in this color.
red | red channel | |
green | green channel | |
blue | blue channel |
static void setup::setHighlightBrush | ( | int | brush | ) | [static] |
set the highlightbrush
The highlightbrush is set. The same brushes as for layer are possible
static void setup::setHighlightColor | ( | int | red, | |
int | green, | |||
int | blue | |||
) | [static] |
set the highlightcolor
The highlightcolor is set. The hightlichtcolor is used in the select and deselect modes to highlight the element/point to be selected with a mouse click.
red | red channel | |
green | green channel | |
blue | blue channel |
static void setup::setMouseColor | ( | int | red, | |
int | green, | |||
int | blue | |||
) | [static] |
set the mousecolor
The mousecolor is set. The mousepoint is painted in this color.
red | red channel | |
green | green channel | |
blue | blue channel |
static void setup::setSelectColor | ( | int | red, | |
int | green, | |||
int | blue | |||
) | [static] |
set the selectcolor
The selectcolor is set. All select element/points are painted in this color.
red | red channel | |
green | green channel | |
blue | blue channel |
static void setup::setZeroColor | ( | int | red, | |
int | green, | |||
int | blue | |||
) | [static] |
set the zerocolor
The zerocolor is set. In the zerocolor the zeropoint of the coordinatessystem is painted.
red | red channel | |
green | green channel | |
blue | blue channel |
bool setup::cifSaveCircle [static] |
cif circle
If true, regular polygon are saved as circle in cif files.
double setup::circularDefault [static] |
circle default
The angle pro point for conversion of circles to polygons.
int setup::defaultBezierIteration [static] |
bezier
The iteration depth of bezier elements. The number of additional points can be calculated by (2^defaultBezierIteration)-1.
int setup::defaultPathCap [static] |
path cap
The default cap of path elements.
value | cap |
---|---|
0 | flat ended caps |
1 | round caps |
2 | square ended caps |
int setup::defaultPathWidth [static] |
path width
The default width of path elements.
int setup::defaultTextPresentation [static] |
text presentation
The presentation of text elements
value | position |
---|---|
0 | left aligned |
1 | horizontal center |
2 | right aligned |
4 | bottom |
8 | vertical centered |
16 | top |
int setup::defaultTextWidth [static] |
text width
The default width of text elements.
int setup::depthOfCellrefs [static] |
depth of cellrefs
The reference depth of the displayed cells. If is set to 0, all cellref are displayed.
bool setup::displayCellName [static] |
cell names
If true, the name of the cells are display in cellrefs.
bool setup::displayCells [static] |
display cells
If true, the complete cells are display in cellrefs.
bool setup::dxfSaveCircle [static] |
dxf circle
If true, regular polygon are saved as circle in dxf files.
string setup::font [static] |
font
Path and file of the fontfile for text to polygon conversion
int setup::fontIteration [static] |
font iteration
The iteration depth of bezier elements in fonts for convertion to polygons. The number of additional points can be calculated by (2^defaultBezierIteration)-1.
int setup::mouseView [static] |
mouse view
The type of the mouse in the drawing windows can be set:
value | mouse |
---|---|
0 | single point |
1 | litle cross |
2 | cross over drawing |
3 | dual cross |
bool setup::oasisSaveCircle [static] |
oasis circle
If true, regular polygon are saved as circle in oasis files.
bool setup::oasisSaveCtrapezoid [static] |
oasis Ctrapezoid
If true, suitable polygon are saved as ctrapezoid in oasis files.
bool setup::oasisSaveTrapezoid [static] |
oasis Trapezoid
If true, suitable polygon are saved as trapezoid in oasis files.
bool setup::scrollDirection [static] |
scroll direction
sets the scroll direction.
bool setup::showGrid [static] |
show grid
If true, a grid is painted in the drawing.
int setup::showReport [static] |
show reports
Situation when a report is shown automaticly.
value | show report on |
---|---|
-1 | never |
0 | fatal error |
1 | error |
2 | strong warnings |
3 | warnings |
4 | information |
4 | always |