Re: How to set background color for a pango layout being printed ?
- From: Behdad Esfahbod <behdad behdad org>
- To: Miroslav Rajcic <rajcic sokrates hr>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to set background color for a pango layout being printed ?
- Date: Wed, 17 Oct 2007 10:19:28 -0400
On Wed, 2007-10-17 at 08:40 +0200, Miroslav Rajcic wrote:
PangoAttribute *attr1 = pango_attr_background_new(bkgcolor.red,
bkgcolor.green, bkgcolor.blue);
pango_attr_list_insert (layout_attr, attr1);
attr1->start_index = 0;
attr1->end_index = -1;
Same for other attributes.
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]