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.
24 lines
844 B
24 lines
844 B
#pragma once
|
|
#include "TSpanView.g.h"
|
|
#include "TextView.h"
|
|
|
|
namespace winrt::RNSVG::implementation {
|
|
struct TSpanView : TSpanViewT<TSpanView, RNSVG::implementation::TextView> {
|
|
public:
|
|
TSpanView() = default;
|
|
|
|
void UpdateProperties(Microsoft::ReactNative::IJSValueReader const &reader, bool forceUpdate, bool invalidate);
|
|
void CreateGeometry(Microsoft::Graphics::Canvas::UI::Xaml::CanvasControl const &canvas);
|
|
virtual void Render(
|
|
Microsoft::Graphics::Canvas::UI::Xaml::CanvasControl const &canvas,
|
|
Microsoft::Graphics::Canvas::CanvasDrawingSession const &session);
|
|
|
|
private:
|
|
std::string m_content;
|
|
};
|
|
} // namespace winrt::RNSVG::implementation
|
|
|
|
namespace winrt::RNSVG::factory_implementation {
|
|
struct TSpanView : TSpanViewT<TSpanView, implementation::TSpanView> {};
|
|
} // namespace winrt::RNSVG::factory_implementation
|