# alpha_pen< PEN_, A_, AFFINE_ > Class Template Reference

`#include <_pen.h>`

List of all members.

## 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_type & | get_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 319 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 322 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 323 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 325 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 326 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 347 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 348 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 351 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 352 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 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_ >::put_value | ( | const value_type & | v,
|  | alpha_type | a = `1` |
| ) |  |  | const`[inline]`

Definition at line 355 of file _pen.h.

References alpha_pen< PEN_, A_, AFFINE_ >::affine_func_, and 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`[inline]`

Definition at line 357 of file _pen.h.

Referenced by alpha_pen< PEN_, A_, AFFINE_ >::put_value_alpha().

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]`

Definition at line 358 of file _pen.h.

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

Referenced by 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_hline | ( | int | l,
|  | const alpha_type & | a = `1` |
| ) |  |  | `[inline]`

Definition at line 359 of file _pen.h.

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

Referenced by alpha_pen< PEN_, A_, AFFINE_ >::put_block(), and alpha_pen< PEN_, A_, AFFINE_ >::put_block_clip().

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]`

Definition at line 361 of file _pen.h.

References alpha_pen< PEN_, A_, AFFINE_ >::affine_func_, and 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_clip | ( |  | ) | const`[inline]`

Definition at line 363 of file _pen.h.

Referenced by 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_value_clip_alpha | ( | alpha_type | a | ) | const`[inline]`

Definition at line 364 of file _pen.h.

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

Referenced by alpha_pen< PEN_, A_, AFFINE_ >::put_hline_clip().

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 365 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 368 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 378 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]`

Definition at line 329 of file _pen.h.

Referenced by alpha_pen< PEN_, A_, AFFINE_ >::get_alpha(), alpha_pen< PEN_, A_, AFFINE_ >::put_value(), alpha_pen< PEN_, A_, AFFINE_ >::put_value_clip(), and alpha_pen< PEN_, A_, AFFINE_ >::set_alpha().

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]`

Definition at line 332 of file _pen.h.

Referenced by alpha_pen< PEN_, A_, AFFINE_ >::put_value(), and alpha_pen< PEN_, A_, AFFINE_ >::put_value_clip().

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

- _pen.h