You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have an implementation that uses RawWidget with QtSvgWidget to display a SVG image. I'm thinking about cleaning this up and contributing to Enaml. Would this be better implemented as an SVGImageView widget (as opposed to trying to add support for SVG images to ImageView? I'm guessing a separate SVGImageView is more appropriate since the characteristics of vector graphics are different from raster graphics. ?
Either case, the point is to get feedback before I implement this.
The text was updated successfully, but these errors were encountered:
After reviewing ImageView, there are a few minor differences that suggest making SVGImageView a separate widget. For example, scale_to_fit and allow_upscaling are not relevant for a SVG image. Plus, ImageView takes an instance of Image, which is very raster-oriented (e.g., raw_size, transform_mode, etc.).
I currently have an implementation that uses RawWidget with QtSvgWidget to display a SVG image. I'm thinking about cleaning this up and contributing to Enaml. Would this be better implemented as an
SVGImageView
widget (as opposed to trying to add support for SVG images toImageView
? I'm guessing a separateSVGImageView
is more appropriate since the characteristics of vector graphics are different from raster graphics. ?Either case, the point is to get feedback before I implement this.
The text was updated successfully, but these errors were encountered: