< prev index next >
modules/javafx.graphics/src/main/java/com/sun/marlin/TransformingPathConsumer2D.java
Print this page
*** 47,58 ****
float mxx = (float) at.getMxx();
float mxy = (float) at.getMxy();
float myx = (float) at.getMyx();
float myy = (float) at.getMyy();
! if (mxy == 0f && myx == 0f) {
! if (mxx == 1f && myy == 1f) {
return out;
} else {
return dt_DeltaScaleFilter.init(out, mxx, myy);
}
} else {
--- 47,58 ----
float mxx = (float) at.getMxx();
float mxy = (float) at.getMxy();
float myx = (float) at.getMyx();
float myy = (float) at.getMyy();
! if (mxy == 0.0f && myx == 0.0f) {
! if (mxx == 1.0f && myy == 1.0f) {
return out;
} else {
return dt_DeltaScaleFilter.init(out, mxx, myy);
}
} else {
*** 73,84 ****
float mxx = (float) at.getMxx();
float mxy = (float) at.getMxy();
float myx = (float) at.getMyx();
float myy = (float) at.getMyy();
! if (mxy == 0f && myx == 0f) {
! if (mxx == 1f && myy == 1f) {
return out;
} else {
return iv_DeltaScaleFilter.init(out, 1.0f/mxx, 1.0f/myy);
}
} else {
--- 73,84 ----
float mxx = (float) at.getMxx();
float mxy = (float) at.getMxy();
float myx = (float) at.getMyx();
float myy = (float) at.getMyy();
! if (mxy == 0.0f && myx == 0.0f) {
! if (mxx == 1.0f && myy == 1.0f) {
return out;
} else {
return iv_DeltaScaleFilter.init(out, 1.0f/mxx, 1.0f/myy);
}
} else {
< prev index next >