QRectF

  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/TQRectF.prg
http://doc.trolltech.com/4.5/qrectf.htm

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

oRectF := QRectF():new()
oRectF := QRectF():new( pQRectF_other )
oRectF := QRectF():new( pQPoint_topLeft, pQPoint_bottomRight )
oRectF := QRectF():new( nX, nY, nWidth, nHeight )

/* TODO:
 *
 * oRect := QRectF():new( pQPoint_topLeft, pQSize_size )
 */
oRectF : adjust( nDx1, nDy1, nDx2, nDy2 ) NIL
oRectF : bottom() nQreal
oRectF : bottomLeft() pQPointF
oRectF : bottomRight() pQPointF
oRectF : center() pQPointF
oRectF : contains( pPoint ) lBool
oRectF : contains_1( nX, nY ) lBool
oRectF : contains_2( pRectangle ) lBool
oRectF : getCoords( @nX1, @nY1, @nX2, @nY2 ) NIL
oRectF : getRect( @nX, @nY, @nWidth, @nHeight ) NIL
oRectF : height() nQreal
oRectF : intersects( pRectangle ) lBool
oRectF : isEmpty() lBool
oRectF : isNull() lBool
oRectF : isValid() lBool
oRectF : left() nQreal
oRectF : moveBottom( nY ) NIL
oRectF : moveBottomLeft( pPosition ) NIL
oRectF : moveBottomRight( pPosition ) NIL
oRectF : moveCenter( pPosition ) NIL
oRectF : moveLeft( nX ) NIL
oRectF : moveRight( nX ) NIL
oRectF : moveTo( nX, nY ) NIL
oRectF : moveTo_1( pPosition ) NIL
oRectF : moveTop( nY ) NIL
oRectF : moveTopLeft( pPosition ) NIL
oRectF : moveTopRight( pPosition ) NIL
oRectF : right() nQreal
oRectF : setBottom( nY ) NIL
oRectF : setBottomLeft( pPosition ) NIL
oRectF : setBottomRight( pPosition ) NIL
oRectF : setCoords( nX1, nY1, nX2, nY2 ) NIL
oRectF : setHeight( nHeight ) NIL
oRectF : setLeft( nX ) NIL
oRectF : setRect( nX, nY, nWidth, nHeight ) NIL
oRectF : setRight( nX ) NIL
oRectF : setSize( pSize ) NIL
oRectF : setTop( nY ) NIL
oRectF : setTopLeft( pPosition ) NIL
oRectF : setTopRight( pPosition ) NIL
oRectF : setWidth( nWidth ) NIL
oRectF : setX( nX ) NIL
oRectF : setY( nY ) NIL
oRectF : size() pQSizeF
oRectF : toAlignedRect() pQRect
oRectF : toRect() pQRect
oRectF : top() nQreal
oRectF : topLeft() pQPointF
oRectF : topRight() pQPointF
oRectF : translate( nDx, nDy ) NIL
oRectF : translate_1( pOffset ) NIL
oRectF : width() nQreal
oRectF : x() nQreal
oRectF : y() nQreal
FUNCTIONS REFERENCE
Source: /harbour/contrib/hbqt/QRectF.cpp
Qt_QRectF_adjust( pQRectF, nDx1, nDy1, nDx2, nDy2 )NIL
Qt_QRectF_adjusted( pQRectF, nDx1, nDy1, nDx2, nDy2 )pQRectF
Qt_QRectF_bottom( pQRectF )nQreal
Qt_QRectF_bottomLeft( pQRectF )pQPointF
Qt_QRectF_bottomRight( pQRectF )pQPointF
Qt_QRectF_center( pQRectF )pQPointF
Qt_QRectF_contains( pQRectF, pPoint )lBool
Qt_QRectF_contains_1( pQRectF, nX, nY )lBool
Qt_QRectF_contains_2( pQRectF, pRectangle )lBool
Qt_QRectF_getCoords( pQRectF, @nX1, @nY1, @nX2, @nY2 )NIL
Qt_QRectF_getRect( pQRectF, @nX, @nY, @nWidth, @nHeight )NIL
Qt_QRectF_height( pQRectF )nQreal
Qt_QRectF_intersected( pQRectF, pRectangle )pQRectF
Qt_QRectF_intersects( pQRectF, pRectangle )lBool
Qt_QRectF_isEmpty( pQRectF )lBool
Qt_QRectF_isNull( pQRectF )lBool
Qt_QRectF_isValid( pQRectF )lBool
Qt_QRectF_left( pQRectF )nQreal
Qt_QRectF_moveBottom( pQRectF, nY )NIL
Qt_QRectF_moveBottomLeft( pQRectF, pPosition )NIL
Qt_QRectF_moveBottomRight( pQRectF, pPosition )NIL
Qt_QRectF_moveCenter( pQRectF, pPosition )NIL
Qt_QRectF_moveLeft( pQRectF, nX )NIL
Qt_QRectF_moveRight( pQRectF, nX )NIL
Qt_QRectF_moveTo( pQRectF, nX, nY )NIL
Qt_QRectF_moveTo_1( pQRectF, pPosition )NIL
Qt_QRectF_moveTop( pQRectF, nY )NIL
Qt_QRectF_moveTopLeft( pQRectF, pPosition )NIL
Qt_QRectF_moveTopRight( pQRectF, pPosition )NIL
Qt_QRectF_normalized( pQRectF )pQRectF
Qt_QRectF_right( pQRectF )nQreal
Qt_QRectF_setBottom( pQRectF, nY )NIL
Qt_QRectF_setBottomLeft( pQRectF, pPosition )NIL
Qt_QRectF_setBottomRight( pQRectF, pPosition )NIL
Qt_QRectF_setCoords( pQRectF, nX1, nY1, nX2, nY2 )NIL
Qt_QRectF_setHeight( pQRectF, nHeight )NIL
Qt_QRectF_setLeft( pQRectF, nX )NIL
Qt_QRectF_setRect( pQRectF, nX, nY, nWidth, nHeight )NIL
Qt_QRectF_setRight( pQRectF, nX )NIL
Qt_QRectF_setSize( pQRectF, pSize )NIL
Qt_QRectF_setTop( pQRectF, nY )NIL
Qt_QRectF_setTopLeft( pQRectF, pPosition )NIL
Qt_QRectF_setTopRight( pQRectF, pPosition )NIL
Qt_QRectF_setWidth( pQRectF, nWidth )NIL
Qt_QRectF_setX( pQRectF, nX )NIL
Qt_QRectF_setY( pQRectF, nY )NIL
Qt_QRectF_size( pQRectF )pQSizeF
Qt_QRectF_toAlignedRect( pQRectF )pQRect
Qt_QRectF_toRect( pQRectF )pQRect
Qt_QRectF_top( pQRectF )nQreal
Qt_QRectF_topLeft( pQRectF )pQPointF
Qt_QRectF_topRight( pQRectF )pQPointF
Qt_QRectF_translate( pQRectF, nDx, nDy )NIL
Qt_QRectF_translate_1( pQRectF, pOffset )NIL
Qt_QRectF_translated( pQRectF, nDx, nDy )pQRectF
Qt_QRectF_translated_1( pQRectF, pOffset )pQRectF
Qt_QRectF_united( pQRectF, pRectangle )pQRectF
Qt_QRectF_width( pQRectF )nQreal
Qt_QRectF_x( pQRectF )nQreal
Qt_QRectF_y( pQRectF )nQreal