HomeSort by relevance Sort by last modified time
    Searched refs:cgFont (Results 1 - 15 of 15) sorted by null

  /external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
fontprops.mm 49 CGFontRef cgFont;
52 cgFont = CTFontCopyGraphicsFont((CTFontRef)font->OSXGetCTFont(), NULL);
59 cgFont = CGFontCreateWithPlatformFont((void*)&fontRef);
62 if (cgFont) {
68 wkGetFontMetrics(cgFont, &iAscent, &iDescent, &iLineGap, &unitsPerEm);
70 iAscent = CGFontGetAscent(cgFont);
71 iDescent = CGFontGetDescent(cgFont);
72 iLineGap = CGFontGetLeading(cgFont);
73 unitsPerEm = CGFontGetUnitsPerEm(cgFont);
90 if (cgFont)
    [all...]
non-kerned-drawing.cpp 63 CGFontRef cgFont;
66 cgFont = CTFontCopyGraphicsFont((CTFontRef)wxfont->OSXGetCTFont(), NULL);
73 cgFont = CGFontCreateWithPlatformFont((void*)&fontRef);
76 CGContextSetFont(cgContext, cgFont);
104 CGFontGetGlyphsForUnichars(cgFont, glyphBuffer.glyphs(from), glyphs, numGlyphs);
113 if (cgFont)
114 CGFontRelease(cgFont);
  /external/webkit/WebCore/platform/graphics/mac/
FontCustomPlatformData.h 28 typedef struct CGFont* CGFontRef;
38 FontCustomPlatformData(ATSFontContainerRef container, ATSFontRef atsFont, CGFontRef cgFont)
39 : m_atsContainer(container), m_atsFont(atsFont), m_cgFont(cgFont)
FontPlatformData.h 35 typedef struct CGFont* CGFontRef;
69 FontPlatformData(CGFontRef cgFont, ATSUFontID fontID, float size, bool syntheticBold, bool syntheticOblique)
75 , m_cgFont(cgFont)
118 CGFontRef cgFont() const { return m_cgFont.get(); }
120 CGFontRef cgFont() const { return m_cgFont; }
GlyphPageTreeNodeMac.cpp 44 wkGetGlyphsForCharacters(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength);
SimpleFontDataMac.mm 62 if (!fontData->platformData().cgFont())
221 wkGetFontMetrics(m_platformData.cgFont(), &iAscent, &iDescent, &iLineGap, &m_unitsPerEm);
223 iAscent = CGFontGetAscent(m_platformData.cgFont());
224 iDescent = CGFontGetDescent(m_platformData.cgFont());
225 iLineGap = CGFontGetLeading(m_platformData.cgFont());
226 m_unitsPerEm = CGFontGetUnitsPerEm(m_platformData.cgFont());
399 if (!wkGetGlyphTransformedAdvances(m_platformData.cgFont(), font, &m, &glyph, &advance)) {
443 m_CTFont.adoptCF(CTFontCreateWithGraphicsFont(m_platformData.cgFont(), m_platformData.size(), NULL, NULL));
FontPlatformDataMac.mm 114 RetainPtr<CFStringRef> cgFontDescription(AdoptCF, CFCopyDescription(cgFont()));
FontMac.mm 98 CGContextSetFont(cgContext, platformData.cgFont());
  /external/webkit/WebCore/platform/graphics/win/
FontCustomPlatformData.h 28 typedef struct CGFont* CGFontRef;
36 FontCustomPlatformData(CGFontRef cgFont, HANDLE fontReference, const String& name)
37 : m_cgFont(cgFont)
GlyphPageTreeNodeCGWin.cpp 46 wkGetGlyphs(fontData->platformData().cgFont(), buffer, localGlyphBuffer, bufferLength);
FontCustomPlatformData.cpp 92 RetainPtr<CGFontRef> cgFont(AdoptCF, CGFontCreateWithPlatformFont(&logFont));
93 return FontPlatformData(hfont, cgFont.get(), size, bold, italic, renderingMode == AlternateRenderingMode);
199 RetainPtr<CGFontRef> cgFont;
204 cgFont.adoptCF(CGFontCreateWithDataProvider(dataProvider.get()));
205 if (!cgFont)
239 return new FontCustomPlatformData(cgFont.releaseRef(), fontReference, fontName);
SimpleFontDataCGWin.cpp 63 CGFontRef font = m_platformData.cgFont();
134 CGFontRef font = m_platformData.cgFont();
FontPlatformData.h 37 typedef struct CGFont* CGFontRef;
79 CGFontRef cgFont() const { return m_cgFont.get(); }
FontCGWin.cpp 336 CGContextSetFont(cgContext, platformData.cgFont());
FontCacheWin.cpp 517 // This masks rounding errors related to the HFONT metrics being different from the CGFont metrics.
544 bool fontCreationFailed = !result->cgFont();

Completed in 96 milliseconds