(Post in the list, please)

A picture would help.

> -----Original Message-----
> From: Marvin Shapiro [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 28, 2005 12:28 PM
> To: Paulo Soares
> Subject: Re: [iText-questions] question re: closePathFillStroke()
> 
> Paulo,
> 
> Thanks for your quick answer, but I'm afraid that I don't understand 
> it. Let me try again.
> 
> I am filling a right triangle, with right angle at (x0,y0),
> as follows (I now set the color first, as you suggested):
> 
>                                                cb.setColorFill(d.c);
>                                                cb.moveTo(x1, y0);
>                                                cb.lineTo(x0, y0);
>                                                cb.lineTo(x1, y1);
>                                                
> cb.closePathFillStroke();
>                                                cb.fill();
> 
> It fills the triangle and draws its outline. I only want to draw the 
> diagonal, i.e.
> 
>                                                cb.moveTo(x0, y0);
>                                                cb.lineTo(x1, y1);
> 
> I assume that the fill depends on knowing the closed path, but I only 
> want to draw part of that path.
> 
> I hope that's clearer.
> 
> Thanks again for the help.
> 
> ms
> 
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to