Re: [aString drawAtPoint:withAttributes:] Works in High Sierra, does not in Mojave - Why?
Gary L. Wade
There are a lot of things that need to be done to do drawing right, and any drawing should be done from within a view’s drawRect: method or eventually called by it. Once a view’s drawRect: method is called, everything needed to be done to set up drawing has been done. For simple text drawing, it’s often best to just use a non-editable NSTextField placed where you want it and filled with the attributes and text you want to show, and when the frameworks are ready, they will draw your text for you.
toggle quoted message
Show quoted text
-- Gary L. Wade http://www.garywade.com/ On Nov 1, 2019, at 6:28 PM, Markus Ruggiero <mailinglists@...> wrote:
|
|