23 raRECT(
const raRECT& _r) : left(_r.left), top(_r.top), right(_r.right), bottom(_r.bottom) {}
24 raRECT(
const long& _r) : left(_r), top(_r), right(_r), bottom(_r) {}
25 raRECT(
const long& _l,
const long& _t,
const long& _r,
const long& _b) : left(_l), top(_t), right(_r), bottom(_b) {}
26 raRECT(
const long* _lpl) : left(_lpl[0]), top(_lpl[1]), right(_lpl[2]), bottom(_lpl[3]) {}
27 raRECT(
const RECT rec) : left(rec.left), right(rec.right), top(rec.top), bottom(rec.bottom) {}
29 operator long* () {
return (
long*)(r); }
30 operator void* () {
return (
void*)(r); }
31 operator RECT () { RECT rec = {left, top, right, bottom};
return rec; }
39 raRECT operator = (
const long l) { left = l; top = l; right = l; bottom = l;
return *
this; }
40 raRECT operator += (
const long l) { left += l; top += l; right += l; bottom += l;
return *
this; }
41 raRECT operator -= (
const long l) { left -= l; top -= l; right -= l; bottom -= l;
return *
this; }
42 raRECT operator *= (
const long l) { left *= l; top *= l; right *= l; bottom *= l;
return *
this; }
43 raRECT operator /= (
const long l) { left /= l; top /= l; right /= l; bottom /= l;
return *
this; }
raRECT(const long &_l, const long &_t, const long &_r, const long &_b)