freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Split_Cubic and gray_split_cubic


From: Werner LEMBERG
Subject: [Devel] Split_Cubic and gray_split_cubic
Date: Wed, 11 Jun 2003 00:02:21 +0200 (CEST)

Split_Cubic (from ftraster.c) and gray_split_cubic (from ftgrays.c)
are not identical -- I was thinking about moving them to another file
to share the code (as suggested by Graham two years ago).  Example:

  ftraster.c:
    base[2].x = a = ( a + c + 1 ) >> 1;
    base[4].x = b = ( b + c + 1 ) >> 1;
    base[3].x = ( a + b + 1 ) >> 1;

  ftgrays.c:
    base[2].x = a = ( a + c ) / 2;
    base[4].x = b = ( b + c ) / 2;
    base[3].x = ( a + b ) / 2;

I can't find a hint in the ChangeLog file why we have this difference
-- or is it an oversight that ftraster hasn't been updated
accordingly?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]