Home
last modified time | relevance | path

Searched refs:CTFontRef (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/base/mac/
Dfoundation_util.mm313 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/
DSkTypeface_mac.h34 SK_API extern SkTypeface* SkCreateTypefaceFromCTFont(CTFontRef, CFTypeRef = NULL);
46 SK_API extern CTFontRef SkTypeface_GetCTFontRef(const SkTypeface* face);
/external/skia/src/ports/
DSkFontHost_mac.cpp415 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/
Dhb-coretext.cc140 static CTFontRef
143 CTFontRef ct_font = CTFontCreateWithGraphicsFont (cg_font, font_size, NULL, NULL); in create_ct_font()
153CTFontRef 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;
886CTFontRef run_ct_font = static_cast<CTFontRef>(CFDictionaryGetValue (attributes, kCTFontAttributeN… in _hb_coretext_shape()
Dhb-coretext.h54 HB_EXTERN CTFontRef
/external/clang/test/SemaObjC/
Darc-bridged-cast.m85 typedef const struct __attribute__((objc_bridge(UIFont))) __CTFont * CTFontRef; typedef
87 id testObjCBridgeUnknownTypeToId(CTFontRef font) {
/external/skia/src/core/
DSkAdvancedTypefaceMetrics.cpp280 CTFontRef ctFont,
284 bool (*getAdvance)(CTFontRef ctFont, int gId, int16_t* data));
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp510 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/
Dconfigure.ac394 …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/
Dfpdf_parser.h135 CPDF_Font* AddMacFont(CTFontRef pFont,