Lines Matching refs:dst
27 int gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, in gdAffineApplyToPointF() argument
34 dst->x = x * affine[0] + y * affine[2] + affine[4]; in gdAffineApplyToPointF()
35 dst->y = x * affine[1] + y * affine[3] + affine[5]; in gdAffineApplyToPointF()
60 int gdAffineInvert (double dst[6], const double src[6]) in gdAffineInvert()
69 dst[0] = src[3] * r_det; in gdAffineInvert()
70 dst[1] = -src[1] * r_det; in gdAffineInvert()
71 dst[2] = -src[2] * r_det; in gdAffineInvert()
72 dst[3] = src[0] * r_det; in gdAffineInvert()
73 dst[4] = -src[4] * dst[0] - src[5] * dst[2]; in gdAffineInvert()
74 dst[5] = -src[4] * dst[1] - src[5] * dst[3]; in gdAffineInvert()
95 int gdAffineFlip (double dst[6], const double src[6], const int flip_h, const int flip_v) in gdAffineFlip()
97 dst[0] = flip_h ? - src[0] : src[0]; in gdAffineFlip()
98 dst[1] = flip_h ? - src[1] : src[1]; in gdAffineFlip()
99 dst[2] = flip_v ? - src[2] : src[2]; in gdAffineFlip()
100 dst[3] = flip_v ? - src[3] : src[3]; in gdAffineFlip()
101 dst[4] = flip_h ? - src[4] : src[4]; in gdAffineFlip()
102 dst[5] = flip_v ? - src[5] : src[5]; in gdAffineFlip()
123 int gdAffineConcat (double dst[6], const double m1[6], const double m2[6]) in gdAffineConcat()
133 dst[0] = dst0; in gdAffineConcat()
134 dst[1] = dst1; in gdAffineConcat()
135 dst[2] = dst2; in gdAffineConcat()
136 dst[3] = dst3; in gdAffineConcat()
137 dst[4] = dst4; in gdAffineConcat()
138 dst[5] = dst5; in gdAffineConcat()
152 int gdAffineIdentity (double dst[6]) in gdAffineIdentity()
154 dst[0] = 1; in gdAffineIdentity()
155 dst[1] = 0; in gdAffineIdentity()
156 dst[2] = 0; in gdAffineIdentity()
157 dst[3] = 1; in gdAffineIdentity()
158 dst[4] = 0; in gdAffineIdentity()
159 dst[5] = 0; in gdAffineIdentity()
174 int gdAffineScale (double dst[6], const double scale_x, const double scale_y) in gdAffineScale()
176 dst[0] = scale_x; in gdAffineScale()
177 dst[1] = 0; in gdAffineScale()
178 dst[2] = 0; in gdAffineScale()
179 dst[3] = scale_y; in gdAffineScale()
180 dst[4] = 0; in gdAffineScale()
181 dst[5] = 0; in gdAffineScale()
199 int gdAffineRotate (double dst[6], const double angle) in gdAffineRotate()
204 dst[0] = cos_t; in gdAffineRotate()
205 dst[1] = sin_t; in gdAffineRotate()
206 dst[2] = -sin_t; in gdAffineRotate()
207 dst[3] = cos_t; in gdAffineRotate()
208 dst[4] = 0; in gdAffineRotate()
209 dst[5] = 0; in gdAffineRotate()
224 int gdAffineShearHorizontal(double dst[6], const double angle) in gdAffineShearHorizontal()
226 dst[0] = 1; in gdAffineShearHorizontal()
227 dst[1] = 0; in gdAffineShearHorizontal()
228 dst[2] = tan(angle * M_PI / 180.0); in gdAffineShearHorizontal()
229 dst[3] = 1; in gdAffineShearHorizontal()
230 dst[4] = 0; in gdAffineShearHorizontal()
231 dst[5] = 0; in gdAffineShearHorizontal()
246 int gdAffineShearVertical(double dst[6], const double angle) in gdAffineShearVertical()
248 dst[0] = 1; in gdAffineShearVertical()
249 dst[1] = tan(angle * M_PI / 180.0);; in gdAffineShearVertical()
250 dst[2] = 0; in gdAffineShearVertical()
251 dst[3] = 1; in gdAffineShearVertical()
252 dst[4] = 0; in gdAffineShearVertical()
253 dst[5] = 0; in gdAffineShearVertical()
269 int gdAffineTranslate (double dst[6], const double offset_x, const double offset_y) in gdAffineTranslate()
271 dst[0] = 1; in gdAffineTranslate()
272 dst[1] = 0; in gdAffineTranslate()
273 dst[2] = 0; in gdAffineTranslate()
274 dst[3] = 1; in gdAffineTranslate()
275 dst[4] = offset_x; in gdAffineTranslate()
276 dst[5] = offset_y; in gdAffineTranslate()