VGImage.cpp File Reference


Detailed Description

Common interface to all vector plot formats. Class definitions.

============================================================================

This file is part of GPSTk, the GPS Toolkit.

The GPSTk is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or any later version.

The GPSTk is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with GPSTk; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Copyright 2004, The University of Texas at Austin

============================================================================

# 28 "/home/gpstk/dev/lib/vdraw/VGImage.cpp" 2

namespace vdraw { / Units conversion from points to inches const double VGImage::PTS_PER_INCH=72; / Units conversion from points to centimeters const double VGImage::PTS_PER_CM=72/2.54;

/ U.S. Customary page size width in points const double VGImage::US_LETTER_WIDTH_PTS=612; / U.S. Customary page size height in points; const double VGImage::US_LETTER_HEIGHT_PTS=792;

For the rest of the world... there's ISO 216-series sizes / A3 page size width in points const double VGImage::A3_WIDTH_PTS=841.9; / A3 page size height in points const double VGImage::A3_HEIGHT_PTS=1190.6;

A4 and US customary letter are of comparable size / A4 page size width in points const double VGImage::A4_WIDTH_PTS=595.3; / A4 page size height in points const double VGImage::A4_HEIGHT_PTS=841.9;

/ A5 page size width in points const double VGImage::A5_WIDTH_PTS=419.5; / A5 page size height in points const double VGImage::A5_HEIGHT_PTS=595.3;

/* Global operators

Definition in file VGImage.cpp.

#include "VGImage.hpp"

Include dependency graph for VGImage.cpp:

Include dependency graph

Go to the source code of this file.


Generated on Wed Sep 8 03:31:26 2010 for GPS ToolKit Software Library by  doxygen 1.3.9.1