* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include "TextPainter.h"
-#include <ostream>
-
namespace lyx {
}
-void TextPainter::horizontalLine(int x, int y, int n, char_type c)
+void TextPainter::horizontalLine(int x, int y, int len, char_type c)
{
- for (int i = 0; i < n && i + x < xmax_; ++i)
+ for (int i = 0; i < len && i + x < xmax_; ++i)
at(x + i, y) = c;
}
-void TextPainter::verticalLine(int x, int y, int n, char_type c)
+void TextPainter::verticalLine(int x, int y, int len, char_type c)
{
- for (int i = 0; i < n && i + y < ymax_; ++i)
+ for (int i = 0; i < len && i + y < ymax_; ++i)
at(x, y + i) = c;
}