/third_party/skia/third_party/externals/freetype/src/pcf/ |
D | pcfread.c | 1250 if ( FT_ABS( accel->fontAscent ) > 0x7FFF ) in pcf_get_accel() 1256 if ( FT_ABS( accel->fontDescent ) > 0x7FFF ) in pcf_get_accel() 1586 if ( FT_ABS( face->accel.fontAscent + in pcf_load_font() 1594 bsize->height = FT_ABS( (FT_Short)( face->accel.fontAscent + in pcf_load_font() 1604 if ( ( FT_ABS( prop->value.l ) > 0x7FFFL * 10 - 5 ) ) in pcf_load_font() 1611 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in pcf_load_font() 1627 if ( FT_ABS( prop->value.l ) > 0x504C2L ) /* 0x7FFF * 72270/7200 */ in pcf_load_font() 1634 bsize->size = FT_MulDiv( FT_ABS( prop->value.l ), in pcf_load_font() 1646 if ( FT_ABS( prop->value.l ) > 0x7FFF ) in pcf_load_font() 1653 bsize->y_ppem = FT_ABS( (FT_Short)prop->value.l ) << 6; in pcf_load_font() [all …]
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftcalc.c | 762 val[0] = FT_ABS( matrix->xx ); in FT_Matrix_Check() 763 val[1] = FT_ABS( matrix->xy ); in FT_Matrix_Check() 764 val[2] = FT_ABS( matrix->yx ); in FT_Matrix_Check() 765 val[3] = FT_ABS( matrix->yy ); in FT_Matrix_Check() 806 temp1 = FT_ABS( m.xx * m.yy - m.xy * m.yx ); in FT_Matrix_Check() 1001 if ( ADD_LONG( FT_ABS( in_x ), FT_ABS( out_y ) ) <= 131071L && in ft_corner_orientation() 1002 ADD_LONG( FT_ABS( in_y ), FT_ABS( out_x ) ) <= 131071L ) in ft_corner_orientation()
|
D | ftbbox.c | 285 shift = 27 - FT_MSB( (FT_UInt32)( FT_ABS( q1 ) | in cubic_peak() 286 FT_ABS( q2 ) | in cubic_peak() 287 FT_ABS( q3 ) | in cubic_peak() 288 FT_ABS( q4 ) ) ); in cubic_peak()
|
D | fttrigon.c | 142 shift = FT_MSB( (FT_UInt32)( FT_ABS( x ) | FT_ABS( y ) ) ); in ft_trig_prenorm() 431 return FT_ABS( v.y ); in FT_Vector_Length() 435 return FT_ABS( v.x ); in FT_Vector_Length()
|
D | ftoutln.c | 1068 xshift = FT_MSB( (FT_UInt32)( FT_ABS( cbox.xMax ) | in FT_Outline_Get_Orientation() 1069 FT_ABS( cbox.xMin ) ) ) - 14; in FT_Outline_Get_Orientation()
|
D | ftbitmap.c | 174 pitch = (unsigned int)FT_ABS( bitmap->pitch ); in ft_bitmap_assure_buffer()
|
/third_party/skia/third_party/externals/freetype/src/autofit/ |
D | aflatin.c | 601 dist = FT_ABS( points[prev].y - best_y ); in af_latin_metrics_init_blues() 605 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues() 626 dist = FT_ABS( points[next].y - best_y ); in af_latin_metrics_init_blues() 628 if ( FT_ABS( points[next].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues() 662 dist = FT_ABS( points[best_segment_last].x - in af_latin_metrics_init_blues() 743 if ( FT_ABS( best_y - points[first].y ) > height_threshold ) in af_latin_metrics_init_blues() 751 dist = FT_ABS( points[last].y - points[first].y ); in af_latin_metrics_init_blues() 753 if ( FT_ABS( points[last].x - points[first].x ) <= in af_latin_metrics_init_blues() 768 d = FT_ABS( points[last].x - points[first].x ); in af_latin_metrics_init_blues() 782 d = FT_ABS( points[last].y - points[first].y ); in af_latin_metrics_init_blues() [all …]
|
D | afhints.c | 782 if ( ll <= 14 * FT_ABS( ss ) ) in af_direction_compute() 1010 if ( FT_ABS( out_x ) + FT_ABS( out_y ) < near_limit ) in af_glyph_hints_reload() 1099 if ( FT_ABS( out_x ) + FT_ABS( out_y ) >= near_limit2 ) in af_glyph_hints_reload() 1140 if ( FT_ABS( out_x ) + FT_ABS( out_y ) < near_limit ) in af_glyph_hints_reload()
|
D | afcjk.c | 1349 if ( FT_ABS( edge->fpos - blue->ref.org ) > in af_cjk_hints_compute_blue_edges() 1350 FT_ABS( edge->fpos - blue->shoot.org ) ) in af_cjk_hints_compute_blue_edges() 1526 if ( FT_ABS( dist - axis->widths[0].cur ) < 40 ) in af_cjk_compute_stem_width() 1759 if ( FT_ABS( u_off1 ) <= FT_ABS( u_off2 ) ) in af_hint_normal_stem() 1995 if ( FT_ABS( d2 ) < FT_ABS( d1 ) ) in af_cjk_hint_edges()
|
/third_party/skia/third_party/externals/freetype/src/smooth/ |
D | ftgrays.c | 119 #define FT_ABS( a ) ( (a) < 0 ? -(a) : (a) ) macro 128 ( x = FT_ABS( x ), \ 129 y = FT_ABS( y ), \ 1084 dx = FT_ABS( ax ); in gray_render_conic() 1085 dy = FT_ABS( ay ); in gray_render_conic() 1289 dx = FT_ABS( arc[2].x + arc[0].x - 2 * arc[1].x ); in gray_render_conic() 1290 dy = FT_ABS( arc[2].y + arc[0].y - 2 * arc[1].y ); in gray_render_conic() 1405 if ( FT_ABS( 2 * arc[0].x - 3 * arc[1].x + arc[3].x ) > ONE_PIXEL / 2 || in gray_render_cubic() 1406 FT_ABS( 2 * arc[0].y - 3 * arc[1].y + arc[3].y ) > ONE_PIXEL / 2 || in gray_render_cubic() 1407 FT_ABS( arc[0].x - 3 * arc[2].x + 2 * arc[3].x ) > ONE_PIXEL / 2 || in gray_render_cubic() [all …]
|
/third_party/skia/third_party/externals/freetype/src/bdf/ |
D | bdfdrivr.c | 485 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in BDF_Face_Init() 509 bsize->size = FT_MulDiv( FT_ABS( prop->value.l ), in BDF_Face_Init() 544 bsize->y_ppem = FT_ABS( (FT_Short)prop->value.l ) << 6; in BDF_Face_Init() 565 resolution_x = FT_ABS( (FT_Short)value ); in BDF_Face_Init() 586 resolution_y = FT_ABS( (FT_Short)value ); in BDF_Face_Init()
|
/third_party/skia/third_party/externals/freetype/include/freetype/internal/ |
D | ftobjs.h | 73 #define FT_ABS( a ) ( (a) < 0 ? -(a) : (a) ) macro 81 ( x = FT_ABS( x ), \ 82 y = FT_ABS( y ), \
|
/third_party/skia/third_party/externals/freetype/src/cff/ |
D | cffobjs.c | 766 temp = matrix->yy ? FT_ABS( matrix->yy ) in cff_face_init() 767 : FT_ABS( matrix->yx ); in cff_face_init() 837 temp = matrix->yy ? FT_ABS( matrix->yy ) in cff_face_init() 838 : FT_ABS( matrix->yx ); in cff_face_init()
|
D | cffparse.c | 573 if ( FT_ABS( val ) > power_ten_limits[scaling] ) in do_fixed()
|
/third_party/skia/third_party/externals/freetype/src/cache/ |
D | ftcimage.c | 125 size = bitg->bitmap.rows * (FT_Offset)FT_ABS( bitg->bitmap.pitch ) + in ftc_inode_weight()
|
D | ftcsbits.c | 190 *asize = (FT_ULong)FT_ABS( sbit->pitch ) * sbit->height; in ftc_snode_load()
|
/third_party/skia/third_party/externals/freetype/src/pshinter/ |
D | pshalgo.c | 429 if ( FT_ABS( delta1 ) <= FT_ABS( delta2 ) ) in psh_hint_snap_stem_side_delta() 818 if ( FT_ABS( side_delta ) < FT_ABS( delta_b ) ) 1061 ax = FT_ABS( dx ); in psh_compute_dir() 1062 ay = FT_ABS( dy ); in psh_compute_dir()
|
/third_party/skia/third_party/externals/freetype/src/sdf/ |
D | ftbsdf.c | 511 gx = FT_ABS( gx ); in compute_edge_distance() 512 gy = FT_ABS( gy ); in compute_edge_distance()
|
D | ftsdf.c | 1559 if ( a == 0 || FT_ABS( a ) < 16 ) in solve_cubic_equation() 1635 dis = FT_ABS( r ); in solve_cubic_equation() 1752 return FT_ABS( sdf1.cross ) > FT_ABS( sdf2.cross ) ? sdf1 : sdf2; in resolve_corner() 2969 if ( FT_ABS(diff ) < CORNER_CHECK_EPSILON ) in sdf_contour_get_min_distance() 3328 else if ( FT_ABS( dists[index].distance - dist.distance ) in sdf_generate_bounding_box()
|
/third_party/skia/third_party/externals/freetype/src/winfonts/ |
D | winfnt.c | 286 face_index = FT_ABS( face_instance_index ) & 0xFFFF; in fnt_face_get_dll_font() 736 face_index = FT_ABS( face_instance_index ) & 0xFFFF; in FNT_Face_Init()
|
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
D | sfobjs.c | 566 face_index = FT_ABS( face_instance_index ) & 0xFFFF; in sfnt_init_face() 608 instance_index = FT_ABS( face_instance_index ) >> 16; in sfnt_init_face()
|
D | sfwoff2.c | 627 dst[x_offset++] = (FT_Byte)FT_ABS( dx ); in store_points() 640 dst[y_offset++] = (FT_Byte)FT_ABS( dy ); in store_points() 1798 face_index = FT_ABS( *face_instance_index ) & 0xFFFF; in woff2_open_font()
|
/third_party/skia/third_party/externals/freetype/src/cid/ |
D | cidload.c | 195 temp_scale = FT_ABS( temp[3] ); in cid_parse_font_matrix()
|
/third_party/skia/third_party/externals/freetype/src/type42/ |
D | t42parse.c | 263 temp_scale = FT_ABS( temp[3] ); in t42_parse_font_matrix()
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
D | ttgload.c | 129 *ah = (FT_UShort)FT_ABS( face->os2.sTypoAscender - in TT_Get_VMetrics() 136 *ah = (FT_UShort)FT_ABS( face->horizontal.Ascender - in TT_Get_VMetrics()
|