Mercurial > MadButterfly
annotate examples/tank/README @ 330:b0571f10c1b8
Use pango_cairo_layout_path() instead of pango_cairo_show_layout().
- pango_cairo_show_layout() will stroke and fill text.
- We want shape itself add pathes to cairo context, but not stroke and fill.
- redraw manager will apply paints (source surface) on cairo context before
stroke and fill to get right color.
- Using pango_cairo_show_layout() we can not apply stroke and fill color
seperately. So, pango_cairo_layout_path() is used instead of.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 06 Mar 2009 21:04:52 +0800 |
parents | 69e32729cd06 |
children |
rev | line source |
---|---|
166
69e32729cd06
* Add README for game operations.
"Mat <MatLinuxer2@gmail.com>"
parents:
diff
changeset
|
1 <LEFT> Turn to left. |
69e32729cd06
* Add README for game operations.
"Mat <MatLinuxer2@gmail.com>"
parents:
diff
changeset
|
2 <RIGHT> Turn to right. |
69e32729cd06
* Add README for game operations.
"Mat <MatLinuxer2@gmail.com>"
parents:
diff
changeset
|
3 <UP> Turn to up. |
69e32729cd06
* Add README for game operations.
"Mat <MatLinuxer2@gmail.com>"
parents:
diff
changeset
|
4 <DOWN> Turn to down. |
69e32729cd06
* Add README for game operations.
"Mat <MatLinuxer2@gmail.com>"
parents:
diff
changeset
|
5 <SPACE> To Fire. |