| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

Classes | Defines | Functions | Variables
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeGraph.cpp File Reference
`#include "TeGraph.h"`
`#include "TeDefines.h"`
`#include <math.h>`
`#include <float.h>`
`#include <malloc.h>`
`#include <stdio.h>`
`#include <errno.h>`
`#include <string.h>`
`#include <stdlib.h>`

## Classes

struct | Opt
struct | Txtc
struct | Grc

## Defines

#define | PEN_UP 0
#define | PEN_DOWN 1
#define | ERR -1
#define | HORIZ_FONT 0
#define | VERT_FONT 1
#define | FONT_MAX 2
#define | RECTANGLE 0
#define | TRIANGLE 1
#define | DIAMOND 2
#define | SCROSS 3
#define | XCROSS 4
#define | CURVES_LIMIT 10
#define | MAIN_ROW 3
#define | MAIN_COL 2
#define | MAX_ITEMS 13
#define | MASK_SIZE 50
#define | ASCII 0
#define | BINARY 1
#define | LOAD 0
#define | SAVE 1
#define | SET 2
#define | DIGITS 6

## Functions

int | set_font (int font_number)
int | f_spoly (Real x, Real_Vector terms, unsigned n)
int | f_sexp (Real x, Real_Vector terms, unsigned n)
int | f_slog (Real x, Real_Vector terms, unsigned n)
int | f_ssin (Real x, Real_Vector terms, unsigned n)
Real | vmaxval (Real_Vector v, unsigned int n, int *imx)
Real | vminval (Real_Vector v, unsigned int n, int *imn)
void | show_err (char const *)
void | ftos (Real f, int digits_left, int digits_right, int exp_flag, char *s)

## Variables

int | Font_width [FONT_MAX] = {9,9}
int | Font_height [FONT_MAX] = {15,15}
int | Font_direct [FONT_MAX] = {HORIZ_FONT,VERT_FONT}
char | Symbol [CURVES_MAX]
unsigned | Terms []
struct Opt | Options
struct Txtc | Text_color
struct Grc | Graph_color
int(* | Function [])(Real, Real_Vector, unsigned)

## Define Documentation

#define ASCII 0

#define BINARY 1

#define CURVES_LIMIT 10

#define DIAMOND 2

#define DIGITS 6

#define ERR -1

#define FONT_MAX 2

#define HORIZ_FONT 0

#define LOAD 0

#define MAIN_COL 2

#define MAIN_ROW 3

#define MASK_SIZE 50

#define MAX_ITEMS 13

#define PEN_DOWN 1

#define PEN_UP 0

#define RECTANGLE 0

#define SAVE 1

#define SCROSS 3

#define SET 2

#define TRIANGLE 1

#define VERT_FONT 1

#define XCROSS 4

## Function Documentation

int f_sexp | ( | Real | x,
|  | Real_Vector | terms,
|  | unsigned | n
| ) |  |

int f_slog | ( | Real | x,
|  | Real_Vector | terms,
|  | unsigned | n
| ) |  |

int f_spoly | ( | Real | x,
|  | Real_Vector | terms,
|  | unsigned | n
| ) |  |

int f_ssin | ( | Real | x,
|  | Real_Vector | terms,
|  | unsigned | n
| ) |  |

void ftos | ( | Real | f,
|  | int | digits_left,
|  | int | digits_right,
|  | int | exp_flag,
|  | char * | s
| ) |  |

int set_font | ( | int | font_number | ) |

void show_err | ( | char const * |  | ) |

Real vmaxval | ( | Real_Vector | v,
|  | unsigned int | n,
|  | int * | imx
| ) |  |

Real vminval | ( | Real_Vector | v,
|  | unsigned int | n,
|  | int * | imn
| ) |  |

## Variable Documentation

int Font_direct[FONT_MAX] = {HORIZ_FONT,VERT_FONT}

int Font_height[FONT_MAX] = {15,15}

int Font_width[FONT_MAX] = {9,9}

int(* Function[])(Real, Real_Vector, unsigned)

Initial value:

    {
            f_spoly,
            f_sexp,
            f_slog,
            f_ssin
    }

struct Grc Graph_color

struct Opt Options

char Symbol[CURVES_MAX]

Initial value:

     {
                          RECTANGLE,
                          SCROSS,
                          TRIANGLE,
                          DIAMOND,
                          XCROSS,
                          RECTANGLE,
                          SCROSS,
                          TRIANGLE,
                          DIAMOND,
                          XCROSS
    }

unsigned Terms[]

Initial value:

    {
            0,
            2,
            2,
            3
    }

struct Txtc Text_color

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines