|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
Public Member Functions | |
| def | __init__ |
| Main window of ps.map GUI. | |
| def | InstructionFile |
| Creates mapping instructions. | |
| def | OnPSFile |
| Generate PostScript. | |
| def | OnPsMapDialog |
| Launch ps.map dialog. | |
| def | OnPDFFile |
| Generate PDF from PS with ps2pdf if available. | |
| def | OnPreview |
| Run ps.map and show result. | |
| def | PSFile |
| Create temporary instructions file and run ps.map with output = filename. | |
| def | OnCmdDone |
| ps.map process finished | |
Data Fields | |
| parent | |
| menubar | |
| toolbar | |
| actionOld | |
| iconsize | |
| statusbar | |
| mouse | |
| cursors | |
| pen | |
| brush | |
| objectId | |
| instruction | |
| openDialogs | |
| pageId | |
| currentPage | |
| canvas | |
| imgName | |
| previewCanvas | |
| requestQ | |
| resultQ | |
| cmdThread | |
| book | |
Definition at line 48 of file psmap/frame.py.
| def frame.PsMapFrame.__init__ | ( | self, | |
parent = None, |
|||
id = wx.ID_ANY, |
|||
title = _("GRASS GIS Cartographic Composer (experimental prototype)"), |
|||
| kwargs | |||
| ) |
Main window of ps.map GUI.
| parent | parent window |
| id | window id |
| title | window title |
| kwargs | wx.Frames' arguments |
Definition at line 50 of file psmap/frame.py.
| def frame.PsMapFrame.InstructionFile | ( | self | ) |
Creates mapping instructions.
Definition at line 206 of file psmap/frame.py.
References frame.PsMapFrame.instruction, dialogs.PsmapDialog.instruction, dialogs.MapFramePanel.instruction, dialogs.RasterPanel.instruction, dialogs.VectorPanel.instruction, and dialogs.LegendDialog.instruction.
Referenced by frame.PsMapFrame.PSFile().
| def frame.PsMapFrame.OnCmdDone | ( | self, | |
| event | |||
| ) |
ps.map process finished
Definition at line 283 of file psmap/frame.py.
References gcmd.RunCommand().
| def frame.PsMapFrame.OnPDFFile | ( | self, | |
| event | |||
| ) |
Generate PDF from PS with ps2pdf if available.
Definition at line 222 of file psmap/frame.py.
References frame.PsMapFrame.PSFile().
| def frame.PsMapFrame.OnPreview | ( | self, | |
| event | |||
| ) |
Run ps.map and show result.
Definition at line 237 of file psmap/frame.py.
References frame.PsMapFrame.PSFile().
Referenced by colorrules.ColorTable.LoadTable(), colorrules.ColorTable.OnApply(), and colorrules.ColorTable.ReadColorTable().
| def frame.PsMapFrame.OnPSFile | ( | self, | |
| event | |||
| ) |
Generate PostScript.
Definition at line 211 of file psmap/frame.py.
References frame.PsMapFrame.PSFile().
| def frame.PsMapFrame.OnPsMapDialog | ( | self, | |
| event | |||
| ) |
Launch ps.map dialog.
Definition at line 217 of file psmap/frame.py.
| def frame.PsMapFrame.PSFile | ( | self, | |
filename = None, |
|||
pdf = False |
|||
| ) |
Create temporary instructions file and run ps.map with output = filename.
Definition at line 241 of file psmap/frame.py.
References frame.PsMapFrame.instruction, dialogs.PsmapDialog.instruction, dialogs.MapFramePanel.instruction, dialogs.RasterPanel.instruction, dialogs.VectorPanel.instruction, dialogs.LegendDialog.instruction, frame.PsMapFrame.InstructionFile(), frame.PsMapFrame.pageId, dialogs.LegendDialog.pageId, and utils.SetResolution().
Referenced by frame.PsMapFrame.OnPDFFile(), frame.PsMapFrame.OnPreview(), and frame.PsMapFrame.OnPSFile().
Definition at line 71 of file psmap/frame.py.
Definition at line 188 of file psmap/frame.py.
Definition at line 107 of file psmap/frame.py.
Referenced by frame.PsMapBufferedWindow.OnDragging(), frame.PsMapBufferedWindow.OnLeftUp(), and frame.PsMapBufferedWindow.Zoom().
Definition at line 137 of file psmap/frame.py.
Definition at line 162 of file psmap/frame.py.
Definition at line 135 of file psmap/frame.py.
Definition at line 84 of file psmap/frame.py.
Referenced by frame.MapFrame.AddNviz(), frame.MapFrame.OnFlyThrough(), frame.PsMapBufferedWindow.OnMouseMoving(), mapdisplay.MapFrame.OnPan(), mapdisplay.MapFrame.OnPointer(), frame.MapFrame.OnPointer(), frame.MapFrame.OnQuery(), frame.MapFrame.OnRotate(), mapdisplay.MapFrame.OnZoomIn(), and mapdisplay.MapFrame.OnZoomOut().
Definition at line 72 of file psmap/frame.py.
Definition at line 149 of file psmap/frame.py.
Definition at line 129 of file psmap/frame.py.
Referenced by instructions.Instruction.__contains__(), instructions.Instruction.__delitem__(), instructions.Instruction.__getitem__(), instructions.InstructionObject.__getitem__(), instructions.InstructionObject.__setitem__(), instructions.Instruction.__str__(), instructions.MapFrame.__str__(), instructions.PageSetup.__str__(), instructions.Mapinfo.__str__(), instructions.Text.__str__(), instructions.Image.__str__(), instructions.NorthArrow.__str__(), instructions.Point.__str__(), instructions.Line.__str__(), instructions.Rectangle.__str__(), instructions.Scalebar.__str__(), instructions.RasterLegend.__str__(), instructions.VectorLegend.__str__(), instructions.Raster.__str__(), instructions.VProperties.__str__(), instructions.Image.ChangeRefPoint(), frame.PsMapBufferedWindow.Draw(), instructions.Instruction.FindInstructionByType(), instructions.InstructionObject.GetInstruction(), frame.PsMapFrame.InstructionFile(), frame.PsMapBufferedWindow.OnButtonDClick(), frame.PsMapBufferedWindow.OnDragging(), frame.PsMapBufferedWindow.OnLeftUp(), frame.PsMapFrame.PSFile(), instructions.MapFrame.Read(), instructions.Mapinfo.Read(), instructions.Image.Read(), instructions.Point.Read(), instructions.Line.Read(), instructions.Rectangle.Read(), instructions.Scalebar.Read(), instructions.Vector.Read(), frame.PsMapBufferedWindow.RecalculateEN(), frame.PsMapBufferedWindow.RecalculatePosition(), instructions.InstructionObject.SetInstruction(), frame.PsMapBufferedWindow.SetPage(), and frame.PsMapBufferedWindow.Zoom().
Definition at line 64 of file psmap/frame.py.
Definition at line 78 of file psmap/frame.py.
Referenced by frame.PsMapBufferedWindow.ComputeZoom(), frame.PsMapBufferedWindow.OnButtonDClick(), frame.PsMapBufferedWindow.OnDragging(), frame.PsMapBufferedWindow.OnLeftDown(), frame.PsMapBufferedWindow.OnLeftUp(), frame.PsMapBufferedWindow.OnMiddleDown(), frame.PsMapBufferedWindow.OnMouseMoving(), and frame.PsMapBufferedWindow.OnMouseWheel().
Definition at line 126 of file psmap/frame.py.
Referenced by frame.PsMapBufferedWindow.Zoom().
Definition at line 131 of file psmap/frame.py.
Referenced by frame.PsMapBufferedWindow.OnLeftUp().
Definition at line 133 of file psmap/frame.py.
Referenced by frame.PsMapBufferedWindow.CanvasPaperCoordinates(), frame.PsMapFrame.PSFile(), frame.PsMapBufferedWindow.SetPage(), frame.PsMapBufferedWindow.Zoom(), and frame.PsMapBufferedWindow.ZoomAll().
Definition at line 59 of file psmap/frame.py.
Referenced by wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), wxdigit.VDigitError.NoMap(), frame.PsMapBufferedWindow.OnLeftUp(), wxdigit.VDigitError.ReadLine(), and wxdigit.VDigitError.WriteLine().
Definition at line 91 of file psmap/frame.py.
Referenced by frame.PsMapBufferedWindow.OnDragging(), frame.PsMapBufferedWindow.OnLeftUp(), and frame.PsMapBufferedWindow.Zoom().
Definition at line 152 of file psmap/frame.py.
Definition at line 159 of file psmap/frame.py.
Definition at line 160 of file psmap/frame.py.
Definition at line 74 of file psmap/frame.py.
Definition at line 68 of file psmap/frame.py.
Referenced by mapwindow.BufferedWindow.OnDragging(), mapwindow.VDigitWindow.OnKeyDown(), mapwindow.VDigitWindow.OnLeftDownUndo(), and mapwindow.VDigitWindow.SetToolbar().