• Home
  • Raw
  • Download

Lines Matching refs:point

153     point;  member
449 point; in ReversePoints() local
456 point=points[i]; in ReversePoints()
458 points[number_points-(i+1)]=point; in ReversePoints()
469 point, in ConvertPathToPolygon() local
509 (void) ResetMagickMemory(&point,0,sizeof(point)); in ConvertPathToPolygon()
554 point=path_info[i].point; in ConvertPathToPolygon()
555 points[0]=point; in ConvertPathToPolygon()
556 bounds.x1=point.x; in ConvertPathToPolygon()
557 bounds.x2=point.x; in ConvertPathToPolygon()
565 next_direction=((path_info[i].point.y > point.y) || in ConvertPathToPolygon()
566 ((fabs(path_info[i].point.y-point.y) < DrawEpsilon) && in ConvertPathToPolygon()
567 (path_info[i].point.x > point.x))) ? 1 : -1; in ConvertPathToPolygon()
574 point=points[n-1]; in ConvertPathToPolygon()
602 points[0]=point; in ConvertPathToPolygon()
603 bounds.x1=point.x; in ConvertPathToPolygon()
604 bounds.x2=point.x; in ConvertPathToPolygon()
618 point=path_info[i].point; in ConvertPathToPolygon()
619 points[n]=point; in ConvertPathToPolygon()
620 if (point.x < bounds.x1) in ConvertPathToPolygon()
621 bounds.x1=point.x; in ConvertPathToPolygon()
622 if (point.x > bounds.x2) in ConvertPathToPolygon()
623 bounds.x2=point.x; in ConvertPathToPolygon()
703 " %g,%g %s",p->point.x,p->point.y,p->code == GhostlineCode ? in LogPathInfo()
762 p=primitive_info[i].point; in ConvertPrimitiveToPath()
770 if ((i == 0) || (fabs(q.x-primitive_info[i].point.x) >= DrawEpsilon) || in ConvertPrimitiveToPath()
771 (fabs(q.y-primitive_info[i].point.y) >= DrawEpsilon)) in ConvertPrimitiveToPath()
774 path_info[n].point=primitive_info[i].point; in ConvertPrimitiveToPath()
775 q=primitive_info[i].point; in ConvertPrimitiveToPath()
780 if ((fabs(p.x-primitive_info[i].point.x) < DrawEpsilon) && in ConvertPrimitiveToPath()
781 (fabs(p.y-primitive_info[i].point.y) < DrawEpsilon)) in ConvertPrimitiveToPath()
788 path_info[n].point=primitive_info[i].point; in ConvertPrimitiveToPath()
791 path_info[n].point=p; in ConvertPrimitiveToPath()
795 path_info[n].point.x=0.0; in ConvertPrimitiveToPath()
796 path_info[n].point.y=0.0; in ConvertPrimitiveToPath()
1129 point; in DrawAffineImage() local
1131 point=extent[i]; in DrawAffineImage()
1132 extent[i].x=point.x*affine->sx+point.y*affine->ry+affine->tx; in DrawAffineImage()
1133 extent[i].y=point.x*affine->rx+point.y*affine->sy+affine->ty; in DrawAffineImage()
1175 point; in DrawAffineImage() local
1202 point.x=(double) x*inverse_affine.sx+y*inverse_affine.ry+ in DrawAffineImage()
1204 point.y=(double) x*inverse_affine.rx+y*inverse_affine.sy+ in DrawAffineImage()
1207 point.x,point.y,&pixel,exception); in DrawAffineImage()
1553 dx=primitive_info[i].point.x-primitive_info[i-1].point.x; in DrawDashPolygon()
1554 dy=primitive_info[i].point.y-primitive_info[i-1].point.y; in DrawDashPolygon()
1569 dash_polygon[0].point.x=(double) (primitive_info[i-1].point.x+dx* in DrawDashPolygon()
1571 dash_polygon[0].point.y=(double) (primitive_info[i-1].point.y+dy* in DrawDashPolygon()
1580 dash_polygon[j].point.x=(double) (primitive_info[i-1].point.x+dx* in DrawDashPolygon()
1582 dash_polygon[j].point.y=(double) (primitive_info[i-1].point.y+dy* in DrawDashPolygon()
1605 dash_polygon[j].point.x+=DrawEpsilon; in DrawDashPolygon()
1606 dash_polygon[j].point.y+=DrawEpsilon; in DrawDashPolygon()
1652 static inline MagickBooleanType IsPoint(const char *point) in IsPoint() argument
1660 value=StringToDouble(point,&p); in IsPoint()
1661 return((fabs(value) < DrawEpsilon) && (p == point) ? MagickFalse : MagickTrue); in IsPoint()
1665 const PointInfo point) in TracePoint() argument
1668 primitive_info->point=point; in TracePoint()
1710 point; in DrawImage() local
2892 primitive_info[0].point.x=0.0; in DrawImage()
2893 primitive_info[0].point.y=0.0; in DrawImage()
2902 point.x=StringToDouble(token,&next_token); in DrawImage()
2908 point.y=StringToDouble(token,&next_token); in DrawImage()
2915 primitive_info[i].point=point; in DrawImage()
2939 bounds.x1=primitive_info[j].point.x; in DrawImage()
2940 bounds.y1=primitive_info[j].point.y; in DrawImage()
2941 bounds.x2=primitive_info[j].point.x; in DrawImage()
2942 bounds.y2=primitive_info[j].point.y; in DrawImage()
2945 point=primitive_info[j+k].point; in DrawImage()
2946 if (point.x < bounds.x1) in DrawImage()
2947 bounds.x1=point.x; in DrawImage()
2948 if (point.y < bounds.y1) in DrawImage()
2949 bounds.y1=point.y; in DrawImage()
2950 if (point.x > bounds.x2) in DrawImage()
2951 bounds.x2=point.x; in DrawImage()
2952 if (point.y > bounds.y2) in DrawImage()
2953 bounds.y2=point.y; in DrawImage()
3059 TracePoint(primitive_info+j,primitive_info[j].point); in DrawImage()
3070 TraceLine(primitive_info+j,primitive_info[j].point, in DrawImage()
3071 primitive_info[j+1].point); in DrawImage()
3082 TraceRectangle(primitive_info+j,primitive_info[j].point, in DrawImage()
3083 primitive_info[j+1].point); in DrawImage()
3094 TraceRoundRectangle(primitive_info+j,primitive_info[j].point, in DrawImage()
3095 primitive_info[j+1].point,primitive_info[j+2].point); in DrawImage()
3106 TraceArc(primitive_info+j,primitive_info[j].point, in DrawImage()
3107 primitive_info[j+1].point,primitive_info[j+2].point); in DrawImage()
3118 TraceEllipse(primitive_info+j,primitive_info[j].point, in DrawImage()
3119 primitive_info[j+1].point,primitive_info[j+2].point); in DrawImage()
3130 TraceCircle(primitive_info+j,primitive_info[j].point, in DrawImage()
3131 primitive_info[j+1].point); in DrawImage()
3218 point=primitive_info[i].point; in DrawImage()
3219 primitive_info[i].point.x=graphic_context[n]->affine.sx*point.x+ in DrawImage()
3220 graphic_context[n]->affine.ry*point.y+graphic_context[n]->affine.tx; in DrawImage()
3221 primitive_info[i].point.y=graphic_context[n]->affine.rx*point.x+ in DrawImage()
3222 graphic_context[n]->affine.sy*point.y+graphic_context[n]->affine.ty; in DrawImage()
3223 point=primitive_info[i].point; in DrawImage()
3224 if (point.x < graphic_context[n]->bounds.x1) in DrawImage()
3225 graphic_context[n]->bounds.x1=point.x; in DrawImage()
3226 if (point.y < graphic_context[n]->bounds.y1) in DrawImage()
3227 graphic_context[n]->bounds.y1=point.y; in DrawImage()
3228 if (point.x > graphic_context[n]->bounds.x2) in DrawImage()
3229 graphic_context[n]->bounds.x2=point.x; in DrawImage()
3230 if (point.y > graphic_context[n]->bounds.y2) in DrawImage()
3231 graphic_context[n]->bounds.y2=point.y; in DrawImage()
3396 point; in DrawGradientImage() local
3416 point.x=gradient_vector->x2-gradient_vector->x1; in DrawGradientImage()
3417 point.y=gradient_vector->y2-gradient_vector->y1; in DrawGradientImage()
3418 length=sqrt(point.x*point.x+point.y*point.y); in DrawGradientImage()
4076 if ((x == (ssize_t) ceil(primitive_info->point.x-0.5)) && in DrawPolygonPrimitive()
4077 (y == (ssize_t) ceil(primitive_info->point.y-0.5))) in DrawPolygonPrimitive()
4218 point; in LogPrimitiveInfo() local
4228 x=(ssize_t) ceil(primitive_info->point.x-0.5); in LogPrimitiveInfo()
4229 y=(ssize_t) ceil(primitive_info->point.y-0.5); in LogPrimitiveInfo()
4269 p=primitive_info[0].point; in LogPrimitiveInfo()
4274 point=primitive_info[i].point; in LogPrimitiveInfo()
4280 p=point; in LogPrimitiveInfo()
4282 point=primitive_info[i].point; in LogPrimitiveInfo()
4283 if ((fabs(q.x-point.x) >= DrawEpsilon) || in LogPrimitiveInfo()
4284 (fabs(q.y-point.y) >= DrawEpsilon)) in LogPrimitiveInfo()
4286 " %.20g: %.18g,%.18g",(double) coordinates,point.x,point.y); in LogPrimitiveInfo()
4289 " %.20g: %g %g (duplicate)",(double) coordinates,point.x,point.y); in LogPrimitiveInfo()
4290 q=point; in LogPrimitiveInfo()
4294 if ((fabs(p.x-point.x) >= DrawEpsilon) || in LogPrimitiveInfo()
4295 (fabs(p.y-point.y) >= DrawEpsilon)) in LogPrimitiveInfo()
4335 x=(ssize_t) ceil(primitive_info->point.x-0.5); in DrawPrimitive()
4336 y=(ssize_t) ceil(primitive_info->point.y-0.5); in DrawPrimitive()
4608 x1=(ssize_t) ceil(primitive_info[1].point.x-0.5); in DrawPrimitive()
4609 y1=(ssize_t) ceil(primitive_info[1].point.y-0.5); in DrawPrimitive()
4617 "%gx%g!",primitive_info[1].point.x,primitive_info[1].point.y); in DrawPrimitive()
4681 primitive_info->point.x,primitive_info->point.y); in DrawPrimitive()
4729 (fabs(primitive_info[i-1].point.x-primitive_info[0].point.x) < DrawEpsilon) && in DrawPrimitive()
4730 (fabs(primitive_info[i-1].point.y-primitive_info[0].point.y) < DrawEpsilon) ? in DrawPrimitive()
4808 linecap[1].point.x+=2.0*DrawEpsilon; in DrawRoundLinecap()
4809 linecap[2].point.x+=2.0*DrawEpsilon; in DrawRoundLinecap()
4810 linecap[2].point.y+=2.0*DrawEpsilon; in DrawRoundLinecap()
4811 linecap[3].point.y+=2.0*DrawEpsilon; in DrawRoundLinecap()
4861 closed_path=(fabs(q->point.x-p->point.x) < DrawEpsilon) && in DrawStrokePolygon()
4862 (fabs(q->point.y-p->point.y) < DrawEpsilon) ? MagickTrue : MagickFalse; in DrawStrokePolygon()
5220 p->point.x=(p == primitive_info) ? start.x : (p-1)->point.x; in TraceArcPath()
5221 p->point.y=(p == primitive_info) ? start.y : (p-1)->point.y; in TraceArcPath()
5222 (p+1)->point.x=(double) (cosine*radii.x*points[0].x-sine*radii.y* in TraceArcPath()
5224 (p+1)->point.y=(double) (sine*radii.x*points[0].x+cosine*radii.y* in TraceArcPath()
5226 (p+2)->point.x=(double) (cosine*radii.x*points[1].x-sine*radii.y* in TraceArcPath()
5228 (p+2)->point.y=(double) (sine*radii.x*points[1].x+cosine*radii.y* in TraceArcPath()
5230 (p+3)->point.x=(double) (cosine*radii.x*points[2].x-sine*radii.y* in TraceArcPath()
5232 (p+3)->point.y=(double) (sine*radii.x*points[2].x+cosine*radii.y* in TraceArcPath()
5235 (p+3)->point=end; in TraceArcPath()
5257 point, in TraceBezier() local
5279 alpha=fabs(primitive_info[j].point.x-primitive_info[i].point.x); in TraceBezier()
5282 alpha=fabs(primitive_info[j].point.y-primitive_info[i].point.y); in TraceBezier()
5299 end=primitive_info[number_coordinates-1].point; in TraceBezier()
5306 point.x=0.0; in TraceBezier()
5307 point.y=0.0; in TraceBezier()
5311 point.x+=alpha*coefficients[j]*p->point.x; in TraceBezier()
5312 point.y+=alpha*coefficients[j]*p->point.y; in TraceBezier()
5316 points[i]=point; in TraceBezier()
5372 point; in TraceEllipse() local
5399 point.x=cos(fmod(angle.x,DegreesToRadians(360.0)))*stop.x+start.x; in TraceEllipse()
5400 point.y=sin(fmod(angle.x,DegreesToRadians(360.0)))*stop.y+start.y; in TraceEllipse()
5401 TracePoint(p,point); in TraceEllipse()
5404 point.x=cos(fmod(angle.y,DegreesToRadians(360.0)))*stop.x+start.x; in TraceEllipse()
5405 point.y=sin(fmod(angle.y,DegreesToRadians(360.0)))*stop.y+start.y; in TraceEllipse()
5406 TracePoint(p,point); in TraceEllipse()
5452 point = {0.0, 0.0}, in TracePath() local
5529 end.x=(double) (attribute == (int) 'A' ? x : point.x+x); in TracePath()
5530 end.y=(double) (attribute == (int) 'A' ? y : point.y+y); in TracePath()
5531 TraceArcPath(q,point,end,arc,angle,large_arc,sweep); in TracePath()
5533 point=end; in TracePath()
5549 points[0]=point; in TracePath()
5560 end.x=(double) (attribute == (int) 'C' ? x : point.x+x); in TracePath()
5561 end.y=(double) (attribute == (int) 'C' ? y : point.y+y); in TracePath()
5565 (q+i)->point=points[i]; in TracePath()
5568 point=end; in TracePath()
5581 point.x=(double) (attribute == (int) 'H' ? x: point.x+x); in TracePath()
5582 TracePoint(q,point); in TracePath()
5600 point.x=(double) (attribute == (int) 'L' ? x : point.x+x); in TracePath()
5601 point.y=(double) (attribute == (int) 'L' ? y : point.y+y); in TracePath()
5602 TracePoint(q,point); in TracePath()
5627 point.x=(double) (attribute == (int) 'M' ? x : point.x+x); in TracePath()
5628 point.y=(double) (attribute == (int) 'M' ? y : point.y+y); in TracePath()
5630 start=point; in TracePath()
5632 TracePoint(q,point); in TracePath()
5636 TracePoint(q,point); in TracePath()
5650 points[0]=point; in TracePath()
5663 end.x=(double) (attribute == (int) 'Q' ? x : point.x+x); in TracePath()
5664 end.y=(double) (attribute == (int) 'Q' ? y : point.y+y); in TracePath()
5668 (q+i)->point=points[i]; in TracePath()
5671 point=end; in TracePath()
5698 end.x=(double) (attribute == (int) 'S' ? x : point.x+x); in TracePath()
5699 end.y=(double) (attribute == (int) 'S' ? y : point.y+y); in TracePath()
5704 points[0]=point; in TracePath()
5705 points[1]=point; in TracePath()
5708 (q+i)->point=points[i]; in TracePath()
5711 point=end; in TracePath()
5736 end.x=(double) (attribute == (int) 'T' ? x : point.x+x); in TracePath()
5737 end.y=(double) (attribute == (int) 'T' ? y : point.y+y); in TracePath()
5742 points[0]=point; in TracePath()
5743 points[1]=point; in TracePath()
5746 (q+i)->point=points[i]; in TracePath()
5749 point=end; in TracePath()
5762 point.y=(double) (attribute == (int) 'V' ? y : point.y+y); in TracePath()
5763 TracePoint(q,point); in TracePath()
5771 point=start; in TracePath()
5772 TracePoint(q,point); in TracePath()
5806 point; in TraceRectangle() local
5817 point.x=start.x; in TraceRectangle()
5818 point.y=end.y; in TraceRectangle()
5819 TracePoint(p,point); in TraceRectangle()
5823 point.x=end.x; in TraceRectangle()
5824 point.y=start.y; in TraceRectangle()
5825 TracePoint(p,point); in TraceRectangle()
5843 point; in TraceRoundRectangle() local
5858 point.x=start.x+offset.x-arc.x; in TraceRoundRectangle()
5859 point.y=start.y+arc.y; in TraceRoundRectangle()
5862 TraceEllipse(p,point,arc,degrees); in TraceRoundRectangle()
5864 point.x=start.x+offset.x-arc.x; in TraceRoundRectangle()
5865 point.y=start.y+offset.y-arc.y; in TraceRoundRectangle()
5868 TraceEllipse(p,point,arc,degrees); in TraceRoundRectangle()
5870 point.x=start.x+arc.x; in TraceRoundRectangle()
5871 point.y=start.y+offset.y-arc.y; in TraceRoundRectangle()
5874 TraceEllipse(p,point,arc,degrees); in TraceRoundRectangle()
5876 point.x=start.x+arc.x; in TraceRoundRectangle()
5877 point.y=start.y+arc.y; in TraceRoundRectangle()
5880 TraceEllipse(p,point,arc,degrees); in TraceRoundRectangle()
5882 TracePoint(p,primitive_info->point); in TraceRoundRectangle()
5912 dx=primitive_info[0].point.x-primitive_info[i].point.x; in TraceSquareLinecap()
5913 dy=primitive_info[0].point.y-primitive_info[i].point.y; in TraceSquareLinecap()
5921 primitive_info[0].point.x=(double) (primitive_info[i].point.x+ in TraceSquareLinecap()
5923 primitive_info[0].point.y=(double) (primitive_info[i].point.y+ in TraceSquareLinecap()
5927 dx=primitive_info[number_vertices-1].point.x-primitive_info[j].point.x; in TraceSquareLinecap()
5928 dy=primitive_info[number_vertices-1].point.y-primitive_info[j].point.y; in TraceSquareLinecap()
5934 primitive_info[number_vertices-1].point.x=(double) (primitive_info[j].point.x+ in TraceSquareLinecap()
5936 primitive_info[number_vertices-1].point.y=(double) (primitive_info[j].point.y+ in TraceSquareLinecap()
6015 (primitive_info[number_vertices-1].point.x == primitive_info[0].point.x) && in TraceStrokePolygon()
6016 (primitive_info[number_vertices-1].point.y == primitive_info[0].point.y) ? in TraceStrokePolygon()
6032 dx.p=polygon_primitive[n].point.x-polygon_primitive[0].point.x; in TraceStrokePolygon()
6033 dy.p=polygon_primitive[n].point.y-polygon_primitive[0].point.y; in TraceStrokePolygon()
6070 box_p[0].x=polygon_primitive[0].point.x-offset.x; in TraceStrokePolygon()
6071 box_p[0].y=polygon_primitive[0].point.y-offset.x*inverse_slope.p; in TraceStrokePolygon()
6072 box_p[1].x=polygon_primitive[n].point.x-offset.x; in TraceStrokePolygon()
6073 box_p[1].y=polygon_primitive[n].point.y-offset.x*inverse_slope.p; in TraceStrokePolygon()
6074 box_q[0].x=polygon_primitive[0].point.x+offset.x; in TraceStrokePolygon()
6075 box_q[0].y=polygon_primitive[0].point.y+offset.x*inverse_slope.p; in TraceStrokePolygon()
6076 box_q[1].x=polygon_primitive[n].point.x+offset.x; in TraceStrokePolygon()
6077 box_q[1].y=polygon_primitive[n].point.y+offset.x*inverse_slope.p; in TraceStrokePolygon()
6081 box_p[0].x=polygon_primitive[0].point.x+offset.x; in TraceStrokePolygon()
6082 box_p[0].y=polygon_primitive[0].point.y+offset.y; in TraceStrokePolygon()
6083 box_p[1].x=polygon_primitive[n].point.x+offset.x; in TraceStrokePolygon()
6084 box_p[1].y=polygon_primitive[n].point.y+offset.y; in TraceStrokePolygon()
6085 box_q[0].x=polygon_primitive[0].point.x-offset.x; in TraceStrokePolygon()
6086 box_q[0].y=polygon_primitive[0].point.y-offset.y; in TraceStrokePolygon()
6087 box_q[1].x=polygon_primitive[n].point.x-offset.x; in TraceStrokePolygon()
6088 box_q[1].y=polygon_primitive[n].point.y-offset.y; in TraceStrokePolygon()
6102 dx.q=polygon_primitive[i].point.x-polygon_primitive[n].point.x; in TraceStrokePolygon()
6103 dy.q=polygon_primitive[i].point.y-polygon_primitive[n].point.y; in TraceStrokePolygon()
6134 box_p[2].x=polygon_primitive[n].point.x-offset.x; in TraceStrokePolygon()
6135 box_p[2].y=polygon_primitive[n].point.y-offset.y; in TraceStrokePolygon()
6136 box_p[3].x=polygon_primitive[i].point.x-offset.x; in TraceStrokePolygon()
6137 box_p[3].y=polygon_primitive[i].point.y-offset.y; in TraceStrokePolygon()
6138 box_q[2].x=polygon_primitive[n].point.x+offset.x; in TraceStrokePolygon()
6139 box_q[2].y=polygon_primitive[n].point.y+offset.y; in TraceStrokePolygon()
6140 box_q[3].x=polygon_primitive[i].point.x+offset.x; in TraceStrokePolygon()
6141 box_q[3].y=polygon_primitive[i].point.y+offset.y; in TraceStrokePolygon()
6145 box_p[2].x=polygon_primitive[n].point.x+offset.x; in TraceStrokePolygon()
6146 box_p[2].y=polygon_primitive[n].point.y+offset.y; in TraceStrokePolygon()
6147 box_p[3].x=polygon_primitive[i].point.x+offset.x; in TraceStrokePolygon()
6148 box_p[3].y=polygon_primitive[i].point.y+offset.y; in TraceStrokePolygon()
6149 box_q[2].x=polygon_primitive[n].point.x-offset.x; in TraceStrokePolygon()
6150 box_q[2].y=polygon_primitive[n].point.y-offset.y; in TraceStrokePolygon()
6151 box_q[3].x=polygon_primitive[i].point.x-offset.x; in TraceStrokePolygon()
6152 box_q[3].y=polygon_primitive[i].point.y-offset.y; in TraceStrokePolygon()
6242 center=polygon_primitive[n].point; in TraceStrokePolygon()
6314 center=polygon_primitive[n].point; in TraceStrokePolygon()
6359 stroke_polygon[i].point=path_p[i]; in TraceStrokePolygon()
6364 stroke_polygon[i].point=stroke_polygon[0].point; in TraceStrokePolygon()
6370 stroke_polygon[i].point=path_q[p+q+closed_path-(i+1)]; in TraceStrokePolygon()
6375 stroke_polygon[i].point=stroke_polygon[p+closed_path].point; in TraceStrokePolygon()
6379 stroke_polygon[i].point=stroke_polygon[0].point; in TraceStrokePolygon()