#pragma once #include "D2DGeometryShape.h" #include using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Platform::Collections; namespace Telerik { namespace UI { namespace Drawing { public ref class D2DPolyline sealed : D2DGeometryShape { public: D2DPolyline(void); void SetPoints(IIterable^ points); internal: virtual void Populate(ComPtr sink) override; private: void PopulateSinglePrecision(ComPtr sink, D2D1_FIGURE_BEGIN begin); void PopulateDoublePrecision(ComPtr sink, D2D1_FIGURE_BEGIN begin); std::vector pointsArray; }; } } }