Module Expr Str Assign NameStore Str Assign NameStore Str Import alias ImportFrom alias Import alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore TupleLoad Num Num FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Str Num NameLoad keyword NameLoad keyword Str keyword Str Call AttributeLoad NameLoad attr NameLoad Str Num BinOpFloorDiv NameLoad Num keyword NameLoad keyword Str keyword Str Call AttributeLoad NameLoad attr NameLoad Str Num Num keyword NameLoad keyword Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr BinOpFloorDiv NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Test that font.Text alignment works with multiple lines.

Three labels will be rendered at the top-left, center and bottom-right of the
window.  Resize the window to ensure the alignment is as specified.
 N/A __docformat__ restructuredtext N/A __version__ $Id: $ N/A unittest pyglet font N/A base_text TEST_ALIGN_MULTILINE N/A N/A base_text TextTestBase N/A N/A font_name N/A window_size N/A 400 500 render N/A N/A self N/A N/A N/A fnt N/A N/A font load N/A self font_name N/A self font_size N/A w N/A N/A self window width N/A h N/A N/A self window height N/A N/A self labels N/A N/A N/A font Text fnt This text is top-left aligned  with several lines. 0 h width w halign left valign top N/A N/A font Text fnt This text is centered in the middle. 0 N/A h 2 width w halign center valign center N/A N/A font Text fnt This text is aligned to the bottom-right of the window. 0 0 width w halign right valign bottom N/A on_resize N/A N/A self width height N/A N/A N/A label N/A self labels N/A N/A N/A label width width N/A N/A N/A N/A self labels N/A 0 y height N/A N/A N/A N/A self labels N/A 1 y N/A height 2 N/A draw N/A N/A self N/A N/A N/A label N/A self labels N/A N/A N/A N/A label draw N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main