How to set and modify attr for text to drawout with pango?
- From: "chen.shengqi" <chen shengqi connet com tw>
- To: <gtk-app-devel-list gnome org>
- Subject: How to set and modify attr for text to drawout with pango?
- Date: Fri, 11 Oct 2002 15:40:16 +0800
Dear sirs:
I use a pixmap to draw something on a drawingarea. when draw text, I want to set font/size/color/bkcolor
for the text. I want to use PangoAttrList, should I create a PangoAttrList for each string? after modify a
PangoAttribute(example: backgroundcolor ) of the PangoAttrList, should I use pango_layout_set_attributes()
again ? and can the PangoAttribute(example: backgroundcolor ) be free before/after I use the PangoAttrList?
thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]