freetype-devel
[Top][All Lists]
Advanced

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

[Devel] redundant arguments to Bezier_Up and Bezier_Down in ftraster.c


From: Graham Asher
Subject: [Devel] redundant arguments to Bezier_Up and Bezier_Down in ftraster.c
Date: Thu, 11 Oct 2001 11:34:27 +0100

I am now working with the FreeType monochrome rasterizer code. I'd like to 
point out some small inefficiencies in the code.

1. The functions Bezier_Up and Bezier_Down take arguments giving *both* the 
degree of the curve (2 or 3) and a splitter function. One is implied by the 
other: degree 2 means use Split_Conic and degree 3 means use Split_Cubic.

2. The simple function Update should be merged into Sort, which is the only 
place it is called.

Graham Asher




reply via email to

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