| Class | Fox::FXVisual |
| In: |
rdoc-sources/FXVisual.rb
|
| Parent: | FXId |
An FXVisual instance describes the pixel format for a drawable (i.e. an FXDrawable instance).
| VISUAL_DEFAULT: | Default visual |
| VISUAL_MONOCHROME: | Must be monochrome visual |
| VISUAL_BEST: | Best (deepest) visual |
| VISUAL_INDEXCOLOR: | Palette visual |
| VISUAL_GRAYSCALE: | Gray scale visual |
| VISUAL_TRUECOLOR: | Must be true color visual |
| VISUAL_OWNCOLORMAP: | Allocate private colormap |
| VISUAL_DOUBLEBUFFER: | Double-buffered [FXGLVisual] |
| VISUAL_STEREO: | Stereo [FXGLVisual] |
| VISUAL_NOACCEL: | No hardware acceleration [for broken h/w] |
| VISUAL_SWAP_COPY: | Buffer swap by copying (for FXGLVisual) |
| VISUALTYPE_UNKNOWN: | Undetermined visual type |
| VISUALTYPE_MONO: | Visual for drawing into 1-bpp surfaces |
| VISUALTYPE_TRUE: | True color |
| VISUALTYPE_INDEX: | Index [palette] color |
| VISUALTYPE_GRAY: | Gray scale |
| depth | [R] | Visual depth, i.e. number of significant bits in color representation [Integer] |
| flags | [R] | Visual construction flags [Integer] |
| maxColors | [RW] | Maximum number of colors [Integer] |
| numBlue | [R] | Number of bits of blue [Integer] |
| numColors | [R] | Number of colors [Integer] |
| numGreen | [R] | Number of bits of green [Integer] |
| numRed | [R] | Number of bits of red [Integer] |
| visualType | [R] | The visual type, one of VISUALTYPE_MONO, VISUALTYPE_TRUE VISUALTYPE_INDEX or VISUALTYPE_GRAY. The visual type may also be VISUALTYPE_UNKNOWN before the visual is actually created. |