Mercurial > MadButterfly
view dox/install.h @ 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 | 85b8bb36fe71 |
children |
line wrap: on
line source
/*! \page install How to Build and Install MadButterfly? * * Prerequisite * - autotools * - autoconf * - automake * - libtools * - install Cairo * - install Pango * * Get source * - hg clone http://hg.assembla.com/MadButterfly MadButterfly * * Build and Install * - cd MadButtfly * - ./autogen.sh * - ./configure * - make * - make install * * Examples * - cd examples/calculator * - make * - ./calc * * - cd examples/svg2code_ex * - make * - ./ex1 * * - cd examples/tank * - make * - ./tank * * You can make examples with following command, * \code * make PREFIX=/path/to/some/where/ * \endcode * if MadButterfly was not installed in default path, with different prefix. * * You can install MadButterfly somewhere, other than /usr/local/. * For example * \code * ./configure --prefix=${PWD}/dest * \endcode */