Skip to content

Commit

Permalink
More on script drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
scheffle committed Apr 27, 2024
1 parent f507dfb commit bc12dab
Show file tree
Hide file tree
Showing 6 changed files with 265 additions and 50 deletions.
5 changes: 5 additions & 0 deletions vstgui/lib/cgraphicspath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ CGraphicsPath::CGraphicsPath (const PlatformGraphicsPathFactoryPtr& factory,
{
}

//------------------------------------------------------------------------
CGraphicsPath::CGraphicsPath (const CGraphicsPath& p) : elements (p.elements), factory (p.factory)
{
}

//-----------------------------------------------------------------------------
CGraphicsPath::~CGraphicsPath () noexcept {}

Expand Down
1 change: 1 addition & 0 deletions vstgui/lib/cgraphicspath.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class CGraphicsPath : public AtomicReferenceCounted

CGraphicsPath (const PlatformGraphicsPathFactoryPtr& factory,
PlatformGraphicsPathPtr&& path = nullptr);
CGraphicsPath (const CGraphicsPath& p);
~CGraphicsPath () noexcept override;

const PlatformGraphicsPathPtr& getPlatformPath (PlatformGraphicsPathFillMode fillMode);
Expand Down
Loading

0 comments on commit bc12dab

Please sign in to comment.