Home | History | Annotate | Download | only in source

Lines Matching refs:dng_rect

9 /* $Id: //mondo/dng_sdk_1_4/dng_sdk/source/dng_rect.h#2 $ */ 
29 class dng_rect
41 dng_rect ()
49 // Constructs a dng_rect from the top-left and bottom-right corner.
54 dng_rect (int32 tt, int32 ll, int32 bb, int32 rr)
64 ThrowProgramError ("Overflow in dng_rect constructor");
68 dng_rect (uint32 h, uint32 w)
75 ThrowProgramError ("Overflow in dng_rect constructor");
79 dng_rect (const dng_point &size)
89 *this = dng_rect ();
92 bool operator== (const dng_rect &rect) const;
94 bool operator!= (const dng_rect &rect) const
123 // constructor to protect client code that produes a dng_rect with
251 dng_rect_real64 (const dng_rect &rect)
323 dng_rect Round () const
325 return dng_rect (Round_int32 (t),
340 dng_rect operator& (const dng_rect &a,
341 const dng_rect &b);
343 dng_rect operator| (const dng_rect &a,
344 const dng_rect &b);
356 inline dng_rect operator+ (const dng_rect &a,
360 return dng_rect (a.t + b.v,
382 inline dng_rect operator- (const dng_rect &a,
386 return dng_rect (a.t - b.v,
408 inline dng_rect Transpose (const dng_rect &a)
411 return dng_rect (a.l, a.t, a.r, a.b);
426 inline void HalfRect (dng_rect &rect)
436 inline void DoubleRect (dng_rect &rect)
446 inline void InnerPadRect (dng_rect &rect,
459 inline void OuterPadRect (dng_rect &rect,
469 inline void InnerPadRectH (dng_rect &rect,
480 inline void InnerPadRectV (dng_rect &rect,
491 inline dng_rect MakeHalfRect (const dng_rect &rect)
494 dng_rect out = rect;
504 inline dng_rect MakeDoubleRect (const dng_rect &rect)
507 dng_rect out = rect;
517 inline dng_rect MakeInnerPadRect (const dng_rect &rect,
521 dng_rect out = rect;
531 inline dng_rect MakeOuterPadRect (const dng_rect &rect,
535 dng_rect out = rect;