mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 20:38:21 +00:00
Merge main into feat/outline-object-image-alpha
This commit is contained in:
@@ -439,7 +439,7 @@ fn transforms_of(t: &Node) -> [(Value, Affine); 3] {
|
||||
/// A 100×100 document holding `content` in an envelope that leaves it as it is (an arc with no
|
||||
/// bend), with Distort Appearance on or off.
|
||||
fn envelope_doc(content: Node, distort_appearance: bool) -> Document {
|
||||
let kind = vectorcraft_doc::EnvelopeKind::Warp { style: "arc".into(), bend: 0.0, h: 0.0, v: 0.0, horizontal: true };
|
||||
let kind = vectorcraft_doc::EnvelopeKind::Warp { style: "arc".into(), bend: 0.0, h: 0.0, v: 0.0, horizontal: true, version: 0 };
|
||||
let options = vectorcraft_doc::live::EnvelopeOptions { distort_appearance, ..Default::default() };
|
||||
let envelope = NodeKind::Envelope {
|
||||
content: vec![Arc::new(content)],
|
||||
|
||||
Reference in New Issue
Block a user