Name Description Size
SkCFObject.h Wrapper class for managing lifetime of CoreFoundation objects. It will call CFRetain and CFRelease appropriately on creation, assignment, and deletion. Based on sk_sp<>. 5326
SkFontConfigInterface.h \class SkFontConfigInterface A simple interface for remotable font management. The global instance can be found with RefGlobal(). 4076
SkFontMgr_android.h When specifying custom fonts, indicates how to use system fonts. 1490
SkFontMgr_data.h Create a custom font manager which wraps a collection of SkData-stored fonts. This font manager uses FreeType for rendering. 606
SkFontMgr_directory.h Create a custom font manager which scans a given directory for font files. This font manager uses FreeType for rendering. 552
SkFontMgr_empty.h Create a custom font manager that contains no built-in fonts. This font manager uses FreeType for rendering. 508
SkFontMgr_fontconfig.h Create a font manager around a FontConfig instance. If 'fc' is NULL, will use a new default config. Takes ownership of 'fc' and will call FcConfigDestroy on it. 598
SkFontMgr_FontConfigInterface.h Creates a SkFontMgr which wraps a SkFontConfigInterface. 553
SkFontMgr_fuchsia.h 432
SkFontMgr_indirect.h This cache is essentially { dataId: { ttcIndex: typeface } } For data caching we want a mapping from data id to weak references to typefaces with that data id. By storing the index next to the typeface, this data cache also acts as a typeface cache. 3695
SkFontMgr_mac_ct.h Create a font manager for CoreText. If the collection is nullptr the system default will be used. 664
SkImageGeneratorCG.h 541
SkImageGeneratorNDK.h Create a generator that uses the Android NDK's APIs for decoding images. Only supported on devices where __ANDROID_API__ >= 30. As with SkCodec, the SkColorSpace passed to getPixels() determines the type of color space transformations to apply. A null SkColorSpace means to apply none. A note on scaling: Calling getPixels() on the resulting SkImageGenerator with dimensions that do not match getInfo() requests a scale. For WebP files, dimensions smaller than those of getInfo are supported. For Jpeg files, dimensions of 1/2, 1/4, and 1/8 are supported. TODO: Provide an API like SkCodecImageGenerator::getScaledDimensions() to report which dimensions are supported? 1286
SkImageGeneratorWIC.h Any Windows program that uses COM must initialize the COM library by calling the CoInitializeEx function. In addition, each thread that uses a COM interface must make a separate call to this function. For every successful call to CoInitializeEx, the thread must call CoUninitialize before it exits. SkImageGeneratorWIC requires the COM library and leaves it to the client to initialize COM for their application. For more information on initializing COM, please see: https://msdn.microsoft.com/en-us/library/windows/desktop/ff485844.aspx 1027
SkRemotableFontMgr.h Returns all of the fonts with the given familyIndex. Returns NULL if the index is out of bounds. Returns empty if there are no fonts at the given index. The caller must unref() the returned object. 5287
SkTypeface_cairo.h 471
SkTypeface_mac.h Like the other Typeface make methods, this returns a new reference to the corresponding typeface for the specified CTFontRef. 1305
SkTypeface_win.h Like the other Typeface create methods, this returns a new reference to the corresponding typeface for the specified logfont. The caller is responsible for calling unref() when it is finished. 3428