Searched refs:NativeFamilyBuilder (Results 1 – 2 of 2) sorted by relevance
47 struct NativeFamilyBuilder { struct48 NativeFamilyBuilder(uint32_t langId, int variant) in NativeFamilyBuilder() function56 static inline NativeFamilyBuilder* toNativeBuilder(jlong ptr) { in toNativeBuilder()57 return reinterpret_cast<NativeFamilyBuilder*>(ptr); in toNativeBuilder()69 NativeFamilyBuilder* builder; in FontFamily_initBuilder()72 builder = new NativeFamilyBuilder(minikin::registerLocaleList(str.c_str()), variant); in FontFamily_initBuilder()74 builder = new NativeFamilyBuilder(minikin::registerLocaleList(""), variant); in FontFamily_initBuilder()83 NativeFamilyBuilder* builder = toNativeBuilder(builderPtr); in FontFamily_create()112 static bool addSkTypeface(NativeFamilyBuilder* builder, sk_sp<SkData>&& data, int ttcIndex, in addSkTypeface()172 NativeFamilyBuilder* builder = reinterpret_cast<NativeFamilyBuilder*>(builderPtr); in FontFamily_addFont()[all …]
32 struct NativeFamilyBuilder { struct36 static inline NativeFamilyBuilder* toBuilder(jlong ptr) { in toBuilder()37 return reinterpret_cast<NativeFamilyBuilder*>(ptr); in toBuilder()50 return reinterpret_cast<jlong>(new NativeFamilyBuilder()); in FontFamily_Builder_initBuilder()61 std::unique_ptr<NativeFamilyBuilder> builder(toBuilder(builderPtr)); in FontFamily_Builder_build()