Searched refs:FontWrapper (Results 1 – 5 of 5) sorted by relevance
55 delete reinterpret_cast<FontWrapper*>(font); in releaseFont()121 return reinterpret_cast<jlong>(new FontWrapper(std::move(font))); in Font_Builder_build()127 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_Builder_clone()150 return reinterpret_cast<jlong>(new FontWrapper(std::move(newFont))); in Font_Builder_clone()159 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontHandle); in Font_getGlyphBounds()179 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontHandle); in Font_getFontMetrics()196 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getMinikinFontPtr()202 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_cloneFont()204 return reinterpret_cast<jlong>(new FontWrapper(std::move(ref))); in Font_cloneFont()209 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_newByteBuffer()[all …]
39 static inline FontWrapper* toFontWrapper(jlong ptr) { in toFontWrapper()40 return reinterpret_cast<FontWrapper*>(ptr); in toFontWrapper()114 return reinterpret_cast<jlong>(new FontWrapper(std::move(font))); in FontFamily_getFont()
37 struct FontWrapper { struct38 explicit FontWrapper(std::shared_ptr<minikin::Font>&& font) : font(font) {} in FontWrapper() function
627 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontHandle); in drawGlyphs()
175 return reinterpret_cast<jlong>(new FontWrapper(std::move(fontRef))); in TextShaper_Result_getFont()