Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. rendering Buttons from SVG images?

rendering Buttons from SVG images?

Scheduled Pinned Locked Moved C / C++ / MFC
csswpfhelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    luedi
    wrote on last edited by
    #1

    Hi, last week there was a new addition to codeproject, the CRoundButton2 class. This directly cought my attention, since I would like to add skinning and resizing capabilities to our application. But I have still a problem with this class. It can only handle text on the buttons and no overlayed bitmaps. Why isn't there any Button class with SVG rendering capabilities. I know, I can write one myself and perhaps I will do so, but I find it interesting, since SVG is an accepted standard. There is no basic SVG rendering library available for Windows. You have to make use of adobes product or of the internet explorer. Recently there was a note that the two libraries librsvg and libsvg will join, and with the cairo backend there is also a win32 based output target available. But I can't believe that there isn't anything currently available to render Buttons with SVG images wihin windows. Something, that is built into GTK/Gnome and QT/KDE since years. Or, can somebody point me to the right direction? I don't want to make use of all high level features of SVGs, CSS and whatever. Simply render a button from a SVG source and have all button styles like, hoover, pressed, inactive and so on assigned a different SVG. Best regards Dirk

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups