GraphicRenderer class. More...
Public Member Functions | |
__init__ (self, start, end) | |
Initializer. | |
draw (self, ctx) | |
Draw. | |
get_data_rectangle (self) | |
Get Data Rectangle. | |
get_height (self) | |
Get Height. | |
get_range (self) | |
Get Range. | |
get_selection_rectangle (self) | |
Get Selection Rectangle. | |
get_width (self) | |
Get Width. | |
layout (self, width, height) | |
Set Layout. | |
scale_data (self, x) | |
Get Data Rectangle. | |
scale_selection (self, x) | |
Scale Selection. | |
set_data (self, data) | |
Set Date. | |
set_range (self, start, end) | |
Set Range. | |
set_top_legend (self, top_legend) | |
Set Top Legend. | |
Private Member Functions | |
__x_pixel (self, x, width) | |
X Pixel. | |
Private Attributes | |
__bot_scale | |
bottom scale | |
__data | |
data | |
__end | |
end | |
__height | |
height | |
__mid_scale | |
mid scale | |
__r_end | |
end | |
__r_start | |
start | |
__start | |
start | |
__top_legend | |
top legend | |
__width | |
width | |
GraphicRenderer class.
grid.GraphicRenderer.__init__ | ( | self, | |
start, | |||
end ) |
|
private |
X Pixel.
self | this object |
x | x |
width | width |
Definition at line 1216 of file grid.py.
References grid.GraphicRenderer.__end, and grid.GraphicRenderer.__start.
grid.GraphicRenderer.draw | ( | self, | |
ctx ) |
Draw.
self | this object |
ctx | ctx |
Definition at line 1226 of file grid.py.
References grid.GraphicRenderer.__bot_scale, grid.GraphicRenderer.__data, grid.GtkGraphicRenderer.__data, grid.GraphicRenderer.__height, grid.GtkGraphicRenderer.__height, grid.ScaleRenderer.__height, grid.TopLegendRenderer.__height, grid.GraphicRenderer.__mid_scale, grid.GraphicRenderer.__r_end, grid.GraphicRenderer.__r_start, grid.GraphicRenderer.__top_legend, grid.GraphicRenderer.__width, grid.GtkGraphicRenderer.__width, grid.ScaleRenderer.__width, grid.TopLegendRenderer.__width, grid.GraphicRenderer.draw(), and grid.GraphicRenderer.get_height().
Referenced by grid.GraphicRenderer.draw().
grid.GraphicRenderer.get_data_rectangle | ( | self | ) |
Get Data Rectangle.
self | this object |
Definition at line 1115 of file grid.py.
References grid.GraphicRenderer.__data, grid.GtkGraphicRenderer.__data, grid.GraphicRenderer.__top_legend, grid.GraphicRenderer.__width, grid.GtkGraphicRenderer.__width, grid.ScaleRenderer.__width, grid.TopLegendRenderer.__width, and grid.GraphicRenderer.get_height().
grid.GraphicRenderer.get_height | ( | self | ) |
Get Height.
self | this object |
Definition at line 1107 of file grid.py.
References grid.GraphicRenderer.__height, grid.GtkGraphicRenderer.__height, grid.ScaleRenderer.__height, and grid.TopLegendRenderer.__height.
Referenced by grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_data_rectangle(), grid.GraphicRenderer.get_selection_rectangle(), and grid.GraphicRenderer.layout().
grid.GraphicRenderer.get_range | ( | self | ) |
Get Range.
self | this object |
Definition at line 1177 of file grid.py.
References grid.GraphicRenderer.__r_end, and grid.GraphicRenderer.__r_start.
grid.GraphicRenderer.get_selection_rectangle | ( | self | ) |
Get Selection Rectangle.
self | this object |
Definition at line 1135 of file grid.py.
References grid.GraphicRenderer.__bot_scale, grid.GraphicRenderer.__data, grid.GtkGraphicRenderer.__data, grid.GraphicRenderer.__mid_scale, grid.GraphicRenderer.__r_end, grid.GraphicRenderer.__r_start, grid.GraphicRenderer.__top_legend, and grid.GraphicRenderer.get_height().
grid.GraphicRenderer.get_width | ( | self | ) |
Get Width.
self | this object |
Definition at line 1100 of file grid.py.
References grid.GraphicRenderer.__width, grid.GtkGraphicRenderer.__width, grid.ScaleRenderer.__width, and grid.TopLegendRenderer.__width.
grid.GraphicRenderer.layout | ( | self, | |
width, | |||
height ) |
Set Layout.
self | this object |
width | width |
height | height |
Definition at line 1200 of file grid.py.
References grid.GraphicRenderer.__bot_scale, grid.GraphicRenderer.__data, grid.GtkGraphicRenderer.__data, grid.GraphicRenderer.__height, grid.GtkGraphicRenderer.__height, grid.ScaleRenderer.__height, grid.TopLegendRenderer.__height, grid.GraphicRenderer.__mid_scale, grid.GraphicRenderer.__top_legend, grid.GraphicRenderer.__width, grid.GtkGraphicRenderer.__width, grid.ScaleRenderer.__width, grid.TopLegendRenderer.__width, grid.GraphicRenderer.get_height(), and grid.GraphicRenderer.layout().
Referenced by grid.GraphicRenderer.layout().
grid.GraphicRenderer.scale_data | ( | self, | |
x ) |
Get Data Rectangle.
self | this object |
x | x |
Definition at line 1124 of file grid.py.
References grid.GraphicRenderer.__data, grid.GtkGraphicRenderer.__data, grid.GraphicRenderer.__r_end, grid.GraphicRenderer.__r_start, grid.GraphicRenderer.__width, grid.GtkGraphicRenderer.__width, grid.ScaleRenderer.__width, and grid.TopLegendRenderer.__width.
grid.GraphicRenderer.scale_selection | ( | self, | |
x ) |
Scale Selection.
self | this object |
x | the X |
Definition at line 1151 of file grid.py.
References grid.GraphicRenderer.__end, grid.GraphicRenderer.__start, grid.GraphicRenderer.__width, grid.GtkGraphicRenderer.__width, grid.ScaleRenderer.__width, and grid.TopLegendRenderer.__width.
grid.GraphicRenderer.set_data | ( | self, | |
data ) |
grid.GraphicRenderer.set_range | ( | self, | |
start, | |||
end ) |
Set Range.
self | this object |
start | start |
end | end |
Definition at line 1160 of file grid.py.
References grid.GraphicRenderer.__end, and grid.GraphicRenderer.__start.
grid.GraphicRenderer.set_top_legend | ( | self, | |
top_legend ) |
|
private |
bottom scale
Definition at line 1094 of file grid.py.
Referenced by grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_selection_rectangle(), and grid.GraphicRenderer.layout().
|
private |
data
Definition at line 1190 of file grid.py.
Referenced by grid.GtkGraphicRenderer.button_press(), grid.GtkGraphicRenderer.button_release(), grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_data_rectangle(), grid.GraphicRenderer.get_selection_rectangle(), grid.GraphicRenderer.layout(), grid.GtkGraphicRenderer.motion_notify(), grid.GtkGraphicRenderer.output_png(), grid.GraphicRenderer.scale_data(), grid.GtkGraphicRenderer.set_bigger_zoom(), and grid.GtkGraphicRenderer.set_smaller_zoom().
|
private |
end
Definition at line 1091 of file grid.py.
Referenced by grid.GraphicRenderer.__x_pixel(), grid.GraphicRenderer.scale_selection(), and grid.GraphicRenderer.set_range().
|
private |
height
Definition at line 1098 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 |
mid scale
Definition at line 1092 of file grid.py.
Referenced by grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_selection_rectangle(), and grid.GraphicRenderer.layout().
|
private |
end
Definition at line 1172 of file grid.py.
Referenced by grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_range(), grid.GraphicRenderer.get_selection_rectangle(), and grid.GraphicRenderer.scale_data().
|
private |
start
Definition at line 1171 of file grid.py.
Referenced by grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_range(), grid.GraphicRenderer.get_selection_rectangle(), and grid.GraphicRenderer.scale_data().
|
private |
start
Definition at line 1090 of file grid.py.
Referenced by grid.GraphicRenderer.__x_pixel(), grid.GraphicRenderer.scale_selection(), and grid.GraphicRenderer.set_range().
|
private |
top legend
Definition at line 1198 of file grid.py.
Referenced by grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_data_rectangle(), grid.GraphicRenderer.get_selection_rectangle(), and grid.GraphicRenderer.layout().
|
private |
width
Definition at line 1097 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().