On Tue, Jan 03, 2023 at 10:03:30AM -0800, David Duncan wrote:
> While you may have solved your problem, your general approach is not one that
> would be recommended – CALayers are not meant to be drawn into a context, but
> rather added to a layer tree to be rendered by the system. For what you a
On Thu, Dec 15, 2022 at 08:59:24PM -0600, David Young via Cocoa-dev wrote:
> Is it possible that a CGContext clip path will clip a shadow cast inside
> the clip path, if the CALayer whose content cast the shadow is fully
> outside of the clip path? Any ideas why?
Just in case it helps
My program overrides NSTextView.drawBackground(in:) to draw nested
capsules around text in an NSTextView. You can see what I'm talking
about in this video:
https://twitter.com/defenestrately/status/1593322315709923335
Each capsule has a CALayer with non-zero shadowRadius and
shadowOpacity. That
Testing, please disregard.
Dave
--
David Young
dyo...@pobox.comUrbana, IL(217) 721-9981
___
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 coco
[resending with an even smaller attachment]
I am working on a document storage format that consists of logical zones
that nest. You can think of them sort of like elements from
(X)HTML:
All work and no play.
Ordinarily, I would like for the zone boundaries marked by and
to be invisible to th