logo

Class setup

logo

Introduction
Screenshots
License/Download
Installation
Userinterface
Function Index
Macro Programming
Links
Community

mouse left
no help

setup Class Reference

setup class more...

Public Member Functions

static voidsetBackgroundColor(int red, int green, int blue)
set the backgroundcolor
static voidsetGridColor(int red, int green, int blue)
set the gridcolor
static voidsetHighlightBrush(int brush)
set the highlightbrush
static voidsetHighlightColor(int red, int green, int blue)
set the highlightcolor
static voidsetMouseColor(int red, int green, int blue)
set the mousecolor
static voidsetSelectColor(int red, int green, int blue)
set the selectcolor
static voidsetZeroColor(int red, int green, int blue)
set the zerocolor

Public Attributes

static doubleapLamda
Alliance physical format lamda value
static boolcifSaveCircle
cif circle
static doublecircularDefault
circle default
static intdefaultBezierIteration
bezier
static intdefaultPathCap
path cap
static intdefaultPathWidth
path width
static booldefaultPolygonFixSelfintersectingPolygons
fix selfintersection polygons
static booldefaultPolygonRemoveNotNeededPoints
remove not needed points
static intdefaultTextPresentation
text presentation
static intdefaultTextWidth
text width
static intdepthOfCellrefs
depth of cellrefs
static booldisplayCellName
cell names
static booldisplayCells
display cells
static booldxfSaveCircle
dxf circle
static stringfont
font
static intfontIteration
font iteration
static intgdsMaxPoints
maximal number of points
static boolgdsPad2048
gds padding
static intmouseView
mouse view
static booloasisSaveCircle
oasis circle
static booloasisSaveCtrapezoid
oasis Ctrapezoid
static booloasisSaveTrapezoid
oasis Trapezoid
static intpaintEngine
paint engine
static boolscrollDirection
scroll direction
static boolshowGrid
show grid
static intshowReport
show reports
static doubletldLamda
Lasi format lamda value

Detailed Description

In this call you can modifie the basic setup.

Member Documentation

static int setup::mouseView

    mouse view

    The type of the mouse in the drawing windows can be set:

    value mouse
    0single point
    1litle cross
    2cross over drawing
    3dual cross

    static int setup::showReport

      show reports

      Situation when a report is shown automaticly.

      value show report on
      -1never
      0fatal error
      1error
      2strong warnings
      3warnings
      4information
      4always

      static bool setup::showGrid

        show grid

        If true, a grid is painted in the drawing.

        static string setup::font

          font

          Path and file of the fontfile for text to polygon conversion

          static int setup::fontIteration

            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.

            static bool setup::displayCellName

              cell names

              If true, the name of the cells are display in cellrefs.

              static bool setup::displayCells

                display cells

                If true, the complete cells are display in cellrefs.

                static int setup::depthOfCellrefs

                  depth of cellrefs

                  The reference depth of the displayed cells. If is set to 0, all cellref are displayed.

                  static void setup::setBackgroundColor(int red, int green, int blue)

                    set the backgroundcolor

                    The bachgroundcolor is set.

                    Parameters:

                    redred channel
                    greengreen channel
                    blueblue channel

                    static void setup::setMouseColor(int red, int green, int blue)

                      set the mousecolor

                      The mousecolor is set. The mousepoint is painted in this color.

                      Parameters:

                      redred channel
                      greengreen channel
                      blueblue channel

                      static void setup::setGridColor(int red, int green, int blue)

                        set the gridcolor

                        The gridcolor is set. The gridpoint are painted in this color.

                        Parameters:

                        redred channel
                        greengreen channel
                        blueblue channel

                        static void setup::setZeroColor(int red, int green, int blue)

                          set the zerocolor

                          The zerocolor is set. In the zerocolor the zeropoint of the coordinatessystem is painted.

                          Parameters:

                          redred channel
                          greengreen channel
                          blueblue channel

                          static void setup::setSelectColor(int red, int green, int blue)

                            set the selectcolor

                            The selectcolor is set. All select element/points are painted in this color.

                            Parameters:

                            redred channel
                            greengreen channel
                            blueblue channel

                            static void setup::setHighlightColor(int red, int green, int blue)

                              set the highlightcolor

                              The highlightcolor is set. The highlichtcolor is used in the select and deselect modes to highlight the element/point to be selected with a mouse click.

                              Parameters:

                              redred channel
                              greengreen channel
                              blueblue channel

                              static void setup::setHighlightBrush(int brush)

                                set the highlightbrush

                                The highlightbrush is set. The same brushes as for layer are possible

                                static double setup::circularDefault

                                  circle default

                                  The angle pro point for conversion of circles to polygons.

                                  static int setup::defaultPathWidth

                                    path width

                                    The default width of path elements.

                                    static int setup::defaultPathCap

                                      path cap

                                      The default cap of path elements.

                                      value cap
                                      0flat ended caps
                                      1round caps
                                      2square ended caps

                                      static int setup::defaultTextPresentation

                                        text presentation

                                        The presentation of text elements

                                        value position
                                        0left aligned
                                        1horizontal center
                                        2right aligned
                                        4bottom
                                        8vertical centered
                                        16top

                                        static int setup::defaultTextWidth

                                          text width

                                          The default width of text elements.

                                          static int setup::defaultBezierIteration

                                            bezier

                                            The iteration depth of bezier elements. The number of additional points can be calculated by (2^defaultBezierIteration)-1.

                                            static bool setup::cifSaveCircle

                                              cif circle

                                              If true, regular polygon are saved as circle in cif files.

                                              static bool setup::dxfSaveCircle

                                                dxf circle

                                                If true, regular polygon are saved as circle in dxf files.

                                                static bool setup::oasisSaveCircle

                                                  oasis circle

                                                  If true, regular polygon are saved as circle in oasis files.

                                                  static bool setup::oasisSaveCtrapezoid

                                                    oasis Ctrapezoid

                                                    If true, suitable polygon are saved as ctrapezoid in oasis files.

                                                    static bool setup::oasisSaveTrapezoid

                                                      oasis Trapezoid

                                                      If true, suitable polygon are saved as trapezoid in oasis files.

                                                      static int setup::gdsMaxPoints

                                                        maximal number of points

                                                        The maximal number of points for polygons and path elements can be set. If elements have more points, they are splited during the gds save into two or more elements. The technical limit of the GDS file format is 8191. In early GDS versions this number was limited to 200 points.

                                                        static bool setup::gdsPad2048

                                                          gds padding

                                                          If true, the length of stored gds files is extended to N*2048 Bytes by add 0 to the end of the file. Some tape storages and old system may need this opention to handle the files.

                                                          static double setup::apLamda

                                                            Alliance physical format lamda value

                                                            Landa value for the preview of the Alliance physical format.

                                                            static double setup::tldLamda

                                                              Lasi format lamda value

                                                              Conversionfactor, if tld/tlc file are saved in lamda values. Value in Ám.

                                                              static bool setup::scrollDirection

                                                                scroll direction

                                                                sets the scroll direction.

                                                                static bool setup::defaultPolygonRemoveNotNeededPoints

                                                                  remove not needed points

                                                                  Points which have no effect in a polygon are removed. e.g. three point in a line, the middle point is removed.

                                                                  static bool setup::defaultPolygonFixSelfintersectingPolygons

                                                                    fix selfintersection polygons

                                                                    Selfintersecting polygons (polygons where two boaderlines cross) are fixed automaticly.

                                                                    static int setup::paintEngine

                                                                      paint engine

                                                                      The paint engine defines how the elements are displayed on the screen. Modifications will take affect after program restart.

                                                                      value engine
                                                                      0overlay: Elements are drawn over each other.
                                                                      1transparent: Elements are semi transparent, a dark background is required.

                                                                      SourceForge.net LogoThis page may be outdated. Visit the new LayoutEditor homepage for the newest infomations!