Skip to content

Rotation #9

Description

@ajyoon

This is a tracking issue for support gaps relating to object rotation. Most of this is likely out of scope for the current release plan, but they are outlined here for tracking purposes.

  • Basic individual rotation of Path, Text, and RichText objects
  • Rotation is treated in isolation. Objects with rotated parents do not inherit their parents' rotation. This is needed to support things like rotating object groups, like entire staves.
  • Explicitly setting rotation axis position. Rotation currently only works with the rotation axis at the object's Qt "logical coordinate system" origin. (done by @Xavman42)
  • Text bounding rects are inaccurate for rotated objects. (Though it is unclear if this is desired behavior or not)
  • Rotated text and paths which break across flowable lines do not clip correctly. The results aren't terrible - the clip points are generally quite close to correct, but the clipping occurs at an angle. Resolution would probably require modifying QClippingPath to account for rotation. Care would be needed to ensure rotation respects the rotational axis even with clipping painter offsets.
  • Rotated paths with path elements anchored to other objects display incorrectly. This occurs because path element resolution (Path._resolve_path_elements) does not respect rotation

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    trackingDocumenting feature gaps not ready for immediate work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions