[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FT_Outline_Get_BBox
From: |
Werner LEMBERG |
Subject: |
Re: FT_Outline_Get_BBox |
Date: |
Fri, 03 Nov 2000 01:07:22 +0100 (CET) |
> I have couple of questions related to FT_Outline_Get_BBox.c
> 1)
> if ( y1 == y4 ) {
> if ( y1 == y2 && y1 == y3 ) { /* Flat */
> y4 = y1; // 236
> goto Test;
> }}
>
> Is the assignment on line 236 some kind of coding style or is it
> redundant?
Redundant :-) I've fixed it.
> 2)
> BBox_Cubic_To() and BBox_Conic_To() callback never update the
> user->last point (as BBox_Move_To() does). Does this mean that two
> consecutive Beziers may have a wrong bbox ?
It's a bug also.
Thanks for the report.
Werner