Searched refs:newFont (Results 1 – 6 of 6) sorted by relevance
/external/skia/tests/ |
D | FontMgrTest.cpp | 37 SkAutoTUnref<SkFont> newFont(font->cloneWithSize(36)); in test_font() local 38 REPORTER_ASSERT(reporter, newFont.get()); in test_font() 39 REPORTER_ASSERT(reporter, font->getTypeface() == newFont->getTypeface()); in test_font() 40 REPORTER_ASSERT(reporter, 36 == newFont->getSize()); // double check we haven't changed in test_font()
|
/external/chromium_org/third_party/skia/tests/ |
D | FontMgrTest.cpp | 37 SkAutoTUnref<SkFont> newFont(font->cloneWithSize(36)); in test_font() local 38 REPORTER_ASSERT(reporter, newFont.get()); in test_font() 39 REPORTER_ASSERT(reporter, font->getTypeface() == newFont->getTypeface()); in test_font() 40 REPORTER_ASSERT(reporter, 36 == newFont->getSize()); // double check we haven't changed in test_font()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/ |
D | FontPlatformDataCocoa.mm | 274 …RetainPtr<CTFontRef> newFont(AdoptCF, CTFontCreateWithFontDescriptor(newDescriptor.get(), m_size, … 276 if (newFont) 277 m_CTFont = newFont;
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
D | CanvasRenderingContext2D.cpp | 1912 void CanvasRenderingContext2D::setFont(const String& newFont) in setFont() argument 1918 MutableStylePropertyMap::iterator i = m_fetchedFonts.find(newFont); in setFont() 1924 BisonCSSParser::parseValue(parsedStyle.get(), CSSPropertyFont, newFont, true, mode, 0); in setFont() 1925 m_fetchedFonts.add(newFont, parsedStyle); in setFont() 1938 …String newFontSafeCopy(newFont); // Create a string copy since newFont can be deleted inside reali… in setFont()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 2154 SkAutoTUnref<SkPDFFont> newFont(SkPDFFont::GetFontResource(typeface, in getFontResourceIndex() local 2156 int resourceIndex = fFontResources.find(newFont.get()); in getFontResourceIndex() 2159 fFontResources.push(newFont.get()); in getFontResourceIndex() 2160 newFont.get()->ref(); in getFontResourceIndex()
|
/external/chromium_org/third_party/skia/src/pdf/ |
D | SkPDFDevice.cpp | 2154 SkAutoTUnref<SkPDFFont> newFont(SkPDFFont::GetFontResource(typeface, in getFontResourceIndex() local 2156 int resourceIndex = fFontResources.find(newFont.get()); in getFontResourceIndex() 2159 fFontResources.push(newFont.get()); in getFontResourceIndex() 2160 newFont.get()->ref(); in getFontResourceIndex()
|