Module ImportFrom alias alias alias alias Expr Str Import alias identifier Import alias Import alias FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Str Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index Num NameLoad If CompareIsNot NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad orelse Return NameLoad orelse Return Call NameLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad Num Num Num Num NameLoad body Assign AttributeStore NameLoad attr ListLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Slice Num Num SubscriptLoad NameLoad Slice Num Num If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr ExtSlice Slice NameLoad NameLoad Index Num Num Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Num BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Num BinOpAdd BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num Num Call AttributeLoad NameLoad attr BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign SubscriptStore NameLoad Index Num BinOpAdd BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num Num Call AttributeLoad NameLoad attr BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign SubscriptStore AttributeLoad NameLoad attr ExtSlice Slice NameLoad NameLoad Slice NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Return Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Num BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Num AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Num AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Num AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Num AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Num AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Num BinOpAdd BinOpMult SubscriptLoad NameLoad Index Num Num Call AttributeLoad NameLoad attr BinOpMult SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index Num BinOpAdd BinOpMult NameLoad Num Call AttributeLoad NameLoad attr BinOpMult SubscriptLoad NameLoad Index Num Num Assign SubscriptStore AttributeLoad NameLoad attr ExtSlice Index BinOpAdd AttributeLoad NameLoad attr NameLoad Slice NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str Num Str Num TupleLoad Num Num Num Num Num Num body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMult ListLoad Num NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Return NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr Num Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad ExtSlice Slice Index Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad ExtSlice Slice Index Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr ExtSlice Slice NameLoad NameLoad Slice NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr ExtSlice Slice NameLoad NameLoad Index Num BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore BinOpMult BinOpMult Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMult BinOpMult Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index BinOpAdd NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Expr Str Assign NameStore BinOpDiv Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore NameLoad If CompareEq AttributeLoad NameLoad attr Str body AugAssignAdd NameStore BinOpMult BinOpMult BinOpMult Call NameLoad SubscriptLoad NameLoad Index Num NameLoad AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult BinOpMult SubscriptLoad NameLoad Index Num NameLoad NameLoad NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult BinOpSub NameLoad NameLoad UnaryOpUSub AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A __future__ absolute_import division print_function unicode_literals N/A  Text block used to update contents of buffers used to draw gl_point font characters.
 N/A numpy np N/A math N/A colorsys getattra N/A N/A obj attr default N/A N/A N/A N/A [ attr N/A N/A splits N/A N/A attr split [ N/A index N/A int N/A N/A N/A splits N/A 1 replace ] N/A thearray N/A getattr obj N/A splits N/A 0 None N/A N/A thearray None N/A N/A N/A thearray N/A index N/A N/A default N/A N/A N/A getattr obj attr default N/A TextBlockColour N/A object N/A __init__ N/A N/A self colour textBlock N/A N/A 1.0 1.0 1.0 1.0 None N/A N/A N/A self colour N/A N/A colour N/A 0 N/A colour N/A 1 N/A colour N/A 2 N/A colour N/A 3 N/A N/A self textBlock textBlock N/A recolour N/A N/A self N/A N/A N/A N/A N/A self set_colour N/A set_colour N/A N/A self colour alpha N/A None None N/A N/A N/A colour None N/A N/A N/A N/A self colour N/A 0 2 N/A colour N/A 0 2 N/A N/A alpha None N/A N/A N/A N/A self colour N/A 3 alpha N/A textBlock N/A self textBlock N/A manager N/A textBlock _text_manager N/A st N/A textBlock _buffer_index N/A mid N/A st N/A textBlock _string_length N/A end N/A st N/A textBlock char_count N/A N/A N/A manager normals N/A N/A st end N/A 2 0 N/A normal N/A N/A np zeros 3 dtype N/A np float N/A N/A normal N/A 0 N/A N/A textBlock rot N/A textBlock char_rot N/A N/A normal N/A 1 N/A N/A N/A N/A self colour N/A 1 0.999 N/A N/A math floor N/A N/A N/A self colour N/A 0 999 N/A N/A normal N/A 2 N/A N/A N/A N/A self colour N/A 3 0.999 N/A N/A math floor N/A N/A N/A self colour N/A 2 999 N/A N/A N/A manager normals N/A N/A st mid N/A normal N/A N/A TextBlockColourGradient N/A TextBlockColour N/A __init__ N/A N/A self colour1 colour2 textBlock N/A None N/A N/A N/A self colour1 colour1 N/A N/A self colour2 colour2 N/A N/A self textBlock textBlock N/A set_colour N/A N/A self colour1 colour2 N/A None None N/A N/A  Colour each character with a gradient from colour1 to colour2
    Interpolate hsv instead of rgb since it is a more natural change.
     N/A N/A colour1 None N/A N/A N/A self colour1 colour1 N/A N/A colour2 None N/A N/A N/A self colour2 colour2 N/A N/A N/A self textBlock None N/A N/A N/A colour1 N/A self colour1 N/A colour2 N/A self colour2 N/A textBlock N/A self textBlock N/A manager N/A textBlock _text_manager N/A hsv1 N/A N/A colorsys rgb_to_hsv N/A colour1 N/A 0 N/A colour1 N/A 1 N/A colour1 N/A 2 N/A hsv2 N/A N/A colorsys rgb_to_hsv N/A colour2 N/A 0 N/A colour2 N/A 1 N/A colour2 N/A 2 N/A normal N/A N/A np zeros 3 dtype N/A np float N/A N/A normal N/A 0 N/A N/A textBlock rot N/A textBlock char_rot N/A index N/A range 0 N/A textBlock _string_length N/A N/A h N/A N/A np interp index N/A 0 N/A textBlock _string_length N/A N/A hsv1 N/A 0 N/A hsv2 N/A 0 N/A s N/A N/A np interp index N/A 0 N/A textBlock _string_length N/A N/A hsv1 N/A 1 N/A hsv2 N/A 1 N/A v N/A N/A np interp index N/A 0 N/A textBlock _string_length N/A N/A hsv1 N/A 2 N/A hsv2 N/A 2 N/A a N/A N/A np interp index N/A 0 N/A textBlock _string_length N/A N/A colour1 N/A 3 N/A colour2 N/A 3 N/A rgb N/A N/A colorsys hsv_to_rgb h s v N/A N/A normal N/A 1 N/A N/A N/A rgb N/A 1 0.999 N/A N/A math floor N/A N/A rgb N/A 0 999 N/A N/A normal N/A 2 N/A N/A a 0.999 N/A N/A math floor N/A N/A rgb N/A 2 999 N/A N/A N/A manager normals N/A N/A N/A N/A textBlock _buffer_index index N/A normal N/A N/A TextBlock N/A object N/A __init__ N/A N/A self x y z rot char_count data_obj attr text_format size spacing space colour char_rot justify N/A None None {:s} 0.99 C 1.1 N/A 1.0 1.0 1.0 1.0 0.0 0.0 N/A N/A  Arguments:
    *x, y, z*:
      As usual
    *rot*:
      rotation in degrees
    *char_count*:
      number of characters for this block (capacity it can expand into)
    *data_obj*:
      Data object to use in text format
    *attr*:
      Attribute in data object to use in text format
    *text_format*:
      Thetext format to use including any data formattings
    *size*:
      Size of the text 0 to 0.9999
    *spacing*:
       Type of character spacing. C=Constant, M=Multiplier, F=Fixed space between chars
    *space*:
      Value to set the spacing to
    *colour*:
      drawn colour including alpha as format (0.99, 0.99, 0.99, 0.99)
    *char_rot*:
      character rotation in degrees
    *justify*:
      Justification position. 0.0=Left, 0.5=Center, 1.0=Right
     N/A N/A self x x N/A N/A self y y N/A N/A self z z N/A N/A self rot N/A N/A math radians rot N/A N/A self char_count char_count N/A N/A self data_obj data_obj N/A N/A self attr attr N/A N/A self text_format text_format N/A N/A self size size N/A N/A self spacing spacing N/A N/A self space space N/A N/A self point_size 48 N/A N/A isinstance colour tuple N/A N/A N/A self colouring N/A TextBlockColour colour self N/A N/A N/A self colouring colour N/A N/A N/A self colouring textBlock self N/A N/A self char_rot N/A N/A math radians char_rot N/A N/A self justify justify N/A N/A self last_value self N/A N/A self rotation_changed False N/A N/A self _buffer_index 0 N/A N/A self _text_manager None N/A N/A self _string_length 0 N/A N/A self char_offsets N/A N/A 0.0 char_count N/A N/A self _string_length N/A len N/A N/A self get_string N/A N/A self get_value N/A set_text_manager N/A N/A self manager buffer_index N/A N/A N/A N/A self _text_manager manager N/A N/A self _buffer_index buffer_index N/A get_value N/A N/A self N/A N/A N/A N/A N/A N/A self attr None N/A N/A self data_obj None N/A N/A N/A getattra N/A self data_obj N/A self attr None N/A None N/A get_string N/A N/A self value N/A N/A N/A N/A value None N/A N/A strval N/A N/A N/A self text_format format value N/A N/A self _string_length N/A len strval N/A strval N/A N/A self text_format N/A set_position N/A N/A self x y z rot N/A None None None None N/A N/A N/A x None N/A N/A N/A self x x N/A N/A y None N/A N/A N/A self y y N/A N/A z None N/A N/A N/A self z z N/A N/A rot None N/A N/A N/A self rot N/A N/A math radians rot N/A N/A size_pos __ N/A N/A math modf N/A self size N/A size_pos N/A N/A math trunc N/A N/A self z 10.0 N/A pos N/A N/A self x N/A self y size_pos N/A locations N/A N/A np zeros N/A N/A self char_count 3 dtype N/A np float N/A N/A locations N/A N/A N/A 0 N/A N/A np multiply N/A self char_offsets N/A N/A math cos N/A self rot N/A N/A locations N/A N/A N/A 1 N/A N/A np multiply N/A self char_offsets N/A N/A math sin N/A self rot N/A locations N/A N/A np add locations pos N/A st N/A self _buffer_index N/A mid N/A st N/A self _string_length N/A end N/A st N/A self char_count N/A N/A N/A N/A self _text_manager locations N/A N/A st end N/A locations N/A N/A N/A N/A self _text_manager normals N/A N/A st mid N/A 0 N/A N/A self rot N/A self char_rot N/A N/A N/A N/A self _text_manager set_do_reinit N/A recolour N/A N/A self N/A N/A N/A N/A N/A N/A self colouring recolour N/A set_text N/A N/A self text_format size spacing space char_rot set_pos set_colour N/A None None None None None True True N/A N/A N/A text_format None N/A N/A N/A self text_format text_format N/A N/A size None N/A N/A N/A self size size N/A N/A spacing None N/A N/A N/A self spacing spacing N/A N/A space None N/A N/A N/A self space space N/A N/A char_rot None N/A N/A N/A self char_rot N/A N/A math radians char_rot N/A N/A N/A self data_obj None N/A N/A value N/A N/A self get_value N/A strval N/A N/A self get_string value N/A N/A self last_value value N/A N/A strval N/A self text_format N/A N/A self _string_length N/A len strval N/A pos 0.0 N/A index 0 N/A const_width 0.0 N/A vari_width 0.0 N/A N/A N/A self spacing C N/A N/A const_width N/A N/A 64.0 N/A self size N/A self space N/A N/A N/A self spacing M N/A N/A vari_width N/A N/A self size N/A self space N/A N/A N/A self spacing F N/A N/A vari_width N/A self size N/A const_width N/A N/A 64.0 N/A self space N/A self size N/A char strval N/A N/A glyph N/A N/A N/A N/A self _text_manager font glyph_table N/A char N/A N/A N/A N/A self _text_manager uv N/A N/A index N/A self _buffer_index N/A glyph N/A 4 N/A scale is needed if pointsize is different in Points from Font which is
      needed to avoid clipping or overlap of corners when rotation some truetype fonts N/A g_scale N/A N/A float N/A N/A self _text_manager point_size N/A N/A N/A self _text_manager font height N/A char_offset pos N/A N/A N/A self spacing F N/A N/A char_offset N/A N/A N/A N/A float N/A glyph N/A 0 g_scale N/A self size 0.5 N/A N/A N/A self char_offsets N/A index char_offset N/A spacing N/A N/A N/A N/A glyph N/A 0 g_scale vari_width const_width N/A pos spacing N/A index 1 N/A N/A self char_offsets N/A N/A np add N/A self char_offsets N/A N/A pos spacing N/A N/A self justify N/A set_pos N/A N/A N/A N/A self set_position N/A set_colour N/A N/A N/A N/A self recolour N/A N/A N/A N/A self _text_manager set_do_reinit N/A N/A