Results 1 to 2 of 2

Thread: QPainter ,QPainterPath...and cubicTo()

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    Finland /Pakistan
    Posts
    216
    Thanks
    20
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default QPainter ,QPainterPath...and cubicTo()

    Hi,
    I want to make the green circle move through the big grey circle as if it is a progress bar...
    i am not at all sure how to accomplish this,for my part i think it would be somehow through QPainterPath,its what i think....
    also i cannot understand the CubicTo() function of QpainterPath..the diagram in the document http://doc.trolltech.com/4.4/qpainterpath.html#cubicTo
    makes it even more confusing for me..any help ..atleast on the first question
    Attached Images Attached Images
    • File Type: gif 1.GIF (3.4 KB, 23 views)

  2. #2
    Join Date
    Jan 2008
    Location
    Finland /Pakistan
    Posts
    216
    Thanks
    20
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QPainter ,QPainterPath...and cubicTo()

    what i have learned is that painterPath()'s pointAtPercent() function should solve my problem ..but i can help myself with this...any suggestion in this regard would be helpful

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.