/external/rust/crates/plotters/src/style/ |
D | text.rs | 10 pub struct TextStyle<'a> { struct 20 fn into_text_style<P: HasDimension>(self, parent: &P) -> TextStyle<'a>; in into_text_style() argument 24 fn into_text_style<P: HasDimension>(self, _: &P) -> TextStyle<'a> { in into_text_style() 29 impl<'a> IntoTextStyle<'a> for TextStyle<'a> { implementation 30 fn into_text_style<P: HasDimension>(self, _: &P) -> TextStyle<'a> { in into_text_style() 36 fn into_text_style<P: HasDimension>(self, _: &P) -> TextStyle<'a> { in into_text_style() 42 fn into_text_style<P: HasDimension>(self, parent: &P) -> TextStyle<'a> { in into_text_style() 48 fn into_text_style<P: HasDimension>(self, parent: &P) -> TextStyle<'a> { in into_text_style() 54 fn into_text_style<P: HasDimension>(self, parent: &P) -> TextStyle<'a> { in into_text_style() 60 fn into_text_style<P: HasDimension>(self, parent: &P) -> TextStyle<'a> { in into_text_style() [all …]
|
D | mod.rs | 22 pub use text::{IntoTextStyle, TextStyle};
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | swr_assert.cpp | 58 enum class TextStyle enum 66 TextStyle style = TextStyle::NORMAL) in SetTextColor() 86 if (style == TextStyle::INTENSITY) in SetTextColor() 96 30 + ((style == TextStyle::INTENSITY) ? 60 : 0) + static_cast<uint32_t>(color); in SetTextColor() 131 SetTextColor(stderr, TextColor::CYAN, TextStyle::NORMAL); in SwrAssert() 135 SetTextColor(stderr, TextColor::RED, TextStyle::INTENSITY); in SwrAssert() 139 SetTextColor(stderr, TextColor::CYAN, TextStyle::INTENSITY); in SwrAssert() 144 SetTextColor(stderr, TextColor::YELLOW, TextStyle::INTENSITY); in SwrAssert() 252 SetTextColor(stderr, TextColor::CYAN, TextStyle::NORMAL); in SwrTrace() 258 SetTextColor(stderr, TextColor::PURPLE, TextStyle::INTENSITY); in SwrTrace()
|
/external/skia/modules/skparagraph/src/ |
D | TextStyle.cpp | 9 const std::vector<SkString> TextStyle::kDefaultFontFamilies = { SkString(DEFAULT_FONT_FAMILY) }; 11 TextStyle::TextStyle(const TextStyle& other, bool placeholder) { in TextStyle() function in skia::textlayout::TextStyle 26 bool TextStyle::equals(const TextStyle& other) const { in equals() 88 bool TextStyle::equalsByFonts(const TextStyle& that) const { in equalsByFonts() 101 bool TextStyle::matchOneAttribute(StyleType styleType, const TextStyle& other) const { in matchOneAttribute() 149 void TextStyle::getFontMetrics(SkFontMetrics* metrics) const { in getFontMetrics()
|
D | Decorations.h | 15 …void paint(SkCanvas* canvas, const TextStyle& textStyle, const TextLine::ClipContext& context, SkS… 19 void calculateThickness(TextStyle textStyle, sk_sp<SkTypeface> typeface); 21 void calculatePaint(const TextStyle& textStyle); 22 void calculateWaves(const TextStyle& textStyle, SkRect clip);
|
D | ParagraphBuilderImpl.h | 32 void pushStyle(const TextStyle& style) override; 47 TextStyle peekStyle() override; 76 std::stack<TextStyle> fTextStyles;
|
D | TextLine.h | 79 …using RunStyleVisitor = std::function<void(TextRange textRange, const TextStyle& style, const Clip… 126 void buildTextBlob(TextRange textRange, const TextStyle& style, const ClipContext& context); 127 …nd(SkCanvas* canvas, SkScalar x, SkScalar y, TextRange textRange, const TextStyle& style, const Cl… 128 …ow(SkCanvas* canvas, SkScalar x, SkScalar y, TextRange textRange, const TextStyle& style, const Cl… 129 …ns(SkCanvas* canvas, SkScalar x, SkScalar y, TextRange textRange, const TextStyle& style, const Cl…
|
D | ParagraphBuilderImpl.cpp | 64 void ParagraphBuilderImpl::pushStyle(const TextStyle& style) { in pushStyle() 91 TextStyle ParagraphBuilderImpl::peekStyle() { in peekStyle() 132 pushStyle(TextStyle(topStyle, true)); in addPlaceholder()
|
D | TextLine.cpp | 175 …[textCanvas, x, y, this](TextRange textRange, const TextStyle& style, const ClipContext& context) { in paint() 188 …[textCanvas, x, y, &bounds, this](TextRange textRange, const TextStyle& style, const ClipContext& … in paint() 211 …[textCanvas, x, y, this](TextRange textRange, const TextStyle& style, const ClipContext& context) { in paint() 234 [this](TextRange textRange, const TextStyle& style, const ClipContext& context) { in ensureTextBlobCachePopulated() 272 [visitor](TextRange textRange, const TextStyle& style, const ClipContext& context) { in scanStyles() 312 void TextLine::buildTextBlob(TextRange textRange, const TextStyle& style, const ClipContext& contex… in buildTextBlob() 359 …nd(SkCanvas* canvas, SkScalar x, SkScalar y, TextRange textRange, const TextStyle& style, const Cl… in paintBackground() 365 …ow(SkCanvas* canvas, SkScalar x, SkScalar y, TextRange textRange, const TextStyle& style, const Cl… in paintShadow() 411 …ns(SkCanvas* canvas, SkScalar x, SkScalar y, TextRange textRange, const TextStyle& style, const Cl… in paintDecorations() 770 visitor(textRange, TextStyle(), clipContext); in iterateThroughSingleRunByStyles() [all …]
|
D | Decorations.cpp | 23 void Decorations::paint(SkCanvas* canvas, const TextStyle& textStyle, const TextLine::ClipContext& … in paint() 134 void Decorations::calculateThickness(TextStyle textStyle, sk_sp<SkTypeface> typeface) { in calculateThickness() 182 void Decorations::calculatePaint(const TextStyle& textStyle) { in calculatePaint() 225 void Decorations::calculateWaves(const TextStyle& textStyle, SkRect clip) { in calculateWaves()
|
/external/skia/modules/skparagraph/include/ |
D | TextStyle.h | 148 class TextStyle { 150 TextStyle() = default; 151 TextStyle(const TextStyle& other, bool placeholder); 153 bool equals(const TextStyle& other) const; 154 bool equalsByFonts(const TextStyle& that) const; 155 bool matchOneAttribute(StyleType styleType, const TextStyle& other) const; 156 bool operator==(const TextStyle& rhs) const { return this->equals(rhs); } 297 Block(size_t start, size_t end, const TextStyle& style) : fRange(start, end), fStyle(style) {} in Block() 298 Block(TextRange textRange, const TextStyle& style) : fRange(textRange), fStyle(style) {} in Block() 306 TextStyle fStyle; [all …]
|
D | Metrics.h | 12 StyleMetrics(const TextStyle* style) : text_style(style) {} in StyleMetrics() 14 StyleMetrics(const TextStyle* style, SkFontMetrics& metrics) in StyleMetrics() 17 const TextStyle* text_style;
|
D | ParagraphBuilder.h | 25 virtual void pushStyle(const TextStyle& style) = 0; 40 virtual TextStyle peekStyle() = 0;
|
D | ParagraphStyle.h | 92 const TextStyle& getTextStyle() const { return fDefaultTextStyle; } in getTextStyle() 93 void setTextStyle(const TextStyle& textStyle) { fDefaultTextStyle = textStyle; } in setTextStyle() 127 TextStyle fDefaultTextStyle;
|
/external/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 99 TextStyle defaultStyle; in drawTest() 113 TextStyle style; in drawTest() 198 TextStyle defaultStyle; in drawCode() 242 TextStyle style(SkPaint paint) { in style() 243 TextStyle style; in style() 274 TextStyle style; in drawText() 287 TextStyle defaultStyle; in drawText() 326 TextStyle style; in drawLine() 446 TextStyle style; in drawLine() 584 TextStyle style; in drawFlutter() [all …]
|
/external/rust/crates/plotters/src/element/ |
D | text.rs | 5 use crate::style::{FontDesc, FontResult, LayoutBox, TextStyle}; 13 style: TextStyle<'a>, 22 pub fn new<S: Into<TextStyle<'a>>>(text: T, points: Coord, style: S) -> Self { in new() 58 style: TextStyle<'a>, 68 pub fn new<S: Into<TextStyle<'a>>>(pos: Coord, style: S) -> Self { in new() 176 pub fn from_str<ST: Into<&'a str>, S: Into<TextStyle<'a>>>( in from_str() 201 pub fn from_string<S: Into<TextStyle<'a>>>( in from_string()
|
/external/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 195 TextStyle text_style; in DEF_TEST() 215 … (TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST() 236 TextStyle text_style; in DEF_TEST() 335 TextStyle text_style; in DEF_TEST() 391 TextStyle text_style; in DEF_TEST() 447 TextStyle text_style; in DEF_TEST() 503 TextStyle text_style; in DEF_TEST() 557 TextStyle text_style; in DEF_TEST() 611 TextStyle text_style; in DEF_TEST() 665 TextStyle text_style; in DEF_TEST() [all …]
|
/external/python/cpython2/Mac/Modules/te/ |
D | tesupport.py | 31 TextStyle = OpaqueType("TextStyle", "TextStyle") variable 32 TextStyle_ptr = TextStyle
|
/external/skia/modules/skparagraph/ |
D | skparagraph.gni | 10 "$_include/TextStyle.h", 39 "$_src/TextStyle.cpp",
|
/external/python/cpython3/Lib/msilib/ |
D | schema.py | 543 TextStyle = Table('TextStyle') variable 544 TextStyle.add_field(1,'TextStyle',11592) 545 TextStyle.add_field(2,'FaceName',3360) 546 TextStyle.add_field(3,'Size',1282) 547 TextStyle.add_field(4,'Color',4356) 548 TextStyle.add_field(5,'StyleBits',5378) 580 …erveCost, SelfReg, ServiceControl, ServiceInstall, Shortcut, Signature, TextStyle, TypeLib, UIText…
|
/external/rust/crates/plotters/src/style/font/ |
D | font_desc.rs | 3 use crate::style::{Color, TextStyle}; 138 pub fn color<C: Color>(&self, color: &C) -> TextStyle<'a> { in color() 139 TextStyle { in color()
|
/external/skia/modules/canvaskit/tests/ |
D | paragraph.spec.js | 75 const blueText = new CanvasKit.TextStyle({ 299 const roboto28Style = new CanvasKit.TextStyle({ 304 const roboto32Style = new CanvasKit.TextStyle({ 535 const textStyle = new CanvasKit.TextStyle({ 651 const boldItalic = new CanvasKit.TextStyle({ 708 const boldItalic = new CanvasKit.TextStyle({ 763 const blueText = new CanvasKit.TextStyle({ 828 const halfLeadingText = new CanvasKit.TextStyle({ 910 const boldItalic = new CanvasKit.TextStyle({ 961 const boldItalic = new CanvasKit.TextStyle({
|
/external/rust/crates/plotters/src/chart/ |
D | axes3d.rs | 8 use crate::style::{AsRelative, ShapeStyle, SizeDesc, TextStyle}; 26 pub(super) label_style: TextStyle<'b>, 80 pub fn label_style<S: Into<TextStyle<'b>>>(&mut self, style: S) -> &mut Self { in label_style()
|
D | series.rs | 5 use crate::style::{IntoFont, IntoTextStyle, ShapeStyle, SizeDesc, TextStyle, TRANSPARENT}; 103 label_font: Option<TextStyle<'b>>, 175 let default_style: TextStyle = default_font.into(); in draw()
|
D | mesh.rs | 10 SizeDesc, TextStyle, 154 pub(super) axis_desc_style: Option<TextStyle<'b>>, 160 pub(super) x_label_style: Option<TextStyle<'b>>, 161 pub(super) y_label_style: Option<TextStyle<'b>>,
|