Results 1 to 2 of 2

Thread: How to Draw spline on QGraphicsScene

  1. #1
    Join Date
    Jun 2007
    Posts
    18
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to Draw spline on QGraphicsScene

    I am able to draw Lines on QGraphicsScene using the following code:


    QGraphicsScene scene;
    QGraphicsLineItem *pGraphicItem = new QGraphicsLineItem(X1, Y1, X2, Y2);
    scene->addItem(pGraphicItem);


    How to draw a spline on QGraphicsScene?

    -Segu

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to Draw spline on QGraphicsScene


Similar Threads

  1. To Draw Text at given position on QGraphicsScene
    By volcano in forum Qt Programming
    Replies: 6
    Last Post: 4th February 2010, 08:16
  2. Replies: 5
    Last Post: 21st January 2010, 15:55
  3. Replies: 9
    Last Post: 2nd December 2009, 18:59
  4. want to draw points in QGraphicsScene
    By ntp in forum Qt Programming
    Replies: 2
    Last Post: 10th April 2008, 18:14
  5. Replies: 1
    Last Post: 31st January 2008, 12:48

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.