#include <canvas.hpp>
◆ arc_start
| float pulp::canvas::Canvas::SDFStyle::arc_start = 0 |
◆ arc_sweep
| float pulp::canvas::Canvas::SDFStyle::arc_sweep = 4.712f |
For arc (radians, default 270°).
◆ arm_width
| float pulp::canvas::Canvas::SDFStyle::arm_width = 0.3f |
For cross (fraction of half-size).
◆ bezier_cx
| float pulp::canvas::Canvas::SDFStyle::bezier_cx = 0.0f |
For quadratic_bezier: control point X (normalized -1..1).
◆ bezier_cy
| float pulp::canvas::Canvas::SDFStyle::bezier_cy = -1.0f |
For quadratic_bezier: control point Y (normalized -1..1).
◆ corner_radius
| float pulp::canvas::Canvas::SDFStyle::corner_radius = 0 |
◆ feather_curve
| int pulp::canvas::Canvas::SDFStyle::feather_curve = 0 |
◆ feather_mode
| int pulp::canvas::Canvas::SDFStyle::feather_mode = 0 |
◆ feather_sigma
| float pulp::canvas::Canvas::SDFStyle::feather_sigma = 0.0f |
◆ fill_color
| Color pulp::canvas::Canvas::SDFStyle::fill_color = Color::rgba(0.392f, 1.0f, 0.392f) |
◆ inner_radius
| float pulp::canvas::Canvas::SDFStyle::inner_radius = 0.5f |
For ring (fraction of outer radius).
◆ squircle_power
| float pulp::canvas::Canvas::SDFStyle::squircle_power = 4.0f |
For squircle (higher = more rectangular).
◆ stroke_color
| Color pulp::canvas::Canvas::SDFStyle::stroke_color = Color::rgba(0.392f, 1.0f, 0.392f) |
◆ stroke_width
| float pulp::canvas::Canvas::SDFStyle::stroke_width = 0 |
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/canvas/include/pulp/canvas/canvas.hpp