Searched refs:toTypeface (Results 1 – 2 of 2) sorted by relevance
44 static inline Typeface* toTypeface(jlong ptr) { in toTypeface() function53 Typeface* family = toTypeface(familyHandle); in Typeface_createFromTypeface()68 return toJLong(Typeface::createAbsolute(toTypeface(nativeInstance), weight, italic)); in Typeface_createFromTypefaceWithExactStyle()83 return toJLong(Typeface::createFromTypefaceWithVariation(toTypeface(familyHandle), variations)); in Typeface_createFromTypefaceWithVariation()87 return toJLong(Typeface::createWithDifferentBaseWeight(toTypeface(familyHandle), weight)); in Typeface_createWeightAlias()91 delete toTypeface(ptr); in releaseFunc()101 return toTypeface(faceHandle)->fAPIStyle; in Typeface_getStyle()106 return toTypeface(faceHandle)->fStyle.weight(); in Typeface_getWeight()112 Typeface* typeface = (fallbackPtr == 0) ? nullptr : toTypeface(fallbackPtr); in Typeface_createFromArray()124 Typeface::setDefault(toTypeface(faceHandle)); in Typeface_setDefault()[all …]
49 private fun Font.toTypeface() = in <lambda>() method53 typeface = Font.Builder(VF_FONT).setFontVariationSettings("'wght' 400").build().toTypeface() in <lambda>()58 typeface = Font.Builder(VF_FONT).setFontVariationSettings("'wght' 400").build().toTypeface() in <lambda>()62 typeface = Font.Builder(VF_FONT).setFontVariationSettings("'wght' 700").build().toTypeface() in <lambda>()