Home
last modified time | relevance | path

Searched refs:FONT_WIDTH (Results 1 – 2 of 2) sorted by relevance

/NW4C-2.0.3/sources/libraries/dev/
Ddev_DirectPrint.cpp38 const int FONT_WIDTH = DirectPrint::FONT_WIDTH; // フォントの横幅 variable
441 const int left = (FONT_WIDTH + 1) / 2; in DrawString()
442 this->Erase(context, x - left, y - top, (len + 1) * FONT_WIDTH, LINE_HEIGHT); in DrawString()
445 int width = (context.m_LimitX - x) / FONT_WIDTH; in DrawString()
517 x += FONT_WIDTH * tab_size; in DrawLine()
528 x += FONT_WIDTH; in DrawLine()
557 int fontx = (ncode % FONT_ROW) * FONT_WIDTH; in DrawChar()
562 if (x < 0 || context.m_LimitX <= x + FONT_WIDTH) in DrawChar()
580 for (int cntx = 0; cntx < FONT_WIDTH; cntx += 1) in DrawChar()
/NW4C-2.0.3/include/nw/dev/
Ddev_DirectPrint.h88 static const int FONT_WIDTH = 6;