Results 1 to 2 of 2

Thread: Filling a pie pixel by pixel

  1. #1
    Join Date
    Nov 2013
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Filling a pie pixel by pixel

    Hi,

    i have drawn a pie, i want to fill the pie area, pixel by pixel based on different colors . What would be the best way to achieve this ??.


    Kindly advise

  2. #2
    Join Date
    Nov 2013
    Posts
    10
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Filling a pie pixel by pixel

    If you allready have a QImage image; of your pie, you can use the image.setPixel(x,y,color); function. Best regards, Olli

Similar Threads

  1. Replies: 2
    Last Post: 16th February 2012, 23:10
  2. Get Pixel Values
    By amitpatel22 in forum Qt Programming
    Replies: 7
    Last Post: 15th June 2011, 04:33
  3. Display GUI with pixel
    By arashadsaifi in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 19th January 2010, 21:23
  4. How do i display the rgb value of a pixel
    By davidw in forum Qt Programming
    Replies: 2
    Last Post: 17th May 2009, 23:51
  5. QPixmap pixel by pixel ?
    By tommy in forum Qt Programming
    Replies: 19
    Last Post: 3rd December 2007, 22:52

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.