Hi,
I am trying to do some work on improving the About Dialog and I need to
be able to rasterize an SVG (which I guess I would have to pack in the
icon themes) to a vcl::BitmapEx
I can see there are various classes (i.e. vcl::SVGReader and
vcl::RenderGraphicRasterizer) which may do the job, however I need to
rasterize it to a specific resolution (pretty much what
vcl::RenderGraphicRasterizer::Rasterize does) however I don't want to
duplicate any code.
So I would really appreciate it, if you could point me at the methods
needed, to get from the path of the SVG in the icon theme (i.e.
brand/shell/about.svg), to a BitmapEx.
Thanks
--
Andrew
Context
- Question: How do I rasterize an SVG to a BitmapEx · Andrew Higginson
 
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.