a25b0d2754ec568698853d78c04feb32de4b7291
[platform/core/uifw/lottie-player.git] / src / vector / vraster.h
1 #ifndef VRASTER_H
2 #define VRASTER_H
3 #include <future>
4 #include "vglobal.h"
5 #include "vrect.h"
6
7 V_BEGIN_NAMESPACE
8
9 class VPath;
10 class VRle;
11
12 struct VRaster {
13
14     static std::future<VRle>
15     generateFillInfo(VPath &&path, VRle &&rle,
16                      FillRule fillRule = FillRule::Winding, const VRect &clip = VRect());
17
18     static std::future<VRle>
19     generateStrokeInfo(VPath &&path, VRle &&rle,
20                        CapStyle cap, JoinStyle join,
21                        float width, float meterLimit, const VRect &clip = VRect());
22 };
23
24 V_END_NAMESPACE
25
26 #endif  // VRASTER_H