22 static void symbol(
const SYMBOL *Symb,
double x0,
double y0,
36 for (i = 0; i < Symb->
count; i++) {
51 for (j = 0; j < part->
count;
53 chain = part->
chain[j];
58 for (k = 0; k < chain->
scount; k++) {
59 x[k] = x0 + sx * chain->
sx[k];
60 y[k] = y0 - sy * chain->
sy[k];
77 for (j = 0; j < part->
count; j++) {
78 chain = part->
chain[j];
81 for (k = 0; k < chain->
scount; k++) {
82 xp = x0 + sx * chain->
sx[k];
83 yp = y0 - sy * chain->
sy[k];
104 chain = part->
chain[0];
107 for (j = 0; j < chain->
scount; j++) {
108 xp = x0 + sx * chain->
sx[j];
109 yp = y0 - sy * chain->
sy[j];
153 symbol(Symb, x0, y0, fill_color, line_color, line_color);
176 symbol(Symb, x0, y0, primary_color, secondary_color, primary_color);
double D_get_d_to_u_yconv(void)
void D_cont_abs(double, double)
void D_polygon_abs(const double *, const double *, int)
void D_RGB_color(int, int, int)
void D_move_abs(double, double)
double D_get_d_to_u_xconv(void)
void G_free(void *)
Free allocated memory.
int G_debug(int, const char *,...) __attribute__((format(printf
void D_symbol2(const SYMBOL *Symb, double x0, double y0, const RGBA_Color *primary_color, const RGBA_Color *secondary_color)
draw a symbol at pixel coordinates (alternate)
void D_symbol(const SYMBOL *Symb, double x0, double y0, const RGBA_Color *line_color, const RGBA_Color *fill_color)
draw a symbol at pixel coordinates