Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-15224

Discrepancy in Radius Interpretation Between RectangleShape and RectangleItem

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • None

    Description

      There is a noticeable difference in the way overlapping radius is interpreted between RectangleShape and RectangleItem. This discrepancy was observed when adapting the radius calculation from Figma.

      Steps to Reproduce:

      1. Create a rectangle in Figma with a radius larger than the actual item's dimensions.
      2. Observe how Figma distributes the radius for one edge by percentage.
      3. Implement the same configuration in RectangleShape and RectangleItem.

      Expected Result: The radius should be distributed similarly to Figma, where the radius is proportionally adjusted based on the item's dimensions.

      Actual Result: The radius interpretation differs between RectangleShape and RectangleItem, leading to inconsistent visual representation.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mitch_curtis Mitch Curtis
            henning Henning Gründl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes