Skip to content

Conversation

@JakabLaszlo1124
Copy link

New functionality

The Svg component's rotate transformation can handle rotation around an explicit origin point. So the following parameterizations are now supported:

  • rotate(angle) : The original option. It rotates the Svg around the origin (0, 0) point with angle degree .
  • rotate(angle, originX, originY): The new option. It rotates the Svg around the (originX, originY) point with angle degree.

Issues

Closes #3244

@changeset-bot
Copy link

changeset-bot bot commented Jan 24, 2026

🦋 Changeset detected

Latest commit: 237f1f9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 11 packages
Name Type
@react-pdf/stylesheet Minor
@react-pdf/render Minor
@react-pdf/layout Patch
@react-pdf/types Patch
@react-pdf/renderer Patch
@react-pdf/font Patch
next-14 Patch
next-15 Patch
@react-pdf/vite-example Patch
@react-pdf/e2e-node-cjs Patch
@react-pdf/e2e-node-esm Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Svg rotate transformation ignores explicit origin

1 participant