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

Detailed Description

Definition at line 108 of file QskVertex.h.

Public Attributes

QSGGeometry::Point2D p1
 
QSGGeometry::Point2D p2
 

Public Member Functions

void setLine (float x1, float y1, float x2, float y2) noexcept
 
void setLine (const QPointF &p1, const QPointF &p2) noexcept
 
void setHLine (float x1, float x2, float y) noexcept
 
void setVLine (float x, float y1, float y2) noexcept
 
void setLine (const QPointF &p1, const QPointF &p2, Color) noexcept
 
void setLine (float x1, float y1, float x2, float y2, 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::Line::dx ( ) const
inlinenoexcept

Definition at line 155 of file QskVertex.h.

◆ dy()

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

Definition at line 156 of file QskVertex.h.

◆ setHLine()

void QskVertex::Line::setHLine ( float  x1,
float  x2,
float  y 
)
inlinenoexcept

Definition at line 122 of file QskVertex.h.

◆ setLine() [1/4]

void QskVertex::Line::setLine ( const QPointF &  p1,
const QPointF &  p2 
)
inlinenoexcept

Definition at line 117 of file QskVertex.h.

◆ setLine() [2/4]

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

Definition at line 132 of file QskVertex.h.

◆ setLine() [3/4]

void QskVertex::Line::setLine ( float  x1,
float  y1,
float  x2,
float  y2 
)
inlinenoexcept

Definition at line 111 of file QskVertex.h.

◆ setLine() [4/4]

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

Definition at line 141 of file QskVertex.h.

◆ setVLine()

void QskVertex::Line::setVLine ( float  x,
float  y1,
float  y2 
)
inlinenoexcept

Definition at line 127 of file QskVertex.h.

◆ x1()

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

Definition at line 149 of file QskVertex.h.

◆ x2()

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

Definition at line 152 of file QskVertex.h.

◆ y1()

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

Definition at line 150 of file QskVertex.h.

◆ y2()

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

Definition at line 153 of file QskVertex.h.

Member Data Documentation

◆ p1

QSGGeometry::Point2D QskVertex::Line::p1

Definition at line 158 of file QskVertex.h.

◆ p2

QSGGeometry::Point2D QskVertex::Line::p2

Definition at line 159 of file QskVertex.h.