Lines Matching refs:gcBounds
3212 Rectangle gcBounds = gc.getBounds();
3221 gcBounds = gc.getBounds();
3227 gcBounds = gc.getBounds();
3228 dx = gcBounds.x + (gcBounds.width - windowSize.width) / 2;
3229 dy = gcBounds.y + (gcBounds.height - windowSize.height) / 2;
3232 gcBounds = gc.getBounds();
3239 if (dy + windowSize.height > gcBounds.y + gcBounds.height) {
3240 dy = gcBounds.y + gcBounds.height - windowSize.height;
3241 if (compLocation.x - gcBounds.x + compSize.width / 2 < gcBounds.width / 2) {
3251 if (dy + windowSize.height > gcBounds.y + gcBounds.height) {
3252 dy = gcBounds.y + gcBounds.height - windowSize.height;
3255 if (dy < gcBounds.y) {
3256 dy = gcBounds.y;
3259 if (dx + windowSize.width > gcBounds.x + gcBounds.width) {
3260 dx = gcBounds.x + gcBounds.width - windowSize.width;
3263 if (dx < gcBounds.x) {
3264 dx = gcBounds.x;