OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:unitsPerEm
(Results
1 - 16
of
16
) sorted by null
/external/harfbuzz_ng/src/
hb-ot-head-table.hh
49
unsigned int upem =
unitsPerEm
;
113
USHORT
unitsPerEm
; /* Valid range is from 16 to 16384. This value
/external/webkit/Source/WebCore/platform/graphics/win/
SimpleFontDataCGWin.cpp
50
static inline float scaleEmToUnits(float x, unsigned
unitsPerEm
) { return
unitsPerEm
? x / static_cast<float>(
unitsPerEm
) : x; }
66
unsigned
unitsPerEm
= CGFontGetUnitsPerEm(font);
68
float fAscent = scaleEmToUnits(iAscent,
unitsPerEm
) * pointSize;
69
float fDescent = -scaleEmToUnits(iDescent,
unitsPerEm
) * pointSize;
70
float fLineGap = scaleEmToUnits(iLineGap,
unitsPerEm
) * pointSize;
107
m_fontMetrics.setXHeight(scaleEmToUnits(CGRectGetMaxY(xBox),
unitsPerEm
) * pointSize);
110
m_fontMetrics.setXHeight(scaleEmToUnits(iXHeight,
unitsPerEm
) * pointSize);
113
m_fontMetrics.setUnitsPerEm(
unitsPerEm
);
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/
FontMetrics.h
41
unsigned
unitsPerEm
() const { return m_unitsPerEm; }
42
void setUnitsPerEm(unsigned
unitsPerEm
) { m_unitsPerEm =
unitsPerEm
; }
SimpleFontData.cpp
78
unsigned
unitsPerEm
= svgFontFaceElement->
unitsPerEm
();
81
if (
unitsPerEm
)
82
scale /=
unitsPerEm
;
97
m_fontMetrics.setUnitsPerEm(
unitsPerEm
);
/external/webkit/Source/WebCore/svg/
SVGFontFaceElement.cpp
124
unsigned SVGFontFaceElement::
unitsPerEm
() const
228
return static_cast<int>(
unitsPerEm
()) - static_cast<int>(ceilf(vertOriginY.toFloat()));
232
return static_cast<int>(ceilf(
unitsPerEm
() * 0.8f));
256
return static_cast<int>(ceilf(
unitsPerEm
() * 0.2f));
/external/skia/src/sfnt/
SkOTTable_head.h
75
SK_OT_USHORT
unitsPerEm
;
/external/icu4c/samples/layout/
sfnt.h
153
le_uint16
unitsPerEm
;
/external/icu4c/test/letest/
FontObject.h
116
le_uint16
unitsPerEm
;
sfnt.h
282
le_uint16
unitsPerEm
;
/external/webkit/Source/WebCore/rendering/
RenderTextControl.cpp
560
// This matches the
unitsPerEm
value for MS Shell Dlg and Courier New from the "head" font table.
561
float
unitsPerEm
= 2048.0f;
562
return roundf(style()->font().size() * x /
unitsPerEm
);
/external/harfbuzz_ng/src/hb-icu-le/
sfnt.h
285
le_uint16
unitsPerEm
;
/external/skia/src/ports/
SkFontHost_FreeType.cpp
705
uint16_t
unitsPerEm
= 0;
708
unitsPerEm
= rec->fFace->units_per_EM;
712
return (uint32_t)
unitsPerEm
;
[
all
...]
SkFontHost_mac_coretext.cpp
285
int
unitsPerEm
= CGFontGetUnitsPerEm(cgFont);
286
return SkScalarInvert(SkIntToScalar(
unitsPerEm
));
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/opentype/
OpenTypeUtilities.cpp
133
BigEndianUShort
unitsPerEm
;
/external/skia/legacy/src/ports/
SkFontHost_FreeType.cpp
707
uint16_t
unitsPerEm
= 0;
710
unitsPerEm
= rec->fFace->units_per_EM;
714
return (uint32_t)
unitsPerEm
;
[
all
...]
SkFontHost_mac_coretext.cpp
262
int
unitsPerEm
= CGFontGetUnitsPerEm(cgFont);
263
return SkScalarInvert(SkIntToScalar(
unitsPerEm
));
[
all
...]
Completed in 976 milliseconds