The architecture doc seems to be somewhat outdated. Here a list of issues I've noticed:
clip.Rectas a rounded rect, this should be
dragwhich is confusing (it's read by never written)
Context.Dimensionsis mentioned multiple times, but the field was removed 14 months ago
This is just from a quick read-through by a new user, so there's probably more that I haven't noticed :)
Thanks for pointing this out! I'll try to go through and update those soon. Maybe see if we can managed the code in the architecture document as runnable examples so that we get CI failures when they break.
Having CI validation is a good idea, but currently, all the examples already work, so it wouldn't have caught any of the issues mentioned here
I've updated the architecture document to remove obsolete API references and to clarify some of the existing ones. Thanks again for pointing this out!