mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-05 22:56:11 +00:00
This change removes the win2d (Direct2D wrapper) dependency by using D2D directly. This removes the manual step of adding the win2d to any new react-native-windows projects that want to use react-native-svg. It is also a stepping stone to an easier Fabric implementation for windows.
17 lines
659 B
C++
17 lines
659 B
C++
#pragma once
|
|
#include "MarkerViewManager.g.h"
|
|
#include "GroupViewManager.h"
|
|
|
|
namespace winrt::RNSVG::implementation {
|
|
struct MarkerViewManager : MarkerViewManagerT<MarkerViewManager, RNSVG::implementation::GroupViewManager> {
|
|
MarkerViewManager();
|
|
|
|
// IViewManagerWithNativeProperties
|
|
Windows::Foundation::Collections::IMapView<hstring, Microsoft::ReactNative::ViewManagerPropertyType> NativeProps();
|
|
};
|
|
} // namespace winrt::RNSVG::implementation
|
|
|
|
namespace winrt::RNSVG::factory_implementation {
|
|
struct MarkerViewManager : MarkerViewManagerT<MarkerViewManager, implementation::MarkerViewManager> {};
|
|
} // namespace winrt::RNSVG::factory_implementation
|