ysdy44 / retouch-photo2-uwp Goto Github PK
View Code? Open in Web Editor NEWVector Graphics Editing Tool, you can transform, fill graphics, support layers, graphics combination.
License: MIT License
Vector Graphics Editing Tool, you can transform, fill graphics, support layers, graphics combination.
License: MIT License
In the latest build, the ruler toggle is not working.
This is a really cool design, especially given Win2D is leveraged in a very nice way.
However, the output is constrained by the fact that everything has to be rasterized to a bitmap. So the quality of the output is limited. It would be better to have a meta layer that sits along side the Win2D layer so that the display tree could output to other formats, like SVG or XAML.
I suggest you implement this meta layer before you get too far along in your design else it will be very difficult to add later. Most other systems are too heavy handed in the way the meta layer works. Excessive abstraction greatly complicates such designs because the meta layer is then transformed to something native. A nice simple solution is to maintain a Json display tree alongside the Win2D visual elements. It only ever gets used for output, and is not a go between for the Win2D side of things. This parallel display tree could emulate aspects of what SVG and XAML have in common, thus simplifying output to either vector system.
Such an approach would allow you to gradually add this meta layer while continuing to move the rest forward. I would be happy to help with the effort if you add me in on your repo.
Another important design consideration is to move more of your code to .Net Standard. Doing so simplifies unit testing at the component level and opens up the prospect of using some of the work on other platforms.
I like your Win2D "Adorner". I suggest you abstract this a bit further as it is a very critical piece of the solution. An approach I found to be very flexible and easy to tweak is to build the Adorner with SVG regardless of the target platform. The SVG version contains the visual design of the adorner in addition to comments that are used as hints by the display engine that consumes the SVG and renders it natively. The SVG is very simplified, yet has enough detail to drive behaviors of the engine in a programmatic like fashion. I can explain this further if you'd like.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.