|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
Go to the source code of this file.
Data Structures | |
| class | frame.PsMapFrame |
| class | frame.PsMapBufferedWindow |
| A buffered window class. More... | |
Namespaces | |
| namespace | frame |
| namespace | psmap.frame |
| GUI for ps.map. | |
Functions | |
| def | frame.getFile |
| busy.Destroy() | |
| def | frame.OnInstructionFile |
| def | frame.OnLoadFile |
| Load file and read instructions. | |
| def | frame.OnPageSetup |
| Specify paper size, margins and orientation. | |
| def | frame.OnPointer |
| def | frame.OnPan |
| def | frame.OnZoomIn |
| def | frame.OnZoomOut |
| def | frame.OnZoomAll |
| def | frame.OnAddMap |
| Add or edit map frame. | |
| def | frame.OnAddRaster |
| Add raster map. | |
| def | frame.OnAddVect |
| Add vector map. | |
| def | frame.OnAddScalebar |
| Add scalebar. | |
| def | frame.OnAddLegend |
| Add raster or vector legend. | |
| def | frame.OnAddMapinfo |
| def | frame.OnAddImage |
| Show dialog for image adding and editing. | |
| def | frame.OnAddNorthArrow |
| Show dialog for north arrow adding and editing. | |
| def | frame.OnAddText |
| Show dialog for text adding and editing. | |
| def | frame.OnAddPoint |
| Add point action selected. | |
| def | frame.AddPoint |
| Add point and open property dialog. | |
| def | frame.OnAddLine |
| Add line action selected. | |
| def | frame.AddLine |
| Add line and open property dialog. | |
| def | frame.OnAddRectangle |
| Add rectangle action selected. | |
| def | frame.AddRectangle |
| Add rectangle and open property dialog. | |
| def | frame.getModifiedTextBounds |
| computes bounding box of rotated text, not very precisely | |
| def | frame.makePSFont |
| creates a wx.Font object from selected postscript font. | |
| def | frame.getTextExtent |
| Estimates bounding rectangle of text. | |
| def | frame.getInitMap |
| Create default map frame when no map is selected, needed for coordinates in map units. | |
| def | frame.OnDelete |
| def | frame.deleteObject |
| Deletes object, his id and redraws. | |
| def | frame.DialogDataChanged |
| def | frame.OnPageChanged |
| Flatnotebook page has changed. | |
| def | frame.OnPageChanging |
| Flatnotebook page is changing. | |
| def | frame.OnHelp |
| Show help. | |
| def | frame.OnAbout |
| Display About window. | |
| def | frame.OnCloseWindow |
| Close window. | |
| def | frame.DrawImage |
| Draw preview image to pseudoDC. | |
| def | frame.DrawPaper |
| Draw paper and margins. | |
| def | frame.ImageRect |
| Returns image centered in canvas, computes scale. | |
| def | frame.RedrawSelectBox |
| Redraws select box when selected object changes its size. | |
| def | frame.UpdateMapLabel |
| Updates map frame label. | |
| def | frame.UpdateLabel |
| def | frame.OnSize |
| Init image size to match window size. | |
| def | frame.OnIdle |
| Only re-render a image during idle time instead of multiple times during resizing. | |
| def | frame.ScaleRect |
| Scale rectangle. | |
| def | frame.main |
Variables | |
| tuple | frame.im = PILImage.open(event.userData['filename']) |
| wx.BusyInfo does not display the message busy = wx.BusyInfo(message = "Generating preview, wait please", parent = self) | |
| tuple | frame.message = _("Unable to generate preview. %s") |
| tuple | frame.rect = self.previewCanvas.ImageRect() |
| tuple | frame.dlg |
| dlg = MapDialog(parent = self, id = id, settings = self.instruction, notebook = notebook) dlg.ShowModal() | |
| tuple | frame.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) | |
| frame.instruction | |
| frame.objectId | |
| frame.pageId | |
| frame.mouseOld | |
| frame.currentPage | |
| frame.cursorOld | |
| frame.actionOld | |
| frame.currScale | |
| frame.dragId | |
| frame._buffer | |
| frame.resize | |