QLine

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

CLASS REFERENCE
Source: /harbour/contrib/hbqt/TQLine.prg
http://doc.trolltech.com/4.5/qline.htm

IMPORTANT:  Call the constructor with exact number of parameter. 
            No defaults, otherwise application will GPF

oLine := QLine():new()
oLine := QLine():new( pQLine )
oLine := QLine():new( pQPoint_p1, pQPoint_p2 )
oLine := QLine():new( nX1, nY1, nX2, nY2 )
oLine : p1() pQPoint
oLine : p2() pQPoint
oLine : x1() nInt
oLine : x2() nInt
oLine : y1() nInt
oLine : y2() nInt
oLine : dx() nInt
oLine : dy() nInt
oLine : isNull() lBool
oLine : setP1( pP1 ) NIL
oLine : setP2( pP2 ) NIL
oLine : setLine( nX1, nY1, nX2, nY2 ) NIL
oLine : setPoints( pP1, pP2 ) NIL
oLine : translate( pOffset ) NIL
oLine : translate_1( nDx, nDy ) NIL
FUNCTIONS REFERENCE
Source: /harbour/contrib/hbqt/QLine.cpp
Qt_QLine_p1( pQLine )pQPoint
Qt_QLine_p2( pQLine )pQPoint
Qt_QLine_x1( pQLine )nInt
Qt_QLine_x2( pQLine )nInt
Qt_QLine_y1( pQLine )nInt
Qt_QLine_y2( pQLine )nInt
Qt_QLine_dx( pQLine )nInt
Qt_QLine_dy( pQLine )nInt
Qt_QLine_isNull( pQLine )lBool
Qt_QLine_setP1( pQLine, pP1 )NIL
Qt_QLine_setP2( pQLine, pP2 )NIL
Qt_QLine_setLine( pQLine, nX1, nY1, nX2, nY2 )NIL
Qt_QLine_setPoints( pQLine, pP1, pP2 )NIL
Qt_QLine_translate( pQLine, pOffset )NIL
Qt_QLine_translate_1( pQLine, nDx, nDy )NIL
Qt_QLine_translated( pQLine, pOffset )pQLine
Qt_QLine_translated_1( pQLine, nDx, nDy )pQLine