Re: NSString drawAtPoint in Mojave
Re: NSString drawAtPoint in Mojave
- Subject: Re: NSString drawAtPoint in Mojave
- From: Tom Doan <email@hidden>
- Date: Wed, 07 Nov 2018 13:31:16 -0600
- Priority: normal
> On Nov 7, 2018, at 11:40 AM, Tom Doan <email@hidden> wrote:
> >
> >> Does the "Layer-Backed Views" section of the AppKit Release Notes
> >> for 10.14 explain what you're seeing?
> >> <https://developer.apple.com/documentation/macos_release_notes/maco
> >> s_m
> >> ojave_10_14_release_notes/appkit_release_notes_for_macos_10_14#3014
> >> 921
> >>>
> >
> > I'm not really sure how. As I said, any non-text information seems
> > to be drawn correctly. Why would only the text not get drawn
> > properly?
>
> Well, are those all drawn in the same view? Are you perhaps using
> -setNeedsDisplayInRect: with rects for the non-text stuff and
> accidentally relying on an enclosing/overlapping/underlapping view's
> redraw to force the drawing of the text?
>
I do setNeedsDisplay for the whole view.
> Regards,
> Ken
>
---
1560 Sherman Ave #1029
Evanston, IL 60201
USA
_______________________________________________
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