GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Class representing eps instruction - image. More...
Public Member Functions | |
def | __init__ |
def | __str__ |
def | Read |
Read instruction and save information. More... | |
def | ChangeRefPoint |
Change reference point (left top x center) More... | |
def | GetImageOrigSize |
Get image size. More... | |
Public Member Functions inherited from instructions.InstructionObject | |
def | __init__ |
def | __str__ |
Returns particular part of text instruction. More... | |
def | __getitem__ |
def | __setitem__ |
def | GetInstruction |
Get current values. More... | |
def | SetInstruction |
Set default values. More... | |
def | Read |
Read instruction and save them. More... | |
def | PercentToReal |
Converts text coordinates from percent of region to map coordinates. More... | |
Data Fields | |
settings | |
type | |
defaultInstruction | |
instruction | |
Data Fields inherited from instructions.InstructionObject | |
id | |
defaultInstruction | |
instruction | |
unitConv | |
Class representing eps instruction - image.
Definition at line 877 of file instructions.py.
def instructions.Image.__init__ | ( | self, | |
id, | |||
settings | |||
) |
Definition at line 879 of file instructions.py.
def instructions.Image.__str__ | ( | self | ) |
Definition at line 890 of file instructions.py.
References instructions.Image.ChangeRefPoint(), instructions.Instruction.instruction, frame.PsMapFrame.instruction, dialogs.PsmapDialog.instruction, instructions.InstructionObject.instruction, dialogs.MapFramePanel.instruction, frame.PsMapBufferedWindow.instruction, dialogs.RasterPanel.instruction, dialogs.VectorPanel.instruction, and dialogs.LegendDialog.instruction.
def instructions.Image.ChangeRefPoint | ( | self, | |
toCenter | |||
) |
Change reference point (left top x center)
Definition at line 952 of file instructions.py.
References instructions.Instruction.instruction, frame.PsMapFrame.instruction, dialogs.PsmapDialog.instruction, instructions.InstructionObject.instruction, dialogs.MapFramePanel.instruction, frame.PsMapBufferedWindow.instruction, dialogs.RasterPanel.instruction, dialogs.VectorPanel.instruction, dialogs.LegendDialog.instruction, utils.PaperMapCoordinates(), preferences.PreferencesBaseDialog.settings, instructions.Image.settings, and preferences.DefaultFontDialog.settings.
Referenced by instructions.Image.__str__(), instructions.NorthArrow.__str__(), and instructions.Image.Read().
def instructions.Image.GetImageOrigSize | ( | self, | |
imagePath | |||
) |
Get image size.
If eps, size is read from image header.
Definition at line 974 of file instructions.py.
Referenced by instructions.Image.Read().
def instructions.Image.Read | ( | self, | |
instruction, | |||
text, | |||
kwargs | |||
) |
Read instruction and save information.
Definition at line 903 of file instructions.py.
References utils.BBoxAfterRotation(), instructions.Image.ChangeRefPoint(), instructions.Image.GetImageOrigSize(), instructions.Instruction.instruction, frame.PsMapFrame.instruction, dialogs.PsmapDialog.instruction, instructions.InstructionObject.instruction, dialogs.MapFramePanel.instruction, frame.PsMapBufferedWindow.instruction, dialogs.RasterPanel.instruction, dialogs.VectorPanel.instruction, dialogs.LegendDialog.instruction, utils.PaperMapCoordinates(), and instructions.InstructionObject.PercentToReal().
instructions.Image.defaultInstruction |
Definition at line 884 of file instructions.py.
instructions.Image.instruction |
Definition at line 888 of file instructions.py.
instructions.Image.settings |
Definition at line 881 of file instructions.py.
Referenced by instructions.Image.ChangeRefPoint(), wxdisplay.DisplayDriver.SelectLineByPoint(), wxdisplay.DisplayDriver.UnSelect(), and wxdisplay.DisplayDriver.UpdateSettings().
instructions.Image.type |
Definition at line 882 of file instructions.py.
Referenced by widgets.BaseValidator.Validate().