Lines Matching refs:affine
323 static void AdjustAffine(DrawingWand *wand,const AffineMatrix *affine) in AdjustAffine() argument
329 if ((affine->sx != 1.0) || (affine->rx != 0.0) || (affine->ry != 0.0) || in AdjustAffine()
330 (affine->sy != 1.0) || (affine->tx != 0.0) || (affine->ty != 0.0)) in AdjustAffine()
335 current=CurrentContext->affine; in AdjustAffine()
336 CurrentContext->affine.sx=affine->sx*current.sx+affine->ry*current.rx; in AdjustAffine()
337 CurrentContext->affine.rx=affine->rx*current.sx+affine->sy*current.rx; in AdjustAffine()
338 CurrentContext->affine.ry=affine->sx*current.ry+affine->ry*current.sy; in AdjustAffine()
339 CurrentContext->affine.sy=affine->rx*current.ry+affine->sy*current.sy; in AdjustAffine()
340 CurrentContext->affine.tx=affine->sx*current.tx+affine->ry*current.ty+ in AdjustAffine()
341 affine->tx; in AdjustAffine()
342 CurrentContext->affine.ty=affine->rx*current.tx+affine->sy*current.ty+ in AdjustAffine()
343 affine->ty; in AdjustAffine()
613 WandExport void DrawAffine(DrawingWand *wand,const AffineMatrix *affine) in DrawAffine() argument
619 assert(affine != (const AffineMatrix *) NULL); in DrawAffine()
620 AdjustAffine(wand,affine); in DrawAffine()
622 affine->sx,affine->rx,affine->ry,affine->sy,affine->tx,affine->ty); in DrawAffine()
4713 affine; in DrawSetClipUnits() local
4715 GetAffineMatrix(&affine); in DrawSetClipUnits()
4716 affine.sx=CurrentContext->bounds.x2; in DrawSetClipUnits()
4717 affine.sy=CurrentContext->bounds.y2; in DrawSetClipUnits()
4718 affine.tx=CurrentContext->bounds.x1; in DrawSetClipUnits()
4719 affine.ty=CurrentContext->bounds.y1; in DrawSetClipUnits()
4720 AdjustAffine(wand,&affine); in DrawSetClipUnits()