Lines Matching defs:vector

205 	FT_Vector vector;
212 vector.x = xc * width;
213 vector.y = yc * height;
214 FT_Vector_Transform(&vector, matrix);
216 left = right = (int)vector.x;
217 top = bottom = (int)vector.y;
219 if (left > vector.x) left = (int)vector.x;
220 if (right < vector.x) right = (int)vector.x;
221 if (bottom > vector.y) bottom = (int)vector.y;
222 if (top < vector.y) top = (int)vector.y;
237 vector.x = vector.y = 0;
238 FT_Vector_Transform(&vector, &inverse);
239 left = (int)vector.x;
240 bottom = (int)vector.y;
241 vector.x = width;
242 vector.y = height;
243 FT_Vector_Transform(&vector, &inverse);
244 right = (int)vector.x;
245 top = (int)vector.y;
338 FT_Vector vector, vector0;
347 vector.x = 1;
348 vector.y = 1;
349 m3x3_transform(&vector, m);
353 sampling_width = (int) ((vector.x - vector0.x) / 2);
354 sampling_height = (int) ((vector.y - vector0.y) / 2);
366 vector.x = x;
367 vector.y = height - y;
368 m3x3_transform(&vector, m);
372 if (vector.x < -sampling_width
373 || vector.x > (source->width + (unsigned) sampling_width))
375 if (vector.y < -sampling_height
376 || vector.y > (source->rows + (unsigned) sampling_height))
381 if (vector.x < 0 || vector.x >= source->width)
383 if (vector.y < 0 || vector.y >= source->rows)
390 src = src_buf + (vector.y * src_pitch);
391 if ( src[(vector.x >> 3)] & (0x80 >> (vector.x & 7)) )
396 src = src_buf + (vector.y * src_pitch);
397 dst_line[x] = src[vector.x];
407 int src_y = (int) (vector.y + sample_y);
414 int src_x = (int) (vector.x + sample_x);
657 FT_Vector vector;
751 vector.x = glyphslot->metrics.horiBearingX + xc * glyphslot->metrics.width;
752 vector.y = glyphslot->metrics.horiBearingY - yc * glyphslot->metrics.height;
753 FT_Vector_Transform(&vector, &font->info.matrix);
756 (int) vector.x, (int) vector.y);
758 left = right = (int)vector.x;
759 top = bottom = (int)vector.y;
761 if (left > vector.x) left = (int)vector.x;
762 if (right < vector.x) right = (int)vector.x;
763 if (bottom > vector.y) bottom = (int)vector.y;
764 if (top < vector.y) top = (int)vector.y;
833 vector.x = 0;
834 vector.y = -face->size->metrics.max_advance;
838 vector.x = face->size->metrics.max_advance;
839 vector.y = 0;
841 FT_Vector_Transform(&vector, &font->info.matrix);
842 xftg->metrics.xOff = (short)(TRUNC(ROUND(vector.x)));
843 xftg->metrics.yOff = (short)(-TRUNC(ROUND(vector.y)));
928 vector.x = - glyphslot->bitmap_left;
929 vector.y = glyphslot->bitmap_top;
930 m3x3_transform(&vector, mi);
931 xftg->metrics.x = (short)vector.x;
932 xftg->metrics.y = (short)vector.y;