[cairo] Cairo and ISO C++

Emmanuel PACAUD emmanuel.pacaud at lapp.in2p3.fr
Wed Jan 15 14:12:22 PST 2014


Le mercredi 15 janvier 2014 à 11:40 -0800, Bill Spitzak a écrit :
> I used the zero linewidth because every 
> other graphics library I have ever seen used zero for this, and because 
> most uses would like the same line no matter what the CTM is (it is 
> often used to draw guidelines), and because I did not want to add 
> another call to the Cairo API.

IMO, it's way better to have a well named function than a magic value.

	Emmanuel.


More information about the cairo mailing list