Home
last modified time | relevance | path

Searched refs:cf2_intToFixed (Results 1 – 8 of 8) sorted by relevance

/external/freetype/src/psaux/
Dpsfont.c160 scaledStem = cf2_intToFixed( x4 ); in cf2_computeDarkening()
166 if ( scaledStem < cf2_intToFixed( x1 ) ) in cf2_computeDarkening()
167 *darkenAmount = FT_DivFix( cf2_intToFixed( y1 ), ppem ); in cf2_computeDarkening()
169 else if ( scaledStem < cf2_intToFixed( x2 ) ) in cf2_computeDarkening()
174 FT_DivFix( cf2_intToFixed( x1 ), ppem ); in cf2_computeDarkening()
181 FT_DivFix( cf2_intToFixed( y1 ), ppem ); in cf2_computeDarkening()
184 else if ( scaledStem < cf2_intToFixed( x3 ) ) in cf2_computeDarkening()
191 FT_DivFix( cf2_intToFixed( x2 ), ppem ); in cf2_computeDarkening()
198 FT_DivFix( cf2_intToFixed( y2 ), ppem ); in cf2_computeDarkening()
202 else if ( scaledStem < cf2_intToFixed( x4 ) ) in cf2_computeDarkening()
[all …]
Dpsblues.c62 #define cf2_blueToFixed( x ) cf2_intToFixed( x )
131 emBoxBottom = cf2_intToFixed( descender ); in cf2_blues_init()
132 emBoxTop = cf2_intToFixed( ascender ); in cf2_blues_init()
279 csUnitsPerPixel = FT_DivFix( cf2_intToFixed( 1 ), blues->scale ); in cf2_blues_init()
366 if ( blues->blueScale > FT_DivFix( cf2_intToFixed( 1 ), in cf2_blues_init()
370 blues->blueScale = FT_DivFix( cf2_intToFixed( 1 ), in cf2_blues_init()
509 blues->zone[i].dsFlatEdge - cf2_intToFixed( 1 ) ); in cf2_blues_capture()
544 blues->zone[i].dsFlatEdge + cf2_intToFixed( 1 ) ); in cf2_blues_capture()
Dpsstack.c167 return cf2_intToFixed( 0 ); /* underflow */ in cf2_stack_popFixed()
175 return cf2_intToFixed( stack->top->u.i ); in cf2_stack_popFixed()
195 return cf2_intToFixed( 0 ); /* bounds error */ in cf2_stack_getReal()
201 return cf2_intToFixed( stack->buffer[idx].u.i ); in cf2_stack_getReal()
Dpsft.c55 #define CF2_MAX_SIZE cf2_intToFixed( 2000 ) /* max ppem */
82 maxScale = FT_DivFix( CF2_MAX_SIZE, cf2_intToFixed( unitsPerEm ) ); in cf2_checkTransform()
519 return cf2_intToFixed( in cf2_getPpemY()
532 return cf2_intToFixed( in cf2_getStdVW()
542 return cf2_intToFixed( in cf2_getStdHW()
558 cf2_intToFixed( 1000 ) ); in cf2_getBlueMetrics()
559 *blueShift = cf2_intToFixed( in cf2_getBlueMetrics()
561 *blueFuzz = cf2_intToFixed( in cf2_getBlueMetrics()
854 return cf2_intToFixed( in cf2_getDefaultWidthX()
864 return cf2_intToFixed( in cf2_getNominalWidthX()
Dpsblues.h105 CF2_ICF_Top = cf2_intToFixed( 880 ),
106 CF2_ICF_Bottom = cf2_intToFixed( -120 )
Dpsfixed.h60 #define cf2_intToFixed( i ) \ macro
Dpshints.c110 if ( width == cf2_intToFixed( -21 ) ) in cf2_hint_init()
123 else if ( width == cf2_intToFixed( -20 ) ) in cf2_hint_init()
436 : cf2_intToFixed( 1 ) - fracDown; in cf2_hintmap_adjustHints()
439 : cf2_intToFixed( 1 ) - fracUp; in cf2_hintmap_adjustHints()
/external/freetype/
DChangeLog.24139 * src/cff/cf2fixed.h (cf2_intToFixed, cf2_fixedToInt,