Thank you for your suggestions. It turned out the problem is in the handling of transparency in the newly created imageRep. Now I removed special handling of transparency and relying on the cocoa directly.
Thanks for your help - Sravan On Mon, Mar 9, 2020 at 7:21 PM Richard Charles <rcharles...@gmail.com> wrote: > > I do not know Java at all but my guess is that when createImageRep is called > the second time the new graphics context does not replace the static one > saved during the first execution. > > --Richard Charles > > > > On Mar 9, 2020, at 3:59 AM, Sravan Kumar Lakkimsetti > > <sravan.lakkimse...@gmail.com> wrote: > > > > If some one wants to review the code for creating ImageRep its here > > https://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/bundles/org.eclipse.swt/Eclipse%20SWT/cocoa/org/eclipse/swt/internal/graphics/ImageUtil.java#n38 > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com