KWin
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
KWin::WindowVertex Class Reference

Vertex class. More...

#include <itemgeometry.h>

Public Member Functions

 WindowVertex ()
 
 WindowVertex (const QPointF &position, const QPointF &textureCoordinate)
 
 WindowVertex (double x, double y, double tx, double ty)
 
double x () const
 
double y () const
 
double u () const
 
double v () const
 
void move (double x, double y)
 
void setX (double x)
 
void setY (double y)
 

Friends

class WindowQuad
 
class WindowQuadList
 

Detailed Description

Vertex class.

A vertex is one position in a window. WindowQuad consists of four WindowVertex objects and represents one part of a window.

Definition at line 21 of file itemgeometry.h.

Constructor & Destructor Documentation

◆ WindowVertex() [1/3]

KWin::WindowVertex::WindowVertex ( )
inline

Definition at line 204 of file itemgeometry.h.

◆ WindowVertex() [2/3]

KWin::WindowVertex::WindowVertex ( const QPointF & position,
const QPointF & textureCoordinate )
inline

Definition at line 220 of file itemgeometry.h.

◆ WindowVertex() [3/3]

KWin::WindowVertex::WindowVertex ( double x,
double y,
double tx,
double ty )
inline

Definition at line 212 of file itemgeometry.h.

Member Function Documentation

◆ move()

void KWin::WindowVertex::move ( double x,
double y )
inline

Definition at line 228 of file itemgeometry.h.

◆ setX()

void KWin::WindowVertex::setX ( double x)
inline

Definition at line 234 of file itemgeometry.h.

◆ setY()

void KWin::WindowVertex::setY ( double y)
inline

Definition at line 239 of file itemgeometry.h.

◆ u()

double KWin::WindowVertex::u ( ) const
inline

Definition at line 36 of file itemgeometry.h.

◆ v()

double KWin::WindowVertex::v ( ) const
inline

Definition at line 40 of file itemgeometry.h.

◆ x()

double KWin::WindowVertex::x ( ) const
inline

Definition at line 28 of file itemgeometry.h.

◆ y()

double KWin::WindowVertex::y ( ) const
inline

Definition at line 32 of file itemgeometry.h.

Friends And Related Symbol Documentation

◆ WindowQuad

friend class WindowQuad
friend

Definition at line 49 of file itemgeometry.h.

◆ WindowQuadList

friend class WindowQuadList
friend

Definition at line 50 of file itemgeometry.h.


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