Re: [iText-questions] problem with rounded corners

2010-04-22 Thread Mathias Nilsson
Hi, Yes I'm sure that there is something in my code making this but I can't find it. I have now managed to remove the sharp edges to smoth but with very odd settings. I must create a round rectangle twice to make it work. @Override public void onRender( PdfContentByte cb ) throws PdfDocumentExce

Re: [iText-questions] problem with rounded corners

2010-04-22 Thread Paulo Soares
3:22 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] problem with rounded corners can anyone give me some pointer on why PdfTemplate.roundRectangle() doesn't make fine edges as PdfContentByte does? -- View this message in context: http://old.nabble.com/problem-with-

Re: [iText-questions] problem with rounded corners

2010-04-22 Thread Mathias Nilsson
can anyone give me some pointer on why PdfTemplate.roundRectangle() doesn't make fine edges as PdfContentByte does? -- View this message in context: http://old.nabble.com/problem-with-rounded-corners-tp28328340p28329580.html Sent from the iText - General mailing list archive at Nabble.com. --

[iText-questions] problem with rounded corners

2010-04-22 Thread Mathias Nilsson
Hi, I have problems with rounded corners. If I use the cb directly here and don't create a Pdftemplate everythings works fine with the rounded corners but if the background I set every block in my page will get them. cell.setCellEvent( new PdfPCellEvent(){ public void cellLayout(PdfPCell cell,