Lines Matching refs:gridSpacing
184 int selX = (int)(x - standardColoursRect.x)/(smallRectangleSize.x + gridSpacing);
185 int selY = (int)(y - standardColoursRect.y)/(smallRectangleSize.y + gridSpacing);
192 int selX = (int)(x - customColoursRect.x)/(smallRectangleSize.x + gridSpacing);
193 int selY = (int)(y - customColoursRect.y)/(smallRectangleSize.y + gridSpacing);
227 gridSpacing = 6;
236 standardColoursRect.width = (8*smallRectangleSize.x) + (7*gridSpacing);
237 standardColoursRect.height = (6*smallRectangleSize.y) + (5*gridSpacing);
241 customColoursRect.width = (8*smallRectangleSize.x) + (7*gridSpacing);
242 customColoursRect.height = (2*smallRectangleSize.y) + (1*gridSpacing);
381 int x = (j*(smallRectangleSize.x+gridSpacing) + standardColoursRect.x);
382 int y = (i*(smallRectangleSize.y+gridSpacing) + standardColoursRect.y);
403 int x = (j*(smallRectangleSize.x+gridSpacing)) + customColoursRect.x;
404 int y = (i*(smallRectangleSize.y+gridSpacing)) + customColoursRect.y;
432 x = (x*(smallRectangleSize.x + gridSpacing) + standardColoursRect.x) - deltaX;
433 y = (y*(smallRectangleSize.y + gridSpacing) + standardColoursRect.y) - deltaY;
449 x = (x*(smallRectangleSize.x + gridSpacing) + customColoursRect.x) - deltaX;
450 y = (y*(smallRectangleSize.y + gridSpacing) + customColoursRect.y) - deltaY;