Commit Graph

4 Commits

Author SHA1 Message Date
Olivier FAURE 6fe84201b0
Split most of the masonry crate into masonry_core sub-crate. (#910)
This change is done very carefully to minimize the number of changed
files, and use almost only file renames.
This is both for avoiding merge conflicts, keeping file history
unbroken, and keeping the PR easy to review.

A future PR will rename masonry to masonry_core, masonry_winit to
masonry change all the doc tests and snapshots that depend on those
names, etc.

After *that*, future PRs will have actual code changes splitting winit
away from masonry_core.
2025-03-26 12:00:46 +00:00
Olivier FAURE 3a21b21bbf
Mark `masonry/screenshots/*.png` as LFS files (#911)
These files we previously stored as blobs as-is. This stores them using
the same LFS method as other screenshots.
2025-03-25 13:32:17 +00:00
Philipp Mildenberger 9bb33dd1c6
Support transforms for each widget (#753)
Adds basic support for transforms (`kurbo::Affine`) of widgets in
Masonry and Xilem, similarly as CSS transforms.
A new example `transforms` shows this in a playful way.
The pointer-intersection logic needed a core change to handle now
possibly overlapping widgets.

Checkout
[this](https://xi.zulipchat.com/#narrow/channel/317477-masonry/topic/Add.20.60Affine.60.20transform.20to.20.60Widget.60.20trait.3F)
zulip thread for more info/discussion.
2025-01-14 09:59:31 +00:00
Daniel McNab e27b3ce0c2
Run tests in CI, and fix fonts for snapshot testing (#233)
See also linebender/vello#439

This should open the door to doing much more comprehensive testing at
higher level in the nearish future (including e.g. in `xilem_masonry`)
2024-08-05 13:01:47 +00:00