Class for drawing structure pictures to a QPrinter for generating
PDFs.
|
__init__(self,
printer,
pictures,
progress,
num_cols,
max_scale_factor)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
_calc_pic_size(self,
width,
height)
Determine the size that the QPicture of the given width and heights
should be drawn at. |
|
|
|
_calc_row_height(self,
cells)
Calculate the height of the row, given a list of StrucInfo instances. |
|
|
|
_draw_cell(self,
st_info,
x,
y)
Draw the given StructInfo at the specified coordinate. |
|
|
|
run(self)
Execute the drawing. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|