tiny-skia-cpp
A C++20 2D rendering library (port of tiny-skia)
Loading...
Searching...
No Matches
Stroke.h File Reference

Stroke properties and dash patterns. More...

#include <cstdint>
#include <optional>
#include <vector>
#include "tiny_skia/Path.h"
#include "tiny_skia/Scalar.h"
Include dependency graph for Stroke.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tiny_skia::StrokeDash
 Dash pattern for stroked paths. More...
 
struct  tiny_skia::Stroke
 Stroke properties for Painter::strokePath. More...
 

Enumerations

enum class  tiny_skia::LineJoin : std::uint8_t { Miter , MiterClip , Round , Bevel }
 Line join style for stroke corners. More...
 

Enumeration Type Documentation

◆ LineJoin

enum class tiny_skia::LineJoin : std::uint8_t
strong
Enumerator
Miter 

Sharp corner (extends to miter limit).

MiterClip 

Miter clipped at the limit distance.

Round 

Rounded corner.

Bevel 

Flat corner.