Lines Matching refs:affine
794 affine, in transformOrigin() local
795 current=_drawInfo->affine; in transformOrigin()
797 affine.sx=1.0; in transformOrigin()
798 affine.rx=0.0; in transformOrigin()
799 affine.ry=0.0; in transformOrigin()
800 affine.sy=1.0; in transformOrigin()
801 affine.tx=tx_; in transformOrigin()
802 affine.ty=ty_; in transformOrigin()
804 _drawInfo->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in transformOrigin()
805 _drawInfo->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in transformOrigin()
806 _drawInfo->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in transformOrigin()
807 _drawInfo->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in transformOrigin()
808 _drawInfo->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx; in transformOrigin()
809 _drawInfo->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty; in transformOrigin()
814 _drawInfo->affine.sx=1.0; in transformReset()
815 _drawInfo->affine.rx=0.0; in transformReset()
816 _drawInfo->affine.ry=0.0; in transformReset()
817 _drawInfo->affine.sy=1.0; in transformReset()
818 _drawInfo->affine.tx=0.0; in transformReset()
819 _drawInfo->affine.ty=0.0; in transformReset()
825 affine, in transformRotation() local
826 current=_drawInfo->affine; in transformRotation()
828 affine.sx=cos(DegreesToRadians(fmod(angle_,360.0))); in transformRotation()
829 affine.rx=(-sin(DegreesToRadians(fmod(angle_,360.0)))); in transformRotation()
830 affine.ry=sin(DegreesToRadians(fmod(angle_,360.0))); in transformRotation()
831 affine.sy=cos(DegreesToRadians(fmod(angle_,360.0))); in transformRotation()
832 affine.tx=0.0; in transformRotation()
833 affine.ty=0.0; in transformRotation()
835 _drawInfo->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in transformRotation()
836 _drawInfo->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in transformRotation()
837 _drawInfo->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in transformRotation()
838 _drawInfo->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in transformRotation()
839 _drawInfo->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx; in transformRotation()
840 _drawInfo->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty; in transformRotation()
846 affine, in transformScale() local
847 current=_drawInfo->affine; in transformScale()
849 affine.sx=sx_; in transformScale()
850 affine.rx=0.0; in transformScale()
851 affine.ry=0.0; in transformScale()
852 affine.sy=sy_; in transformScale()
853 affine.tx=0.0; in transformScale()
854 affine.ty=0.0; in transformScale()
856 _drawInfo->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in transformScale()
857 _drawInfo->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in transformScale()
858 _drawInfo->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in transformScale()
859 _drawInfo->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in transformScale()
860 _drawInfo->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx; in transformScale()
861 _drawInfo->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty; in transformScale()
867 affine, in transformSkewX() local
868 current=_drawInfo->affine; in transformSkewX()
870 affine.sx=1.0; in transformSkewX()
871 affine.rx=0.0; in transformSkewX()
872 affine.ry=tan(DegreesToRadians(fmod(skewx_,360.0))); in transformSkewX()
873 affine.sy=1.0; in transformSkewX()
874 affine.tx=0.0; in transformSkewX()
875 affine.ty=0.0; in transformSkewX()
877 _drawInfo->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in transformSkewX()
878 _drawInfo->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in transformSkewX()
879 _drawInfo->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in transformSkewX()
880 _drawInfo->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in transformSkewX()
881 _drawInfo->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx; in transformSkewX()
882 _drawInfo->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty; in transformSkewX()
888 affine, in transformSkewY() local
889 current=_drawInfo->affine; in transformSkewY()
891 affine.sx=1.0; in transformSkewY()
892 affine.rx=tan(DegreesToRadians(fmod(skewy_,360.0))); in transformSkewY()
893 affine.ry=0.0; in transformSkewY()
894 affine.sy=1.0; in transformSkewY()
895 affine.tx=0.0; in transformSkewY()
896 affine.ty=0.0; in transformSkewY()
898 _drawInfo->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in transformSkewY()
899 _drawInfo->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in transformSkewY()
900 _drawInfo->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in transformSkewY()
901 _drawInfo->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in transformSkewY()
902 _drawInfo->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx; in transformSkewY()
903 _drawInfo->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty; in transformSkewY()