#include <DrawParams.h>
Definition at line 24 of file DrawParams.h.
◆ StrokeStyle() [1/3]
skgpu::graphite::StrokeStyle::StrokeStyle |
( |
| ) |
|
|
inline |
Definition at line 26 of file DrawParams.h.
@ kButt_Cap
no stroke extension
◆ StrokeStyle() [2/3]
Definition at line 27 of file DrawParams.h.
@ kMiter_Join
extends to miter limit
@ kBevel_Join
connects outside edges
SkPaint::Join join() const
static float max(float r, float g, float b)
◆ StrokeStyle() [3/3]
skgpu::graphite::StrokeStyle::StrokeStyle |
( |
const StrokeStyle & |
| ) |
|
|
default |
◆ cap()
◆ halfWidth()
float skgpu::graphite::StrokeStyle::halfWidth |
( |
| ) |
const |
|
inline |
◆ isBevelJoin()
bool skgpu::graphite::StrokeStyle::isBevelJoin |
( |
| ) |
const |
|
inline |
Definition at line 41 of file DrawParams.h.
41{ return fJoinLimit == 0.f; }
◆ isMiterJoin()
bool skgpu::graphite::StrokeStyle::isMiterJoin |
( |
| ) |
const |
|
inline |
Definition at line 40 of file DrawParams.h.
40{ return fJoinLimit > 0.f; }
◆ isRoundJoin()
bool skgpu::graphite::StrokeStyle::isRoundJoin |
( |
| ) |
const |
|
inline |
Definition at line 42 of file DrawParams.h.
42{ return fJoinLimit < 0.f; }
◆ join()
◆ joinLimit()
float skgpu::graphite::StrokeStyle::joinLimit |
( |
| ) |
const |
|
inline |
◆ miterLimit()
float skgpu::graphite::StrokeStyle::miterLimit |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ width()
float skgpu::graphite::StrokeStyle::width |
( |
| ) |
const |
|
inline |
Definition at line 45 of file DrawParams.h.
45{ return 2.f * fHalfWidth; }
The documentation for this class was generated from the following file: