Results 1 to 2 of 2

Thread: Canvas - C++ question

  1. #1
    Join Date
    Jun 2012
    Posts
    18
    Thanked 9 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Canvas - C++ question

    Hi All, I've run into an issue where drawing lines on a Canvas for a graph that has 2 lines and 1000 points via javascript is very slow. Is it possible to pass the context to c++ and draw the lines through c++? This is on an embedded device.

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Canvas - C++ question

    By using a QQuickPaintedItem derived class instead of the Canvas element

    Cheers,
    _

Similar Threads

  1. How to get Canvas
    By mqt in forum Qwt
    Replies: 2
    Last Post: 21st May 2015, 13:14
  2. canvas
    By leebandemaha in forum Newbie
    Replies: 1
    Last Post: 5th September 2013, 14:39
  3. Replies: 2
    Last Post: 5th June 2012, 15:12
  4. Canvas in QT
    By chandan in forum Newbie
    Replies: 5
    Last Post: 11th April 2011, 04:46
  5. Qwt canvas using QGLWidget?
    By alex_sh in forum Qwt
    Replies: 4
    Last Post: 28th January 2011, 10:36

Tags for this Thread

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.