eirikbakke commented on PR #7938: URL: https://github.com/apache/netbeans/pull/7938#issuecomment-2490735962
@Chris2011 Yeah, I agree with @neilcsmith-net, normally you just paint the SVG directly in the component's paint() method; no need to go through a BufferedImage. That way you automatically get the right behavior on HiDPI screens, and don't have to allocate a buffer. You'd parse the SVG once to a com.github.weisj.jsvg.SVGDocument and then use that object to paint (rather than re-parsing on every paint). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
