casa
5.7.0-16
|
Enumerate constants for the display classes. More...
#include <DisplayEnums.h>
Static Public Member Functions | |
static Display::KeyModifier | keyModifierFromKeySym (const Display::KeySym &keysym) |
Determine Display::KeyModifier given Display::KeySym. More... | |
Static Public Attributes | |
static const casacore::Int | nMarkers |
casacore::List of markers for use as annotations. More... | |
Enumerate constants for the display classes.
Public interface
DisplayEnums : Display library enumerators
Standard keysym constants chosen to match the X system. Event handling done in other systems must provide the same constants when returning keysyms.
Definitions for all characters in ISO LATIN 1-4, and GREEK keysyms are included.
High standardization and flexible support of national and international keyboard buttons.
Definition at line 71 of file DisplayEnums.h.
Controls the appearance of thick lines near their endpoints.
See Xlib programming guide, page 126 for complete info
Definition at line 130 of file DisplayEnums.h.
Color components.
Enumerator | |
---|---|
Red | |
Green | |
Blue | |
Hue | |
Saturation | |
Value |
Definition at line 84 of file DisplayEnums.h.
Different ways of handling color on the display.
Enumerator | |
---|---|
Index |
ColorIndex mode. |
RGB |
RGB mode. |
HSV |
HSV mode. |
Definition at line 74 of file DisplayEnums.h.
WorldCanvas - what to do with complex data if it is presented to WorldCanvas::drawImage()
Enumerator | |
---|---|
Magnitude |
Extract magnitude. |
Phase |
Extract phase. |
Real |
Extract real part. |
Imaginary |
Extract imaginary part. |
Definition at line 342 of file DisplayEnums.h.
WorldCanvasHolder - what type of DisplayData is this, need to know for drawing order.
Enumerator | |
---|---|
Raster |
Rastered data - should go first. |
Vector |
casacore::Vector data - can go next |
Annotation | |
CanvasAnnotation |
Canvas annotation - can draw outside draw area. |
Definition at line 355 of file DisplayEnums.h.
PixelCanvas target drawing destination.
Enumerator | |
---|---|
NoBuffer |
Nowhere. |
DefaultBuffer |
Use default behaviour for the particular implementation of the PixelCanvas. |
FrontBuffer |
Draw only to front buffer. |
BackBuffer |
Draw only to back buffer. |
FrontAndBackBuffer |
Draw to both. |
Definition at line 211 of file DisplayEnums.h.
PixelCanvas Drawing Logical Functions.
The functions implement various combinations of dst = F(src, dest), where src is the current color and dest is the existing color in the framebuffer.
Enumerator | |
---|---|
DFCopy |
casacore::Normal operation, overwrite with src |
DFCopyInverted |
Invert operation. |
DFClear |
Clear, ignore current color, use background color. |
DFSet |
Make all bits 1. |
DFInvert |
Invert the dest (twice to restore original dest) |
DFNoop |
do-nothing draw |
DFXor |
Exclusive or, used for draw/erase operation over a variable background. |
DFEquiv |
(!src) XOR dest |
DFAnd |
src AND dest |
DFNand |
!(src AND dest) |
DFAndReverse |
src AND !dest |
DFAndInverted |
!src AND dest |
DFOr |
src OR dest |
DFNor |
!(src OR dest) |
DFOrReverse |
src OR !dest |
DFOrInverted |
!src OR dest |
Definition at line 227 of file DisplayEnums.h.
PixelCanvas Drawing Modes.
Enumerator | |
---|---|
Draw |
Immediate draw mode. |
Compile |
Build display list mode. |
Definition at line 203 of file DisplayEnums.h.
Fill Rule Xlib programming guide, pg.132.
Enumerator | |
---|---|
FREvenOdd |
interior point filled if odd number of lines crossed to exit polygon |
FRWinding |
overlapping areas always filled |
Definition at line 165 of file DisplayEnums.h.
Controls fill style.
Enumerator | |
---|---|
FSSolid |
solid fill |
FSTiled |
tiled fill |
FSStippled |
stippled fill |
FSOpaqueStippled |
opaque stippled |
Definition at line 152 of file DisplayEnums.h.
How to cache images when displaying them on client-server graphics systems.
Definition at line 297 of file DisplayEnums.h.
Controls the appearance of two joined lines.
Enumerator | |
---|---|
JSMiter |
corner ends in a point |
JSRound |
corner is rounded off |
JSBevel |
corner is flat surface whose normal bisects the joint angle. |
Definition at line 142 of file DisplayEnums.h.
All events - modifier codes.
key is down if modifier & code is nonzero
Enumerator | |
---|---|
KM_Shift |
Shift key bit. |
KM_CapsLock |
Caps lock bit. |
KM_Ctrl |
Control key bit. |
KM_Alt |
Alt key bit. |
KM_NumLock |
Numlock (1 = engaged) |
KM_ScrollLock |
ScrollLock bit (1 = engaged) |
KM_Mod1 | |
KM_Mod2 | |
KM_Mod3 | |
KM_Mod4 | |
KM_Mod5 | |
KM_Pointer_Button_1 |
Mouse button 1 bit. |
KM_Pointer_Button_2 |
Mouse button 2 bit. |
KM_Pointer_Button_3 |
Mouse button 3 bit. |
KM_Pointer_Button_4 |
Mouse button 4 bit. |
KM_Pointer_Button_5 |
Mouse button 5 bit. |
KM_Double_Click |
casacore::Double click bit |
Definition at line 368 of file DisplayEnums.h.
Keysyms for PixelCanvas keyboard events.
These can be printed using the stream functions listed below. These are mostly self explanatory.
Definition at line 412 of file DisplayEnums.h.
Style of line to use.
Enumerator | |
---|---|
LSSolid |
solid, no breaks |
LSDashed |
dashed line with transparent breaks |
LSDoubleDashed |
dashed line with background-color breaks |
Definition at line 119 of file DisplayEnums.h.
Definition at line 312 of file DisplayEnums.h.
PixelCanvas Options.
Enumerator | |
---|---|
ClipWindow |
Is a clipwindow enabled? |
Definition at line 290 of file DisplayEnums.h.
Callback reasons for PCRefreshEvent and WCRefreshEvent.
Enumerator | |
---|---|
UserCommand |
User told PixelCanvas to refresh via PixelCanvas refresh() |
ColorTableChange |
Colortable allocation changed (from PixelCanvasColorTable) |
ColormapChange |
Colormap allocation changed - less severe than ColorTableChange, this will mean an internal change to a single Display Library Colormap that doesn't affect other Colormaps in the same ColorTable. |
PixelCoordinateChange |
Change in shape of PixelCanvas. |
LinearCoordinateChange |
Change in linear coordinate system. |
WorldCoordinateChange |
Change in world coordinate system. |
BackCopiedToFront |
Back buffer was copied to front buffer on the PixelCanvas. |
ClearPriorToColorChange |
Clear required prior to a change in color table or distribution... |
Definition at line 267 of file DisplayEnums.h.
Special map is used as a placeholder to indicate that...
Enumerator | |
---|---|
System |
the user wants to use the system (default) Colormap |
New |
the user wants to use a new colormap |
Shared |
the user wants to share an existing (possibly system!) Colormap (this is used internally at present) |
Definition at line 108 of file DisplayEnums.h.
Strategy to use to allocate system color resources.
Definition at line 94 of file DisplayEnums.h.
Text Alignment.
Definition at line 181 of file DisplayEnums.h.
|
static |
Determine Display::KeyModifier given Display::KeySym.
|
static |
casacore::List of markers for use as annotations.
These can also be drawn as primitives on a pixelcanvas.
Definition at line 311 of file DisplayEnums.h.