#include <agg_line_aa_basics.h>
List of all members.
Public Member Functions |
| line_parameters () |
| line_parameters (int x1_, int y1_, int x2_, int y2_, int len_) |
unsigned | orthogonal_quadrant () const |
unsigned | diagonal_quadrant () const |
bool | same_orthogonal_quadrant (const line_parameters &lp) const |
bool | same_diagonal_quadrant (const line_parameters &lp) const |
void | divide (line_parameters &lp1, line_parameters &lp2) const |
Public Attributes |
int | x1 |
int | y1 |
int | x2 |
int | y2 |
int | dx |
int | dy |
int | sx |
int | sy |
bool | vertical |
int | inc |
int | len |
int | octant |
Static Public Attributes |
static const int8u | s_orthogonal_quadrant [8] = { 0,0,1,1,3,3,2,2 } |
static const int8u | s_diagonal_quadrant [8] = { 0,1,2,1,0,3,2,3 } |
Constructor & Destructor Documentation
agg::line_parameters::line_parameters |
( |
| ) |
[inline] |
agg::line_parameters::line_parameters |
( |
int |
x1_, |
|
|
int |
y1_, |
|
|
int |
x2_, |
|
|
int |
y2_, |
|
|
int |
len_ |
|
) |
| [inline] |
Member Function Documentation
unsigned agg::line_parameters::diagonal_quadrant |
( |
| ) |
const [inline] |
unsigned agg::line_parameters::orthogonal_quadrant |
( |
| ) |
const [inline] |
bool agg::line_parameters::same_diagonal_quadrant |
( |
const line_parameters & |
lp | ) |
const [inline] |
bool agg::line_parameters::same_orthogonal_quadrant |
( |
const line_parameters & |
lp | ) |
const [inline] |
Member Data Documentation
The documentation for this struct was generated from the following files: