/* 192 */ this.space.getMatrix().inverse(localMatrix2);
/* */
/* 195 */ QDRect localQDRect1 = this.space.getDisplayBounds().copy();
/* 196 */ localMatrix2.transformRect(localQDRect1);
/* */
/* 199 */ QDDimension localQDDimension = this.target.getOriginalSize();
/* 200 */ float f1 = localMatrix1.getTx();
/* 201 */ float f2 = localMatrix1.getTy();
/* 202 */ int i = localQDRect1.getX();
/* 203 */ int j = localQDRect1.getWidth() - localQDDimension.getWidth();
/* 204 */ int k = localQDRect1.getY();
/* 205 */ int m = localQDRect1.getHeight() - localQDDimension.getHeight();
/* */
/* 207 */ switch (localMatrix1.getType()) {
/* */ case 0:
/* */ case 1:
/* 210 */ break;
/* */ default:
/* 214 */ QDRect localQDRect2 = new QDRect(0, 0, localQDDimension.getWidth(), localQDDimension.getHeight());
/* 215 */ localMatrix1.transformRect(localQDRect2);
/* 216 */ localQDDimension.setWidth(localQDRect2.getWidth());
/* 217 */ localQDDimension.setHeight(localQDRect2.getHeight());
/* 218 */ i = (int)(localMatrix1.getTx() - localQDRect2.getX() + 0.5F);
/* 219 */ f1 -= i;
/* 220 */ k = (int)(localMatrix1.getTy() - localQDRect2.getY() + 0.5F);
/* 221 */ f2 -= k;
/* 222 */ m = localQDRect1.getHeight() - localQDDimension.getHeight() + k;
/* 223 */ j = localQDRect1.getWidth() - localQDDimension.getWidth() + i;
/* */ }
/* */
/* 227 */ if (f1 < localQDRect1.getX()) {
/* 228 */ localMatrix1.setTx(i);
/* 229 */ boundsReached(1);
/* 230 */ this.consReached = true;
/* 231 */ } else if (f1 + localQDDimension.getWidth() > localQDRect1.getWidth()) {
/* 232 */ localMatrix1.setTx(j);
/* 233 */ boundsReached(16);
/* 234 */ this.consReached = true;
/* */ }
/* */
/* 237 */ if (f2 < localQDRect1.getY()) {
/* 238 */ localMatrix1.setTy(k);
/* 239 */ boundsReached(256);
/* 240 */ this.consReached = true;
/* 241 */ } else if (f2 + localQDDimension.getHeight() > localQDRect1.getHeight()) {
/* 242 */ localMatrix1.setTy(m);
/* 243 */ boundsReached(4096);
/* 244 */ this.consReached = true;
/* */ }
/* */ }