FastUIDraw
|
A PainterShaderSet provides shaders for blending and drawing each of the item types glyphs, stroking paths and filling paths. More...
#include <painter_shader_set.hpp>
Public Member Functions | |
PainterShaderSet (void) | |
PainterShaderSet (const PainterShaderSet &obj) | |
const PainterBlendShaderSet & | blend_shaders (void) const |
PainterShaderSet & | blend_shaders (const PainterBlendShaderSet &sh) |
const PainterBrushShaderSet & | brush_shaders (void) const |
PainterShaderSet & | brush_shaders (const PainterBrushShaderSet &sh) |
const PainterDashedStrokeShaderSet & | dashed_stroke_shader (void) const |
PainterShaderSet & | dashed_stroke_shader (const PainterDashedStrokeShaderSet &sh) |
const PainterFillShader & | fill_shader (void) const |
PainterShaderSet & | fill_shader (const PainterFillShader &sh) |
const PainterGlyphShader & | glyph_shader (void) const |
PainterShaderSet & | glyph_shader (const PainterGlyphShader &sh) |
PainterShaderSet & | operator= (const PainterShaderSet &rhs) |
const PainterStrokeShader & | stroke_shader (void) const |
PainterShaderSet & | stroke_shader (const PainterStrokeShader &sh) |
void | swap (PainterShaderSet &obj) |
A PainterShaderSet provides shaders for blending and drawing each of the item types glyphs, stroking paths and filling paths.
Definition at line 45 of file painter_shader_set.hpp.
fastuidraw::PainterShaderSet::PainterShaderSet | ( | void | ) |
Ctor, inits all as empty
fastuidraw::PainterShaderSet::PainterShaderSet | ( | const PainterShaderSet & | obj | ) |
Copy ctor.
obj | value from which to copy |
const PainterBlendShaderSet& fastuidraw::PainterShaderSet::blend_shaders | ( | void | ) | const |
Blend shaders. If an element is a nullptr shader, then that blend mode is not supported.
PainterShaderSet& fastuidraw::PainterShaderSet::blend_shaders | ( | const PainterBlendShaderSet & | sh | ) |
Set the value returned by blend_shaders(void) const.
sh | value to use |
const PainterBrushShaderSet& fastuidraw::PainterShaderSet::brush_shaders | ( | void | ) | const |
Returns the PainterBrushShader that performs the fixed function brush shading as encoded by PainterBrush.
PainterShaderSet& fastuidraw::PainterShaderSet::brush_shaders | ( | const PainterBrushShaderSet & | sh | ) |
Set the value returned by brush_shaders(void) const.
sh | value to use |
const PainterDashedStrokeShaderSet& fastuidraw::PainterShaderSet::dashed_stroke_shader | ( | void | ) | const |
Shader set for dashed stroking of paths; the stroking parameters are given by a PainterDashedStrokeParams value.
PainterShaderSet& fastuidraw::PainterShaderSet::dashed_stroke_shader | ( | const PainterDashedStrokeShaderSet & | sh | ) |
Set the value returned by dashed_stroke_shader(void) const.
sh | value to use |
const PainterFillShader& fastuidraw::PainterShaderSet::fill_shader | ( | void | ) | const |
Shader for filling of paths via FilledPath.
PainterShaderSet& fastuidraw::PainterShaderSet::fill_shader | ( | const PainterFillShader & | sh | ) |
Set the value returned by fill_shader(void) const.
sh | value to use |
const PainterGlyphShader& fastuidraw::PainterShaderSet::glyph_shader | ( | void | ) | const |
fn glyph_shader(void) const Shader set for rendering of glyphs with isotropic anti-aliasing.
PainterShaderSet& fastuidraw::PainterShaderSet::glyph_shader | ( | const PainterGlyphShader & | sh | ) |
Set the value returned by glyph_shader(void) const.
sh | value to use |
PainterShaderSet& fastuidraw::PainterShaderSet::operator= | ( | const PainterShaderSet & | rhs | ) |
Assignment operator.
rhs | value from which to copy |
const PainterStrokeShader& fastuidraw::PainterShaderSet::stroke_shader | ( | void | ) | const |
Shader set for stroking of paths; the stroking parameters are given by a PainterStrokeParams value.
PainterShaderSet& fastuidraw::PainterShaderSet::stroke_shader | ( | const PainterStrokeShader & | sh | ) |
Set the value returned by stroke_shader(void) const.
sh | value to use |
void fastuidraw::PainterShaderSet::swap | ( | PainterShaderSet & | obj | ) |
Swap operation
obj | object with which to swap |