Skip to content

Commit f972e96

Browse files
Fix typo in beginTransformationIfApplied method name
1 parent 4237de6 commit f972e96

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

layout/src/main/java/com/itextpdf/layout/renderer/AbstractRenderer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2127,14 +2127,14 @@ private AffineTransform createTransformationInsideOccupiedArea() {
21272127
return transform;
21282128
}
21292129

2130-
protected void beginTranformationIfApplied(PdfCanvas canvas) {
2130+
protected void beginTransformationIfApplied(PdfCanvas canvas) {
21312131
if (this.<Transform>getProperty(Property.TRANSFORM) != null) {
21322132
AffineTransform transform = createTransformationInsideOccupiedArea();
21332133
canvas.saveState().concatMatrix(transform);
21342134
}
21352135
}
21362136

2137-
protected void endTranformationIfApplied(PdfCanvas canvas) {
2137+
protected void endTransformationIfApplied(PdfCanvas canvas) {
21382138
if (this.<Transform>getProperty(Property.TRANSFORM) != null) {
21392139
canvas.restoreState();
21402140
}

layout/src/main/java/com/itextpdf/layout/renderer/BlockRenderer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ public void draw(DrawContext drawContext) {
512512
}
513513
}
514514

515-
beginTranformationIfApplied(drawContext.getCanvas());
515+
beginTransformationIfApplied(drawContext.getCanvas());
516516
applyDestinationsAndAnnotation(drawContext);
517517

518518
boolean isRelativePosition = isRelativePosition();
@@ -564,7 +564,7 @@ public void draw(DrawContext drawContext) {
564564
}
565565

566566
flushed = true;
567-
endTranformationIfApplied(drawContext.getCanvas());
567+
endTransformationIfApplied(drawContext.getCanvas());
568568
}
569569

570570
@Override

layout/src/main/java/com/itextpdf/layout/renderer/ImageRenderer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public void draw(DrawContext drawContext) {
343343
}
344344
}
345345

346-
beginTranformationIfApplied(drawContext.getCanvas());
346+
beginTransformationIfApplied(drawContext.getCanvas());
347347

348348
Float angle = this.getPropertyAsFloat(Property.ROTATION_ANGLE);
349349
if (angle != null) {
@@ -373,7 +373,7 @@ public void draw(DrawContext drawContext) {
373373
canvas.addXObject(xObject, matrix[0], matrix[1], matrix[2], matrix[3], (float) fixedXPosition + deltaX, (float) fixedYPosition);
374374

375375
endElementOpacityApplying(drawContext);
376-
endTranformationIfApplied(drawContext.getCanvas());
376+
endTransformationIfApplied(drawContext.getCanvas());
377377
if (Boolean.TRUE.equals(getPropertyAsBoolean(Property.FLUSH_ON_DRAW))) {
378378
xObject.flush();
379379
}

layout/src/main/java/com/itextpdf/layout/renderer/TableRenderer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,9 @@ public void draw(DrawContext drawContext) {
951951
}
952952
}
953953

954-
beginTranformationIfApplied(drawContext.getCanvas());
954+
beginTransformationIfApplied(drawContext.getCanvas());
955955
super.draw(drawContext);
956-
endTranformationIfApplied(drawContext.getCanvas());
956+
endTransformationIfApplied(drawContext.getCanvas());
957957

958958
if (isTagged) {
959959
if (isLastRendererForModelElement && ((Table)getModelElement()).isComplete()) {

0 commit comments

Comments
 (0)