Home
last modified time | relevance | path

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

/external/webkit/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp179 int patWidth = 0; in drawLine() local
185 patWidth = (int)width; in drawLine()
188 patWidth = 3 * (int)width; in drawLine()
197 if (patWidth) { in drawLine()
215 int remainder = distance % patWidth; in drawLine()
217 int numSegments = coverage / patWidth; in drawLine()
221 if (patWidth == 1) in drawLine()
229 patternOffset += patWidth - remainder; in drawLine()
232 patternOffset = patWidth / 2; in drawLine()
235 patternOffset = (patWidth - remainder)/2; in drawLine()
[all …]
/external/webkit/WebCore/platform/graphics/cairo/
DGraphicsContextCairo.cpp201 int patWidth = 0; in drawLine() local
207 patWidth = static_cast<int>(width); in drawLine()
210 patWidth = 3*static_cast<int>(width); in drawLine()
218 if (patWidth) { in drawLine()
233 int remainder = distance%patWidth; in drawLine()
235 int numSegments = coverage/patWidth; in drawLine()
239 if (patWidth == 1) in drawLine()
247 patternOffset += patWidth - remainder; in drawLine()
251 patternOffset = patWidth/2; in drawLine()
255 patternOffset = (patWidth - remainder)/2; in drawLine()
[all …]
/external/webkit/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp487 int patWidth = 0; in drawLine() local
493 patWidth = (int)width; in drawLine()
496 patWidth = 3 * (int)width; in drawLine()
500 if (patWidth) { in drawLine()
517 int remainder = distance % patWidth; in drawLine()
519 int numSegments = coverage / patWidth; in drawLine()
523 if (patWidth == 1) in drawLine()
531 patternOffset += patWidth - remainder; in drawLine()
534 patternOffset = patWidth / 2; in drawLine()
537 patternOffset = (patWidth - remainder)/2; in drawLine()
[all …]