C++ example of colored box around lines of text?
I'm attempting to write a C++ function that will generate the following on a PDF page:
A top bar that that has a solid line of color around it and inside a gradient that shades from white to this color top to bottom inside this bar.
Place within the top bar an icon, some text and then some optional icons on the right hand side.
Under the top bar have one or more lines of text with the color bars on the left and right hand side to match the width of the top bar.
Between lines of text draw a black line.
Below the last line of text have a color line to act as the bottom of the box.
Does anybody know of sample code that does one or more bits of this?
