Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Draw a "vector" image (polygones, lines) ?
Forum Updated to NodeBB v4.3 + New Features

Draw a "vector" image (polygones, lines) ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 471 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    coow67
    wrote on last edited by
    #1

    Hi

    I want to draw a very big image, composed by many polygones.
    My problem is that when I zoom on the image, I get something like that.

    Is there any way to create "vector" polygones or "vector" lines with QPainter ?

    Thank you

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi and welcome

      maybe SVG can work for you ?
      http://doc.qt.io/qt-4.8/qtsvg-module.html

      else have a look at the 40 000 sample
      it used Graphics view which also can do dynamic scale.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved