Home
last modified time | relevance | path

Searched refs:HRNM (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/src/ports/
DSkFontMgr_win_dw.cpp558 HRNM(fFontCollection->GetFontFamily(index, &fontFamily), "Could not get requested family."); in onCreateStyleSet()
573 HRNM(fFontCollection->FindFamilyName(dwFamilyName.get(), &index, &exists), in onMatchFamily()
868 HRNM(fFactory->CreateNumberSubstitution(DWRITE_NUMBER_SUBSTITUTION_METHOD_NONE, dwBcp47, in fallback()
881 HRNM(fFontFallback->MapCharacters(fontFallbackSource.get(), in fallback()
917 HRNM(font->CreateFontFace(&fontFace), "Could not get font face from font."); in fallback()
920 HRNM(font->GetFontFamily(&fontFamily), "Could not get family from font."); in fallback()
936 HRNM(fFactory->CreateTextFormat(dwFamilyName ? dwFamilyName : L"", in layoutFallback()
949 HRNM(fFactory->CreateTextLayout( in layoutFallback()
956 HRNM(fallbackLayout->SetFontCollection(fFontCollection.get(), {0, strLen}), in layoutFallback()
958 HRNM(fallbackLayout->Draw(nullptr, fontFallbackRenderer.get(), 50.0f, 50.0f), in layoutFallback()
[all …]
DSkRemotableFontMgr_win_dw.cpp128 HRNM(fFontCollection->GetFontFamily(familyIndex, &fontFamily), in getIndex()
137 HRNM(fontFamily->GetFont(fontIndex, &font), "Could not get font."); in getIndex()
428 HRNM(id.fLoader->QueryInterface(&loader), "QuerryInterface IDWriteFontFileLoader failed"); in getData()
431 HRNM(loader->CreateStreamFromKey(id.fKey, id.fKeySize, &fontFileStream), in getData()
451 HRNM(factory->GetSystemFontCollection(&sysFontCollection, FALSE), in SkRemotableFontMgr_New_DirectWrite()
DSkTypeface_win_dw.cpp152 HRNM(fDWriteFontFamily->GetFamilyNames(&familyNames), "Could not obtain family names."); in onCreateFamilyNameIterator()
368 HRNM(fDWriteFontFace->GetFiles(&numFiles, nullptr), in onOpenStream()
375 HRNM(fDWriteFontFace->GetFiles(&numFiles, &fontFile), "Could not get font files."); in onOpenStream()
379 HRNM(fontFile->GetReferenceKey(&fontFileKey, &fontFileKeySize), in onOpenStream()
383 HRNM(fontFile->GetLoader(&fontFileLoader), "Could not get font file loader."); in onOpenStream()
386 HRNM(fontFileLoader->CreateStreamFromKey(fontFileKey, fontFileKeySize, in onOpenStream()
DSkScalerContext_win_dw.cpp1012 HRNM(this->getDWriteTypeface()->fFactory2->CreateGlyphRunAnalysis(&run, in drawDWMask()
1023 HRNM(this->getDWriteTypeface()->fFactory->CreateGlyphRunAnalysis(&run, in drawDWMask()
1043 HRNM(glyphRunAnalysis->CreateAlphaTexture(textureType, in drawDWMask()
/third_party/flutter/skia/src/ports/
DSkFontMgr_win_dw.cpp487 HRNM(fFontCollection->GetFontFamily(index, &fontFamily), "Could not get requested family."); in onCreateStyleSet()
502 HRNM(fFontCollection->FindFamilyName(dwFamilyName.get(), &index, &exists), in onMatchFamily()
794 HRNM(fFactory->CreateNumberSubstitution(DWRITE_NUMBER_SUBSTITUTION_METHOD_NONE, dwBcp47, in fallback()
803 HRNM(fFontFallback->MapCharacters(fontFallbackSource.get(), in fallback()
820 HRNM(font->CreateFontFace(&fontFace), "Could not get font face from font."); in fallback()
823 HRNM(font->GetFontFamily(&fontFamily), "Could not get family from font."); in fallback()
836 HRNM(fFactory->CreateTextFormat(dwFamilyName ? dwFamilyName : L"", in layoutFallback()
849 HRNM(fFactory->CreateTextLayout(str, strLen, fallbackFormat.get(), in layoutFallback()
857 HRNM(fallbackLayout->SetFontCollection(fFontCollection.get(), { 0, strLen }), in layoutFallback()
859 HRNM(fallbackLayout->Draw(nullptr, fontFallbackRenderer.get(), 50.0f, 50.0f), in layoutFallback()
[all …]
DSkRemotableFontMgr_win_dw.cpp128 HRNM(fFontCollection->GetFontFamily(familyIndex, &fontFamily), in getIndex()
137 HRNM(fontFamily->GetFont(fontIndex, &font), "Could not get font."); in getIndex()
428 HRNM(id.fLoader->QueryInterface(&loader), "QuerryInterface IDWriteFontFileLoader failed"); in getData()
431 HRNM(loader->CreateStreamFromKey(id.fKey, id.fKeySize, &fontFileStream), in getData()
451 HRNM(factory->GetSystemFontCollection(&sysFontCollection, FALSE), in SkRemotableFontMgr_New_DirectWrite()
DSkTypeface_win_dw.cpp117 HRNM(fDWriteFontFamily->GetFamilyNames(&familyNames), "Could not obtain family names."); in onCreateFamilyNameIterator()
320 HRNM(fDWriteFontFace->GetFiles(&numFiles, nullptr), in onOpenStream()
327 HRNM(fDWriteFontFace->GetFiles(&numFiles, &fontFile), "Could not get font files."); in onOpenStream()
331 HRNM(fontFile->GetReferenceKey(&fontFileKey, &fontFileKeySize), in onOpenStream()
335 HRNM(fontFile->GetLoader(&fontFileLoader), "Could not get font file loader."); in onOpenStream()
338 HRNM(fontFileLoader->CreateStreamFromKey(fontFileKey, fontFileKeySize, in onOpenStream()
DSkScalerContext_win_dw.cpp942 HRNM(this->getDWriteTypeface()->fFactory2->CreateGlyphRunAnalysis(&run, in drawDWMask()
953 HRNM(this->getDWriteTypeface()->fFactory->CreateGlyphRunAnalysis(&run, in drawDWMask()
973 HRNM(glyphRunAnalysis->CreateAlphaTexture(textureType, in drawDWMask()
/third_party/flutter/skia/src/utils/win/
DSkDWriteFontFileStream.cpp129 HRNM(fFontFileStream->GetFileSize(&fileSize), "Could not get file size"); in getMemoryBase()
130 HRNM(fFontFileStream->ReadFileFragment(&fLockedMemory, 0, fileSize, &fFragmentLock), in getMemoryBase()
DSkHRESULT.h53 #define HRNM(ex, msg) HR_GENERAL(ex, msg, nullptr) macro
/third_party/skia/src/utils/win/
DSkDWriteFontFileStream.cpp128 HRNM(fFontFileStream->GetFileSize(&fileSize), "Could not get file size"); in getMemoryBase()
129 HRNM(fFontFileStream->ReadFileFragment(&fLockedMemory, 0, fileSize, &fFragmentLock), in getMemoryBase()
DSkHRESULT.h53 #define HRNM(ex, msg) HR_GENERAL(ex, msg, nullptr) macro