• Home
  • Raw
  • Download

Lines Matching refs:affine

264   clone_info->affine=draw_info->affine;  in CloneDrawInfo()
969 static SegmentInfo AffineEdge(const Image *image,const AffineMatrix *affine, in AffineEdge() argument
989 z=affine->ry*y+affine->tx; in AffineEdge()
990 if (affine->sx >= DrawEpsilon) in AffineEdge()
992 intercept=(-z/affine->sx); in AffineEdge()
996 intercept=(-z+(double) image->columns)/affine->sx; in AffineEdge()
1002 if (affine->sx < -DrawEpsilon) in AffineEdge()
1004 intercept=(-z+(double) image->columns)/affine->sx; in AffineEdge()
1008 intercept=(-z/affine->sx); in AffineEdge()
1022 z=affine->sy*y+affine->ty; in AffineEdge()
1023 if (affine->rx >= DrawEpsilon) in AffineEdge()
1025 intercept=(-z/affine->rx); in AffineEdge()
1029 intercept=(-z+(double) image->rows)/affine->rx; in AffineEdge()
1035 if (affine->rx < -DrawEpsilon) in AffineEdge()
1037 intercept=(-z+(double) image->rows)/affine->rx; in AffineEdge()
1041 intercept=(-z/affine->rx); in AffineEdge()
1055 static AffineMatrix InverseAffineMatrix(const AffineMatrix *affine) in InverseAffineMatrix() argument
1063 determinant=PerceptibleReciprocal(affine->sx*affine->sy-affine->rx* in InverseAffineMatrix()
1064 affine->ry); in InverseAffineMatrix()
1065 inverse_affine.sx=determinant*affine->sy; in InverseAffineMatrix()
1066 inverse_affine.rx=determinant*(-affine->rx); in InverseAffineMatrix()
1067 inverse_affine.ry=determinant*(-affine->ry); in InverseAffineMatrix()
1068 inverse_affine.sy=determinant*affine->sx; in InverseAffineMatrix()
1069 inverse_affine.tx=(-affine->tx)*inverse_affine.sx-affine->ty* in InverseAffineMatrix()
1071 inverse_affine.ty=(-affine->tx)*inverse_affine.rx-affine->ty* in InverseAffineMatrix()
1077 const Image *source,const AffineMatrix *affine,ExceptionInfo *exception) in DrawAffineImage() argument
1117 assert(affine != (AffineMatrix *) NULL); 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()
1158 inverse_affine=InverseAffineMatrix(affine); in DrawAffineImage()
1298 mid=(resolution.x/72.0)*ExpandAffine(&clone_info->affine)* in DrawBoundingRectangles()
1522 scale=ExpandAffine(&draw_info->affine); in DrawDashPolygon()
1677 affine, in DrawImage() local
1821 current=graphic_context[n]->affine; in DrawImage()
1822 GetAffineMatrix(&affine); in DrawImage()
1833 affine.sx=StringToDouble(token,&next_token); in DrawImage()
1839 affine.rx=StringToDouble(token,&next_token); in DrawImage()
1845 affine.ry=StringToDouble(token,&next_token); in DrawImage()
1851 affine.sy=StringToDouble(token,&next_token); in DrawImage()
1857 affine.tx=StringToDouble(token,&next_token); in DrawImage()
1863 affine.ty=StringToDouble(token,&next_token); in DrawImage()
1944 affine.sx=draw_info->bounds.x2; in DrawImage()
1945 affine.sy=draw_info->bounds.y2; in DrawImage()
1946 affine.tx=draw_info->bounds.x1; in DrawImage()
1947 affine.ty=draw_info->bounds.y1; in DrawImage()
2386 bounds.x1=graphic_context[n]->affine.sx*segment.x1+ in DrawImage()
2387 graphic_context[n]->affine.ry*segment.y1+ in DrawImage()
2388 graphic_context[n]->affine.tx; in DrawImage()
2389 bounds.y1=graphic_context[n]->affine.rx*segment.x1+ in DrawImage()
2390 graphic_context[n]->affine.sy*segment.y1+ in DrawImage()
2391 graphic_context[n]->affine.ty; in DrawImage()
2392 bounds.x2=graphic_context[n]->affine.sx*segment.x2+ in DrawImage()
2393 graphic_context[n]->affine.ry*segment.y2+ in DrawImage()
2394 graphic_context[n]->affine.tx; in DrawImage()
2395 bounds.y2=graphic_context[n]->affine.rx*segment.x2+ in DrawImage()
2396 graphic_context[n]->affine.sy*segment.y2+ in DrawImage()
2397 graphic_context[n]->affine.ty; in DrawImage()
2511 affine.sx=cos(DegreesToRadians(fmod((double) angle,360.0))); in DrawImage()
2512 affine.rx=sin(DegreesToRadians(fmod((double) angle,360.0))); in DrawImage()
2513 affine.ry=(-sin(DegreesToRadians(fmod((double) angle,360.0)))); in DrawImage()
2514 affine.sy=cos(DegreesToRadians(fmod((double) angle,360.0))); in DrawImage()
2531 affine.sx=StringToDouble(token,&next_token); in DrawImage()
2537 affine.sy=StringToDouble(token,&next_token); in DrawImage()
2548 affine.ry=sin(DegreesToRadians(angle)); in DrawImage()
2557 affine.rx=(-tan(DegreesToRadians(angle)/2.0)); in DrawImage()
2792 affine.tx=StringToDouble(token,&next_token); in DrawImage()
2798 affine.ty=StringToDouble(token,&next_token); in DrawImage()
2850 if ((fabs(affine.sx-1.0) >= DrawEpsilon) || in DrawImage()
2851 (fabs(affine.rx) >= DrawEpsilon) || (fabs(affine.ry) >= DrawEpsilon) || in DrawImage()
2852 (fabs(affine.sy-1.0) >= DrawEpsilon) || in DrawImage()
2853 (fabs(affine.tx) >= DrawEpsilon) || (fabs(affine.ty) >= DrawEpsilon)) in DrawImage()
2855 graphic_context[n]->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in DrawImage()
2856 graphic_context[n]->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in DrawImage()
2857 graphic_context[n]->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in DrawImage()
2858 graphic_context[n]->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in DrawImage()
2859 graphic_context[n]->affine.tx=current.sx*affine.tx+current.ry*affine.ty+ in DrawImage()
2861 graphic_context[n]->affine.ty=current.rx*affine.tx+current.sy*affine.ty+ 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()
4003 mid=ExpandAffine(&draw_info->affine)*draw_info->stroke_width/2.0; in DrawPolygonPrimitive()
4326 " affine: %g,%g,%g,%g,%g,%g",draw_info->affine.sx, in DrawPrimitive()
4327 draw_info->affine.rx,draw_info->affine.ry,draw_info->affine.sy, in DrawPrimitive()
4328 draw_info->affine.tx,draw_info->affine.ty); in DrawPrimitive()
4573 affine; in DrawPrimitive() local
4635 affine=draw_info->affine; in DrawPrimitive()
4636 affine.tx=(double) geometry.x; in DrawPrimitive()
4637 affine.ty=(double) geometry.y; in DrawPrimitive()
4640 (void) DrawAffineImage(image,composite_image,&affine,exception); in DrawPrimitive()
4698 scale=ExpandAffine(&draw_info->affine); in DrawPrimitive()
4716 mid=ExpandAffine(&draw_info->affine)*draw_info->stroke_width/2.0; in DrawPrimitive()
4953 GetAffineMatrix(&draw_info->affine); in GetDrawInfo()
6061 mid=ExpandAffine(&draw_info->affine)*draw_info->stroke_width/2.0; in TraceStrokePolygon()