3.3.3.1. MainWindow

This code is deprecated in favor of the OpenGL viewer. The Qt graphic scene is not suited for this purpose.

class PyDviGui.DviViewer.MainWindow.MainWindow(dvi_file)[source]

Bases: PyQt4.QtGui.QMainWindow

_MainWindow__init_dvi_machine()
keyPressEvent(event)[source]
paint_page(page_bounding_box)[source]
process_dvi_stream(dvi_file)[source]
scale_view(scale_factor)[source]
wheelEvent(event)[source]
class PyDviGui.DviViewer.MainWindow.QtDviMachine(font_manager, scene)[source]

Bases: PyDvi.Dvi.DviMachine.DviMachine

get_glyph(font, glyph_index, magnification)[source]
hash_glyph(font, glyph_index, magnification)[source]
paint_char(xg, yg, char_bounding_box, font, glyph_index, magnification)[source]
paint_char_box(char_bounding_box)[source]
paint_rule(x, y, w, h)[source]

Previous topic

3.3.3. DviViewer

Next topic

3.3.4. FontViewer

This Page