Lines Matching refs:gcBounds
56 Rectangle gcBounds = gc.getBounds();
61 f.setBounds(gcBounds.x + 100, gcBounds.y + 100, 320, 240);
70 if (fBounds.x < gcBounds.x)
72 fBounds.width -= (gcBounds.x - fBounds.x) * 2; // width is decreased
73 fBounds.x = gcBounds.x;
75 if (fBounds.y < gcBounds.y)
77 fBounds.height -= (gcBounds.y - fBounds.y) * 2; // height is decreased
78 fBounds.y = gcBounds.y;
80 Insets expected = new Insets(fBounds.y - gcBounds.y,
81 fBounds.x - gcBounds.x,
82 gcBounds.y + gcBounds.height - fBounds.y - fBounds.height,
83 gcBounds.x + gcBounds.width - fBounds.x - fBounds.width);