|
GRASS Programmer's Manual
6.4.2(2012)
|
Go to the source code of this file.
Data Structures | |
| class | gui_modules.psmap.PsMapFrame |
| class | gui_modules.psmap.PsMapBufferedWindow |
| A buffered window class. More... | |
Namespaces | |
| namespace | gui_modules.psmap |
| namespace | psmap.py |
| GUI for ps.map. | |
Functions | |
| def | gui_modules.psmap.getFile |
| busy.Destroy() | |
| def | gui_modules.psmap.OnInstructionFile |
| def | gui_modules.psmap.OnLoadFile |
| Load file and read instructions. | |
| def | gui_modules.psmap.OnPageSetup |
| Specify paper size, margins and orientation. | |
| def | gui_modules.psmap.OnPointer |
| def | gui_modules.psmap.OnPan |
| def | gui_modules.psmap.OnZoomIn |
| def | gui_modules.psmap.OnZoomOut |
| def | gui_modules.psmap.OnZoomAll |
| def | gui_modules.psmap.OnAddMap |
| Add or edit map frame. | |
| def | gui_modules.psmap.OnAddRaster |
| Add raster map. | |
| def | gui_modules.psmap.OnAddVect |
| Add vector map. | |
| def | gui_modules.psmap.OnDecoration |
| Decorations overlay menu. | |
| def | gui_modules.psmap.OnAddScalebar |
| Add scalebar. | |
| def | gui_modules.psmap.OnAddLegend |
| Add raster or vector legend. | |
| def | gui_modules.psmap.OnAddMapinfo |
| def | gui_modules.psmap.OnAddText |
| Show dialog for text adding and editing. | |
| def | gui_modules.psmap.getModifiedTextBounds |
| computes bounding box of rotated text, not very precisely | |
| def | gui_modules.psmap.makePSFont |
| creates a wx.Font object from selected postscript font. | |
| def | gui_modules.psmap.getTextExtent |
| Estimates bounding rectangle of text. | |
| def | gui_modules.psmap.getInitMap |
| Create default map frame when no map is selected, needed for coordinates in map units. | |
| def | gui_modules.psmap.OnDelete |
| def | gui_modules.psmap.deleteObject |
| Deletes object, his id and redraws. | |
| def | gui_modules.psmap.DialogDataChanged |
| def | gui_modules.psmap.OnPageChanged |
| Flatnotebook page has changed. | |
| def | gui_modules.psmap.OnPageChanging |
| Flatnotebook page is changing. | |
| def | gui_modules.psmap.OnHelp |
| Show help. | |
| def | gui_modules.psmap.OnAbout |
| Display About window. | |
| def | gui_modules.psmap.OnCloseWindow |
| Close window. | |
| def | gui_modules.psmap.DrawImage |
| Draw preview image to pseudoDC. | |
| def | gui_modules.psmap.DrawPaper |
| Draw paper and margins. | |
| def | gui_modules.psmap.ImageRect |
| Returns image centered in canvas, computes scale. | |
| def | gui_modules.psmap.RedrawSelectBox |
| Redraws select box when selected object changes its size. | |
| def | gui_modules.psmap.UpdateMapLabel |
| Updates map frame label. | |
| def | gui_modules.psmap.OnSize |
| Init image size to match window size. | |
| def | gui_modules.psmap.OnIdle |
| Only re-render a image during idle time instead of multiple times during resizing. | |
| def | gui_modules.psmap.ScaleRect |
| Scale rectangle. | |
| def | gui_modules.psmap.main |
Variables | |
| gui_modules.psmap.haveImage = True | |
| tuple | gui_modules.psmap.im = Image.open(event.userData['filename']) |
| wx.BusyInfo does not display the message busy = wx.BusyInfo(message = "Generating preview, wait please", parent = self) | |
| tuple | gui_modules.psmap.message = _("Unable to generate preview. %s") |
| tuple | gui_modules.psmap.rect = self.previewCanvas.ImageRect() |
| tuple | gui_modules.psmap.dlg |
| dlg = MapDialog(parent = self, id = id, settings = self.instruction, notebook = notebook) dlg.ShowModal() | |
| tuple | gui_modules.psmap.fn = self.parent.makePSFont(textDict) |
| if textDict['border'] != 'none' and not rot: units = UnitConversion(self) borderWidth = units.convert(value = textDict['width'], fromUnit = 'point', toUnit = 'pixel' ) * self.currScale pdc.SetPen(wx.Pen(colour = convertRGB(textDict['border']), width = borderWidth)) pdc.DrawRectangle(*bounds) | |
| gui_modules.psmap.instruction | |
| gui_modules.psmap.objectId | |
| gui_modules.psmap.pageId | |
| gui_modules.psmap.mouseOld | |
| gui_modules.psmap.currentPage | |
| gui_modules.psmap.cursorOld | |
| gui_modules.psmap.actionOld | |
| gui_modules.psmap.currScale | |
| gui_modules.psmap.dragId | |
| gui_modules.psmap._buffer | |
| gui_modules.psmap.resize | |