| | This class defines Windows NT display device.
A Graphic Device defines color management. Windows can run in three
different color modes depending of the installed graphic board:
- Low color resolution which allows us to use 16 predefined pure
colors for drawing lines and unlimited number of dithered colors
for window's background, solid filled areas etc. Here Graphic Device
will approximate requested colors by existing ones for line colors
( really this approximation is doing by Windows ). A dithering
technique will be used for window's backgrounds, solid fills etc.
( this is doing by WIndows also ). A dithering techique will be use
for solid fill.
- Medium color resolution which requires a Windows palette manager.
This mode takes after X window system's PseudoColor Visual. The
application can create a LOGICAL PALETTE to represent 20 reserved
by Windows colors and 236 programmable ones. It's possible to reserve
odd entries in the palette for highlighting purposes ( but real
technique is not the same as in X window system - see Windows manual ).
It's possible to create several logical palettes. To do it create
other GraphicDevice but in this case color "flicking" is possible.
- High color resolution. Here 65 536 or 16 777 216 colors are available.
Any color we like will be exactly displayed on the screen, but
highlighting technique is not available. This mode often called
TrueColor but it's not the same as X window TrueColor.
A Graphic Device also defines physical dimensions of the screen.
More...
|