Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13168

Qt Path Stroking Algorithm should be avoided in drawTextItem when graphicsView is rotated 90,180 or 270

    XMLWordPrintable

Details

    Description

      When QGraphicsView has been rotated with 90,180 or 270 text drawing seems to fall back to use Qt Path Stroking Algorithm . In these special cases also could we avoid using stroking algorithm but rather rotate the glyph positions??

      void QVGPaintEngine::drawTextItem(const QPointF &p, const QTextItem &textItem)
      {
       --- code
      
          // If we are not using a simple transform, then fall back
          // to the default Qt path stroking algorithm.
          if (!d->simpleTransform) {  ---> check seems to happen here
              QPaintEngineEx::drawTextItem(p, textItem);
              return;
          }
      
      ---code
      
      }
      

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            kalyanreddy2005 Kalyan kondapally
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes