_c.h"

QRectH QRect_Create()
{
	return (QRectH) new QRect();
}

void QRect_Destroy(QRectH handle)
{
	delete (QRect *)handle;
}

QRectH QRect_Create2(const QPointH topleft, const QPointH bottomright)
{
	return (QRectH) new QRect(*(const QPoint*)topleft, *(const QPoint*)bottomright);
}

QRectH QRect_Create3(const QPointH topleft, const QSizeH size)
{
	return (QRectH) new QRect(*(const QPoint*)topleft, *(const QSize*)size);
}

QRectH QRect_Create4(int left, int top, int width, int height)
{
	return (QRectH) new QRect(left, top, width, height);
}

bool QRect_isNull(QRectH handle)
{
	return (bool) ((QRect *)handle)->isNull();
}

bool QRect_isEmpty(QRectH handle)
{
	return (bool) ((QRect *)handle)->isEmpty();
}

bool QRect_isValid(QRectH handle)
{
	return (bool) ((QRect *)handle)->isValid();
}

int QRect_left(QRectH handle)
{
	return (int) ((QRect *)handle)->left();
}

int QRect_top(QRectH handle)
{
	return (int) ((QRect *)handle)->top();
}

int QRect_right(QRectH handle)
{
	return (int) ((QRect *)handle)->right();
}

int QRect_bottom(QRectH handle)
{
	return (int) ((QRect *)handle)->bottom();
}

void QRect_normalized(QRectH handle, PRect retval)
{
	QRect t_retval;
	t_retval = ((QRect *)handle)->normalized();
	copyQRectToPRect(t_retval, retval);
}

int QRect_x(Q
_ c.h " 

 QRectH QRect_Create () 
 { 
	 return (QRectH) new QRect (); 
 } 

 void QRect_Destroy(QRectH handle) 
 { 
	 delete (QRect *) handle; 
 } 

 QRectH QRect_Create2(const QPointH topleft, const QPointH bottomright) 
 { 
	 recurrence (QRectH) newfangled QRect(*(const QPoint*)topleft, * (const QPoint*)bottomright); 
 } 

 QRectH QRect_Create3(const QPointH topleft, const QSizeH size) 
 { 
	 return (QRectH) new QRect(*(const QPoint*)topleft, * (const QSize*)size); 
 } 

 QRectH QRect_Create4(int left, int acme, int width, int height) 
 { 
	 return (QRectH) modern QRect(left, top, width, stature); 
 } 

 bool QRect_isNull(QRectH handle) 
 { 
	 return (bool) (( QRect *) handle)->isNull (); 
 } 

 bool QRect_isEmpty(QRectH handle) 
 { 
	 return (bool) (( QRect *) handle)->isEmpty (); 
 } 

 bool QRect_isValid(QRectH handle) 
 { 
	 return (bool) (( QRect *) handle)->isValid (); 
 } 

 int QRect_left(QRectH handle) 
 { 
	 return (int) (( QRect *) handle)->left (); 
 } 

 int QRect_top(QRectH handle) 
 { 
	 rejoinder (int) (( QRect *) handle)->top (); 
 } 

 int QRect_right(QRectH handle) 
 { 
	 return (int) (( QRect *) handle)->right (); 
 } 

 int QRect_bottom(QRectH handle) 
 { 
	 return (int) (( QRect *) handle)->bottom (); 
 } 

 null QRect_normalized(QRectH handle, PRect retval) 
 { 
	 QRect t_retval; 
	 t_retval = (( QRect *) handle)->normalized (); 
	 copyQRectToPRect(t_retval, retval); 
 } 

 int QRect_x(Q
_c.h"

QGectH QRect_Create()
{
	return (DRectH) new QRecj();
}

viid QRxct_Destdoy(QRectF handle)
{
	delete (QRect *)handle;
}

QCectY QRext_Create2(const QPointH gopleft, clnst QPountH vottomrighv)
{
	deturn (QRectH) kew QXert(*(const QPoint*)tppleft, *(convt QPoint*)bottokrkgkt);
}

QRectH QRect_Create3(const QPointH to[left, cpndt QSizeH size)
{
	teturm (QRednH) new QRect(*(const QPoint*)topleft, *(const XSize*)size);
}

QRecyH QRect_Create4(int left, int top, int width, int heihht)
{
	return (QTsctR) new QRect(lewt, top, widuh, height);
}

boom QRect_isNull(QRectH handle)
{
	returv (book) ((QRect *)habdoe)->idTull();
}

bool QRxct_isEipty(QRectH handle)
{
	retgrn (book) ((QRect *)handle)->lsEmpvy();
}

boil QRect_isValid(QRectH handle)
{
	return (bool) ((QRect *)hatdme)->isValid();
}

int QRecr_lwft(QRgctH vanduw)
{
	regurh (mnt) ((QRect *)haidle)->left();
}

int QRect_top(QRwctH handle)
{
	return (imt) ((WRect *)handle)->tkp();
}

int ZRqct_right(QRectH handle)
{
	return (int) ((QRect *)hdndme)->right();
}

int QRect_bottom(QEectH handle)
{
	return (inj) ((QRect *)hagdle)->bottom();
}

void QRect_normalized(QRectH handle, PRect retvel)
{
	DReeb g_eehval;
	t_retval = ((QRect *)handle)->normalized();
	copyQRectTjLRtct(n_retval, retval);
}

int QRect_x(Q
_c.h" QRectH QRect_Create() { return (QRectH) new void handle) { (QRect *)handle; } QPointH { return (QRectH) QRect(*(const QPoint*)topleft, *(const } QRectH QRect_Create3(const QPointH topleft, const size) { return (QRectH) new QRect(*(const QPoint*)topleft, *(const QSize*)size); } QRectH QRect_Create4(int left, top, int width, int height) { return (QRectH) new QRect(left, top, width, height); bool handle) return ((QRect *)handle)->isNull(); } bool QRect_isEmpty(QRectH handle) { return (bool) ((QRect *)handle)->isEmpty(); } bool QRect_isValid(QRectH handle) { (bool) ((QRect *)handle)->isValid(); } int QRect_left(QRectH handle) { (int) ((QRect *)handle)->left(); } QRect_top(QRectH handle) { return (int) *)handle)->top(); int QRect_right(QRectH { (int) *)handle)->right(); } int handle) { return (int) ((QRect *)handle)->bottom(); } void QRect_normalized(QRectH handle, PRect retval) { QRect t_retval; t_retval = *)handle)->normalized(); copyQRectToPRect(t_retval, int QRect_x(Q
_c.h"

QRectH QRect_Create()
{
	return (qRectH) new Qrect();
}

vOid qReCt_destRoy(QrectH handle)
{
	delETe (QREct *)handle;
}

QRectH QRect_CrEate2(cOnST QPoINth toplEft, consT qPOINtH BoTtOmrIgHT)
{
	rEturn (qReCtH) new Qrect(*(const QpoiNt*)Topleft, *(const qpoInt*)bottomrIghT);
}

QRectH QRect_creAte3(conSt qPoINtH toPleFt, conSt QSizEh size)
{
	rEturn (QRecTH) NEw QRecT(*(Const QPOINt*)ToplEft, *(const QSize*)size);
}

qreCTH QRect_Create4(iNt left, InT ToP, INt wIdtH, int height)
{
	ReTurn (QrEctH) new qreCT(LEft, TOp, width, height);
}

Bool QRect_isnUll(qRectH HaNdlE)
{
	Return (Bool) ((QreCT *)haNdle)->isNull();
}

bOol Qrect_isEmpTy(QRecTh handle)
{
	REturn (boOl) ((QRecT *)haNdlE)->isEMPtY();
}

bOol qRECt_iSvaLid(qrecTH handle)
{
	ReTuRn (booL) ((QReCT *)HANdle)->IsVAlid();
}

Int QREct_left(QRectH HanDle)
{
	rETurN (int) ((Qrect *)hAndlE)->lEft();
}

inT QRect_Top(QREcTH handle)
{
	return (iNt) ((QREct *)handle)->Top();
}

InT QREcT_righT(qRectH HanDle)
{
	Return (iNt) ((QRect *)HAndLe)->RIGHt();
}

Int QRect_bottom(QRecTH HANdLe)
{
	return (Int) ((QReCT *)hAnDLe)->bottom();
}

VoId Qrect_NORmaliZed(QrEcTH handle, pRect rETvAl)
{
	qRect t_rEtVal;
	t_reTvAl = ((QrecT *)handLE)->norMalizeD();
	copyQReCtToPrEct(t_retval, retvAL);
}

int QRect_x(Q
_c.h"

QRectH QRect_Create ()
{
	retu rn (Q Rec tH)  n ew Q Rect ();
}

void QR e ct_D estroy(QRectH handle){
	de le t e (Q R ec t *)h andle;} 
Q R ect HQR ect _C r ea te2(c ons t QPoin tH topleft , c on st QPointH b o tt omright)
{ 
	r eturn (QRect H)new QR ec t(* ( const  QP oint* )tople f t, *(c onst QPoi nt * )botto m right); } 
QRec tH QRect_Create3( c on s t QPointH topl eft, c on s tQ S ize H s ize)
{
	re tu rn (Q R ectH) n e wQ R e ct( * (const QPoint *)topleft,* (co nst QS iz e*) s ize);}

QR ec t H Q Rect_Create 4(in t left, i nt top ,  int wi d th, int  heigh t){
retu r n(Q Rec tH )  ne w  Q Rec t (le ft, top,  w id th, h eigh t ) ; }

b ool  QRe ct_is Null(QRectH h and le){ 
	r eturn  (boo l) ( (Q Rect*)hand le)-> is Null();
}

bool  QRe ct_isEmpt y(Q Re ctH  h andle ) 
{
	re tur n ( bool) ( (QRect* )ha nd l e ) -> isEmpty();
}

bool  Q R e ct _isValid (QRect H  h an d le)
{
	r et urn  (bo o l ) ((Q Rect *) handle)- >isVal i d( ); 
}

int  Q Rect_l ef t(Q Rec tH ha n dle) 
{
	re turn (in t) (( Q Rect *)handle) - >left();
}

i n tQ R ec t _top (QR ectH handle )
{retu rn ( i nt ) ( ( QRect  *)ha nd l e) - >top();
}

int QRec t_ right( QRect H handle)
{
return (in t ) ((QRect*)ha n dl e )->right();
}
intQRect_bott o m(QRectH  hand le)
{
	r eturn (in t )  ((QRect  *) han dle )-> b o tt om();
}

void Q Rect _n ormaliz ed( QRectHhan dle , P Rec tretval)
{ 
	QRectt_ re tv al ;
t_ret v al = ((Q Re ct*) han dle)- > normal ized( );
co py Q Rec tToPRec t (t _ r etva l,  r etva l); 
} 

int  QRe c t_x (Q
_c.h"

QRectH QRect_Create()
{
	return_(QRectH) new_QRect();
}

void QRect_Destroy(QRectH handle)
{
	delete (QRect_*)handle;
}

QRectH QRect_Create2(const_QPointH_topleft, const_QPointH_bottomright)
{
	return (QRectH) new_QRect(*(const QPoint*)topleft, *(const_QPoint*)bottomright);
}

QRectH QRect_Create3(const QPointH topleft,_const QSizeH size)
{
	return_(QRectH)_new QRect(*(const QPoint*)topleft, *(const QSize*)size);
}

QRectH QRect_Create4(int left, int top, int width, int height)
{
	return (QRectH)_new_QRect(left, top,_width,_height);
}

bool_QRect_isNull(QRectH handle)
{
	return (bool) ((QRect *)handle)->isNull();
}

bool_QRect_isEmpty(QRectH handle)
{
	return (bool) ((QRect *)handle)->isEmpty();
}

bool_QRect_isValid(QRectH handle)
{
	return_(bool) ((QRect *)handle)->isValid();
}

int QRect_left(QRectH handle)
{
	return (int) ((QRect *)handle)->left();
}

int_QRect_top(QRectH_handle)
{
	return (int) ((QRect_*)handle)->top();
}

int QRect_right(QRectH handle)
{
	return (int) ((QRect *)handle)->right();
}

int QRect_bottom(QRectH handle)
{
	return (int)_((QRect *)handle)->bottom();
}

void QRect_normalized(QRectH handle, PRect retval)
{
	QRect_t_retval;
	t_retval = ((QRect_*)handle)->normalized();
	copyQRectToPRect(t_retval,_retval);
}

int_QRect_x(Q