Searched refs:toTypeface (Results 1 – 2 of 2) sorted by relevance
41 static inline Typeface* toTypeface(jlong ptr) { in toTypeface() function50 Typeface* family = toTypeface(familyHandle); in Typeface_createFromTypeface()65 return toJLong(Typeface::createAbsolute(toTypeface(nativeInstance), weight, italic)); in Typeface_createFromTypefaceWithExactStyle()80 return toJLong(Typeface::createFromTypefaceWithVariation(toTypeface(familyHandle), variations)); in Typeface_createFromTypefaceWithVariation()84 return toJLong(Typeface::createWithDifferentBaseWeight(toTypeface(familyHandle), weight)); in Typeface_createWeightAlias()88 delete toTypeface(ptr); in releaseFunc()98 return toTypeface(faceHandle)->fAPIStyle; in Typeface_getStyle()103 return toTypeface(faceHandle)->fStyle.weight(); in Typeface_getWeight()110 Typeface* typeface = (fallbackPtr == 0) ? nullptr : toTypeface(fallbackPtr); in Typeface_createFromArray()113 toTypeface(fallbackPtr)->fFontCollection->getFamilies(); in Typeface_createFromArray()[all …]
47 private fun Font.toTypeface() = in toTypeface() method51 typeface = Font.Builder(VF_FONT).setFontVariationSettings("'wght' 400").build().toTypeface() in toTypeface()56 typeface = Font.Builder(VF_FONT).setFontVariationSettings("'wght' 400").build().toTypeface() in <lambda>()60 typeface = Font.Builder(VF_FONT).setFontVariationSettings("'wght' 700").build().toTypeface() in <lambda>()