Helper Class Reference

#include <Helper.hpp>

List of all members.


Detailed Description

This class contains static helper methods for common code related to this library.

Definition at line 45 of file Helper.hpp.

Static Public Member Functions

VGImage * create (std::string fname, double width=VGImage::US_LETTER_WIDTH_PTS, double height=VGImage::US_LETTER_HEIGHT_PTS, VGImage::ORIGIN_LOCATION iloc=VGImage::LOWER_LEFT) throw (VDrawException)
 Get a VGImage pointer decided by the filename extension.


Member Function Documentation

VGImage* create std::string  fname,
double  width = VGImage::US_LETTER_WIDTH_PTS,
double  height = VGImage::US_LETTER_HEIGHT_PTS,
VGImage::ORIGIN_LOCATION  iloc = VGImage::LOWER_LEFT
throw (VDrawException) [inline, static]
 

Get a VGImage pointer decided by the filename extension.

  • filename.svg == SVImage*
  • filename.ps == PSImage*
  • filename.eps == EPSImage*
    Note:
    This does not necessarily cover all constructors of all of these classes but in general will cover the most cases.
    Parameters:
    fname The file name to create an image for
    width Width of the canvas in points
    height Height of the canvas in points
    iloc Location on the page of the overall origin

Definition at line 60 of file Helper.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Feb 7 03:31:25 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1