ScaleRenderer class. More...
Public Member Functions | |
__init__ (self) | |
Initializer. | |
draw (self, ctx) | |
Draw. | |
get_height (self) | |
Get Height. | |
get_position (self, x) | |
Get Position. | |
layout (self, width) | |
Layout. | |
set_bot (self) | |
Set Bottom. | |
set_bounds (self, lo, hi) | |
Set Bounds. | |
set_top (self) | |
Set Top. | |
Public Attributes | |
max_text_height | |
maximum text height | |
Private Attributes | |
__delta | |
delta | |
__height | |
height | |
__hi | |
hi | |
__lo | |
lo | |
__top | |
top | |
__width | |
width | |
ScaleRenderer class.
grid.ScaleRenderer.__init__ | ( | self | ) |
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.GraphicRenderer.__width, grid.GtkGraphicRenderer.__width, grid.ScaleRenderer.__width, and grid.TopLegendRenderer.__width.
grid.ScaleRenderer.get_height | ( | self | ) |
Get Height.
self | this object |
Definition at line 1009 of file grid.py.
References grid.GraphicRenderer.__height, grid.GtkGraphicRenderer.__height, grid.ScaleRenderer.__height, and grid.TopLegendRenderer.__height.
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.GraphicRenderer.__width, grid.GtkGraphicRenderer.__width, grid.ScaleRenderer.__width, and grid.TopLegendRenderer.__width.
Referenced by visualizer.core.Node._update_position().
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.
grid.ScaleRenderer.set_bot | ( | self | ) |
Set Bottom.
self | this object |
Definition at line 968 of file grid.py.
References grid.ScaleRenderer.__top.
grid.ScaleRenderer.set_bounds | ( | self, | |
lo, | |||
hi ) |
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.GraphicRenderer.get_height(), grid.ScaleRenderer.get_height(), grid.TopLegendRenderer.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.GraphicRenderer.draw(), grid.ScaleRenderer.draw(), grid.TopLegendRenderer.draw(), grid.GraphicRenderer.get_data_rectangle(), grid.ScaleRenderer.get_position(), grid.GraphicRenderer.get_width(), grid.GraphicRenderer.layout(), grid.GraphicRenderer.scale_data(), grid.GraphicRenderer.scale_selection(), and grid.GtkGraphicRenderer.size_allocate().
grid.ScaleRenderer.max_text_height |
maximum text height
Definition at line 1005 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events().