mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06: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.
18 lines
593 B
C++
18 lines
593 B
C++
#pragma once
|
|
#include "ClipPathView.g.h"
|
|
#include "GroupView.h"
|
|
|
|
namespace winrt::RNSVG::implementation {
|
|
struct ClipPathView : ClipPathViewT<ClipPathView, RNSVG::implementation::GroupView> {
|
|
public:
|
|
ClipPathView() = default;
|
|
|
|
// RenderableView
|
|
void Draw(RNSVG::D2DDeviceContext const & /*deviceContext*/, Windows::Foundation::Size const & /*size*/){};
|
|
};
|
|
} // namespace winrt::RNSVG::implementation
|
|
|
|
namespace winrt::RNSVG::factory_implementation {
|
|
struct ClipPathView : ClipPathViewT<ClipPathView, implementation::ClipPathView> {};
|
|
} // namespace winrt::RNSVG::factory_implementation
|