Implementation of actual drawing for a line of text.
(char[] buffer, int start, int stop,
float x, float y)
| 5106 | * Implementation of actual drawing for a line of text. |
| 5107 | */ |
| 5108 | protected void textLineImpl(char[] buffer, int start, int stop, |
| 5109 | float x, float y) { |
| 5110 | for (int index = start; index < stop; index++) { |
| 5111 | textCharImpl(buffer[index], x, y); |
| 5112 | |
| 5113 | // this doesn't account for kerning |
| 5114 | x += textWidth(buffer[index]); |
| 5115 | } |
| 5116 | // textX = x; |
| 5117 | // textY = y; |
| 5118 | // textZ = 0; // this will get set by the caller if non-zero |
| 5119 | } |
| 5120 | |
| 5121 | |
| 5122 | protected void textCharImpl(char ch, float x, float y) { //, float z) { |
no test coverage detected