Render themes: PNG scaling, fix #595
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright 2016 Longri
|
||||
* Copyright 2016 devemux86
|
||||
* Copyright 2016-2018 devemux86
|
||||
* Copyright 2017 Longri
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under the
|
||||
@@ -59,6 +59,11 @@ public class IosGraphics extends CanvasAdapter {
|
||||
return new IosBitmap(inputStream);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Bitmap decodeBitmapImpl(InputStream inputStream, int width, int height, int percent) throws IOException {
|
||||
return new IosBitmap(inputStream, width, height, percent);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Bitmap decodeSvgBitmapImpl(InputStream inputStream, int width, int height, int percent) throws IOException {
|
||||
return new IosSvgBitmap(inputStream, width, height, percent);
|
||||
|
||||
Reference in New Issue
Block a user