Re: RFC: use svg for widgets instead of png/gif

Adam Megacz <[email protected]> Sat, 27 Dec 2003 21:19:44 -0800
Newsgroups gmane.comp.java.xwt.widgets
Organization XWT
Message-ID <[email protected]>
Okay, I see your point.  This is cool.  But the SVG in nitrogen will
probably not be ready, and definately be much slower than rasterized
support.

Full, fast SVG will appear in some post-release version of Nitrogen
(but before Oxygen).  If I find some part of the SVG stuff that I can
break off for you, I'll send it your way.

  - a

Tupshin Harper <[email protected]> writes:
> Tupshin Harper wrote:
> 
>  > Adam Megacz wrote:
>  >
>  >> Could you run kvec on something more complex?  Like with curves?
>  >> Like a radio button?  I suspect that it will resort to using
>  >> rasters.
>  >>
>  >> - a
>  >>
>  >>
>  >>
>  > Sure...here's one that I had already done. Two radio buttons and
>  > two checkboxes (from the google preferences page). Looking at the
>  > svg soure, and at the results of scaling it, it appears that the
>  > curves are done roughly pixel by pixel...
> 
> This is actually completely incorrect. Instead of 46 different
> non-white pixels (which is what the bitmap has), the svg converted one
> consists of 8 polygons. This actually makes it scale better (though
> very chunky) than a normal bitmap scaling algorithm would do and it is
> fairly easy to modify the svg to have smoother path nodes and more of
> them to greatly enhance the scaled versions.
> 
> -Tupshin
> 
> 
> _______________________________________________
> widgets mailing list
> [email protected]
> http://lists.xwt.org/listinfo/widgets
> 

-- 
"If Darl McBride [the CEO of SCO, who claims the GPL 'destroys
 intellectual property'] was in charge, he'd probably make marriage
 unconstitutional too, since clearly it de-emphasizes the commercial
 nature of normal human interaction, and probably is a major
 impediment to the commercial growth of prostitution"

                                             -- Linus Torvalds