Lines Matching refs:dst
27 int gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, in gdAffineApplyToPointF() argument
32 dst->x = x * affine[0] + y * affine[2] + affine[4]; in gdAffineApplyToPointF()
33 dst->y = x * affine[1] + y * affine[3] + affine[5]; in gdAffineApplyToPointF()
58 int gdAffineInvert (double dst[6], const double src[6]) in gdAffineInvert()
67 dst[0] = src[3] * r_det; in gdAffineInvert()
68 dst[1] = -src[1] * r_det; in gdAffineInvert()
69 dst[2] = -src[2] * r_det; in gdAffineInvert()
70 dst[3] = src[0] * r_det; in gdAffineInvert()
71 dst[4] = -src[4] * dst[0] - src[5] * dst[2]; in gdAffineInvert()
72 dst[5] = -src[4] * dst[1] - src[5] * dst[3]; in gdAffineInvert()
93 int gdAffineFlip (double dst[6], const double src[6], const int flip_h, const int flip_v) in gdAffineFlip()
95 dst[0] = flip_h ? - src[0] : src[0]; in gdAffineFlip()
96 dst[1] = flip_h ? - src[1] : src[1]; in gdAffineFlip()
97 dst[2] = flip_v ? - src[2] : src[2]; in gdAffineFlip()
98 dst[3] = flip_v ? - src[3] : src[3]; in gdAffineFlip()
99 dst[4] = flip_h ? - src[4] : src[4]; in gdAffineFlip()
100 dst[5] = flip_v ? - src[5] : src[5]; in gdAffineFlip()
121 int gdAffineConcat (double dst[6], const double m1[6], const double m2[6]) in gdAffineConcat()
131 dst[0] = dst0; in gdAffineConcat()
132 dst[1] = dst1; in gdAffineConcat()
133 dst[2] = dst2; in gdAffineConcat()
134 dst[3] = dst3; in gdAffineConcat()
135 dst[4] = dst4; in gdAffineConcat()
136 dst[5] = dst5; in gdAffineConcat()
150 int gdAffineIdentity (double dst[6]) in gdAffineIdentity()
152 dst[0] = 1; in gdAffineIdentity()
153 dst[1] = 0; in gdAffineIdentity()
154 dst[2] = 0; in gdAffineIdentity()
155 dst[3] = 1; in gdAffineIdentity()
156 dst[4] = 0; in gdAffineIdentity()
157 dst[5] = 0; in gdAffineIdentity()
172 int gdAffineScale (double dst[6], const double scale_x, const double scale_y) in gdAffineScale()
174 dst[0] = scale_x; in gdAffineScale()
175 dst[1] = 0; in gdAffineScale()
176 dst[2] = 0; in gdAffineScale()
177 dst[3] = scale_y; in gdAffineScale()
178 dst[4] = 0; in gdAffineScale()
179 dst[5] = 0; in gdAffineScale()
197 int gdAffineRotate (double dst[6], const double angle) in gdAffineRotate()
202 dst[0] = cos_t; in gdAffineRotate()
203 dst[1] = sin_t; in gdAffineRotate()
204 dst[2] = -sin_t; in gdAffineRotate()
205 dst[3] = cos_t; in gdAffineRotate()
206 dst[4] = 0; in gdAffineRotate()
207 dst[5] = 0; in gdAffineRotate()
222 int gdAffineShearHorizontal(double dst[6], const double angle) in gdAffineShearHorizontal()
224 dst[0] = 1; in gdAffineShearHorizontal()
225 dst[1] = 0; in gdAffineShearHorizontal()
226 dst[2] = tan(angle * M_PI / 180.0); in gdAffineShearHorizontal()
227 dst[3] = 1; in gdAffineShearHorizontal()
228 dst[4] = 0; in gdAffineShearHorizontal()
229 dst[5] = 0; in gdAffineShearHorizontal()
244 int gdAffineShearVertical(double dst[6], const double angle) in gdAffineShearVertical()
246 dst[0] = 1; in gdAffineShearVertical()
247 dst[1] = tan(angle * M_PI / 180.0); in gdAffineShearVertical()
248 dst[2] = 0; in gdAffineShearVertical()
249 dst[3] = 1; in gdAffineShearVertical()
250 dst[4] = 0; in gdAffineShearVertical()
251 dst[5] = 0; in gdAffineShearVertical()
267 int gdAffineTranslate (double dst[6], const double offset_x, const double offset_y) in gdAffineTranslate()
269 dst[0] = 1; in gdAffineTranslate()
270 dst[1] = 0; in gdAffineTranslate()
271 dst[2] = 0; in gdAffineTranslate()
272 dst[3] = 1; in gdAffineTranslate()
273 dst[4] = offset_x; in gdAffineTranslate()
274 dst[5] = offset_y; in gdAffineTranslate()