mirror of
https://github.com/penpot/penpot.git
synced 2025-07-19 06:47:11 +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
|
@ -8,14 +8,15 @@ mod shapes;
|
|||
mod state;
|
||||
mod utils;
|
||||
mod view;
|
||||
mod wasm;
|
||||
|
||||
use crate::mem::SerializableResult;
|
||||
use crate::shapes::{BoolType, ConstraintH, ConstraintV, TransformEntry, Type};
|
||||
|
||||
use crate::state::State;
|
||||
use crate::utils::uuid_from_u32_quartet;
|
||||
use state::State;
|
||||
|
||||
static mut STATE: Option<Box<State>> = None;
|
||||
pub(crate) static mut STATE: Option<Box<State>> = None;
|
||||
|
||||
extern "C" {
|
||||
fn emscripten_GetProcAddress(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue