Rev 17584 | Rev 17587 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 17584 | Rev 17585 | ||
---|---|---|---|
Line 729... | Line 729... | ||
729 | scale(pm->pd,pm->p,1); |
729 | scale(pm->pd,pm->p,1); |
730 | if(*pe=='"') { |
730 | if(*pe=='"') { |
731 | p2=strchr(pe+1,'"'); |
731 | p2=strchr(pe+1,'"'); |
732 | if(p2 && *(p2+1)==0) {*p2=0; pe++;} |
732 | if(p2 && *(p2+1)==0) {*p2=0; pe++;} |
733 | } |
733 | } |
734 | if(pm->fill) |
734 | if(pm->fill){ |
735 | gdImageStringUp(image,*(fonttab[i].fpt),pm->p[0],pm->p[1], (unsigned char*) pe, |
735 | gdImageStringUp(image,*(fonttab[i].fpt),pm->p[0],pm->p[1], (unsigned char*) pe, |
736 | pm->color[0]); |
736 | pm->color[0]); |
- | 737 | if(tikz_file) fprintf(tikz_file,"\\draw[%s] (%i,%i) node[font=\\%s,rotate=90] {%s};\n", |
|
- | 738 | tikz_options(pm->color[0],pm->fill),pm->p[0],flip(pm->p[1]),fonttab[i].name,(unsigned char*) pe); |
|
- | 739 | } |
|
737 | else |
740 | else { |
738 | gdImageString(image,*(fonttab[i].fpt),pm->p[0],pm->p[1], (unsigned char*) pe, |
741 | gdImageString(image,*(fonttab[i].fpt),pm->p[0],pm->p[1], (unsigned char*) pe, |
739 | pm->color[0]); |
742 | pm->color[0]); |
- | 743 | if(tikz_file) fprintf(tikz_file,"\\draw[%s] (%i,%i) node[font=\\%s] {%s};\n", |
|
- | 744 | tikz_options(pm->color[0],pm->fill),pm->p[0],flip(pm->p[1]),fonttab[i].name,(unsigned char*) pe); |
|
- | 745 | } |
|
740 | } |
746 | } |
741 | - | ||
- | 747 | /*FIXME; giant does not exist in tikz and ... samething as huge */ |
|
742 | /* point */ |
748 | /* point */ |
743 | void obj_point(objparm *pm) |
749 | void obj_point(objparm *pm) |
744 | { |
750 | { |
745 | scale(pm->pd,pm->p,1); |
751 | scale(pm->pd,pm->p,1); |
746 | gdImageSetPixel(image,pm->p[0],pm->p[1],pm->color[0]); |
752 | gdImageSetPixel(image,pm->p[0],pm->p[1],pm->color[0]); |