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

#include <stroking_style.hpp>

Public Member Functions

StrokingStylecap_style (enum PainterEnums::cap_style c)
 
StrokingStylejoin_style (enum PainterEnums::join_style j)
 

Public Attributes

enum PainterEnums::cap_style m_cap_style
 
enum PainterEnums::join_style m_join_style
 

Detailed Description

Simple class to wrap how to stroke: closed or open, join style and cap style. Does NOT include stroking parameters (i.e. PainterStrokeParams).

Definition at line 36 of file stroking_style.hpp.

Member Function Documentation

◆ cap_style()

StrokingStyle& fastuidraw::StrokingStyle::cap_style ( enum PainterEnums::cap_style  c)
inline

Set m_cap_style to the specified value. Default value is PainterEnums::square_caps.

Definition at line 49 of file stroking_style.hpp.

◆ join_style()

StrokingStyle& fastuidraw::StrokingStyle::join_style ( enum PainterEnums::join_style  j)
inline

Set m_join_style to the specified value.

Definition at line 59 of file stroking_style.hpp.

Member Data Documentation

◆ m_cap_style

enum PainterEnums::cap_style fastuidraw::StrokingStyle::m_cap_style

Specifies the what cap-style to use when stroking the path. Default value is PainterEnums::square_caps.

Definition at line 69 of file stroking_style.hpp.

◆ m_join_style

enum PainterEnums::join_style fastuidraw::StrokingStyle::m_join_style

Specifies what join style to use when stroking the path. Default value is PainterEnums::miter_clip_joins

Definition at line 75 of file stroking_style.hpp.


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