Searched refs:kSquareSpacing (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/ppapi/examples/2d/
H A Dscroll.cc18 static const int kSquareSpacing = 98; variable
83 int x_offset = x_origin % kSquareSpacing;
84 int y_offset = y_origin % kSquareSpacing;
86 for (int ys = 0; ys < graphics.size().height() / kSquareSpacing + 2; ys++) {
87 for (int xs = 0; xs < graphics.size().width() / kSquareSpacing + 2;
89 int x = xs * kSquareSpacing + x_offset - paint_bounds.x();
90 int y = ys * kSquareSpacing + y_offset - paint_bounds.y();

Completed in 240 milliseconds