SVG symbols custom default size, closes #74
This commit is contained in:
parent
a5679ce214
commit
05184e7f5f
@ -27,7 +27,10 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
public class AndroidSvgBitmap extends AndroidBitmap {
|
||||
private static final float DEFAULT_SIZE = 400f;
|
||||
/**
|
||||
* Default size is 20x20px at baseline mdpi (160dpi).
|
||||
*/
|
||||
public static float DEFAULT_SIZE = 400f;
|
||||
|
||||
private static android.graphics.Bitmap getResourceBitmap(InputStream inputStream) throws IOException {
|
||||
synchronized (SVG.getVersion()) {
|
||||
|
@ -27,7 +27,10 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
public class AndroidSvgBitmap extends AndroidBitmap {
|
||||
private static final float DEFAULT_SIZE = 400f;
|
||||
/**
|
||||
* Default size is 20x20px at baseline mdpi (160dpi).
|
||||
*/
|
||||
public static float DEFAULT_SIZE = 400f;
|
||||
|
||||
private static android.graphics.Bitmap getResourceBitmap(InputStream inputStream) throws IOException {
|
||||
synchronized (SVG.getVersion()) {
|
||||
|
@ -27,7 +27,10 @@ import java.io.InputStream;
|
||||
import java.net.URI;
|
||||
|
||||
public class AwtSvgBitmap extends AwtBitmap {
|
||||
private static final float DEFAULT_SIZE = 400f;
|
||||
/**
|
||||
* Default size is 20x20px.
|
||||
*/
|
||||
public static float DEFAULT_SIZE = 400f;
|
||||
|
||||
private static BufferedImage getResourceBitmap(InputStream inputStream) throws IOException {
|
||||
synchronized (SVGCache.getSVGUniverse()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user