enumclass SkCTFontSmoothBehavior {
none, // SmoothFonts produces no effect.
some, // SmoothFonts produces some effect, but not subpixel coverage.
subpixel, // SmoothFonts produces some effect and provides subpixel coverage.
};
/** Returns the [-1, 1] CTFontDescriptor weights for the * <0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000> CSS weights. * * It is assumed that the values will be interpolated linearly between these points. * NSFontWeightXXX were added in 10.11, appear in 10.10, but do not appear in 10.9. * The actual values appear to be stable, but they may change without notice. * These values are valid for system fonts only.
*/
SkCTFontWeightMapping& SkCTFontGetNSFontWeightMapping();
/** Returns the [-1, 1] CTFontDescriptor weights for the * <0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000> CSS weights. * * It is assumed that the values will be interpolated linearly between these points. * The actual values appear to be stable, but they may change without notice. * These values are valid for fonts created from data only.
*/
SkCTFontWeightMapping& SkCTFontGetDataFontWeightMapping();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.