| Did you know ... | Search Documentation: |
| Instance variables |
<-class_variable_value:
inactive_colour. The method graphical->event
will simply fail if graphical<-active
is @off.
below the mouse. The
get method first invokes graphical->compute
to update the graphical.
Defaults: The default area of most graphicals is area(0,0,0,0).
|pixmap]<->colour
attribute of a graphical describes the colour used to draw the affected
pixels. It is either a colour
object or @default.
The latter implies the graphical<->colour
attribute of the device is used.
Defaults: @default.
For windows, the default colour is display<-foreground.
Defaults: @nil.
<->device
slot is used by graphicals to inform their device of changes, so the
device can perform the appropriate redraw operations. The following is
always true:
If the device of a graphical is not @nil, the graphical is member of `Device <-graphicals` of this device and visa-versa.
Normally, a graphical is assigned a device using device->display.
-displayed ->display -graphicals ->display
an @off by device->erase.
graphical->displayed
is used to remove a graphical temporary from the display. See also figure->status.
Defaults: Initially @off.
Set to @on by device->display.
<-is_displayed ->display ->show -device
Handles can be attached at the instance level and at the class level
(see class->handles)
or both.
Defaults: @nil (no handles at the instance level)
->handle -handles <->area
is inverted after the graphical is painted, inverting all pixels in the
bounding-box of the graphical. Note that this implies at inverted circle
appears as a white circle in a black square (using white background and
black foreground colours). Also note that graphicals below (i.e.
hidden by this graphical) are inverted too.
Defaults: @off
-selected<-name.
See device<-member
and device<-catch_all.
<-get_catch_all <-get_catch_all <-memberDefaults: 1
-texture
When no argument is specified with graphical->request_compute
the variable will be filled with @on.
If a graphical->request_compute
is invoked on a graphical, PCE's graphical kernel will invoke a graphical->compute
on it if the graphical needs to be repainted or one of the dimensions of
the graphical is requested. See graphical<-area,
display->dispatch
and graphical->compute.
->compute ->request_compute.selection_style.
.selection_style ->selected ->toggle_selected <-selection ->selection -inverted
none Straight line dotted Pattern: 1 on 2 off ... dashed Pattern: 7 on 7 off ... dashdot Pattern: 7 on 3 off 1 on 7 off ... dashdotted Pattern: 11 on 3 off 1 on 3 off 1 on 3 off 1 on 3 off longdash Pattern: 15 on 7 off ...
-pen