Skip to content

Commit

Permalink
Deprecate getPixelUnitToMillimeterX, getPixelUnitToMillimeterY, getSc…
Browse files Browse the repository at this point in the history
…reenPixelToMillimeterX, getScreenPixelToMillimeterY in SVGSVGElement
  • Loading branch information
carlosame committed Sep 25, 2024
1 parent 89a9e25 commit d70e33a
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions svgom-api/src/main/java/org/w3c/dom/svg/SVGSVGElement.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,25 @@ public interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGEx

SVGRect getViewport();

float getPixelUnitToMillimeterX();

float getPixelUnitToMillimeterY();

float getScreenPixelToMillimeterX();

float getScreenPixelToMillimeterY();
@Deprecated
default float getPixelUnitToMillimeterX() {
return 0.2645833333333333333333333333f;
}

@Deprecated
default float getPixelUnitToMillimeterY() {
return 0.2645833333333333333333333333f;
}

@Deprecated
default float getScreenPixelToMillimeterX() {
return 0.2645833333333333333333333333f;
}

@Deprecated
default float getScreenPixelToMillimeterY() {
return 0.2645833333333333333333333333f;
}

boolean getUseCurrentView();

Expand Down

0 comments on commit d70e33a

Please sign in to comment.