You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
750 B
21 lines
750 B
#pragma once
|
|
#include "CircleView.g.h"
|
|
#include "RenderableView.h"
|
|
|
|
namespace winrt::RNSVG::implementation {
|
|
struct CircleView : CircleViewT<CircleView, RNSVG::implementation::RenderableView> {
|
|
public:
|
|
CircleView() = default;
|
|
void UpdateProperties(Microsoft::ReactNative::IJSValueReader const &reader, bool forceUpdate, bool invalidate);
|
|
void CreateGeometry(Microsoft::Graphics::Canvas::UI::Xaml::CanvasControl const &canvas);
|
|
|
|
private:
|
|
RNSVG::SVGLength m_r{};
|
|
RNSVG::SVGLength m_cx{};
|
|
RNSVG::SVGLength m_cy{};
|
|
};
|
|
} // namespace winrt::RNSVG::implementation
|
|
namespace winrt::RNSVG::factory_implementation {
|
|
struct CircleView : CircleViewT<CircleView, implementation::CircleView> {};
|
|
} // namespace winrt::RNSVG::factory_implementation
|