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