mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-02 09:04:20 +00:00
Fixed Hide zooming buttons in fonts display
This commit is contained in:
@@ -440,7 +440,7 @@ public abstract class FontTag extends DrawableTag implements AloneTag {
|
||||
|
||||
@Override
|
||||
public synchronized void toImage(int frame, int time, int ratio, RenderContext renderContext, SerializableImage image, SerializableImage fullImage, boolean isClip, Matrix transformation, Matrix strokeTransformation, Matrix absoluteTransformation, Matrix fullTransformation, ColorTransform colorTransform, double unzoom, boolean sameImage, ExportRectangle viewRect, boolean scaleStrokes, int drawMode, int blendMode, boolean canUseSmoothing) {
|
||||
SHAPERECORD.shapeListToImage(ShapeTag.WIND_EVEN_ODD, 1, swf, getGlyphShapeTable(), image, frame, Color.black, colorTransform, unzoom, transformation);
|
||||
SHAPERECORD.shapeListToImage(ShapeTag.WIND_EVEN_ODD, 1, swf, getGlyphShapeTable(), image, frame, Color.black, colorTransform);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -200,13 +200,13 @@ public abstract class SHAPERECORD implements Cloneable, NeedsCharacters, Seriali
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void shapeListToImage(int windingRule, int shapeNum, SWF swf, List<SHAPE> shapes, SerializableImage image, int frame, Color color, ColorTransform colorTransform, double unzoom, Matrix transformation2) {
|
||||
public static void shapeListToImage(int windingRule, int shapeNum, SWF swf, List<SHAPE> shapes, SerializableImage image, int frame, Color color, ColorTransform colorTransform) {
|
||||
if (shapes.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
int prevWidth = FontTag.PREVIEWSIZE;
|
||||
int prevHeight = FontTag.PREVIEWSIZE;
|
||||
int prevWidth = image.getWidth();
|
||||
int prevHeight = image.getHeight();
|
||||
|
||||
int maxw = 0;
|
||||
int maxh = 0;
|
||||
@@ -282,7 +282,7 @@ public abstract class SHAPERECORD implements Cloneable, NeedsCharacters, Seriali
|
||||
double px = x * w2 + w2 / 2 - w / 2 - minXMin * ratio;
|
||||
double py = y * h2 - minYMin * ratio;
|
||||
|
||||
Matrix transformation = transformation2.concatenate(Matrix.getTranslateInstance(px, py));
|
||||
Matrix transformation = Matrix.getTranslateInstance(px, py);
|
||||
transformation.scale(ratio);
|
||||
BitmapExporter.export(windingRule, shapeNum, swf, shape, color, image, 1 /*FIXME??*/, transformation, transformation, colorTransform, true, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user