-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
17 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,25 @@ | ||
JFreeSVG | ||
======== | ||
|
||
Version 5.0, by David Gilbert, 12 June 2021. | ||
Version 5.0.1, by David Gilbert, 4 August 2021. | ||
|
||
(C)opyright 2013-2021, by Object Refinery Limited. All rights reserved. | ||
|
||
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.jfree/org.jfree.svg/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.jfree/org.jfree.svg) | ||
|
||
|
||
Overview | ||
-------- | ||
**JFreeSVG** is a graphics library for the Java(tm) platform that allows you to generate content in SVG format using the standard Java2D drawing API (`Graphics2D`). JFreeSVG is light-weight, fast, and has no dependencies other than the Java runtime (11 or later). | ||
|
||
![Sample from JFreeChart](https://raw.githubusercontent.com/jfree/jfreesvg/master/src/main/javadoc/doc-files/FlowPlotDemo2.svg) | ||
|
||
The home page for the project is: | ||
|
||
http://www.jfree.org/jfreesvg/ | ||
|
||
|
||
Getting Started | ||
--------------- | ||
The Javadocs for the `SVGGraphics2D` class gives examples for typical usage, and if you are already familiar with the Java2D APIs, then all you need to do is add the JFreeSVG dependency and start coding. | ||
|
||
Oracle provides tutorials for Java2D here: | ||
|
||
http://docs.oracle.com/javase/tutorial/2d/ | ||
- http://docs.oracle.com/javase/tutorial/2d/ | ||
|
||
There are some demonstration applications in the [JFree-Demos](https://github.com/jfree/jfree-demos) project at GitHub. | ||
|
||
|
@@ -37,7 +31,7 @@ JFreeSVG is published to the Central Repository. You can include it in your pro | |
<dependency> | ||
<groupId>org.jfree</groupId> | ||
<artifactId>org.jfree.svg</artifactId> | ||
<version>5.0</version> | ||
<version>5.0.1</version> | ||
</dependency> | ||
|
||
JFreeSVG is a modular library with the module name `org.jfree.svg`. | ||
|
@@ -50,8 +44,7 @@ To use JFreeSVG with Java 8, you can use the following (note the different artif | |
<version>3.4.1</version> | ||
</dependency> | ||
|
||
|
||
Maven | ||
Build | ||
----- | ||
You can build `JFreeSVG` from sources using Maven: | ||
|
||
|
@@ -61,6 +54,15 @@ To generate the Javadocs: | |
|
||
mvn clean compile javadoc:javadoc | ||
|
||
Testing | ||
------- | ||
`JFreeSVG` is being tested using [Graphics2D Tester](https://github.com/jfree/graphics2d-tester) and produces the output shown below. There are several areas that still need work: | ||
|
||
- the compositing rules in `AlphaComposite` are not implemented | ||
- font metrics are approximated | ||
|
||
![JFreeSVG test output](jfreesvg.svg) | ||
|
||
License | ||
------- | ||
JFreeSVG is free software under the terms of the GNU General Public License version 3 (GPLv3) or later. The license file is included in this distribution (gpl-3.0.txt). If you prefer not to be bound by the terms of the GPLv3, you can purchase an alternative license from Object Refinery Limited (please e-mail [email protected] for details, or check the JFreeSVG home page). | ||
|
@@ -73,7 +75,7 @@ JFreeSVG is free software under the terms of the GNU General Public License vers | |
Change History | ||
-------------- | ||
|
||
Version 5.0.1 (not yet released) | ||
Version 5.0.1 (4 August 2021) | ||
- handle cycle methods for `GradientPaint` and `RadialGradientPaint`; | ||
- fix output for filled `Ellipse2D`. | ||
|
||
|
@@ -224,12 +226,3 @@ Version 1.1 (4 September 2013) | |
|
||
Version 1.0 (31 July 2013) | ||
- Initial public release. | ||
|
||
|
||
Contact / Questions | ||
------------------- | ||
If you have any questions or feedback about JFreeSVG, please post in the forum: | ||
|
||
http://www.jfree.org/forum/viewforum.php?f=32 | ||
|
||
...or send an e-mail to [email protected]. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters