Commit Graph

15 Commits

Author SHA1 Message Date
Keavon Chambers
913b9365e2 Implement anchor and handle point rendering with the Path Tool (#353)
* Implement Path Tool

* Draw a red rectangle where the first point on the shape is

* Correctly render anchors, handles, and connecting lines

* Fix drain() which can panic

* Refactor frontend messages to work as return values not callbacks

* Reduce the number of unnecessary frontend updates

* Fix stack overflow by using a loop

* Group Document Render calls and put them at the end

* Speed hacks for dirtification

* Add performance

* Bunch folder changed updates

* Add triggers to redraw overlays to movement_handler

* Polish the pixel-perfect rendering of vector manipulators

* Restore scrollbars that were disabled

* Cleanup

* WIP Add shape outline rendering

* Fix compiling

* Add outlines to selected shapes

* Fix outlines rendering over handles and anchors

* Fix dirtification

* Add a comment

* Address code review feedback

* Formatting

* Small tweaks

Co-authored-by: Oliver Davies <oliver@psyfer.io>
Co-authored-by: Dennis Kobert <dennis@kobert.dev>
2021-08-29 00:10:54 -07:00
Keavon Chambers
fbf2c012c3 Restructure project directories (#333)
`/client/web` -> `/frontend`
`/client/cli` -> *delete for now*
`/client/native` -> *delete for now*
`/core/editor` -> `/editor`
`/core/document` -> `/graphene`
`/core/renderer` -> `/charcoal`
`/core/proc-macro` -> `/proc-macros` *(now plural)*
2021-08-07 05:17:18 -07:00
Keavon Chambers
1b37e78d64 Remove CLI client stub 2021-07-15 03:44:57 -07:00
ProTheory8
959aca8c45 Add Active Tool Router (#58)
* Add Active Tool Router

* Remove commented out import
2021-04-01 18:10:28 +02:00
Keavon Chambers
2613ded439 Rename more of the project structure. Fixes #39. 2021-03-27 02:26:55 -07:00
ProTheory8
18a8442b0e Make it compile (#37)
* Fix indentation

* Set the correct name of the crate in root Cargo.toml

* Fix all compile errors
2021-03-27 02:26:55 -07:00
TrueDoctor
eb2255149a Define the js wasm-editor interface (#31) 2021-03-27 02:26:55 -07:00
ProTheory8
018708791d Add init function to wasm-bindings crate and update dependencies (#33) 2021-03-27 02:26:54 -07:00
Keavon Chambers
bca97cbeff Shelve GUI system, set up new Rust project structure 2021-03-27 02:26:49 -07:00
Keavon Chambers
c0e092f726 Switch shader texture usage from sampler2D to texture2D plus sampler (fixes #1) 2020-07-11 19:01:48 -07:00
Keavon Chambers
0c7e6bc883 Implement abstract syntax tree parsing of XML layout 2020-05-27 04:08:52 -07:00
Keavon Chambers
f8025b15ea Add parsing of XML layout files into a ParsedLayoutNode tree 2020-05-25 22:08:27 -07:00
Keavon Chambers
a9859b4bb4 Refactor to generalize pipeline drawing sequence 2020-05-23 12:36:47 -07:00
Keavon Chambers
323a951362 Update wgpu from 0.4 to 0.5 (currently it's not rendering) 2020-05-02 14:44:28 -07:00
Keavon Chambers
b30ee294a6 Window with textured polygon 2020-04-26 00:28:13 -07:00