Go to the source code of this file.
|
def | utils.convertRGB (rgb) |
| Converts wx.Colour(r,g,b,a) to string 'r:g:b' or named color, or named color/r:g:b string to wx.Colour, depending on input. More...
|
|
def | utils.PaperMapCoordinates |
| Converts paper (inch) coordinates <-> map coordinates. More...
|
|
def | utils.AutoAdjust |
| Computes map scale, center and map frame rectangle to fit region (scale is not fixed) More...
|
|
def | utils.SetResolution (dpi, width, height) |
| If resolution is too high, lower it. More...
|
|
def | utils.ComputeSetRegion (self, mapDict) |
| Computes and sets region from current scale, map center coordinates and map rectangle. More...
|
|
def | utils.projInfo () |
| Return region projection and map units information, taken from render.py. More...
|
|
def | utils.GetMapBounds |
| Run ps.map -b to get information about map bounding box. More...
|
|
def | utils.getRasterType (map) |
| Returns type of raster map (CELL, FCELL, DCELL) More...
|
|
def | utils.PilImageToWxImage |
| Convert PIL image to wx.Image. More...
|
|
def | utils.BBoxAfterRotation (w, h, angle) |
| Compute bounding box or rotated rectangle. More...
|
|
def | utils.loadPSForWindows (self) |
|
def | utils.GhostscriptForWindows (tile, size, fp) |
|