> I expect that the double to integer conversions are expensive I don't think they're very expensive, at least on x86. If they were, I'd first investigate compiling pixman and/or cairo with -ffast-math. Paolo