Add better timings, and proper configuration
This commit is contained in:
parent
0b32af33b8
commit
5750bb8177
13 changed files with 385 additions and 240 deletions
|
@ -1,31 +1,14 @@
|
|||
#ifndef KANIMAJI_SVG_HPP
|
||||
#define KANIMAJI_SVG_HPP
|
||||
|
||||
#include "Kanimaji/Error.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
namespace Kanimaji::SVG
|
||||
{
|
||||
class Error : public std::runtime_error
|
||||
{
|
||||
using std::runtime_error::runtime_error;
|
||||
};
|
||||
|
||||
class ParseError : public Error
|
||||
{
|
||||
public:
|
||||
ParseError(std::size_t current, std::string_view message);
|
||||
|
||||
std::size_t Position() const
|
||||
{
|
||||
return mPosition;
|
||||
}
|
||||
private:
|
||||
std::size_t mPosition;
|
||||
};
|
||||
|
||||
class Path
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue