27 G_debug(5,
" add_coor %f, %f", x, y);
52 G_debug(5,
" stroke_chain(): ch = %d", ch);
53 chain = part->
chain[ch];
57 for (k = 0; k < chain->
count; k++) {
58 elem = chain->
elem[k];
62 for (l = 0; l < elem->
coor.
line.count; l++) {
84 G_debug(5,
" ARC da = %f r = %f", da, r);
96 x = s * elem->
coor.
arc.x + s * r * cos(a1);
97 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",
165 size, 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)
struct SYMBEL::@6::@8 arc
struct SYMBEL::@6::@7 line
void S_stroke(SYMBOL *Symb, double size, double rotation, int tolerance)
Stroke symbol to form used for Xdriver.
void add_coor(SYMBCHAIN *chain, double x, double y)
int G_debug(int, const char *,...) __attribute__((format(printf
int stroke_chain(SYMBPART *part, int ch, double s, double rotation)