FastUIDraw
Public Member Functions | List of all members
fastuidraw::PainterShaderSet Class Reference

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 PainterBlendShaderSetblend_shaders (void) const
 
PainterShaderSetblend_shaders (const PainterBlendShaderSet &sh)
 
const PainterBrushShaderSetbrush_shaders (void) const
 
PainterShaderSetbrush_shaders (const PainterBrushShaderSet &sh)
 
const PainterDashedStrokeShaderSetdashed_stroke_shader (void) const
 
PainterShaderSetdashed_stroke_shader (const PainterDashedStrokeShaderSet &sh)
 
const PainterFillShaderfill_shader (void) const
 
PainterShaderSetfill_shader (const PainterFillShader &sh)
 
const PainterGlyphShaderglyph_shader (void) const
 
PainterShaderSetglyph_shader (const PainterGlyphShader &sh)
 
PainterShaderSetoperator= (const PainterShaderSet &rhs)
 
const PainterStrokeShaderstroke_shader (void) const
 
PainterShaderSetstroke_shader (const PainterStrokeShader &sh)
 
void swap (PainterShaderSet &obj)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PainterShaderSet() [1/2]

fastuidraw::PainterShaderSet::PainterShaderSet ( void  )

Ctor, inits all as empty

◆ PainterShaderSet() [2/2]

fastuidraw::PainterShaderSet::PainterShaderSet ( const PainterShaderSet obj)

Copy ctor.

Parameters
objvalue from which to copy

Member Function Documentation

◆ blend_shaders() [1/2]

const PainterBlendShaderSet& fastuidraw::PainterShaderSet::blend_shaders ( void  ) const

Blend shaders. If an element is a nullptr shader, then that blend mode is not supported.

◆ blend_shaders() [2/2]

PainterShaderSet& fastuidraw::PainterShaderSet::blend_shaders ( const PainterBlendShaderSet sh)

Set the value returned by blend_shaders(void) const.

Parameters
shvalue to use

◆ brush_shaders() [1/2]

const PainterBrushShaderSet& fastuidraw::PainterShaderSet::brush_shaders ( void  ) const

Returns the PainterBrushShader that performs the fixed function brush shading as encoded by PainterBrush.

◆ brush_shaders() [2/2]

PainterShaderSet& fastuidraw::PainterShaderSet::brush_shaders ( const PainterBrushShaderSet sh)

Set the value returned by brush_shaders(void) const.

Parameters
shvalue to use

◆ dashed_stroke_shader() [1/2]

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.

◆ dashed_stroke_shader() [2/2]

PainterShaderSet& fastuidraw::PainterShaderSet::dashed_stroke_shader ( const PainterDashedStrokeShaderSet sh)

Set the value returned by dashed_stroke_shader(void) const.

Parameters
shvalue to use

◆ fill_shader() [1/2]

const PainterFillShader& fastuidraw::PainterShaderSet::fill_shader ( void  ) const

Shader for filling of paths via FilledPath.

◆ fill_shader() [2/2]

PainterShaderSet& fastuidraw::PainterShaderSet::fill_shader ( const PainterFillShader sh)

Set the value returned by fill_shader(void) const.

Parameters
shvalue to use

◆ glyph_shader() [1/2]

const PainterGlyphShader& fastuidraw::PainterShaderSet::glyph_shader ( void  ) const

fn glyph_shader(void) const Shader set for rendering of glyphs with isotropic anti-aliasing.

◆ glyph_shader() [2/2]

PainterShaderSet& fastuidraw::PainterShaderSet::glyph_shader ( const PainterGlyphShader sh)

Set the value returned by glyph_shader(void) const.

Parameters
shvalue to use

◆ operator=()

PainterShaderSet& fastuidraw::PainterShaderSet::operator= ( const PainterShaderSet rhs)

Assignment operator.

Parameters
rhsvalue from which to copy

◆ stroke_shader() [1/2]

const PainterStrokeShader& fastuidraw::PainterShaderSet::stroke_shader ( void  ) const

Shader set for stroking of paths; the stroking parameters are given by a PainterStrokeParams value.

◆ stroke_shader() [2/2]

PainterShaderSet& fastuidraw::PainterShaderSet::stroke_shader ( const PainterStrokeShader sh)

Set the value returned by stroke_shader(void) const.

Parameters
shvalue to use

◆ swap()

void fastuidraw::PainterShaderSet::swap ( PainterShaderSet obj)

Swap operation

Parameters
objobject with which to swap

The documentation for this class was generated from the following file: