kopia lustrzana https://github.com/jameshball/osci-render
12 wiersze
438 B
C++
12 wiersze
438 B
C++
#pragma once
|
|
#include <vector>
|
|
#include "../shape/Shape.h"
|
|
#include "SvgState.h"
|
|
|
|
class MoveTo {
|
|
public:
|
|
static std::vector<std::unique_ptr<Shape>> absolute(SvgState& state, std::vector<float>& args);
|
|
static std::vector<std::unique_ptr<Shape>> relative(SvgState& state, std::vector<float>& args);
|
|
private:
|
|
static std::vector<std::unique_ptr<Shape>> parseMoveTo(SvgState& state, std::vector<float>& args, bool isAbsolute);
|
|
}; |