On Tue, 18 Apr 2000, Fabrice Lorrain wrote:

> I had the same reaction, but the flip doesn't work with those shapes ...
> The circle part of the shape disappear when you flip it... Any idea ???
> (I tried replacing the circle with an ellipse but nothing change).

That's a tiny bug in the flip code, which is fixed in post-0.84 (not all
renderer like ellipses with negative dimensions. Oh, yes, once the shape 
has been read, a circle is just an ellipse).

> Is it better to use a bunch of line objects or to use a polyline/path
> objects when you draw small polygons ?? More precisly, which solution is
> the less resource consumming ??

I don't know. Looking at the code in custom_object.c, I'd guess that path
are a bit longer at load-time and a tiny bit quicker at render time. OTOH,
the Bezier code (used by all paths) is a bit overkill if you just want to
draw a polyline.

(looking at that code, it looks like ddisplay_transform_* might deserve
some inlining ; could be overkill too. In stock for a sleepless evening :-) ).

        -- Cyrille

------------------------------------------------------------------------------
Grumpf.


Reply via email to