Searched refs:pointSize (Results 1 - 25 of 51) sorted by relevance

123

/external/icu4c/samples/layout/
H A DGDIFontMap.cpp18 GDIFontMap::GDIFontMap(GDISurface *surface, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status) argument
19 : FontMap(fileName, pointSize, guiSupport, status), fSurface(surface)
29 const LEFontInstance *GDIFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) argument
31 LEFontInstance *result = new GDIFontInstance(fSurface, fontName, pointSize, status);
H A DGnomeFontMap.cpp20 GnomeFontMap::GnomeFontMap(FT_Library engine, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status) argument
21 : FontMap(fileName, pointSize, guiSupport, status), fEngine(engine)
31 const LEFontInstance *GnomeFontMap::openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) argument
33 LEFontInstance *result = new GnomeFontInstance(fEngine, fontName, pointSize, status);
H A DGDIFontMap.h27 GDIFontMap(GDISurface *surface, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status);
32 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);
H A DGnomeFontMap.h27 GnomeFontMap(FT_Library engine, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status);
32 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);
H A DFontMap.h22 FontMap(const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status);
37 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status) = 0;
H A Dgnomeglue.cpp52 fm_fontMap *fm_gnomeFontMapOpen(FT_Library engine, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status) argument
54 return (fm_fontMap *) new GnomeFontMap(engine, fileName, pointSize, (GnomeGUISupport *) guiSupport, *status);
H A Dgdiglue.h30 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
H A Dgnomeglue.h31 fm_fontMap *fm_gnomeFontMapOpen(FT_Library engine, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
H A Dgdiglue.cpp56 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status) argument
58 return (fm_fontMap *) new GDIFontMap((GDISurface *) surface, fileName, pointSize, (GDIGUISupport *) guiSupport, *status);
H A DGDIFontInstance.cpp104 GDIFontInstance::GDIFontInstance(GDISurface *surface, TCHAR *faceName, le_int16 pointSize, LEErrorCode &status) argument
106 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0),
130 pt.x = (int) (pointSize * dpiX / 72);
131 pt.y = (int) (pointSize * dpiY / 72);
135 pt.x = pt.y = pointSize;
189 GDIFontInstance::GDIFontInstance(GDISurface *surface, const char *faceName, le_int16 pointSize, LEErrorCode &status) argument
191 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0),
218 pt.x = (int) (pointSize * fDeviceScaleX);
219 pt.y = (int) (pointSize * fDeviceScaleY);
223 pt.x = pt.y = pointSize;
[all...]
H A DGnomeFontInstance.cpp49 GnomeFontInstance::GnomeFontInstance(FT_Library engine, const char *fontPathName, le_int16 pointSize, LEErrorCode &status) argument
50 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0),
70 error = FT_Set_Char_Size(fFace, 0, pointSize << 6, 92, 92);
H A DGDIFontInstance.h73 GDIFontInstance(GDISurface *surface, TCHAR *faceName, le_int16 pointSize, LEErrorCode &status);
74 GDIFontInstance(GDISurface *surface, const char *faceName, le_int16 pointSize, LEErrorCode &status);
75 //GDIFontInstance(GDISurface *surface, le_int16 pointSize);
/external/icu4c/test/letest/
H A Dcfonts.h14 float pointSize,
17 le_font *le_simpleFontOpen(float pointSize,
H A Dcfonts.cpp15 float pointSize,
18 return (le_font *) new PortableFontInstance(fileName, pointSize, *status);
21 le_font *le_simpleFontOpen(float pointSize, argument
24 return (le_font *) new SimpleFontInstance(pointSize, *status);
14 le_portableFontOpen(const char *fileName, float pointSize, LEErrorCode *status) argument
H A DSimpleFontInstance.cpp23 SimpleFontInstance::SimpleFontInstance(float pointSize, LEErrorCode &status) argument
24 : fPointSize(pointSize), fAscent(0), fDescent(0)
H A DSimpleFontInstance.h33 SimpleFontInstance(float pointSize, LEErrorCode &status);
/external/webkit/Source/WebCore/platform/graphics/win/
H A DSimpleFontDataCGWin.cpp67 float pointSize = m_platformData.size(); local
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); local
110 m_fontMetrics.setXHeight(scaleEmToUnits(iXHeight, unitsPerEm) * pointSize);
132 float pointSize = m_platformData.size(); local
133 CGFloat scale = pointSize / fontMetrics().unitsPerEm();
147 float pointSize = m_platformData.size(); local
149 CGAffineTransform m = CGAffineTransformMakeScale(pointSize, pointSiz
[all...]
/external/skia/gm/
H A Dlcdtext.cpp21 const int pointSize = 36; local
22 textHeight = SkIntToScalar(pointSize);
H A Dverttext2.cpp22 const int pointSize = 24; local
23 textHeight = SkIntToScalar(pointSize);
H A Dshadertext.cpp127 const int pointSize = 36; local
129 int w = pointSize * textLen;
130 int h = pointSize;
170 paint.setTextSize(SkIntToScalar(pointSize));
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
H A Dfontprops.mm72 float pointSize = font->GetPointSize();
73 float fAscent = scaleEmToUnits(iAscent, unitsPerEm) * pointSize;
74 float fDescent = -scaleEmToUnits(iDescent, unitsPerEm) * pointSize;
75 float fLineGap = scaleEmToUnits(iLineGap, unitsPerEm) * pointSize;
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DSimpleFontDataMac.mm213 m_platformData.setFont([NSFont systemFontOfSize:[m_platformData.font() pointSize]]);
231 float pointSize = m_platformData.m_size;
232 float ascent = scaleEmToUnits(iAscent, unitsPerEm) * pointSize;
233 float descent = -scaleEmToUnits(iDescent, unitsPerEm) * pointSize;
234 float lineGap = scaleEmToUnits(iLineGap, unitsPerEm) * pointSize;
287 xHeight = scaleEmToUnits(CGFontGetXHeight(m_platformData.cgFont()), unitsPerEm) * pointSize;
475 float pointSize = platformData().m_size;
476 CGAffineTransform m = CGAffineTransformMakeScale(pointSize, pointSize);
478 LOG_ERROR("Unable to cache glyph widths for %@ %f", [font displayName], pointSize);
[all...]
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DSimpleFontDataWx.cpp151 float pointSize = m_platformData.size();
152 CGAffineTransform m = CGAffineTransformMakeScale(pointSize, pointSize);
156 // LOG_ERROR("Unable to cache glyph widths for %@ %f", [nsfont displayName], pointSize);
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
H A DRenderContext.java111 public float pointSize = 1; field in class:RenderContext
283 pointSize = 1;
/external/skia/samplecode/
H A DSampleShaderText.cpp128 static int pointSize = 36; local
130 int w = pointSize * textLen;
131 int h = pointSize;
171 paint.setTextSize(SkIntToScalar(pointSize));

Completed in 519 milliseconds

123