Searched refs:CTFontRef (Results 1 – 10 of 10) sorted by relevance
/external/libchrome/base/mac/ |
D | foundation_util.mm | 313 NSFont* CFToNSCast(CTFontRef cf_val) { 323 CTFontRef NSToCFCast(NSFont* ns_val) { 324 CTFontRef cf_val = reinterpret_cast<CTFontRef>(ns_val); 378 template<> CTFontRef 379 CFCast<CTFontRef>(const CFTypeRef& cf_val) { 384 return (CTFontRef)(cf_val); 392 return (CTFontRef)(cf_val); 397 template<> CTFontRef 398 CFCastStrict<CTFontRef>(const CFTypeRef& cf_val) { 399 CTFontRef rv = CFCast<CTFontRef>(cf_val);
|
/external/skia/include/ports/ |
D | SkTypeface_mac.h | 34 SK_API extern SkTypeface* SkCreateTypefaceFromCTFont(CTFontRef, CFTypeRef = NULL); 46 SK_API extern CTFontRef SkTypeface_GetCTFontRef(const SkTypeface* face);
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 415 static SkTypeface::Style computeStyleBits(CTFontRef font, bool* isFixedPitch) { in computeStyleBits() 443 SkTypeface_Mac(CTFontRef fontRef, CFTypeRef resourceRef, in SkTypeface_Mac() 457 AutoCFRelease<CTFontRef> fFontRef; 487 static SkTypeface* NewFromFontRef(CTFontRef fontRef, CFTypeRef resourceRef, in NewFromFontRef() 498 CTFontRef self = (CTFontRef)context; in find_by_CTFontRef() 499 CTFontRef other = ((SkTypeface_Mac*)cached)->fFontRef; in find_by_CTFontRef() 547 AutoCFRelease<CTFontRef> ctFont(CTFontCreateWithFontDescriptor(ctFontDesc, 0, nullptr)); in NewFromName() 575 extern CTFontRef SkTypeface_GetCTFontRef(const SkTypeface* face); 576 CTFontRef SkTypeface_GetCTFontRef(const SkTypeface* face) { in SkTypeface_GetCTFontRef() 584 SkTypeface* SkCreateTypefaceFromCTFont(CTFontRef fontRef, CFTypeRef resourceRef) { in SkCreateTypefaceFromCTFont() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-coretext.cc | 140 static CTFontRef 143 CTFontRef ct_font = CTFontCreateWithGraphicsFont (cg_font, font_size, NULL, NULL); in create_ct_font() 153 …CTFontRef new_ct_font = CTFontCreateCopyWithAttributes (ct_font, 0.0, NULL, last_resort_font_desc); in create_ct_font() 169 CTFontRef ct_font; 263 CTFontRef 310 CTFontRef font; 886 …CTFontRef run_ct_font = static_cast<CTFontRef>(CFDictionaryGetValue (attributes, kCTFontAttributeN… in _hb_coretext_shape()
|
D | hb-coretext.h | 54 HB_EXTERN CTFontRef
|
/external/clang/test/SemaObjC/ |
D | arc-bridged-cast.m | 85 typedef const struct __attribute__((objc_bridge(UIFont))) __CTFont * CTFontRef; typedef 87 id testObjCBridgeUnknownTypeToId(CTFontRef font) {
|
/external/skia/src/core/ |
D | SkAdvancedTypefaceMetrics.cpp | 280 CTFontRef ctFont, 284 bool (*getAdvance)(CTFontRef ctFont, int gId, int16_t* data));
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_doc.cpp | 510 void FX_GetCharWidth(CTFontRef font, UniChar start, UniChar end, int* width) { in FX_GetCharWidth() 523 static void _InsertWidthArray(CTFontRef font, in _InsertWidthArray() 548 CPDF_Font* CPDF_Document::AddMacFont(CTFontRef pFont, in AddMacFont() 551 CTFontRef font = (CTFontRef)pFont; in AddMacFont()
|
/external/harfbuzz_ng/ |
D | configure.ac | 394 …AC_CHECK_TYPE(CTFontRef, have_coretext=true,, [#include <ApplicationServices/ApplicationServices.h… 404 AC_CHECK_TYPE(CTFontRef, have_coretext=true,, [#include <CoreText/CoreText.h>])
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_parser.h | 135 CPDF_Font* AddMacFont(CTFontRef pFont,
|