mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00
Add the rendering primitives for rendering a path
Right now the path is limited to polygons (only LineTo elements) and only the fill color can be specified.
This commit is contained in:
parent
e4ab64f858
commit
4e22c2839e
11 changed files with 335 additions and 54 deletions
|
@ -18,6 +18,7 @@ extern const internal::ItemVTable RectangleVTable;
|
|||
extern const internal::ItemVTable TextVTable;
|
||||
extern const internal::ItemVTable TouchAreaVTable;
|
||||
extern const internal::ItemVTable ImageVTable;
|
||||
extern const internal::ItemVTable PathVTable;
|
||||
}
|
||||
|
||||
// Bring opaque structure in scope
|
||||
|
@ -47,6 +48,7 @@ private:
|
|||
|
||||
using internal::EvaluationContext;
|
||||
using internal::Image;
|
||||
using internal::Path;
|
||||
using internal::Rectangle;
|
||||
using internal::Text;
|
||||
using internal::TouchArea;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue