/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock

« back to all changes in this revision

Viewing changes to src/text_renderer.h

  • Committer: Tim Marston
  • Date: 2012-04-29 15:27:05 UTC
  • Revision ID: tim@ed.am-20120429152705-9z2o01ugaewxipq6
change our BOARD to pro5v328

Show diffs side-by-side

added added

removed removed

42
42
         * Get the width, in pexels, of a message.
43
43
         *
44
44
         * @param message_len the length of the message
45
 
         * @param scale taxt scaling factor
46
45
         */
47
 
        int get_width( int message_len, int scale );
 
46
        int get_width( int message_len );
48
47
 
49
48
        /**
50
49
         * Draw a column of pixels at pixel-offset x in the message.
55
54
         * @param x the pixel column of the message to draw
56
55
         * @param y_flip true to draw up-side down
57
56
         * @param y_shift shift the drawing up/down
58
 
         * @param scale taxt scaling factor
59
57
         */
60
58
        void render( const char *message, int message_len, int x,
61
 
                                 bool y_flip, int y_shift, int scale );
 
59
                                 bool y_flip, int y_shift );
62
60
 
63
61
        /**
64
62
         * Reset the output buffer.