Menu

#5 Bug in pdfColor.formatColorComponent()

open
nobody
None
5
2005-03-07
2005-03-07
No

To reproduce - add color with color component value
less than 25. The passed value became incorrect.

// example for R value
pdfColor color = new pdfColor(22, 33, 112)
color._rColor became 0.9, but should be 0.09

I'm attaching fix for the bug.

Regards,
Eugene

Discussion

  • Eugene Rymski

    Eugene Rymski - 2005-03-07

    Fix for the bug

     
  • Nobody/Anonymous

    Logged In: NO

    Hi all,
    Can any one help me ..
    I am using the sharpPDF Beta 2, in that how to draw line,means how to define line width, fill color,bordercolor ....
    and how draw a table

    Please give explain me with samples

    Thx
    JBR

     

Log in to post a comment.

MongoDB Logo MongoDB