Google

"http://www.w3.org/TR/html40/loose.dtd">

Table of Contents

Class: MapBackground pdfmap.py

For rasterized background images.

Methods   
__init__
draw
  __init__ 
__init__ (
        self,
        filename,
        x,
        y,
        width,
        height,
        rotation=0,
        )

Initialize local data.

filename : the raster map in a graphic file format (e.g. tiff) or the image itself in PIL.Image.Image format

x, y : coordinates of the bottom left of the raster map in meters

width, height : real width and height of the map in meters

height : real height of the map in meters

rotation : angle in degres between the raster map and the real North

  draw 
draw ( self,  mappdf )

Draws the map image file on the pdf document, taking care of the scales.


Table of Contents

This document was automatically generated on Mon Feb 4 12:33:53 2002 by HappyDoc version 2.0