Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/graphics/qt/
DTileQt.cpp35 static const unsigned checkerSize = 16; variable
43 pixmap = new QPixmap(checkerSize, checkerSize); in checkeredPixmap()
47 for (unsigned y = 0; y < checkerSize; y += checkerSize / 2) { in checkeredPixmap()
48 bool alternate = y % checkerSize; in checkeredPixmap()
49 for (unsigned x = 0; x < checkerSize; x += checkerSize / 2) { in checkeredPixmap()
50 … painter.fillRect(x, y, checkerSize / 2, checkerSize / 2, alternate ? color1 : color2); in checkeredPixmap()
175 QPoint(targetViewRect.left() % checkerSize, in paintCheckerPattern()
176 targetViewRect.top() % checkerSize)); in paintCheckerPattern()
/external/webkit/Source/WebCore/platform/qt/
DQtMobileWebStyle.cpp51 int checkerSize = qMax(size - 2 * border, 3); in drawChecker() local
52 int width = checkerSize / 3; in drawChecker()
53 int middle = qMax(3 * checkerSize / 7, 3); in drawChecker()
54 int x = ((size - checkerSize) >> 1); in drawChecker()
55 int y = ((size - checkerSize) >> 1) + (checkerSize - width - middle); in drawChecker()
56 QVector<QLineF> lines(checkerSize + 1); in drawChecker()
63 for (int i = middle; i <= checkerSize; ++i) { in drawChecker()
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0641285 (QtMobileWebStyle::drawChecker): Adjust checkerSize to be greater than or equals to middle.