/* */
/* 266 */ doParentLayout();
/* */ }
/* */
/* 269 */ if (((paramQTDrawable instanceof SWCompositor)) || ((paramQTDrawable instanceof Compositor))) {
/* 270 */ SWCompositor localSWCompositor = (SWCompositor)paramQTDrawable;
/* */
/* 272 */ this.gwBounds = localSWCompositor.getDisplayBounds();
/* 273 */ this.gw = localSWCompositor.getGWorld();
/* 274 */ if (this.gw == null) {
/* 275 */ this.gw = new QDGraphics(this.gwBounds);
/* 276 */ localSWCompositor.setGWorld(this.gw);
/* */ }
/* */
/* 279 */ if ((QTSession.isCurrentOS(4)) && (useMacOSXAcceleration)) {
/* 280 */ boolean bool = false;
/* 281 */ this.image = MacDirectColorModel.GetWrappedGWorldImage(QTObject.ID(this.gw), 32, this.gwBounds.getWidth(), this.gwBounds.getHeight(), bool);
/* */ } else {
/* 283 */ this.pixels = new int[((RawEncodedImage)localSWCompositor.getImage()).getRowBytes() / 4 * paramQDRect.getHeight()];
/* 284 */ this.image = imageFromEncodedImage((RawEncodedImage)localSWCompositor.getImage(), localSWCompositor.getDescription().getBounds());
/* */ }
/* 286 */ prepareImage(this.image, this);
/* 287 */ localSWCompositor.addDrawingListener(this);
/* */ }
/* */ else {
/* 290 */ paramQTDrawable.redraw(null);
/* 291 */ this.ip = new QTImageProducer(this.client, new Dimension(paramQDRect.getWidth(), paramQDRect.getHeight()));
/* 292 */ this.image = createImage(this.ip);