Lines Matching refs:rect

92 		bool operator== (const dng_rect &rect) const;
94 bool operator!= (const dng_rect &rect) const
96 return !(*this == rect);
251 dng_rect_real64 (const dng_rect &rect) in dng_rect_real64() argument
252 : t ((real64) rect.t) in dng_rect_real64()
253 , l ((real64) rect.l) in dng_rect_real64()
254 , b ((real64) rect.b) in dng_rect_real64()
255 , r ((real64) rect.r) in dng_rect_real64()
264 bool operator== (const dng_rect_real64 &rect) const;
266 bool operator!= (const dng_rect_real64 &rect) const
268 return !(*this == rect);
426 inline void HalfRect (dng_rect &rect) in HalfRect() argument
429 rect.r = rect.l + (int32) (rect.W () >> 1); in HalfRect()
430 rect.b = rect.t + (int32) (rect.H () >> 1); in HalfRect()
436 inline void DoubleRect (dng_rect &rect) in DoubleRect() argument
439 rect.r = rect.l + (int32) (rect.W () << 1); in DoubleRect()
440 rect.b = rect.t + (int32) (rect.H () << 1); in DoubleRect()
446 inline void InnerPadRect (dng_rect &rect, in InnerPadRect() argument
450 rect.l += pad; in InnerPadRect()
451 rect.r -= pad; in InnerPadRect()
452 rect.t += pad; in InnerPadRect()
453 rect.b -= pad; in InnerPadRect()
459 inline void OuterPadRect (dng_rect &rect, in OuterPadRect() argument
463 InnerPadRect (rect, -pad); in OuterPadRect()
469 inline void InnerPadRectH (dng_rect &rect, in InnerPadRectH() argument
473 rect.l += pad; in InnerPadRectH()
474 rect.r -= pad; in InnerPadRectH()
480 inline void InnerPadRectV (dng_rect &rect, in InnerPadRectV() argument
484 rect.t += pad; in InnerPadRectV()
485 rect.b -= pad; in InnerPadRectV()
491 inline dng_rect MakeHalfRect (const dng_rect &rect) in MakeHalfRect() argument
494 dng_rect out = rect; in MakeHalfRect()
504 inline dng_rect MakeDoubleRect (const dng_rect &rect) in MakeDoubleRect() argument
507 dng_rect out = rect; in MakeDoubleRect()
517 inline dng_rect MakeInnerPadRect (const dng_rect &rect, in MakeInnerPadRect() argument
521 dng_rect out = rect; in MakeInnerPadRect()
531 inline dng_rect MakeOuterPadRect (const dng_rect &rect, in MakeOuterPadRect() argument
535 dng_rect out = rect; in MakeOuterPadRect()