Home
last modified time | relevance | path

Searched refs:TexginePaint (Results 1 - 5 of 5) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_paint.cpp21 TexginePaint::TexginePaint() in TexginePaint() function in OHOS::Rosen::TextEngine::TexginePaint
24 RSBrush TexginePaint::GetBrush() const in GetBrush()
29 RSPen TexginePaint::GetPen() const in GetPen()
34 TexginePaint::Style TexginePaint::GetStyle() const in GetStyle()
39 void TexginePaint::SetBrush(const RSBrush &brush) in SetBrush()
44 void TexginePaint::SetPen(const RSPen &pen) in SetPen()
49 void TexginePaint::SetColor(const uint32_t color) in SetColor()
55 void TexginePaint
[all...]
H A Dtexgine_canvas.cpp21 void TexgineCanvas::DrawLine(double x0, double y0, double x1, double y1, const TexginePaint &paint) in DrawLine()
28 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawLine()
32 } else if (paint.GetStyle() == TexginePaint::Style::STROKE) { in DrawLine()
45 void TexgineCanvas::DrawRect(const TexgineRect &rect, const TexginePaint &paint) const in DrawRect()
50 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawRect()
54 } else if (paint.GetStyle() == TexginePaint::Style::STROKE) { in DrawRect()
67 void TexgineCanvas::DrawRRect(const TexgineRect &rect, const TexginePaint &paint) const in DrawRRect()
72 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawRRect()
76 } else if (paint.GetStyle() == TexginePaint::Style::STROKE) { in DrawRRect()
90 const std::shared_ptr<TexgineTextBlob> &blob, float x, float y, const TexginePaint in DrawTextBlob()
[all...]
H A Dtexgine_canvas.h35 void DrawLine(double x0, double y0, double x1, double y1, const TexginePaint &paint);
40 void DrawRect(const TexgineRect &rect, const TexginePaint &paint) const;
45 void DrawRRect(const TexgineRect &rect, const TexginePaint &paint) const;
50 void DrawTextBlob(const std::shared_ptr<TexgineTextBlob> &blob, float x, float y, const TexginePaint &paint);
55 void DrawSymbol(const RSHMSymbolData &symbol, RSPoint locate, const TexginePaint &paint);
60 void DrawPath(const RSPath &path, const TexginePaint &paint);
H A Dtexgine_paint.h29 class TexginePaint { class
69 TexginePaint();
72 * @brief Gets Brush from TexginePaint
77 * @brief Gets Pen from TexginePaint
82 * @brief Gets Style from TexginePaint
87 * @brief Sets Brush to TexginePaint
92 * @brief Sets Pen to TexginePaint
155 bool operator==(const TexginePaint &rhs) const;
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/
H A Dtext_style.h140 std::optional<TexginePaint> foreground = std::nullopt;
141 std::optional<TexginePaint> background = std::nullopt;

Completed in 3 milliseconds