Re: fix for broken Win32 build (7-10)


Subject: Re: fix for broken Win32 build (7-10)
From: Justin Bradford (justin@ukans.edu)
Date: Thu Jul 13 2000 - 13:58:36 CDT


On Wed, 12 Jul 2000, Michael D. Pritchett wrote:

> Thanks for this snipet. It works in inserting pictures. My preview dialog
> is broken with SVG due to the UT_SVG_Dimension returns strings for width and
> height and I need pixel width and height. So until those strings are
> converted - the ability to preview SVG - even just the green diamond is
> broken in my preview dialog.

That's because the width/height on a SVG image is in a CSS unit (ie.
inches, centimeters, twips, etc). I return a string from that function,
because it doesn't know how to turn inches into pixels. I could probably
expand it to take an optional screen DPI, and do the conversion for you.

Justin



This archive was generated by hypermail 2b25 : Thu Jul 13 2000 - 13:58:43 CDT