26 G_debug(5,
" add_coor %f, %f",
x, y);
53 G_debug(5,
" stroke_chain(): ch = %d", ch);
54 chain = part->
chain[ch];
58 for (k = 0; k < chain->
count; k++) {
59 elem = chain->
elem[k];
85 G_debug(5,
" ARC da = %f r = %f", da,
r);
97 x = s * elem->
coor.
arc.x + s *
r * cos(a1);
98 y = s * elem->
coor.
arc.y + s *
r * sin(a1);
118 x = s * elem->
coor.
arc.x + s *
r * cos(a1);
119 y = s * elem->
coor.
arc.y + s *
r * sin(a1);
164 G_debug(3,
"S_stroke(): size = %.2f, rotation = %.2f, tolerance = %d", size,
165 rotation, tolerance);
169 s = size * Symb->
scale;
171 for (i = 0; i < Symb->
count; i++) {
173 part = Symb->
part[i];
174 switch (part->
type) {
176 for (j = 0; j < part->
count; j++) {
void G_rotate_around_point(double, double, double *, double *, double)
Rotate point (double version)
int G_debug(int, const char *,...) __attribute__((format(printf
void add_coor(SYMBCHAIN *chain, double x, double y)
void S_stroke(SYMBOL *Symb, double size, double rotation, int tolerance)
Stroke symbol to form used for Xdriver.
int stroke_chain(SYMBPART *part, int ch, double s, double rotation)
struct SYMBEL::@6::@8 arc
struct SYMBEL::@6::@7 line