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. [SOLVED] QPainterPath
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] QPainterPath

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 523 Views
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello, I want to draw some curves using QPainterPath, but (0, 0) coordinates are in the top left corner... How can I set coordinates (0, 0) in left lower corner (Normal coordinate system we are using to draw functions)...

    @QPainterPath groupPath;
    groupPath.lineTo(15, 50);
    groupPath.closeSubpath();

    QPainter painter(this);
    painter.drawPath(groupPath);@

    !http://i.gyazo.com/83b22e107f84a8743da41dc1c11ebe81.png(i)!

    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