MCPcopy Create free account
hub / github.com/Card-Forge/forge / adjustX

Method adjustX

forge-gui-mobile/src/forge/Graphics.java:1559–1561  ·  view source on GitHub ↗
(float x)

Source from the content-addressed store, hash-verified

1557 }
1558
1559 public float adjustX(float x) {
1560 return x + bounds.x;
1561 }
1562
1563 public float adjustY(float y, float height) {
1564 return regionHeight - y - bounds.y - height; //flip y-axis

Callers 15

startClipMethod · 0.95
drawLineMethod · 0.95
drawLineArrowMethod · 0.95
drawArrowMethod · 0.95
addVertexMethod · 0.95
drawRoundRectMethod · 0.95
fillRoundRectMethod · 0.95
drawRectMethod · 0.95
fillRectMethod · 0.95
drawCircleMethod · 0.95
fillCircleMethod · 0.95
fillTriangleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected