Module: TECSCDE::View::Constants

Included in:
TECSCDE, TECSModel, MainView
Defined in:
lib/tecscde/view/constants.rb

Constant Summary collapse

DPI =

Dot per Inch

96.0
SCALE_HEIGHT =

Height of HScale widget

50
SCALE =

Scale initial value

1.0
SCALE_VAL_INI =

100%

SCALE * 100
SCALE_VAL_MAX =

200%

SCALE_VAL_INI * 2.00
SCALE_VAL_MIN =

5%

SCALE_VAL_INI * 0.05
TRIANGLE_LEN =

edge length(mm)

3
TRIANGLE_HEIGHT =

height (mm)

2.598
CELL_NAME =

—– draw text argment value —–# object

1
CELLTYPE_NAME =
2
CELL_NAME_L =
3
SIGNATURE_NAME =
4
PORT_NAME =
5
PAPER_COMMENT =
6
ALIGN_CENTER =

text alignment

:center
ALIGN_LEFT =
:left
ALIGN_RIGHT =
:right
TEXT_HORIZONTAL =

text direction

1
TEXT_VERTICAL =

left to right

2
CURSOR_PORT =

—– Cursor for mouse pointer —–#

Gdk::Cursor.new(Gdk::Cursor::SB_LEFT_ARROW)
CURSOR_JOINING =
Gdk::Cursor.new(Gdk::Cursor::DOT)
CURSOR_JOIN_OK =
Gdk::Cursor.new(Gdk::Cursor::CIRCLE)
CURSOR_NORMAL =
Gdk::Cursor.new(Gdk::Cursor::TOP_LEFT_ARROW)
GAP_ACTIVE =

(mm) gap of active cell between inner rectangle and outer one

1
GAP_PORT =

(mm) gap between port name & edge

0.8
PAPER_MARGIN =

—– Paper —–#

10
CHAR_A =

—– constnts for div_string —–#

"A"
CHAR_Z =
"Z"
CHAR__ =
"_"
Color_editable_cell =

—– Color —–#

:gray97
Color_uneditable =
:blue
Color_editable =
:black
Color_highlight =
:magenta
Color_incomplete =
:red
Color_unjoin =
:magenta