#include <CDesktop.h>
| Public Types | |
| typedef unsigned int | TColor | 
| Static Public Member Functions | |
| TColor | GetNearestColor (unsigned int aR, unsigned int aG, unsigned int aB) | 
| Returns the nearest TColor to given RGB values The return value depends from the color depth of the screen of current device. | |
| void | PutPixel (MFrameBuffer &aFrameBuffer, unsigned int aX, unsigned int aY, TColor aColor) | 
| Puts the pixel with given color to given coordinates. | |
| TColor | GetPixel (MFrameBuffer &aFrameBuffer, unsigned int aX, unsigned int aY) | 
| Reads the pixel value for pixel with given coordinates. | |
| void | HLine (MFrameBuffer &aFrameBuffer, unsigned int aXFrom, unsigned int aY, unsigned int aXTo, TColor aColor) | 
| Draws a horizontal line. | |
| void | VLine (MFrameBuffer &aFrameBuffer, unsigned int aX, unsigned int aYFrom, unsigned int aYTo, TColor aColor) | 
| Draws a vertical line. | |
| void | Line (MFrameBuffer &aFrameBuffer, unsigned int aXFrom, unsigned int aYFrom, unsigned int aXTo, unsigned int aYTo, TColor aColor) | 
| Draws a line It's advisory to use HLine() and VLine() for drawing horizontal and vertical lines because they are more efficient. | |
| void | Rect (MFrameBuffer &aFrameBuffer, unsigned int aXFrom, unsigned int aYFrom, unsigned int aXTo, unsigned int aYTo, TColor aColor) | 
| Draws a rectangle. | |
| void | RectFill (MFrameBuffer &aFrameBuffer, unsigned int aXFrom, unsigned int aYFrom, unsigned int aXTo, unsigned int aYTo, TColor aColor, unsigned int aRounding) | 
| Draws a filled rectangle with or without rounded corners. | |
| Static Public Attributes | |
| const TColor | ColorBlack | 
| const TColor | ColorWhite | 
| const TColor | ColorLightGray | 
| const TColor | ColorDarkGray | 
| const TColor | ColorYellow | 
| const TColor | ColorVeryLightBlue | 
| const TColor | ColorLightBlue | 
| const TColor | ColorCyan | 
| const TColor | ColorRed | 
| const TColor | ColorGreen | 
| const TColor | ColorBrown | 
| const TColor | ColorLightGreen | 
| const TColor | ColorBlue | 
| const TColor | ColorPink | 
| const TColor | ColorDarkPink | 
| const TColor | ColorOrange | 
| 
 | 
| Color definition | 
| 
 | ||||||||||||||||
| Returns the nearest TColor to given RGB values The return value depends from the color depth of the screen of current device. 
 
 | 
| 
 | ||||||||||||||||||||||||||||||||
| Draws a filled rectangle with or without rounded corners. 
 
 | 
| 
 | 
| Standard color definitions | 
 1.3.5
 
1.3.5