Home
last modified time | relevance | path

Searched refs:FontFeature (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/modules/skparagraph/include/
DTextStyle.h112 struct FontFeature { struct
113 FontFeature(const SkString name, int value) : fName(name), fValue(value) {} in FontFeature() argument
114 bool operator==(const FontFeature& that) const {
205 std::vector<FontFeature> getFontFeatures() const { return fFontFeatures; } in getFontFeatures()
292 std::vector<FontFeature> fFontFeatures;
/third_party/flutter/engine/flutter/lib/ui/
Dtext.dart120 /// fontFeatures: [FontFeature.enable('smcp')],
145 /// fontFeatures: [FontFeature.oldstyleFigures()])),
155 /// fontFeatures: [FontFeature.enable('frac')])),
164 /// fontFeatures: [FontFeature.stylisticSet(1)],
177 class FontFeature {
178 /// Creates a [FontFeature] object, which can be added to a [TextStyle] to
189 …const FontFeature(this.feature, [ this.value = 1 ]) : assert(feature != null), assert(feature.leng…
191 /// Create a [FontFeature] object that enables the feature with the given tag.
192 const FontFeature.enable(String feature) : this(feature, 1);
194 /// Create a [FontFeature] object that disables the feature with the given tag.
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dtext.dart158 class FontFeature {
159 /// Creates a [FontFeature] object, which can be added to a [TextStyle] to
170 const FontFeature(this.feature, [this.value = 1])
176 /// Create a [FontFeature] object that enables the feature with the given tag.
177 const FontFeature.enable(String feature) : this(feature, 1);
179 /// Create a [FontFeature] object that disables the feature with the given tag.
180 const FontFeature.disable(String feature) : this(feature, 0);
192 const FontFeature.randomize()
203 factory FontFeature.stylisticSet(int value) {
206 return FontFeature('ss${value.toString().padLeft(2, "0")}');
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Dtheme_test.dart723 List<ui.FontFeature> get fontFeatures => _delegate.fontFeatures;
786 List<ui.FontFeature> fontFeatures,
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dtext_style.dart5 import 'dart:ui' as ui show ParagraphStyle, TextStyle, StrutStyle, lerpDouble, Shadow, FontFeature;
678 /// A list of [FontFeature]s that affect how the font selects glyphs.
683 /// and without slashes. [FontFeature]s can be used to select which of
685 final List<ui.FontFeature> fontFeatures;
713 List<ui.FontFeature> fontFeatures,
/third_party/skia/site/docs/dev/design/
Dtext_shaper.md77 attribute sequence<FontFeature> features?;
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/text/
Dparagraph.dart423 List<ui.FontFeature> fontFeatures,