osgEarth 2.1.1
Classes | Typedefs | Enumerations | Functions

agg Namespace Reference

Classes

struct  rgba8
class  rendering_buffer
class  scanline
class  renderer
struct  cell
class  outline
class  rasterizer
struct  span_mono8
struct  span_rgb555
struct  span_rgb565
struct  span_bgr24
struct  span_rgb24
struct  span_abgr32
struct  span_argb32
struct  span_bgra32
struct  span_rgba32

Typedefs

typedef signed char int8
typedef unsigned char int8u
typedef signed short int16
typedef unsigned short int16u
typedef signed int int32
typedef unsigned int int32u

Enumerations

enum  { poly_base_shift = 8, poly_base_size = 1 << poly_base_shift, poly_base_mask = poly_base_size - 1 }
enum  filling_rule_e { fill_non_zero, fill_even_odd }
enum  { not_closed = 1, sort_required = 2 }
enum  { qsort_threshold = 9 }

Functions

int poly_coord (double c)
template<class T >
static void swap_cells (T *a, T *b)
template<class T >
static bool less_than (T *a, T *b)

Typedef Documentation

typedef signed short agg::int16

Definition at line 29 of file AGG.h.

typedef unsigned short agg::int16u

Definition at line 30 of file AGG.h.

typedef signed int agg::int32

Definition at line 31 of file AGG.h.

typedef unsigned int agg::int32u

Definition at line 32 of file AGG.h.

typedef signed char agg::int8

Definition at line 27 of file AGG.h.

typedef unsigned char agg::int8u

Definition at line 28 of file AGG.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
poly_base_shift 
poly_base_size 
poly_base_mask 

Definition at line 493 of file AGG.h.

anonymous enum
Enumerator:
not_closed 
sort_required 

Definition at line 1431 of file AGG.h.

    {
        not_closed    = 1,
        sort_required = 2
    };
anonymous enum
Enumerator:
qsort_threshold 

Definition at line 1840 of file AGG.h.

    {
        qsort_threshold = 9
    };
Enumerator:
fill_non_zero 
fill_even_odd 

Definition at line 593 of file AGG.h.


Function Documentation

template<class T >
static bool agg::less_than ( T *  a,
T *  b 
) [inline, static]

Definition at line 1855 of file AGG.h.

    {
        return (*a)->packed_coord < (*b)->packed_coord;
    }

Here is the caller graph for this function:

int agg::poly_coord ( double  c) [inline]

Definition at line 501 of file AGG.h.

    {
        return int(c * poly_base_size);
    }

Here is the caller graph for this function:

template<class T >
static void agg::swap_cells ( T *  a,
T *  b 
) [inline, static]

Definition at line 1847 of file AGG.h.

    {
        T temp = *a;
        *a = *b;
        *b = temp;
    }

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines