Defines | |
#define | SCREEN_WIDTH 160 |
#define | SCREEN_HEIGHT 100 |
#define | CLR_WHITE 0 |
#define | CLR_LTGRAY 85 |
#define | CLR_DKGRAY 171 |
#define | CLR_BLACK 255 |
#define | DM_PUT 0 |
#define | DM_OR 1 |
#define | DM_XOR 2 |
#define | ARROW_UP 0x01 |
#define | ARROW_DOWN 0x02 |
Typedefs | |
typedef int | color_t |
typedef int | drawmode_t |
Enumerations | |
enum | { RR_NONE = 0, RR_ARROWUP = ARROW_UP, RR_ARROWDOWN = ARROW_DOWN, RR_ROUND = 4, RR_ERASE = 8 } |
Functions | |
void | draw_roundrect (struct Graphics *ptr_graphics, struct rect_t *ptr_rectangle, int style, char *sz_caption) |
void | draw_bar (int x, int y, int width, int height, color_t color, bool xor_mode) |
void | rect (int x, int y, int width, int height, color_t color) |
bool | in_rect (int x, int y, struct rect_t *ptr_rectangle) |
Compounds | ||
struct | DisplayGraphics | This structure is designated to execute any draw operation on the cybiko computer's display. This structure is designated to execute any draw operation on the Cybiko computer's display. If you want to make draw operations on a bitmap object, it's best to use the Graphics structure. The Cybiko computer features two displays; one of them virtual. We refer to these displays as 'graphics pages.' The draw operations are performed on the virtual graphics page, and then shown as the Cybiko screen's graphics page |
struct | Graphics | This structure allows draw operations to be applied to Bitmap objects |
struct | rect_t | A rectangle |
struct | TGraph | The implementation of raster and 2D-graphics. It is designated for work with primitive graphics such as rectangles, lines and pixels |
These structures and functions are used for drawing various graphical primitives and displaying them onscreen. Please pay special attention to the DisplayGraphics and Graphics structures.
|
Arrow down. |
|
Arrow up. |
|
Make the object black. |
|
Make the object dark gray. |
|
Make the object light gray. |
|
Make the object white. |
|
Make the image opaque; do not allow background color to show through the object. |
|
Place the image as is. |
|
XOR pixels overlay bitmap pixels. |
|
Cybiko computer's screen height. |
|
Cybiko computer's screen width. |
|
Display color.
|
|
Drawing mode. |
|
Custom rectangle styles.
|
|
Fills a rectangle with a specified color, to form a color bar.
|
|
Draws a custom rectangle with caption.
|
|
Returns TRUE if the point is in the rectangle area.
|
|
Draws a rectangle with the specified color.
|
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |