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

2 bugs in Figma exported Shape

    XMLWordPrintable

Details

    Description

      Bug 1:

      • Anchors place object outside of visible range
      • Exported SvgPathItem is vertically flipped

      Bug 2:

      • antialiasing enabled for SvgPathItem results in clipped image when flipped (back to upright)

       

      Bug1

      Bug2

       

      Bug2 Code:

      Rectangle {
          id: path40
          property int startWidth: 226
          property int startHeight: 200
          width: startWidth
          height: startHeight
          color: "transparent"
          // border.color: "black"
          // border.width: 1    property alias pScale: path401.scale
          SvgPathItem {
              id: path401        // anchors.centerIn: path40
              // anchors.rightMargin: 0
              // anchors.topMargin: 200
              // anchors.bottomMargin: -201
              anchors.top: path40.bottom
              transform: Rotation {
                  angle: 180
                  axis: Qt.vector3d(1, 0, 0)
              }        strokeWidth: 0.13333
              strokeStyle: 1
              strokeColor: "transparent"
              path: "M 10.818188670876427 98.32241963793948 C 0.4869619317521696 117.13425244861432 -6.030559580221857 142.50689979281105 8.237915546068358 158.52429400356667 C 22.269427003166847 174.29869422516327 48.444823541473525 171.01838506070203 66.4966220355321 160.06337849841015 C 84.39449628279655 149.22986893069776 98.09180574148749 132.8074435401943 111.43672920618515 116.68880157646939 C 116.71879941661311 134.8323985995798 123.88851995363935 152.40896896514235 132.79391237234273 169.09459896346243 C 138.86788801901344 180.45459653763143 146.39401440595714 191.97663052993022 158.096392136153 197.38326069298128 C 178.24036068792248 206.69805396615453 202.82181365905868 193.45484756878977 214.54241942323878 174.60251627489447 C 221.3576675505648 163.64750971260258 225.20177626999444 150.84979358279446 225.55620966321874 137.95082970001707 C 226.2630511179233 112.27439892904178 213.5277329999494 88.15920986838064 199.04254723218173 66.92553099207092 C 186.31332539028142 48.2696205861229 171.9537278639501 30.72539617093748 156.1743524559044 14.564230336355655 C 150.8517754174444 9.113051301040727 145.1423619956656 3.6739977485924467 137.9990100292266 1.0233315449584743 C 119.67176603167431 -5.768367909610641 81.78587170056103 23.06904931036525 67.26220409849137 33.860035007220716 C 44.163272910561304 51.021529135512765 24.681597062053143 73.0813545137157 10.818188670876427 98.32241963793948 Z"
              joinStyle: 0
              fillColor: "#ff0000"
              antialiasing: true
          }
      } 

      Attachments

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

        Activity

          People

            algerman Aleksei German
            mairtin.s Mairtin Steinkamp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes