Results 1 to 6 of 6

Thread: SVG to alpha channel QPixmaps?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: SVG to alpha channel QPixmaps?

    Quote Originally Posted by jpn View Post
    Try:
    Qt Code:
    1. image.fill(Qt::transparent);
    To copy to clipboard, switch view to plain text mode 
    Are you sure the renderer won't overwrite all the pixels in the pixmap?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: SVG to alpha channel QPixmaps?

    Quote Originally Posted by marcel View Post
    Are you sure the renderer won't overwrite all the pixels in the pixmap?
    Yes, I tested it.
    J-P Nurmi

Similar Threads

  1. Replies: 2
    Last Post: 3rd November 2006, 22:20
  2. image alpha
    By murko81 in forum Qt Programming
    Replies: 13
    Last Post: 28th October 2006, 19:31
  3. Alpha channel weirdness with QGLContext
    By renaissanz in forum Qt Programming
    Replies: 2
    Last Post: 15th March 2006, 16:10

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.