MCPcopy Create free account
hub / github.com/apache/xmlgraphics-fop / scale

Method scale

fop-core/src/main/java/org/apache/fop/area/CTM.java:219–222  ·  view source on GitHub ↗

Scale this CTM by the passed x and y values and return a new result CTM. @param x The amount to scale along the x axis. @param y The amount to scale along the y axis. @return CTM The result of scaling this CTM.

(double x, double y)

Source from the content-addressed store, hash-verified

217 * @return CTM The result of scaling this CTM.
218 */
219 public CTM scale(double x, double y) {
220 CTM scale = new CTM(x, 0, 0, y, 0, 0);
221 return multiply(scale);
222 }
223
224 /**
225 * Transform a rectangle by the CTM to produce a rectangle in the transformed

Callers 7

paintMethod · 0.45
prepareMethod · 0.45
transferImageMethod · 0.45
getLocalTransformMethod · 0.45
drawStringMethod · 0.45
startPageMethod · 0.45
getGlyphLogicalBoundsMethod · 0.45

Calls 1

multiplyMethod · 0.95

Tested by

no test coverage detected