Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/graphics/cairo/
DGraphicsContextCairo.cpp304 int patWidth = 0; in drawLine() local
310 patWidth = static_cast<int>(width); in drawLine()
313 patWidth = 3*static_cast<int>(width); in drawLine()
321 if (patWidth) { in drawLine()
336 int remainder = distance%patWidth; in drawLine()
338 int numSegments = coverage/patWidth; in drawLine()
342 if (patWidth == 1) in drawLine()
350 patternOffset += patWidth - remainder; in drawLine()
353 patternOffset = patWidth / 2; in drawLine()
356 patternOffset = (patWidth - remainder) / 2; in drawLine()
[all …]
/external/webkit/Source/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp225 int patWidth = 0; in drawLine() local
231 patWidth = (int)width; in drawLine()
234 patWidth = 3 * (int)width; in drawLine()
243 if (patWidth) { in drawLine()
261 int remainder = distance % patWidth; in drawLine()
263 int numSegments = coverage / patWidth; in drawLine()
267 if (patWidth == 1) in drawLine()
275 patternOffset += patWidth - remainder; in drawLine()
278 patternOffset = patWidth / 2; in drawLine()
281 patternOffset = (patWidth - remainder)/2; in drawLine()
[all …]
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp359 int patWidth = 0; in drawLine() local
365 patWidth = static_cast<int>(width); in drawLine()
368 patWidth = 3 * static_cast<int>(width); in drawLine()
372 if (patWidth) { in drawLine()
389 int remainder = distance % patWidth; in drawLine()
391 int numSegments = coverage / patWidth; in drawLine()
395 if (patWidth == 1) in drawLine()
403 patternOffset += patWidth - remainder; in drawLine()
406 patternOffset = patWidth / 2; in drawLine()
409 patternOffset = (patWidth - remainder) / 2; in drawLine()
[all …]