Lines Matching refs:hints

193   af_glyph_hints_dump_points( AF_GlyphHints  hints,
196 AF_Point points = hints->points;
197 AF_Point limit = points + hints->num_points;
262 af_glyph_hints_dump_segments( AF_GlyphHints hints,
270 AF_AxisHints axis = &hints->axis[dimension];
271 AF_Point points = hints->points;
319 af_glyph_hints_get_num_segments( AF_GlyphHints hints,
329 axis = &hints->axis[dim];
345 af_glyph_hints_get_segment_offset( AF_GlyphHints hints,
362 axis = &hints->axis[dim];
393 af_glyph_hints_dump_edges( AF_GlyphHints hints,
401 AF_AxisHints axis = &hints->axis[dimension];
496 af_glyph_hints_init( AF_GlyphHints hints,
499 FT_ZERO( hints );
500 hints->memory = memory;
505 af_glyph_hints_done( AF_GlyphHints hints )
507 FT_Memory memory = hints->memory;
511 if ( !( hints && hints->memory ) )
516 * buffers since they are really within the hints->points array
520 AF_AxisHints axis = &hints->axis[dim];
532 FT_FREE( hints->contours );
533 hints->max_contours = 0;
534 hints->num_contours = 0;
536 FT_FREE( hints->points );
537 hints->num_points = 0;
538 hints->max_points = 0;
540 hints->memory = NULL;
547 af_glyph_hints_rescale( AF_GlyphHints hints,
550 hints->metrics = metrics;
551 hints->scaler_flags = metrics->scaler.flags;
559 af_glyph_hints_reload( AF_GlyphHints hints,
565 FT_Fixed x_scale = hints->x_scale;
566 FT_Fixed y_scale = hints->y_scale;
567 FT_Pos x_delta = hints->x_delta;
568 FT_Pos y_delta = hints->y_delta;
569 FT_Memory memory = hints->memory;
572 hints->num_points = 0;
573 hints->num_contours = 0;
575 hints->axis[0].num_segments = 0;
576 hints->axis[0].num_edges = 0;
577 hints->axis[1].num_segments = 0;
578 hints->axis[1].num_edges = 0;
582 old_max = hints->max_contours;
587 if ( FT_RENEW_ARRAY( hints->contours, old_max, new_max ) )
590 hints->max_contours = new_max;
599 old_max = hints->max_points;
604 if ( FT_RENEW_ARRAY( hints->points, old_max, new_max ) )
607 hints->max_points = new_max;
610 hints->num_points = outline->n_points;
611 hints->num_contours = outline->n_contours;
617 hints->axis[AF_DIMENSION_HORZ].major_dir = AF_DIR_UP;
618 hints->axis[AF_DIMENSION_VERT].major_dir = AF_DIR_LEFT;
622 hints->axis[AF_DIMENSION_HORZ].major_dir = AF_DIR_DOWN;
623 hints->axis[AF_DIMENSION_VERT].major_dir = AF_DIR_RIGHT;
626 hints->x_scale = x_scale;
627 hints->y_scale = y_scale;
628 hints->x_delta = x_delta;
629 hints->y_delta = y_delta;
631 hints->xmin_delta = 0;
632 hints->xmax_delta = 0;
634 points = hints->points;
635 if ( hints->num_points == 0 )
640 AF_Point point_limit = points + hints->num_points;
691 AF_Point* contour = hints->contours;
692 AF_Point* contour_limit = contour + hints->num_contours;
717 FT_UInt units_per_em = hints->metrics->scaler.face->units_per_EM;
722 AF_Point* contour_limit = hints->contours + hints->num_contours;
725 for ( contour = hints->contours; contour < contour_limit; contour++ )
938 af_glyph_hints_save( AF_GlyphHints hints,
941 AF_Point point = hints->points;
942 AF_Point limit = point + hints->num_points;
973 af_glyph_hints_align_edge_points( AF_GlyphHints hints,
976 AF_AxisHints axis = & hints->axis[dim];
1048 af_glyph_hints_align_strong_points( AF_GlyphHints hints,
1051 AF_Point points = hints->points;
1052 AF_Point point_limit = points + hints->num_points;
1053 AF_AxisHints axis = &hints->axis[dim];
1303 af_glyph_hints_align_weak_points( AF_GlyphHints hints,
1306 AF_Point points = hints->points;
1307 AF_Point point_limit = points + hints->num_points;
1308 AF_Point* contour = hints->contours;
1309 AF_Point* contour_limit = contour + hints->num_contours;
1431 af_glyph_hints_scale_dim( AF_GlyphHints hints,
1436 AF_Point points = hints->points;
1437 AF_Point points_limit = points + hints->num_points;