Lines Matching defs:const
44 void const* fontFileReferenceKey,
92 void const* fontFileReferenceKey,
208 void const* collectionKey,
256 void const* collectionKey,
276 bool HasBitmapStrikes(const SkTScopedComPtr<IDWriteFont>& font) {
291 HRESULT FirstMatchingFontWithoutSimulations(const SkTScopedComPtr<IDWriteFontFamily>& family,
335 const WCHAR* localeName, int localeNameLength,
336 const WCHAR* defaultFamilyName, int defaultFamilyNameLength)
348 int onCountFamilies() const override;
349 void onGetFamilyName(int index, SkString* familyName) const override;
350 SkFontStyleSet* onCreateStyleSet(int index) const override;
351 SkFontStyleSet* onMatchFamily(const char familyName[]) const override;
352 SkTypeface* onMatchFamilyStyle(const char familyName[],
353 const SkFontStyle& fontstyle) const override;
354 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
355 const char* bcp47[], int bcp47Count,
356 SkUnichar character) const override;
357 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int ttcIndex) const override;
358 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) const override;
359 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int ttcIndex) const override;
360 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override;
361 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override;
364 HRESULT getByFamilyName(const WCHAR familyName[], IDWriteFontFamily** fontFamily) const;
365 sk_sp<SkTypeface> fallback(const WCHAR* dwFamilyName, DWriteStyle,
366 const WCHAR* dwBcp47, UINT32 character) const;
367 sk_sp<SkTypeface> layoutFallback(const WCHAR* dwFamilyName, DWriteStyle,
368 const WCHAR* dwBcp47, UINT32 character) const;
373 IDWriteFontFamily* fontFamily) const;
389 SkFontStyleSet_DirectWrite(const SkFontMgr_DirectWrite* fontMgr,
398 SkTypeface* matchStyle(const SkFontStyle& pattern) override;
401 sk_sp<const SkFontMgr_DirectWrite> fFontMgr;
473 const void* cshRefKey;
475 const void* ctxRefKey;
529 IDWriteFontFamily* fontFamily) const {
542 int SkFontMgr_DirectWrite::onCountFamilies() const {
546 void SkFontMgr_DirectWrite::onGetFamilyName(int index, SkString* familyName) const {
556 SkFontStyleSet* SkFontMgr_DirectWrite::onCreateStyleSet(int index) const {
563 SkFontStyleSet* SkFontMgr_DirectWrite::onMatchFamily(const char familyName[]) const {
582 SkTypeface* SkFontMgr_DirectWrite::onMatchFamilyStyle(const char familyName[],
583 const SkFontStyle& fontstyle) const {
590 FontFallbackRenderer(const SkFontMgr_DirectWrite* outer, UINT32 character)
595 SK_STDMETHODIMP QueryInterface(IID const& riid, void** ppvObject) override {
626 DWRITE_GLYPH_RUN const* glyphRun,
627 DWRITE_GLYPH_RUN_DESCRIPTION const* glyphRunDescription,
661 DWRITE_UNDERLINE const* underline,
669 DWRITE_STRIKETHROUGH const* strikethrough,
696 const DWRITE_MATRIX ident = { 1.0, 0.0, 0.0, 1.0, 0.0, 0.0 };
717 sk_sp<const SkFontMgr_DirectWrite> fOuter;
725 FontFallbackSource(const WCHAR* string, UINT32 length, const WCHAR* locale,
735 SK_STDMETHODIMP QueryInterface(IID const& riid, void** ppvObject) override {
762 WCHAR const** textString,
777 WCHAR const** textString,
798 WCHAR const** localeName) override
817 const WCHAR* fString;
819 const WCHAR* fLocale;
823 SkTypeface* SkFontMgr_DirectWrite::onMatchFamilyStyleCharacter(const char familyName[],
824 const SkFontStyle& style,
825 const char* bcp47[], int bcp47Count,
826 SkUnichar character) const {
829 const WCHAR* dwFamilyName = nullptr;
836 const SkSMallocWCHAR* dwBcp47;
856 sk_sp<SkTypeface> SkFontMgr_DirectWrite::fallback(const WCHAR* dwFamilyName,
858 const WCHAR* dwBcp47,
859 UINT32 character) const {
924 sk_sp<SkTypeface> SkFontMgr_DirectWrite::layoutFallback(const WCHAR* dwFamilyName,
926 const WCHAR* dwBcp47,
927 UINT32 character) const
990 SkAutoIDWriteUnregister(const SkAutoIDWriteUnregister&) = delete;
991 SkAutoIDWriteUnregister& operator=(const SkAutoIDWriteUnregister&) = delete;
1021 int ttcIndex) const {
1028 const SkFontArguments& args)
1048 const SkFontArguments::VariationPosition::Coordinate& argsCoordinate =
1067 const SkFontArguments& args) const {
1123 sk_sp<SkTypeface> SkFontMgr_DirectWrite::onMakeFromData(sk_sp<SkData> data, int ttcIndex) const {
1127 sk_sp<SkTypeface> SkFontMgr_DirectWrite::onMakeFromFile(const char path[], int ttcIndex) const {
1131 HRESULT SkFontMgr_DirectWrite::getByFamilyName(const WCHAR wideFamilyName[],
1132 IDWriteFontFamily** fontFamily) const {
1143 sk_sp<SkTypeface> SkFontMgr_DirectWrite::onLegacyMakeTypeface(const char familyName[],
1144 SkFontStyle style) const {
1216 SkTypeface* SkFontStyleSet_DirectWrite::matchStyle(const SkFontStyle& pattern) {
1270 const WCHAR* defaultFamilyName = L"";
1285 const WCHAR* localeName = L"";