QLine

#include <QtCore/QLine>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QLine


Overview

Public Functions Index

QLine ()
QLine (const QPoint &pt1, const QPoint &pt2)
QLine (int x1, int y1, int x2, int y2)
intdx () const
intdy () const
boolisNull () const
booloperator!= (const QLine &d) const
booloperator== (const QLine &d) const
QPointp1 () const
QPointp2 () const
voidsetLine (int x1, int y1, int x2, int y2)
voidsetP1 (const QPoint &p1)
voidsetP2 (const QPoint &p2)
voidsetPoints (const QPoint &p1, const QPoint &p2)
voidtranslate (const QPoint &p)
voidtranslate (int dx, int dy)
QLinetranslated (const QPoint &p) const
QLinetranslated (int dx, int dy) const
intx1 () const
intx2 () const
inty1 () const
inty2 () const

Public Functions

QLine ()

QLine (

QLine (
  • intx1,
  • inty1,
  • intx2,
  • inty2 )

int dx ()

int dy ()

bool isNull ()

bool operator!= (

bool operator== (

QPoint p1 ()

QPoint p2 ()

void setLine (
  • intx1,
  • inty1,
  • intx2,
  • inty2 )

void setP1 (

void setP2 (

void setPoints (

void translate (

void translate (
  • intdx,
  • intdy )

QLine translated (

QLine translated (
  • intdx,
  • intdy )

int x1 ()

int x2 ()

int y1 ()

int y2 ()

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus