| TerraLib 4.1

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
TeGTMWaypointsStyles Class Reference

TeGTMWaypoints class with images informations. More...

`#include <TeGTM.h>`

List of all members.

## Public Member Functions

| TeGTMWaypointsStyles ()
| Constructor.
| ~TeGTMWaypointsStyles ()
| Destructor.
void | readGTMWaypointsStyles (FILE *file)
| Waypoints Styles reader.
void | writeGTMWaypointsStyles (FILE *file)
| Waypoints Styles writer.
long | getHeight ()
| height_ attribute Getter
void | setHeight (long height)
| height_ attribute Setter
long | getColor ()
| color_ attribute Getter
void | setColor (long color)
| color_ attribute Setter
long | getWeight ()
| weight_ attribute Getter
void | setWeight (long weight)
| weight_ attribute Setter
long | getBackcolor ()
| backcolor_ attribute Getter
void | setBackcolor (long backcolor)
| backcolor_ attribute Setter
char * | getFacename ()
| facename_ attribute Getter
void | setFacename (char *facename)
| facename_ attribute Setter
unsigned char | getDspl ()
| dspl_ attribute Getter
void | setDspl (unsigned char dspl)
| dspl_ attribute Setter
unsigned char | getBorder ()
| border_ attribute Getter
void | setBorder (unsigned char border)
| border_ attribute Setter
unsigned char | getItalic ()
| italic_ attribute Getter
void | setItalic (unsigned char italic)
| italic_ attribute Setter
unsigned char | getunderline ()
| underline_ attribute Getter
void | setunderline (unsigned char underline)
| underline_ attribute Setter
unsigned char | getStrikeout ()
| strikeout_ attribute Getter
void | setStrikeout (unsigned char strikeout)
| strikeout_ attribute Setter
unsigned char | getAlignment ()
| alignment_ attribute Getter
void | setAlignment (unsigned char alignment)
| alignment_ attribute Setter
float | getScale1 ()
| scale1_ attribute Getter
void | setScale1 (float scale1)
| scale1_ attribute Setter
bool | getBackground ()
| background_ attribute Getter
void | setBackground (bool background)
| background_ attribute Setter

## Detailed Description

TeGTMWaypoints class with images informations.

Attributes used height - Long Font Size x –1.333333. Example: If font size is 8, height will be -11 facename - String Font name – Default = “Times New Roman” dspl - Byte Display mode. See the table below. color - Long Text color (RGB) weight - Long Normal = 400 / Bold = 700 scale1 - Single Maximum scale in Kilometers that the Waypoint appears on screen (Default = 0) border - Byte Border of the background box. See the table below. background - Boolean Background box – Used by Text Box Style backcolor - Long Color of the Background Box (RGB) italic - Byte Normal = 0 / Italic = 1 underline - Byte Normal = 0 / Underline = 1 strikeout - Byte Normal = 0 / Strikeout = 1 alignment - Byte Text alignment in Text Box. See the table below.

Author:
  Luiz Claudio Oliveira de Andrade <lcoandrade@gmail.com>

## Constructor & Destructor Documentation

TeGTMWaypointsStyles::TeGTMWaypointsStyles | ( |  | ) |

Constructor.

TeGTMWaypointsStyles::~TeGTMWaypointsStyles | ( |  | ) |

Destructor.

## Member Function Documentation

unsigned char TeGTMWaypointsStyles::getAlignment | ( |  | ) | `[inline]`

alignment_ attribute Getter

long TeGTMWaypointsStyles::getBackcolor | ( |  | ) | `[inline]`

backcolor_ attribute Getter

bool TeGTMWaypointsStyles::getBackground | ( |  | ) | `[inline]`

background_ attribute Getter

unsigned char TeGTMWaypointsStyles::getBorder | ( |  | ) | `[inline]`

border_ attribute Getter

long TeGTMWaypointsStyles::getColor | ( |  | ) | `[inline]`

color_ attribute Getter

unsigned char TeGTMWaypointsStyles::getDspl | ( |  | ) | `[inline]`

dspl_ attribute Getter

char* TeGTMWaypointsStyles::getFacename | ( |  | ) | `[inline]`

facename_ attribute Getter

long TeGTMWaypointsStyles::getHeight | ( |  | ) | `[inline]`

height_ attribute Getter

unsigned char TeGTMWaypointsStyles::getItalic | ( |  | ) | `[inline]`

italic_ attribute Getter

float TeGTMWaypointsStyles::getScale1 | ( |  | ) | `[inline]`

scale1_ attribute Getter

unsigned char TeGTMWaypointsStyles::getStrikeout | ( |  | ) | `[inline]`

strikeout_ attribute Getter

unsigned char TeGTMWaypointsStyles::getunderline | ( |  | ) | `[inline]`

underline_ attribute Getter

long TeGTMWaypointsStyles::getWeight | ( |  | ) | `[inline]`

weight_ attribute Getter

void TeGTMWaypointsStyles::readGTMWaypointsStyles | ( | FILE * | file | ) |

Waypoints Styles reader.

Parameters:

  file | pointer to a FILE* with the .gtm file to be imported.

void TeGTMWaypointsStyles::setAlignment | ( | unsigned char | alignment | ) | `[inline]`

alignment_ attribute Setter

Parameters:

  alignment. |

void TeGTMWaypointsStyles::setBackcolor | ( | long | backcolor | ) | `[inline]`

backcolor_ attribute Setter

Parameters:

  backcolor. |

void TeGTMWaypointsStyles::setBackground | ( | bool | background | ) | `[inline]`

background_ attribute Setter

Parameters:

  background. |

void TeGTMWaypointsStyles::setBorder | ( | unsigned char | border | ) | `[inline]`

border_ attribute Setter

Parameters:

  border. |

void TeGTMWaypointsStyles::setColor | ( | long | color | ) | `[inline]`

color_ attribute Setter

Parameters:

  color. |

void TeGTMWaypointsStyles::setDspl | ( | unsigned char | dspl | ) | `[inline]`

dspl_ attribute Setter

Parameters:

  dspl. |

void TeGTMWaypointsStyles::setFacename | ( | char * | facename | ) | `[inline]`

facename_ attribute Setter

Parameters:

  facename. |

void TeGTMWaypointsStyles::setHeight | ( | long | height | ) | `[inline]`

height_ attribute Setter

Parameters:

  height. |

void TeGTMWaypointsStyles::setItalic | ( | unsigned char | italic | ) | `[inline]`

italic_ attribute Setter

Parameters:

  italic. |

void TeGTMWaypointsStyles::setScale1 | ( | float | scale1 | ) | `[inline]`

scale1_ attribute Setter

Parameters:

  scale1. |

void TeGTMWaypointsStyles::setStrikeout | ( | unsigned char | strikeout | ) | `[inline]`

strikeout_ attribute Setter

Parameters:

  strikeout. |

void TeGTMWaypointsStyles::setunderline | ( | unsigned char | underline | ) | `[inline]`

underline_ attribute Setter

Parameters:

  underline. |

void TeGTMWaypointsStyles::setWeight | ( | long | weight | ) | `[inline]`

weight_ attribute Setter

Parameters:

  weight. |

void TeGTMWaypointsStyles::writeGTMWaypointsStyles | ( | FILE * | file | ) |

Waypoints Styles writer.

Parameters:

  file | pointer to a FILE* with the .gtm file to be exported.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GTM/TeGTM.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GTM/TeGTM.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines