Open GoogleCodeExporter opened 9 years ago
Another thing to consider is whether this API call should also have an option
for the ability to clear or not clear the entire row as the string is printed.
Original comment by bperry...@gmail.com
on 11 Sep 2011 at 6:00
This will be implemented as an extension to DrawString().
The current working experimental implementation uses this prototype:
void DrawString(char *str, int x, int y, eraseLine_t erase);
This allows x and y to be overloaded with either an x/y coordinate
or a formating token.
The x token can determine left/center/right/current location
The y token can determine top/center/bottom/current location
The erase parameter is optional and will be eraseNONE by default.
This allows a single function to add new functionality and maintain full
backward
compatibility.
Original comment by bperry...@gmail.com
on 27 Sep 2011 at 6:21
Drawstring() will also support text row/column.
The prototype is now:
void DrawString(char *str, int hpos, int vpos, eraseLine_t erase);
and hpos/vpos are now
- formatting token
- x/y value (if positive value)
- column/row (if negative value)
Original comment by bperry...@gmail.com
on 25 Dec 2011 at 7:59
Original issue reported on code.google.com by
bperry...@gmail.com
on 11 Sep 2011 at 5:55