chalk

KisRect Class Reference

#include <kis_rect.h>

Inherits KoRect.

Public Member Functions

 KisRect (double x, double y, double w, double h)
 
 KisRect (const KisPoint &topLeft, const KisPoint &bottomRight)
 
 KisRect (const TQRect &qr)
 
 KisRect (const KoRect &r)
 
TQRect qRect () const
 

Detailed Description

A double-based rect class that can return a TQRect that encloses the KisRect.

Definition at line 28 of file kis_rect.h.

Constructor & Destructor Documentation

◆ KisRect() [1/5]

KisRect::KisRect ( )
inline

Definition at line 32 of file kis_rect.h.

◆ KisRect() [2/5]

KisRect::KisRect ( double  x,
double  y,
double  w,
double  h 
)
inline

Definition at line 33 of file kis_rect.h.

◆ KisRect() [3/5]

KisRect::KisRect ( const KisPoint &  topLeft,
const KisPoint &  bottomRight 
)
inline

Definition at line 34 of file kis_rect.h.

◆ KisRect() [4/5]

KisRect::KisRect ( const TQRect &  qr)
inline

Definition at line 35 of file kis_rect.h.

◆ KisRect() [5/5]

KisRect::KisRect ( const KoRect &  r)
inline

Definition at line 36 of file kis_rect.h.

Member Function Documentation

◆ qRect()

TQRect KisRect::qRect ( ) const

Return the TQRect that encloses this KisRect.

Definition at line 24 of file kis_rect.cpp.


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