Home
last modified time | relevance | path

Searched refs:FontStyle (Results 1 – 24 of 24) sorted by relevance

/external/rust/crates/plotters-backend/src/
Dtext.rs158 pub enum FontStyle { enum
169 impl FontStyle { impl
173 FontStyle::Normal => "normal", in as_str()
174 FontStyle::Italic => "italic", in as_str()
175 FontStyle::Oblique => "oblique", in as_str()
176 FontStyle::Bold => "bold", in as_str()
181 impl<'a> From<&'a str> for FontStyle { implementation
182 fn from(from: &'a str) -> FontStyle { in from() argument
184 "normal" => FontStyle::Normal, in from()
185 "italic" => FontStyle::Italic, in from()
[all …]
Dlib.rs71 pub use text::{text_anchor, BackendTextStyle, FontFamily, FontStyle, FontTransform};
/external/rust/crates/plotters/src/style/font/
Dfont_desc.rs7 pub use plotters_backend::{FontFamily, FontStyle, FontTransform};
22 style: FontStyle,
27 FontDesc::new(from.into(), 1.0, FontStyle::Normal) in from()
33 FontDesc::new(family, 1.0, FontStyle::Normal) in from()
39 FontDesc::new(family, size.into(), FontStyle::Normal) in from()
45 FontDesc::new(typeface.into(), size.into(), FontStyle::Normal) in from()
49 impl<'a, T: Into<f64>, S: Into<FontStyle>> From<(FontFamily<'a>, T, S)> for FontDesc<'a> {
55 impl<'a, T: Into<f64>, S: Into<FontStyle>> From<(&'a str, T, S)> for FontDesc<'a> {
80 pub fn new(family: FontFamily<'a>, size: f64, style: FontStyle) -> Self { in new()
108 pub fn style(&self, style: FontStyle) -> Self { in style()
[all …]
Dttf.rs15 use super::{FontData, FontFamily, FontStyle, LayoutBox};
52 fn load_font_data(face: FontFamily, style: FontStyle) -> FontResult<Font<'static>> { in load_font_data()
54 FontStyle::Normal => Cow::Borrowed(face.as_str()), in load_font_data()
65 FontStyle::Normal => properties.style(Style::Normal), in load_font_data()
66 FontStyle::Italic => properties.style(Style::Italic), in load_font_data()
67 FontStyle::Oblique => properties.style(Style::Oblique), in load_font_data()
68 FontStyle::Bold => properties.weight(Weight::BOLD), in load_font_data()
132 fn new(family: FontFamily, style: FontStyle) -> Result<Self, FontError> { in new()
199 let _a = load_font_data(FontFamily::Serif, FontStyle::Normal)?; in test_font_cache()
202 let _b = load_font_data(FontFamily::Serif, FontStyle::Normal)?; in test_font_cache()
Dnaive.rs1 use super::{FontData, FontFamily, FontStyle, LayoutBox};
20 fn new(family: FontFamily, style: FontStyle) -> Result<Self, FontError> { in new()
Dweb.rs1 use super::{FontData, FontFamily, FontStyle, LayoutBox};
25 fn new(family: FontFamily, style: FontStyle) -> Result<Self, FontError> { in new()
Dmod.rs31 fn new(family: FontFamily, style: FontStyle) -> Result<Self, Self::ErrorType>; in new()
/external/rust/crates/plotters/src/style/
Dtext.rs2 use super::font::{FontDesc, FontError, FontFamily, FontStyle, FontTransform};
53 impl<'a, T: SizeDesc> IntoTextStyle<'a> for (&'a str, T, FontStyle) { implementation
59 impl<'a, T: SizeDesc> IntoTextStyle<'a> for (FontFamily<'a>, T, FontStyle) {
154 fn style(&self) -> FontStyle { in style() argument
Dmod.rs17 FontDesc, FontError, FontFamily, FontResult, FontStyle, FontTransform, IntoFont, LayoutBox,
/external/skqp/modules/skottie/src/
DSkottieTextLayer.cpp29 SkFontStyle FontStyle(const AnimationBuilder* abuilder, const char* style) { in FontStyle() function
137 FontStyle(this, jstyle->begin()))); in parseFonts()
145 tf = fmgr->legacyMakeTypeface(nullptr, FontStyle(this, jstyle->begin())); in parseFonts()
/external/skia/modules/skottie/src/layers/
DTextLayer.cpp51 SkFontStyle FontStyle(const AnimationBuilder* abuilder, const char* style) { in FontStyle() function
282 FontStyle(this, finfo->fStyle.c_str()))); in resolveNativeTypefaces()
289 FontStyle(this, finfo->fStyle.c_str())); in resolveNativeTypefaces()
/external/rust/crates/plotters/src/
Dlib.rs744 AsRelative, Color, FontDesc, FontFamily, FontStyle, FontTransform, HSLColor, IntoFont,
/external/rust/crates/plotters/src/chart/
Dmesh.rs9 AsRelative, Color, FontDesc, FontFamily, FontStyle, IntoTextStyle, RGBColor, ShapeStyle,
409 FontStyle::Normal, in draw()
/external/pdfium/core/fxcrt/css/
Dcfx_css.h111 FontStyle, enumerator
Dcfx_cssdata.cpp140 {PROP(CFX_CSSProperty::FontStyle,
Dcfx_cssdeclaration.cpp628 AddPropertyHolder(CFX_CSSProperty::FontStyle, pStyle, bImportant); in ParseFontProperty()
Dcfx_cssstyleselector.cpp229 case CFX_CSSProperty::FontStyle: in ApplyProperty()
/external/rust/crates/plotters-svg/src/
Dsvg.rs8 FontStyle, FontTransform,
445 FontStyle::Normal => {} in draw_text()
446 FontStyle::Bold => attrs.push(("font-weight", "bold".to_string())), in draw_text()
/external/skia/modules/svg/src/
DSkSVGNode.cpp110 || PARSE_AND_SET("font-style" , FontStyle) in parseAndSetAttribute()
DSkSVGRenderContext.cpp220 ApplyLazyInheritedAttribute(FontStyle); in applyPresentationAttributes()
/external/skia/modules/svg/include/
DSkSVGNode.h124 SVG_PRES_ATTR(FontStyle , SkSVGFontStyle , true)
/external/kotlinc/lib/
Dannotations-13.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/intellij/ org/ ...
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts603 export interface FontStyle { interface
2725 fontStyle?: FontStyle;
2757 fontStyle?: FontStyle;
/external/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi35586 …<class-decl name='FontStyle' size-in-bits='32' visibility='default' filepath='frameworks/minikin/i…
35588 …<enum-decl name='Slant' filepath='frameworks/minikin/include/minikin/FontStyle.h' line='38' column…
35595 …<enum-decl name='Weight' filepath='frameworks/minikin/include/minikin/FontStyle.h' line='25' colum…
35610 …6638' visibility='default' filepath='frameworks/minikin/include/minikin/FontStyle.h' line='62' col…
35613 …bdb1' visibility='default' filepath='frameworks/minikin/include/minikin/FontStyle.h' line='63' col…
35616 …<function-decl name='FontStyle' mangled-name='_ZN7minikin9FontStyleC2Ev' filepath='frameworks/mini…
35622 …<function-decl name='FontStyle' filepath='frameworks/minikin/include/minikin/FontStyle.h' line='44…
35629 …<function-decl name='FontStyle' filepath='frameworks/minikin/include/minikin/FontStyle.h' line='45…
35636 …-decl name='FontStyle' mangled-name='_ZN7minikin9FontStyleC2ENS0_6WeightENS0_5SlantE' filepath='fr…
35644 …nction-decl name='FontStyle' mangled-name='_ZN7minikin9FontStyleC2EtNS0_5SlantE' filepath='framewo…