annotate examples/drag/Makefile.am @ 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 a90fd749af82
children 757bb247a072
rev   line source
199
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
1 include $(top_srcdir)/config.mk
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
2
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
3 noinst_PROGRAMS = ex1
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
4 EXTRA_DIST = menu.svg
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
5
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
6 ex1_SOURCES = main.c
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
7 nodist_ex1_SOURCES = menu.c menu.h
278
a90fd749af82 Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents: 199
diff changeset
8 ex1_CPPFLAGS = @pangocairo_CFLAGS@ -I$(top_srcdir)
a90fd749af82 Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents: 199
diff changeset
9 ex1_LDFLAGS = @pangocairo_LIBS@
199
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
10 ex1_LDADD = $(top_builddir)/src/libmbfly.la
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
11 BUILT_SOURCES = menu.c menu.h menu.mb
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
12 CLEANFILES = menu.c menu.h menu.mb
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
13
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
14 menu.mb: $(srcdir)/menu.svg
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
15 $(top_srcdir)/tools/svg2code.py $? $@
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
16
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
17 menu.h: menu.mb
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
18 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
19
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
20 menu.c: menu.mb
55533146efdf Add drag example
wycc@wycc-desktop
parents:
diff changeset
21 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@