How to... get foreground and background color in a shape?

Friedrich W. H. Kossebau kossebau at kde.org
Mon Mar 12 15:20:03 GMT 2012


Hi,

hopefully soon a new version of the prison library is released, which will 
enable me to easily control the foreground and background colors of the 
barcode image, without doing my own QImage manipulation hacks which I avoided 
so far, so it's just black on white for now.

But after an initial quick code browsing I could not see yet how foreground 
and background colors are handled in the shapes.

Could anybody please give me some pointers how to expose the foreground and 
background color properties of a shape, so they can be controlled by the color 
tools e.g. in the bottom panel?

Cheers
Friedrich



More information about the calligra-devel mailing list