Rev 18356 | Rev 18432 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 18356 | Rev 18358 | ||
---|---|---|---|
Line 1935... | Line 1935... | ||
1935 | void obj_hyptriangle(objparm *pm) |
1935 | void obj_hyptriangle(objparm *pm) |
1936 | { |
1936 | { |
1937 | double rx,ry,data[8],res[7]; |
1937 | double rx,ry,data[8],res[7]; |
1938 | int i, *qq=pm->p; |
1938 | int i, *qq=pm->p; |
1939 | for(i=0; i<8; i++) data[i]=pm->pd[i%6]; |
1939 | for(i=0; i<8; i++) data[i]=pm->pd[i%6]; |
1940 | if (tikz_file) fprintf(tikz_file, "\\draw[%s]",tikz_options(pm->color[0], |
1940 | if (tikz_file) fprintf(tikz_file, "\\draw[%s]",tikz_options(pm->color[0],0)); |
1941 | for(i=0; i<3; i++) |
1941 | for(i=0; i<3; i++) |
1942 | if(hypgeodaux(data+2*i,res)){ |
1942 | if(hypgeodaux(data+2*i,res)){ |
1943 | scale2(res[2],res[2],&rx,&ry); |
1943 | scale2(res[2],res[2],&rx,&ry); |
1944 | scale(res,qq,1); |
1944 | scale(res,qq,1); |
1945 | myGdImageArc(image,qq[0],qq[1],rx,ry,res[3]/DEG,res[4]/DEG,pm->color[0]); |
1945 | myGdImageArc(image,qq[0],qq[1],rx,ry,res[3]/DEG,res[4]/DEG,pm->color[0]); |