39 void egraphics_fill_preserve(
t_elayer *g);
41 void egraphics_stroke_preserve(
t_elayer *g);
44 void egraphics_set_line_splinestep(
t_elayer *g,
float smooth);
45 void egraphics_set_line_width(
t_elayer *g,
float width);
48 void egraphics_set_color_hex(
t_elayer *g, t_symbol *hex);
51 void egraphics_rotate(
t_elayer *g,
float angle);
52 void egraphics_matrix_init(
t_matrix *x,
float xx,
float yx,
float xy,
float yy,
float x0,
float y0);
58 void egraphics_line_to(
t_elayer *g,
float x,
float y);
59 void egraphics_move_to(
t_elayer *g,
float x,
float y);
60 void egraphics_curve_to(
t_elayer *g,
float ctrl1x,
float ctrl1y,
float ctrl2x,
float ctrl2y,
float endx,
float endy);
61 void egraphics_arc_to(
t_elayer *g,
float cx,
float cy,
float extend);
62 void egraphics_arc_oval_to(
t_elayer *g,
float cx,
float cy,
float radius,
float extend);
64 void egraphics_line(
t_elayer *g,
float x0,
float y0,
float x1,
float y1);
65 void egraphics_curve(
t_elayer *g,
float startx,
float starty,
float ctrl1x,
float ctrl1y,
float ctrl2x,
float ctrl2y,
float endx,
float endy);
66 void egraphics_line_fast(
t_elayer *g,
float x0,
float y0,
float x1,
float y1);
68 void egraphics_close_path(
t_elayer *g);
69 void egraphics_rectangle(
t_elayer *g,
float x,
float y,
float width,
float height);
70 void egraphics_rectangle_rounded(
t_elayer *g,
float x,
float y,
float width,
float height,
float roundness);
71 void egraphics_circle(
t_elayer *g,
float xc,
float yc,
float radius);
72 void egraphics_oval(
t_elayer *g,
float xc,
float yc,
float radiusx,
float radiusy);
73 void egraphics_arc(
t_elayer *g,
float xc,
float yc,
float radius,
float angle1,
float angle2);
74 void egraphics_arc_oval(
t_elayer *g,
float xc,
float yc,
float radiusx,
float radiusy,
float angle1,
float angle2);
76 t_etext* etext_layout_create(
void);
77 void etext_layout_destroy(
t_etext* textlayout);
79 void etext_layout_settextcolor(
t_etext* textlayout,
t_rgba* color);
80 t_efont* efont_create(t_symbol* family, t_symbol* slant, t_symbol* weight,
float size);
81 void efont_destroy(
t_efont* font);
83 char* rgba_to_hex(
t_rgba color);
84 char* rgb_to_hex(
t_rgb color);
85 char* hsla_to_hex(
t_hsla color);
86 char* hsl_to_hex(
t_hsl color);
89 t_rgba hex_to_rgba(
char* color);
90 t_rgb hex_to_rgb(
char* color);
95 t_rgb rgb_addContrast(
t_rgb color,
float contrast);
96 void rgba_set(
t_rgba *color,
float red,
float green,
float blue,
float alpha);
97 void rgb_set(
t_rgb *color,
float red,
float green,
float blue);
98 void hsla_set(
t_hsla *color,
float hue,
float saturation,
float luminosity,
float alpha);
99 void hsl_set(
t_hsl *color,
float hue,
float saturation,
float luminosity);
101 float pd_clip_min(
float aValue,
float aMinimum);
102 float pd_clip_max(
float aValue,
float aMaximum);
103 float pd_clip_minmax(
float aValue,
float aMinimum,
float aMaximum);
104 float pd_ordinate(
float radius,
float angle);
105 float pd_abscissa(
float radius,
float angle);
106 float pd_radius(
float x,
float y);
107 float pd_angle(
float x,
float y);
etextanchor_flags
The flags that defines the text anchor.
Definition: edefine.h:162
etextjustify_flags
The flags that define the text justification.
Definition: edefine.h:192
The font structure.
Definition: edefine.h:337
The drawing object.
Definition: edefine.h:366
The drawing layer.
Definition: edefine.h:388
The text structure.
Definition: edefine.h:351
A hsl color structure.
Definition: edefine.h:295
A hsla color structure.
Definition: edefine.h:307
A matrix structure.
Definition: edefine.h:255
A rgb color structure.
Definition: edefine.h:270
A rgba color structure.
Definition: edefine.h:282
etextwrap_flags
The flags that defines if the text should be wrapped.
Definition: edefine.h:181