[cairo] About modify cairo source code

Zhaotian Wang zhaotianzju at gmail.com
Sun Jul 20 18:40:16 PDT 2014

Hi guys,
I have just built cairo and run a small sample with cairo (just draw a
rectangle and fill it with black and output to a png file).
I just want to gain better unstanding of how cairo implements these drawing
verbs. So I modify the cairo_rectangle() and cairo_fill() function in
<cairosrc>/src/cairo.c(just add some printf to print some message) and then
I rebuilt cairo. However, when I recompile my sample code and run the
program, it does not give me the printf message which I just modified. I
kinda wonder why? Isn't the implementation of cairo_?() function defined in
cairo.c? Why doesn't my modification make any difference?

Thanks in advance.

*Zhaotian Wang*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20140721/2692cc5a/attachment.html>

More information about the cairo mailing list