Set initial point of the path in wxD2DPathData::wxD2DPathData ctor.
Set initial point to (0,0) for newly created Direct2D wxGraphicsPath path.
This commit is contained in:
@@ -1029,6 +1029,7 @@ private :
|
||||
wxD2DPathData::wxD2DPathData(wxGraphicsRenderer* renderer, ID2D1Factory* d2dFactory) :
|
||||
wxGraphicsPathData(renderer), m_direct2dfactory(d2dFactory),
|
||||
m_transformMatrix(D2D1::Matrix3x2F::Identity()),
|
||||
m_currentPoint(D2D1::Point2F(0.0f, 0.0f)),
|
||||
m_figureOpened(false), m_geometryWritable(true)
|
||||
{
|
||||
m_direct2dfactory->CreatePathGeometry(&m_pathGeometry);
|
||||
|
Reference in New Issue
Block a user