[cairo] About modify cairo source code
zhaotianzju at gmail.com
Sun Jul 20 18:40:16 PDT 2014
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo