Re: Cairo ->fill question



On Tue, 2008-03-04 at 19:35 +1100, Daniel Kasak wrote:

For each point, I trace out the ceiling of the 1st series, ( ie
->move_to, ->line_to, ->stroke ), then I move up and trace out the
ceilng of the 2nd series ( another ->move_to, ->line_to, ->stroke ).
When I close up the thing and tell it to fill, nothing happens. The
border is getting drawn correctly, and looks like it forms an enclosed
shape. Is ->fill supposed to work if I draw the line non-continuously?

If I'm not mistaken, stroke() will clear the current path.  So when you
do fill(), there's no closed path to be filled.

-- 
Bye,
-Torsten




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]