NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
canvas.h File Reference
#include <cstdint>
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <utility>
#include <memory>
#include <vector>
#include <array>
#include <string>
#include "color.h"
#include "font.h"
#include "bitmap.h"
#include "render/blend.h"
#include "render/matrix.h"
#include "render/paint.h"
#include "render/path.h"
#include "render/rasterize.h"
#include "render/surface.h"
#include "render/canvas.h"
#include <cfloat>
Include dependency graph for canvas.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  novasvg::Point
 
class  novasvg::Size
 
class  novasvg::Rect
 
class  novasvg::Transform
 
class  novasvg::Path
 
class  novasvg::PathIterator
 

Namespaces

namespace  novasvg
 Main namespace for the NovaSVG library.
 

Enumerations

enum class  novasvg::LineCap : uint8_t { novasvg::Butt = NOVASVG_LINE_CAP_BUTT , novasvg::Round = NOVASVG_LINE_CAP_ROUND , novasvg::Square = NOVASVG_LINE_CAP_SQUARE }
 
enum class  novasvg::LineJoin : uint8_t { novasvg::Miter = NOVASVG_LINE_JOIN_MITER , novasvg::Round = NOVASVG_LINE_JOIN_ROUND , novasvg::Bevel = NOVASVG_LINE_JOIN_BEVEL }
 
enum class  novasvg::FillRule : uint8_t { novasvg::NonZero = NOVASVG_FILL_RULE_NON_ZERO , novasvg::EvenOdd = NOVASVG_FILL_RULE_EVEN_ODD }
 
enum class  novasvg::SpreadMethod : uint8_t { novasvg::Pad = NOVASVG_SPREAD_METHOD_PAD , novasvg::Reflect = NOVASVG_SPREAD_METHOD_REFLECT , novasvg::Repeat = NOVASVG_SPREAD_METHOD_REPEAT }
 
enum class  novasvg::PathCommand { novasvg::MoveTo = NOVASVG_PATH_COMMAND_MOVE_TO , novasvg::LineTo = NOVASVG_PATH_COMMAND_LINE_TO , novasvg::CubicTo = NOVASVG_PATH_COMMAND_CUBIC_TO , novasvg::Close = NOVASVG_PATH_COMMAND_CLOSE }
 

Functions

constexpr Point novasvg::operator+ (const Point &a, const Point &b)
 
constexpr Point novasvg::operator- (const Point &a, const Point &b)
 
constexpr Point novasvg::operator- (const Point &a)
 
constexpr Point & novasvg::operator+= (Point &a, const Point &b)
 
constexpr Point & novasvg::operator-= (Point &a, const Point &b)
 
constexpr float novasvg::operator* (const Point &a, const Point &b)
 
constexpr Size novasvg::operator+ (const Size &a, const Size &b)
 
constexpr Size novasvg::operator- (const Size &a, const Size &b)
 
constexpr Size novasvg::operator- (const Size &a)
 
constexpr Size & novasvg::operator+= (Size &a, const Size &b)
 
constexpr Size & novasvg::operator-= (Size &a, const Size &b)