ScaleRenderer class. More...
Public Member Functions | |
def | __init__ (self) |
Initializer. More... | |
def | draw (self, ctx) |
Draw. More... | |
def | get_height (self) |
Get Height. More... | |
def | get_position (self, x) |
Get Position. More... | |
def | layout (self, width) |
Layout. More... | |
def | set_bot (self) |
Set Bottom. More... | |
def | set_bounds (self, lo, hi) |
Set Bounds. More... | |
def | set_top (self) |
Set Top. More... | |
Public Attributes | |
max_text_height | |
maximum text height More... | |
Private Attributes | |
__delta | |
delta More... | |
__height | |
height More... | |
__hi | |
hi More... | |
__lo | |
lo More... | |
__top | |
top More... | |
__width | |
width More... | |
ScaleRenderer class.
def grid.ScaleRenderer.__init__ | ( | self | ) |
def grid.ScaleRenderer.draw | ( | self, | |
ctx | |||
) |
Draw.
self | this object |
ctx | ctx |
Definition at line 925 of file grid.py.
References grid.ScaleRenderer.__delta, grid.ScaleRenderer.__hi, grid.ScaleRenderer.__lo, grid.ScaleRenderer.__top, grid.TopLegendRenderer.__width, grid.ScaleRenderer.__width, grid.GraphicRenderer.__width, and grid.GtkGraphicRenderer.__width.
def grid.ScaleRenderer.get_height | ( | self | ) |
Get Height.
self | this object |
Definition at line 919 of file grid.py.
References grid.TopLegendRenderer.__height, grid.ScaleRenderer.__height, grid.GraphicRenderer.__height, and grid.GtkGraphicRenderer.__height.
def grid.ScaleRenderer.get_position | ( | self, | |
x | |||
) |
Get Position.
self | this object |
x | x |
Definition at line 867 of file grid.py.
References grid.ScaleRenderer.__hi, grid.ScaleRenderer.__lo, grid.TopLegendRenderer.__width, grid.ScaleRenderer.__width, grid.GraphicRenderer.__width, and grid.GtkGraphicRenderer.__width.
Referenced by visualizer.core.Node._update_position().
def grid.ScaleRenderer.layout | ( | self, | |
width | |||
) |
Layout.
self | this object |
width | width |
Definition at line 887 of file grid.py.
References grid.ScaleRenderer.__hi, and grid.ScaleRenderer.__lo.
def grid.ScaleRenderer.set_bot | ( | self | ) |
Set Bottom.
self | this object |
Definition at line 881 of file grid.py.
References grid.ScaleRenderer.__top.
def grid.ScaleRenderer.set_bounds | ( | self, | |
lo, | |||
hi | |||
) |
def grid.ScaleRenderer.set_top | ( | self | ) |
Set Top.
self | this object |
Definition at line 875 of file grid.py.
References grid.ScaleRenderer.__top.
|
private |
|
private |
height
Definition at line 917 of file grid.py.
Referenced by grid.GraphicRenderer.draw(), grid.TopLegendRenderer.get_height(), grid.ScaleRenderer.get_height(), grid.GraphicRenderer.get_height(), and grid.GraphicRenderer.layout().
|
private |
hi
Definition at line 866 of file grid.py.
Referenced by grid.ScaleRenderer.draw(), grid.ScaleRenderer.get_position(), and grid.ScaleRenderer.layout().
|
private |
lo
Definition at line 865 of file grid.py.
Referenced by grid.ScaleRenderer.draw(), grid.ScaleRenderer.get_position(), and grid.ScaleRenderer.layout().
|
private |
top
Definition at line 856 of file grid.py.
Referenced by grid.ScaleRenderer.draw(), grid.ScaleRenderer.set_bot(), and grid.ScaleRenderer.set_top().
|
private |
width
Definition at line 911 of file grid.py.
Referenced by grid.TopLegendRenderer.draw(), grid.ScaleRenderer.draw(), grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_data_rectangle(), grid.ScaleRenderer.get_position(), grid.GraphicRenderer.get_width(), grid.GraphicRenderer.layout(), grid.GraphicRenderer.scale_data(), and grid.GraphicRenderer.scale_selection().
grid.ScaleRenderer.max_text_height |
maximum text height
Definition at line 915 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events().