I'm using FT_Outline_Embolden to create a feature like MS gdiplus's
compound array.

But there is a part of FT_Outline_Embolden code that I don't know.



(ftoutln.c)
/* non-strict linequalities avoid divide-by-zero when q = l = 0 */
If (FT_MulFix( xstrength, q ) > = FT_MulFix( l, d ) )
shift.x = FT_MulDiv( shift.x, xstrength, d );
Ese
shift.x = FT_MulDiv( shift.x, l, q );

FT_MulDiv (shift.x, xstrength, d ) is understandable.
I don't know what FT_MulDiv (shift.x, l, q ) means.

Can you explain it to me?

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to