Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtSVG module : scaling an item without scaling the stroke (as in Inkscape)
Forum Updated to NodeBB v4.3 + New Features

QtSVG module : scaling an item without scaling the stroke (as in Inkscape)

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 2.0k 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.
  • D Offline
    D Offline
    dextermagnific
    wrote on last edited by
    #1

    Hi everyone,

    I'm the author of the Quantum SVG themable style for Qt (http://kde-look.org/content/show.php/QuantumStyle?content=101088).

    One difficulty in making the SVG styles in that I must divide the frame (e.g. of a button) into its 8 elements separately in the SVG file because the contents get scaled and the scaling must be performed only for the 'interior', not the frame lines.

    Is there a way to tell Qt to scale the SVG element but keep the stroke with the same thickness when using the render() function ? Inkscape knows how to do that

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved