module timelinelib.test.cases.drawers

timelinelib.test.cases.drawers.TEXT_HEIGHT = 20
timelinelib.test.cases.drawers.TEXT_WIDTH = 40
class timelinelib.test.cases.drawers.describe_drawers[source]

Bases: timelinelib.test.cases.wxapp.WxAppTestCase

create_scene(width, height, divider_y)[source]
create_dc()[source]
install_gettext()[source]
class timelinelib.test.cases.drawers.Dc[source]

Bases: object

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

property pen_call_count
property draw_line_call_count
property draw_text_call_count
property x1
property y1
property x2
property y2
property font
property text_foreground
property text
property text_x
property text_y
SetPen(pen)[source]
SetTextForeground(color)[source]
DrawLine(x1, y1, x2, y2)[source]
DrawText(text, x, y)[source]
GetTextExtent(text)[source]
SetFont(font)[source]
class timelinelib.test.cases.drawers.Scene[source]

Bases: object

__init__(width, height, divider_y)[source]

Initialize self. See help(type(self)) for accurate signature.

property width
property height
property divider_y
x_pos_for_time(time)[source]
minor_strip_is_day()[source]
timelinelib.test.cases.drawers.install_gettext()[source]