add libfabric and ImageEditor

This commit is contained in:
mrsang
2021-04-10 19:17:15 +02:00
parent 98b49f8294
commit 163d4fa4ba
21 changed files with 1916 additions and 0 deletions

13
libfabric/README.md Normal file
View File

@ -0,0 +1,13 @@
# libfabric
This package is a wrapper of the **Fabric.js** library v-4.4.0.
Fabric.js is a framework that makes it easy to work with HTML5 canvas element. It is an interactive object model on top of canvas element. It is also an SVG-to-canvas parser.
Using Fabric.js, you can create and populate objects on canvas; objects like simple geometrical shapes — rectangles, circles, ellipses, polygons, or more complex shapes consisting of hundreds or thousands of simple paths. You can then scale, move, and rotate these objects with the mouse; modify their properties — color, transparency, z-index, etc. You can also manipulate these objects altogether — grouping them with a simple mouse selection.
## Non-Technical Introduction to Fabric
Fabric.js allows you to easily create simple shapes like rectangles, circles, triangles and other polygons or more complex shapes made up of many paths, onto the HTML <canvas> element on a webpage using JavaScript. Fabric.js will then allow you to manipulate the size, position and rotation of these objects with a mouse. Its also possible to change some of the attributes of these objects such as their color, transparency, depth position on the webpage or selecting groups of these objects using the Fabric.js library. Fabric.js will also allow you to convert an SVG image into JavaScript data that can be used for putting it onto the <canvas> element.
More information on the library: [https://github.com/fabricjs/fabric.js](https://github.com/fabricjs/fabric.js)

Binary file not shown.

1
libfabric/main.js Normal file

File diff suppressed because one or more lines are too long

15
libfabric/package.json Normal file
View File

@ -0,0 +1,15 @@
{
"pkgname": "libfabric",
"name":"Fabric.js library",
"description":"Fabric.js is a framework that makes it easy to work with HTML5 canvas element",
"info":{
"author": "",
"email": ""
},
"version":"4.4.0-r",
"category":"Library",
"iconclass":"fa fa-cog",
"mimes":["none"],
"dependencies":[],
"locale": {}
}

7
libfabric/project.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "libfabric",
"css": [],
"javascripts": [],
"coffees": [],
"copies": ["main.js","package.json", "README.md"]
}