Hi,
In one of my samples PDFs I have this content part:
/OC /MC0 BDC /CS0 cs 0.6 scn /GS0 gs 0 0 283.46 283.46 re f EMC
How could I achieve the same value of '0.6' for some ColorSpace component with Acrobat SDK 9.x?
If I do usual Graphics state creation and then apply it to my object - I could only get this result:
/OC /MC0 BDC
/CS0 cs 0 scn
/GS0 gs
0 0 283.46 283.46 re
f
EMC
How could I get those 60%, i.e 0.6? I don't see that in obvoius way in PDEColorSpec structure.
Ok, I have an answer to my question. In short - you need to use PDEGraphicState filling logic as for DeviceCMYK, but with some caviats.
Hope one day Adobe will put that into his own Acrobat SDK docs/samples. Till then I'll charge 1/2 of their Developer Support case if anyone will need an answer from me.