Skip to content

Commit 19bb0fa

Browse files
Fix typo in beginTransformationIfApplied method name
Autoported commit. Original commit hash: [f972e96626]
1 parent 1e72b57 commit 19bb0fa

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

itext/itext.layout/itext/layout/renderer/AbstractRenderer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2155,14 +2155,14 @@ private AffineTransform CreateTransformationInsideOccupiedArea() {
21552155
return transform;
21562156
}
21572157

2158-
protected internal virtual void BeginTranformationIfApplied(PdfCanvas canvas) {
2158+
protected internal virtual void BeginTransformationIfApplied(PdfCanvas canvas) {
21592159
if (this.GetProperty<Transform>(Property.TRANSFORM) != null) {
21602160
AffineTransform transform = CreateTransformationInsideOccupiedArea();
21612161
canvas.SaveState().ConcatMatrix(transform);
21622162
}
21632163
}
21642164

2165-
protected internal virtual void EndTranformationIfApplied(PdfCanvas canvas) {
2165+
protected internal virtual void EndTransformationIfApplied(PdfCanvas canvas) {
21662166
if (this.GetProperty<Transform>(Property.TRANSFORM) != null) {
21672167
canvas.RestoreState();
21682168
}

itext/itext.layout/itext/layout/renderer/BlockRenderer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ public override void Draw(DrawContext drawContext) {
488488
}
489489
}
490490
}
491-
BeginTranformationIfApplied(drawContext.GetCanvas());
491+
BeginTransformationIfApplied(drawContext.GetCanvas());
492492
ApplyDestinationsAndAnnotation(drawContext);
493493
bool isRelativePosition = IsRelativePosition();
494494
if (isRelativePosition) {
@@ -531,7 +531,7 @@ public override void Draw(DrawContext drawContext) {
531531
taggingHelper.RestoreAutoTaggingPointerPosition(this);
532532
}
533533
flushed = true;
534-
EndTranformationIfApplied(drawContext.GetCanvas());
534+
EndTransformationIfApplied(drawContext.GetCanvas());
535535
}
536536

537537
public override Rectangle GetOccupiedAreaBBox() {

itext/itext.layout/itext/layout/renderer/ImageRenderer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public override void Draw(DrawContext drawContext) {
332332
}
333333
}
334334
}
335-
BeginTranformationIfApplied(drawContext.GetCanvas());
335+
BeginTransformationIfApplied(drawContext.GetCanvas());
336336
float? angle = this.GetPropertyAsFloat(Property.ROTATION_ANGLE);
337337
if (angle != null) {
338338
fixedXPosition += rotatedDeltaX;
@@ -358,7 +358,7 @@ public override void Draw(DrawContext drawContext) {
358358
canvas.AddXObject(xObject, matrix[0], matrix[1], matrix[2], matrix[3], (float)fixedXPosition + deltaX, (float
359359
)fixedYPosition);
360360
EndElementOpacityApplying(drawContext);
361-
EndTranformationIfApplied(drawContext.GetCanvas());
361+
EndTransformationIfApplied(drawContext.GetCanvas());
362362
if (true.Equals(GetPropertyAsBoolean(Property.FLUSH_ON_DRAW))) {
363363
xObject.Flush();
364364
}

itext/itext.layout/itext/layout/renderer/TableRenderer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -967,9 +967,9 @@ public override void Draw(DrawContext drawContext) {
967967
}
968968
}
969969
}
970-
BeginTranformationIfApplied(drawContext.GetCanvas());
970+
BeginTransformationIfApplied(drawContext.GetCanvas());
971971
base.Draw(drawContext);
972-
EndTranformationIfApplied(drawContext.GetCanvas());
972+
EndTransformationIfApplied(drawContext.GetCanvas());
973973
if (isTagged) {
974974
if (isLastRendererForModelElement && ((Table)GetModelElement()).IsComplete()) {
975975
taggingHelper.FinishTaggingHint(this);

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4237de6b105b8ecf646b2ae60ffbdd9b638e28ea
1+
f972e966268e757375af27ce570c6f8f4ed67de1

0 commit comments

Comments
 (0)