iand / draw2d Goto Github PK
View Code? Open in Web Editor NEWA Fork of code.google.com/p/draw2d
License: BSD 2-Clause "Simplified" License
A Fork of code.google.com/p/draw2d
License: BSD 2-Clause "Simplified" License
This package (written in *[http://golang.org go]*) provide an API to draw 2d geometrical form on [http://golang.org/pkg/image/ images]. This library is largely inspired by [http://www.tailrecursive.org/postscript/ postscript], [http://cairographics.org/ cairo], [http://dev.w3.org/html5/canvas-api/canvas-2d-api.html#the-2d-drawing-context HTML5 canvas]. The package depends on [http://code.google.com/p/freetype-go/ freetype-go] package thanks to its rasterization algorithm. Some algorithm have been translated from http://www.antigrain.com project ([http://www.antigrain.com/research/adaptive_bezier/index.html adaptive bezier], and arc drawing) === Installation ==== Once you have Go installed, to install draw2d: * First see the installation procedure of [http://code.google.com/p/freetype-go/ freetype-go] * goinstall draw2d.googlecode.com/svn/trunk/draw2d/src/pkg/draw2d a good starting point is the [http://code.google.com/p/draw2d/wiki/GettingStarted getting started] === [http://code.google.com/p/draw2d/wiki/Samples Samples] === Sample images generated by draw2d (inspired by [http://cairographics.org/samples/ cairo samples]): there's already some bugs please refer to [http://code.google.com/p/draw2d/issues/list issue tracking] [http://draw2d.googlecode.com/svn/wiki/test_results/TestPath.png] [http://draw2d.googlecode.com/svn/wiki/test_results/TestDrawArc.png] [http://draw2d.googlecode.com/svn/wiki/test_results/TestDrawArcNegative.png] [http://draw2d.googlecode.com/svn/wiki/test_results/TestCurveRectangle.png] [http://draw2d.googlecode.com/svn/wiki/test_results/TestDrawCubicCurve.png] [http://draw2d.googlecode.com/svn/wiki/test_results/TestDash.png] [http://draw2d.googlecode.com/svn/wiki/test_results/TestFillStroke.png] [http://draw2d.googlecode.com/svn/wiki/test_results/TestFillStyle.png] [http://draw2d.googlecode.com/svn/wiki/test_results/TestMultiSegmentCaps.png] [http://draw2d.googlecode.com/svn/wiki/test_results/TestRoundRectangle.png] [http://draw2d.googlecode.com/svn/wiki/test_results/TestLineCap.png] [http://draw2d.googlecode.com/svn/wiki/test_results/TestLineJoin.png]
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.