[Scribus] Scribus 1.3 Scripter - units problems
    Cezary Statkiewicz 
    cezio
       
    Sat Jul 30 14:28:14 CEST 2005
    
    
  
 Hi!
 I've discovered strange behaviour in Scripter plugin in Scribus 1.3.0. 
Object dimensions are set in pt units (except for position), although 
I've declared in newDoc() millimeters as units. 
n=createImage(5,5,10,10)
print getSize(n)
print getPosition(n)
print getUnit()
gives:
(3.5277777777777777, 3.5277777777777777)
(5.0000000000000009, 4.9999999999999991)
1
 Greets
 CS
-- 
Cezary Statkiewicz - http://thelirium.net 
   rlu#280280           gg#5223219
    jabber://koophel at jabber.wp.pl
    
    
More information about the scribus
mailing list