Re: Problem in the creation of Graphics context(NSGraphicsContext)
Re: Problem in the creation of Graphics context(NSGraphicsContext)
- Subject: Re: Problem in the creation of Graphics context(NSGraphicsContext)
- From: Sravan Kumar Lakkimsetti via Cocoa-dev <email@hidden>
- Date: Wed, 11 Mar 2020 12:20:46 +0530
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 <email@hidden> 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
> > <email@hidden> 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 SWT/cocoa/org/eclipse/swt/internal/graphics/ImageUtil.java#n38
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden