include/mb_shapes.h File Reference

Declare interfaces of shapes. More...

#include <cairo.h>
#include "mb_types.h"
#include "mb_redraw_man.h"

Go to the source code of this file.

Functions

shape_trdman_shape_path_new (redraw_man_t *rdman, char *data)
 Create a path from value of 'data' of SVG path.
void sh_path_transform (shape_t *shape)
 Transform a path from user space to device space.
void sh_path_draw (shape_t *shape, cairo_t *cr)
shape_trdman_shape_text_new (redraw_man_t *rdman, const char *txt, co_aix x, co_aix y, co_aix font_size, cairo_font_face_t *face)
void sh_text_set_text (shape_t *shape, const char *txt)
void sh_text_transform (shape_t *shape)
void sh_text_draw (shape_t *shape, cairo_t *cr)
shape_trdman_shape_rect_new (redraw_man_t *rdman, co_aix x, co_aix y, co_aix w, co_aix h, co_aix rx, co_aix ry)
void sh_rect_transform (shape_t *shape)
void sh_rect_draw (shape_t *shape, cairo_t *cr)
void sh_rect_set (shape_t *shape, co_aix x, co_aix y, co_aix w, co_aix h, co_aix rx, co_aix ry)


Detailed Description

Declare interfaces of shapes.

Todo:
Add ellipse shape.
Todo:
Add circle shape.

Definition in file mb_shapes.h.

SourceForge.net Logo