GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
psmap/frame.py File Reference

Go to the source code of this file.

Data Structures

class  frame.PsMapFrame
 
class  frame.PsMapBufferedWindow
 A buffered window class. More...
 

Namespaces

 frame
 
 psmap.frame
 GUI for ps.map.
 

Functions

def frame.OnAddRaster
 Add raster map. More...
 
def frame.OnAddVect
 Add vector map. More...
 
def frame.OnAddScalebar
 Add scalebar. More...
 
def frame.OnAddLegend
 Add raster or vector legend. More...
 
def frame.OnAddMapinfo
 
def frame.OnAddImage
 Show dialog for image adding and editing. More...
 
def frame.OnAddNorthArrow
 Show dialog for north arrow adding and editing. More...
 
def frame.OnAddText
 Show dialog for text adding and editing. More...
 
def frame.OnAddPoint
 Add point action selected. More...
 
def frame.AddPoint
 Add point and open property dialog. More...
 
def frame.OnAddLine
 Add line action selected. More...
 
def frame.AddLine
 Add line and open property dialog. More...
 
def frame.OnAddRectangle
 Add rectangle action selected. More...
 
def frame.AddRectangle
 Add rectangle and open property dialog. More...
 
def frame.getModifiedTextBounds
 computes bounding box of rotated text, not very precisely More...
 
def frame.makePSFont
 creates a wx.Font object from selected postscript font. More...
 
def frame.getTextExtent
 Estimates bounding rectangle of text. More...
 
def frame.getInitMap
 Create default map frame when no map is selected, needed for coordinates in map units. More...
 
def frame.OnDelete
 
def frame.deleteObject
 Deletes object, his id and redraws. More...
 
def frame.DialogDataChanged
 
def frame.OnPageChanged
 Flatnotebook page has changed. More...
 
def frame.OnPageChanging
 Flatnotebook page is changing. More...
 
def frame.OnHelp
 Show help. More...
 
def frame.OnAbout
 Display About window. More...
 
def frame.OnCloseWindow
 Close window. More...
 
def frame.DrawImage
 Draw preview image to pseudoDC. More...
 
def frame.DrawPaper
 Draw paper and margins. More...
 
def frame.ImageRect
 Returns image centered in canvas, computes scale. More...
 
def frame.RedrawSelectBox
 Redraws select box when selected object changes its size. More...
 
def frame.UpdateMapLabel
 Updates map frame label. More...
 
def frame.UpdateLabel
 
def frame.OnSize
 Init image size to match window size. More...
 
def frame.OnIdle
 Only re-render a image during idle time instead of multiple times during resizing. More...
 
def frame.ScaleRect
 Scale rectangle. More...
 
def frame.main
 

Variables

tuple frame.dlg
 dlg = MapDialog(parent = self, id = id, settings = self.instruction, notebook = notebook) dlg.ShowModal() More...
 
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) More...
 
 frame.currentPage
 
 frame.currScale
 
 frame.dragId
 
 frame._buffer
 
 frame.resize