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 1016 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 1009 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 952 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 975 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 968 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 961 of file grid.py.
References grid.ScaleRenderer.__top.
|
private |
|
private |
height
Definition at line 1007 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 950 of file grid.py.
Referenced by grid.ScaleRenderer.draw(), grid.ScaleRenderer.get_position(), and grid.ScaleRenderer.layout().
|
private |
lo
Definition at line 949 of file grid.py.
Referenced by grid.ScaleRenderer.draw(), grid.ScaleRenderer.get_position(), and grid.ScaleRenderer.layout().
|
private |
top
Definition at line 939 of file grid.py.
Referenced by grid.ScaleRenderer.draw(), grid.ScaleRenderer.set_bot(), and grid.ScaleRenderer.set_top().
|
private |
width
Definition at line 999 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 1005 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events().