1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
| static int _twin_current_subpath_len (twin_path_t *path);
twin_spoint_t _twin_path_current_spoint (twin_path_t *path);
twin_spoint_t _twin_path_subpath_first_spoint (twin_path_t *path);
void _twin_path_sfinish (twin_path_t *path);
void _twin_path_smove (twin_path_t *path, twin_sfixed_t x, twin_sfixed_t y);
void _twin_path_sdraw (twin_path_t *path, twin_sfixed_t x, twin_sfixed_t y);
void twin_path_move (twin_path_t *path, twin_fixed_t x, twin_fixed_t y);
void twin_path_rmove (twin_path_t *path, twin_fixed_t dx, twin_fixed_t dy);
void twin_path_draw (twin_path_t *path, twin_fixed_t x, twin_fixed_t y);
void twin_path_rdraw (twin_path_t *path, twin_fixed_t dx, twin_fixed_t dy);
void twin_path_close (twin_path_t *path);
void twin_path_circle (twin_path_t *path, twin_fixed_t x, twin_fixed_t y, twin_fixed_t radius); void twin_path_ellipse (twin_path_t *path, twin_fixed_t x, twin_fixed_t y, twin_fixed_t x_radius, twin_fixed_t y_radius); static twin_fixed_t _twin_matrix_max_radius (twin_matrix_t *m);
void twin_path_arc (twin_path_t *path, twin_fixed_t x, twin_fixed_t y, twin_fixed_t x_radius, twin_fixed_t y_radius, twin_angle_t start, twin_angle_t extent); void twin_path_rectangle (twin_path_t *path, twin_fixed_t x, twin_fixed_t y, twin_fixed_t w, twin_fixed_t h); void twin_path_rounded_rectangle (twin_path_t *path, twin_fixed_t x, twin_fixed_t y, twin_fixed_t w, twin_fixed_t h, twin_fixed_t x_radius, twin_fixed_t y_radius);
void twin_path_lozenge (twin_path_t *path, twin_fixed_t x, twin_fixed_t y, twin_fixed_t w, twin_fixed_t h); void twin_path_tab (twin_path_t *path, twin_fixed_t x, twin_fixed_t y, twin_fixed_t w, twin_fixed_t h, twin_fixed_t x_radius, twin_fixed_t y_radius); void twin_path_set_matrix (twin_path_t *path, twin_matrix_t matrix);
twin_matrix_t twin_path_current_matrix (twin_path_t *path);
void twin_path_identity (twin_path_t *path);
void twin_path_translate (twin_path_t *path, twin_fixed_t tx, twin_fixed_t ty);
void twin_path_scale (twin_path_t *path, twin_fixed_t sx, twin_fixed_t sy);
void twin_path_rotate (twin_path_t *path, twin_angle_t a);
void twin_path_set_font_size (twin_path_t *path, twin_fixed_t font_size);
twin_fixed_t twin_path_current_font_size (twin_path_t *path);
void twin_path_set_font_style (twin_path_t *path, twin_style_t font_style);
twin_style_t twin_path_current_font_style (twin_path_t *path);
void twin_path_set_cap_style (twin_path_t *path, twin_cap_t cap_style);
twin_cap_t twin_path_current_cap_style (twin_path_t *path);
void twin_path_empty (twin_path_t *path);
void twin_path_bounds (twin_path_t *path, twin_rect_t *rect);
void twin_path_append (twin_path_t *dst, twin_path_t *src);
twin_state_t twin_path_save (twin_path_t *path);
void twin_path_restore (twin_path_t *path, twin_state_t *state);
twin_path_t * twin_path_create (void);
void twin_path_destroy (twin_path_t *path);
void twin_composite_path (twin_pixmap_t *dst, twin_operand_t *src, twin_coord_t src_x, twin_coord_t src_y, twin_path_t *path, twin_operator_t operator); void twin_paint_path (twin_pixmap_t *dst, twin_argb32_t argb, twin_path_t *path); void twin_composite_stroke (twin_pixmap_t *dst, twin_operand_t *src, twin_coord_t src_x, twin_coord_t src_y, twin_path_t *stroke, twin_fixed_t pen_width, twin_operator_t operator); void twin_paint_stroke (twin_pixmap_t *dst, twin_argb32_t argb, twin_path_t *stroke, twin_fixed_t pen_width);
|