If you have an Graphics2D instance you can use the scale-method. 
grx.scale(300.0/72, 300.0/72) would give you 300 dpi (presuming it was 
72 before the scale).

Vadell Cifre, Enrique wrote:

>Hi, i'm trying to use iText to draw a chart, using graphics primitives.
>
>When using graphics primitives as:
>
>Graphic grx = new Graphic();
>grx.rectangle(100, 700, 100, 100);
>
>the coordinates are expresed as points and documentation says there are 72
>points per inch (this is at 72 dpi). But i need more resolution (300 points
>per inch would be perfect). Is there any way to do this?.
>
>Thanks.
>
>_______________________________________________________________
>
>Don't miss the 2002 Sprint PCS Application Developer's Conference
>August 25-28 in Las Vegas - 
>http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
>_______________________________________________
>iText-questions mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/itext-questions
>  
>


-- 
Nicolas Serrador Ivering
Greenmill Consulting AB
By�ngsgr�nd 20
SE-120 40 �rsta
Sweden

Office:         +46 (0)8 664 7 664
Fax:            +46 (0)8 664 7 864
Mobile:         +46 (0)709 734237
Email: [EMAIL PROTECTED]



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to