Go to the source code of this file.
|
def | utils.convertRGB |
| 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 |
| If resolution is too high, lower it. More...
|
|
def | utils.ComputeSetRegion |
| 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 |
| Returns type of raster map (CELL, FCELL, DCELL) More...
|
|
def | utils.PilImageToWxImage |
| Convert PIL image to wx.Image. More...
|
|
def | utils.BBoxAfterRotation |
| Compute bounding box or rotated rectangle. More...
|
|
def | utils.loadPSForWindows |
|
def | utils.GhostscriptForWindows |
|