Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

A little bug in color of annotations?

More
IP: 192.168.0.71 11 years 11 months ago #6936 by petr.sklenicka
Hi,
I have a little issue with colors of annotations. Suppose these steps:

1) Add some annotation to document
2) Set fill color for this annotation to 0xFFFFFF01.
3) Call GetFillColor on this annotation. The returned value is 0xFFFFFF00.

The color values are different. For other colors (e.g. 0xFFFF0000) is works fine), but exactly for color 0xFFFFFF01 it does not work fine.
Is this some bug in your library?

Thanks in advance.
More
IP: 192.168.0.71 11 years 11 months ago #6938 by radaee
in PDF file, color value saved as float values.
and SDK using int values, convert to float is (1.0/255)
and get color may loss small float point value by int type convertion.
Time to create page: 0.494 seconds
Powered by Kunena Forum