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

A PainterBrushShaderSet holds the PainterBrushShader objects to be used with the default brushes. More...

#include <painter_brush_shader_set.hpp>

Public Member Functions

 PainterBrushShaderSet (void)
 
 PainterBrushShaderSet (const PainterBrushShaderSet &obj)
 
const reference_counted_ptr< const PainterGradientBrushShader > & gradient_brush (void) const
 
PainterBrushShaderSetgradient_brush (const reference_counted_ptr< const PainterGradientBrushShader > &sh)
 
const reference_counted_ptr< const PainterImageBrushShader > & image_brush (void) const
 
PainterBrushShaderSetimage_brush (const reference_counted_ptr< const PainterImageBrushShader > &sh)
 
PainterBrushShaderSetoperator= (const PainterBrushShaderSet &rhs)
 
const reference_counted_ptr< PainterBrushShader > & standard_brush (void) const
 
PainterBrushShaderSetstandard_brush (const reference_counted_ptr< PainterBrushShader > &sh)
 
void swap (PainterBrushShaderSet &obj)
 

Detailed Description

A PainterBrushShaderSet holds the PainterBrushShader objects to be used with the default brushes.

Definition at line 38 of file painter_brush_shader_set.hpp.

Constructor & Destructor Documentation

◆ PainterBrushShaderSet() [1/2]

fastuidraw::PainterBrushShaderSet::PainterBrushShaderSet ( void  )

Ctor

◆ PainterBrushShaderSet() [2/2]

fastuidraw::PainterBrushShaderSet::PainterBrushShaderSet ( const PainterBrushShaderSet obj)

Copy ctor.

Member Function Documentation

◆ gradient_brush() [1/2]

const reference_counted_ptr<const PainterGradientBrushShader>& fastuidraw::PainterBrushShaderSet::gradient_brush ( void  ) const

◆ gradient_brush() [2/2]

PainterBrushShaderSet& fastuidraw::PainterBrushShaderSet::gradient_brush ( const reference_counted_ptr< const PainterGradientBrushShader > &  sh)

Set the value returned by gradient_brush(void) const.

Parameters
shvalue to use

◆ image_brush() [1/2]

const reference_counted_ptr<const PainterImageBrushShader>& fastuidraw::PainterBrushShaderSet::image_brush ( void  ) const

◆ image_brush() [2/2]

PainterBrushShaderSet& fastuidraw::PainterBrushShaderSet::image_brush ( const reference_counted_ptr< const PainterImageBrushShader > &  sh)

Set the value returned by image_brush(void) const.

Parameters
shvalue to use

◆ operator=()

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

Assignment operator.

◆ standard_brush() [1/2]

const reference_counted_ptr<PainterBrushShader>& fastuidraw::PainterBrushShaderSet::standard_brush ( void  ) const

Returns the PainterBrushShader that uses data packed by PainterBrush to apply a brush as specified by the PainterBrush that packed the data.

◆ standard_brush() [2/2]

PainterBrushShaderSet& fastuidraw::PainterBrushShaderSet::standard_brush ( const reference_counted_ptr< PainterBrushShader > &  sh)

Set the value returned by standard_brush(void) const.

Parameters
shvalue to use

◆ swap()

void fastuidraw::PainterBrushShaderSet::swap ( PainterBrushShaderSet obj)

Swap operation

Parameters
objobject with which to swap

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