Anti-Grain Geometry - AGG (libagg)  2.5
Public Types | Public Member Functions | Public Attributes
agg::rect_base< T > Struct Template Reference

#include <agg_basics.h>

List of all members.

Public Types

typedef T value_type
typedef rect_base< T > self_type

Public Member Functions

 rect_base ()
 rect_base (T x1_, T y1_, T x2_, T y2_)
void init (T x1_, T y1_, T x2_, T y2_)
const self_typenormalize ()
bool clip (const self_type &r)
bool is_valid () const
bool hit_test (T x, T y) const

Public Attributes

x1
y1
x2
y2

template<class T>
struct agg::rect_base< T >


Member Typedef Documentation

template<class T>
typedef rect_base<T> agg::rect_base< T >::self_type
template<class T>
typedef T agg::rect_base< T >::value_type

Constructor & Destructor Documentation

template<class T>
agg::rect_base< T >::rect_base ( ) [inline]
template<class T>
agg::rect_base< T >::rect_base ( x1_,
y1_,
x2_,
y2_ 
) [inline]

Member Function Documentation

template<class T>
bool agg::rect_base< T >::clip ( const self_type r) [inline]
template<class T>
bool agg::rect_base< T >::hit_test ( x,
y 
) const [inline]
template<class T>
void agg::rect_base< T >::init ( x1_,
y1_,
x2_,
y2_ 
) [inline]
template<class T>
bool agg::rect_base< T >::is_valid ( ) const [inline]
template<class T>
const self_type& agg::rect_base< T >::normalize ( ) [inline]

Member Data Documentation

template<class T>
T agg::rect_base< T >::x1
template<class T>
T agg::rect_base< T >::x2
template<class T>
T agg::rect_base< T >::y1
template<class T>
T agg::rect_base< T >::y2

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines