#include <pulp/canvas/canvas.hpp>
#include <string>
#include <string_view>
#include <vector>
Go to the source code of this file.
|
| namespace | pulp |
| namespace | pulp::view |
| | Hover-cursor tracking for platform window hosts.
|
|
| const std::vector< std::string > & | pulp::view::chart_shader_preset_names () |
| | The preset names: bevel, inset-channel, tube, light-pipe, centre-highlight and glow.
|
| ChartShaderPreset | pulp::view::make_chart_shader_preset (std::string_view name, const ChartShaderPresetOptions &options={}) |
| | Build the named preset's chart shader with options baked in as constants.
|
| float | pulp::view::chart_glow_reach (float sigma, float intensity) |
| | Distance past which a glow of sigma and intensity is below one 8-bit step (intensity * exp(-r^2 / (2 sigma^2)) < 1/255), and never less than three sigma.
|
| bool | pulp::view::parse_chart_profile (std::string_view name, ChartProfile &out) |
| | Parse a profile name (round, flat, chamfer).
|