Home
last modified time | relevance | path

Searched refs:pen (Results 1 – 3 of 3) sorted by relevance

/system/teeui/libteeui/src/
Dlabel.cpp66 Point<pxs> pen = {0_px, 0_px}; in draw() local
78 pen = {-bBox.x(), pen.y()}; in draw()
87 pen += {(bounds.w() - bBox.w()) / 2.0_px, 0}; in draw()
90 pen += {bounds.w() - bBox.w(), 0}; in draw()
94 curLine->lineStart = pen; in draw()
95 bBox.translateSelf(pen); in draw()
103 pen += {0_px, lineHeight_}; in draw()
Dfont_rendering.cpp136 Vec2d<pxs> pen = {0, 0}; in findLongestWordSequence() local
137 bBox = {pen, {0, 0}}; in findLongestWordSequence()
171 pen += face->kern(previous); in findLongestWordSequence()
174 workingBox = workingBox.merge(gBox->translateSelf(pen)); in findLongestWordSequence()
180 pen += face->advance(); in findLongestWordSequence()
214 PxPoint pen) { in drawText() argument
222 if (error == Error::OK) error = face->drawGlyph(pen, drawPixel); in drawText()
225 pen += face->advance(); in drawText()
/system/teeui/libteeui/include/teeui/
Dfont_rendering.h219 PxPoint pen);