mirror of
https://github.com/penpot/penpot.git
synced 2025-07-22 10:07:14 +02:00
🎉 Render plain text
* 🎉 Serialize text content (wasm) * ♻️ Refactor functions in main to wasm module * 🎉 Stub rendering of paragraph text (wasm) * 📎 Clean up commented code
This commit is contained in:
parent
9e5de82967
commit
aa468e2153
9 changed files with 256 additions and 9 deletions
|
@ -77,10 +77,8 @@ fn draw_image_fill_in_container(
|
|||
Type::SVGRaw(_) => {
|
||||
canvas.clip_rect(container, skia::ClipOp::Intersect, true);
|
||||
}
|
||||
Type::Text => {
|
||||
// TODO: Text fill
|
||||
}
|
||||
Type::Group(_) => unreachable!("A group should not have fills"),
|
||||
Type::Text(_) => unimplemented!("TODO"),
|
||||
}
|
||||
|
||||
// Draw the image with the calculated destination rectangle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue