ETL  0.04.19
Public Types | Public Member Functions | Protected Attributes | Private Attributes | List of all members
alpha_pen< PEN_, A_, AFFINE_ > Class Template Reference

#include <_pen.h>

Public Types

typedef A_ alpha_type
typedef AFFINE_ affine_func_type
typedef PEN_::value_type value_type
typedef alpha_pen self_type

Public Member Functions

 alpha_pen (const alpha_type &a=1, const affine_func_type &func=affine_func_type())
 alpha_pen (const PEN_ &x, const alpha_type &a=1, const affine_func_type &func=affine_func_type())
const alpha_typeget_alpha () const
void get_alpha (alpha_type &a) const
void set_alpha (alpha_type a)
void put_value (const value_type &v, alpha_type a=1) const
void put_value () const
void put_value_alpha (alpha_type a) const
void put_hline (int l, const alpha_type &a=1)
void put_value_clip (const value_type &v, alpha_type a=1) const
void put_value_clip () const
void put_value_clip_alpha (alpha_type a) const
void put_hline_clip (int l, const alpha_type &a=1)
void put_block (int h, int w, const alpha_type &a=1)
void put_block_clip (int h, int w, const alpha_type &a=1)

Protected Attributes

affine_func_type affine_func_

Private Attributes

alpha_type alpha_

Detailed Description

template<typename PEN_, typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
class alpha_pen< PEN_, A_, AFFINE_ >

Definition at line 321 of file _pen.h.

Member Typedef Documentation

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
typedef A_ alpha_pen< PEN_, A_, AFFINE_ >::alpha_type

Definition at line 324 of file _pen.h.

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
typedef AFFINE_ alpha_pen< PEN_, A_, AFFINE_ >::affine_func_type

Definition at line 325 of file _pen.h.

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
typedef PEN_::value_type alpha_pen< PEN_, A_, AFFINE_ >::value_type

Definition at line 327 of file _pen.h.

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
typedef alpha_pen alpha_pen< PEN_, A_, AFFINE_ >::self_type

Definition at line 328 of file _pen.h.

Constructor & Destructor Documentation

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
alpha_pen< PEN_, A_, AFFINE_ >::alpha_pen ( const alpha_type a = 1,
const affine_func_type func = affine_func_type() 
)
inline

Definition at line 349 of file _pen.h.

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
alpha_pen< PEN_, A_, AFFINE_ >::alpha_pen ( const PEN_ &  x,
const alpha_type a = 1,
const affine_func_type func = affine_func_type() 
)
inline

Definition at line 350 of file _pen.h.

Member Function Documentation

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
const alpha_type& alpha_pen< PEN_, A_, AFFINE_ >::get_alpha ( ) const
inline

Definition at line 353 of file _pen.h.

References alpha_pen< PEN_, A_, AFFINE_ >::alpha_.

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::get_alpha ( alpha_type a) const
inline

Definition at line 354 of file _pen.h.

References alpha_pen< PEN_, A_, AFFINE_ >::alpha_.

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::set_alpha ( alpha_type  a)
inline

Definition at line 355 of file _pen.h.

References alpha_pen< PEN_, A_, AFFINE_ >::alpha_.

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::put_value ( const value_type v,
alpha_type  a = 1 
) const
inline
template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::put_value ( ) const
inline
template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::put_value_alpha ( alpha_type  a) const
inline
template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::put_hline ( int  l,
const alpha_type a = 1 
)
inline
template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::put_value_clip ( const value_type v,
alpha_type  a = 1 
) const
inline
template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::put_value_clip ( ) const
inline
template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::put_value_clip_alpha ( alpha_type  a) const
inline
template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::put_hline_clip ( int  l,
const alpha_type a = 1 
)
inline

Definition at line 367 of file _pen.h.

References alpha_pen< PEN_, A_, AFFINE_ >::put_value_clip_alpha().

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::put_block ( int  h,
int  w,
const alpha_type a = 1 
)
inline

Definition at line 370 of file _pen.h.

References alpha_pen< PEN_, A_, AFFINE_ >::put_hline().

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
void alpha_pen< PEN_, A_, AFFINE_ >::put_block_clip ( int  h,
int  w,
const alpha_type a = 1 
)
inline

Definition at line 380 of file _pen.h.

References alpha_pen< PEN_, A_, AFFINE_ >::put_hline().

Member Data Documentation

template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
alpha_type alpha_pen< PEN_, A_, AFFINE_ >::alpha_
private
template<typename PEN_ , typename A_ = float, class AFFINE_ = affine_combo<typename PEN_::value_type,A_>>
affine_func_type alpha_pen< PEN_, A_, AFFINE_ >::affine_func_
protected

The documentation for this class was generated from the following file: