Hello,

I am trying to dump color value for text. Its dumping some wired value like
color="*-7660971*". I am not able to make sense from this. I am
using following code.

*const nsStyleColor* color = GetStyleColor();
fprintf(out, " color=\"%ld\"",(long)color->mColor);*
**
Is there any way to ocnvert this to HEX (RGB) value. Or any other format
which is recognizable.

Thanks and Rgards,
Rajat
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to