QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskVertex::ColoredLine Class Reference

Detailed Description

Definition at line 162 of file QskVertex.h.

Public Attributes

QSGGeometry::ColoredPoint2D p1
 
QSGGeometry::ColoredPoint2D p2
 

Public Member Functions

void setLine (float x1, float y1, Color c1, float x2, float y2, Color c2) noexcept
 
void setLine (float x1, float y1, float x2, float y2, Color color) noexcept
 
void setLine (const QPointF &p1, const QPointF &p2, Color color) noexcept
 
void setLine (const QLineF &line, Color color) noexcept
 
void setHLine (qreal x1, qreal x2, qreal y, Color color) noexcept
 
void setVLine (qreal x, qreal y1, qreal y2, Color color) noexcept
 
float x1 () const noexcept
 
float y1 () const noexcept
 
float x2 () const noexcept
 
float y2 () const noexcept
 
float dx () const noexcept
 
float dy () const noexcept
 

Member Function Documentation

◆ dx()

float QskVertex::ColoredLine::dx ( ) const
inlinenoexcept

Definition at line 203 of file QskVertex.h.

◆ dy()

float QskVertex::ColoredLine::dy ( ) const
inlinenoexcept

Definition at line 204 of file QskVertex.h.

◆ setHLine()

void QskVertex::ColoredLine::setHLine ( qreal  x1,
qreal  x2,
qreal  y,
Color  color 
)
inlinenoexcept

Definition at line 187 of file QskVertex.h.

◆ setLine() [1/4]

void QskVertex::ColoredLine::setLine ( const QLineF &  line,
Color  color 
)
inlinenoexcept

Definition at line 182 of file QskVertex.h.

◆ setLine() [2/4]

void QskVertex::ColoredLine::setLine ( const QPointF &  p1,
const QPointF &  p2,
Color  color 
)
inlinenoexcept

Definition at line 177 of file QskVertex.h.

◆ setLine() [3/4]

void QskVertex::ColoredLine::setLine ( float  x1,
float  y1,
Color  c1,
float  x2,
float  y2,
Color  c2 
)
inlinenoexcept

Definition at line 165 of file QskVertex.h.

◆ setLine() [4/4]

void QskVertex::ColoredLine::setLine ( float  x1,
float  y1,
float  x2,
float  y2,
Color  color 
)
inlinenoexcept

Definition at line 172 of file QskVertex.h.

◆ setVLine()

void QskVertex::ColoredLine::setVLine ( qreal  x,
qreal  y1,
qreal  y2,
Color  color 
)
inlinenoexcept

Definition at line 192 of file QskVertex.h.

◆ x1()

float QskVertex::ColoredLine::x1 ( ) const
inlinenoexcept

Definition at line 197 of file QskVertex.h.

◆ x2()

float QskVertex::ColoredLine::x2 ( ) const
inlinenoexcept

Definition at line 200 of file QskVertex.h.

◆ y1()

float QskVertex::ColoredLine::y1 ( ) const
inlinenoexcept

Definition at line 198 of file QskVertex.h.

◆ y2()

float QskVertex::ColoredLine::y2 ( ) const
inlinenoexcept

Definition at line 201 of file QskVertex.h.

Member Data Documentation

◆ p1

QSGGeometry::ColoredPoint2D QskVertex::ColoredLine::p1

Definition at line 206 of file QskVertex.h.

◆ p2

QSGGeometry::ColoredPoint2D QskVertex::ColoredLine::p2

Definition at line 207 of file QskVertex.h.