VSTGUI: CLineStyle Class Reference

VSTGUI 4.10 Graphical User Interface Framework not only for VST plugins

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
CLineStyle Class Reference

## Public Types
enum | LineCap { kLineCapButt = 0, kLineCapRound, kLineCapSquare }
enum | LineJoin { kLineJoinMiter = 0, kLineJoinRound, kLineJoinBevel }
using | CoordVector = std::vector< CCoord >

## Public Member Functions
| CLineStyle ()=default
| CLineStyle (LineCap cap, LineJoin join=kLineJoinMiter, CCoord dashPhase=0., uint32_t dashCount=0, const CCoord *dashLengths=nullptr)
| CLineStyle (LineCap cap, LineJoin join, CCoord dashPhase, const CoordVector &dashLengths)
| CLineStyle (const CLineStyle &lineStyle)
| ~CLineStyle () noexcept=default
| CLineStyle (LineCap cap, LineJoin join, CCoord dashPhase, CoordVector &&dashLengths) noexcept
| CLineStyle (CLineStyle &&cls) noexcept
CLineStyle & | operator= (CLineStyle &&cls) noexcept
LineCap | getLineCap () const
LineJoin | getLineJoin () const
CCoord | getDashPhase () const
uint32_t | getDashCount () const
CoordVector & | getDashLengths ()
const CoordVector & | getDashLengths () const
void | setLineCap (LineCap newCap)
void | setLineJoin (LineJoin newJoin)
void | setDashPhase (CCoord phase)
bool | operator== (const CLineStyle &cls) const
bool | operator!= (const CLineStyle &cls) const
CLineStyle & | operator= (const CLineStyle &cls)

## Protected Attributes
LineCap | cap {kLineCapButt}
LineJoin | join {kLineJoinMiter}
CCoord | dashPhase {0.}
CoordVector | dashLengths

## Member Typedef Documentation

using CoordVector = std::vector<CCoord>

## Member Enumeration Documentation

enum LineCap

Enumerator
kLineCapButt |
kLineCapRound |
kLineCapSquare |

enum LineJoin

Enumerator
kLineJoinMiter |
kLineJoinRound |
kLineJoinBevel |

## Constructor & Destructor Documentation

CLineStyle | ( |  | ) |
| default

CLineStyle | ( | LineCap | cap,
|  | LineJoin | join = `kLineJoinMiter`,
|  | CCoord | dashPhase = `0.`,
|  | uint32_t | dashCount = `0`,
|  | const CCoord * | dashLengths = `nullptr`
| ) |  |
| explicit

CLineStyle | ( | LineCap | cap,
|  | LineJoin | join,
|  | CCoord | dashPhase,
|  | const CoordVector & | dashLengths
| ) |  |

CLineStyle | ( | const CLineStyle & | lineStyle | ) |

~CLineStyle | ( |  | ) |
| defaultnoexcept

CLineStyle | ( | LineCap | cap,
|  | LineJoin | join,
|  | CCoord | dashPhase,
|  | CoordVector && | dashLengths
| ) |  |
| noexcept

CLineStyle | ( | CLineStyle && | cls | ) |
| noexcept

## Member Function Documentation

uint32_t getDashCount | ( |  | ) | const
| inline

CoordVector& getDashLengths | ( |  | ) |
| inline

const CoordVector& getDashLengths | ( |  | ) | const
| inline

CCoord getDashPhase | ( |  | ) | const
| inline

LineCap getLineCap | ( |  | ) | const
| inline

LineJoin getLineJoin | ( |  | ) | const
| inline

bool operator!= | ( | const CLineStyle & | cls | ) | const
| inline

CLineStyle & operator= | ( | CLineStyle && | cls | ) |
| noexcept

CLineStyle & operator= | ( | const CLineStyle & | cls | ) |

bool operator== | ( | const CLineStyle & | cls | ) | const

void setDashPhase | ( | CCoord | phase | ) |
| inline

void setLineCap | ( | LineCap | newCap | ) |
| inline

void setLineJoin | ( | LineJoin | newJoin | ) |
| inline

## Member Data Documentation

LineCap cap {kLineCapButt}
| protected

CoordVector dashLengths
| protected

CCoord dashPhase {0.}
| protected

LineJoin join {kLineJoinMiter}
| protected

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

- clinestyle.h
- clinestyle.cpp