freetype
[Top][All Lists]
Advanced

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

Re: [ft] Drawing unfilled shapes with FreeType2


From: Werner LEMBERG
Subject: Re: [ft] Drawing unfilled shapes with FreeType2
Date: Tue, 28 Oct 2014 11:10:38 +0100 (CET)

> How can I get FreeType2 to draw only the outline of my FT_Outline
> object with a fixed pixel stroke width?

Have a look at the function `Render_Stroke' in the `ftview' demo
program.  It uses the FreeType stroker API.

> When I use FT_Outline_Get_Bitmap() FreeType2 always fills the shape
> and I don't see any API that allows me to say "please do not fill
> the shape!" ... FT_Outline_Render() also doesn't seem to have an
> option to make FreeType2 draw unfilled shapes.

Please bear always in mind that FreeType is a *font* rendering
library, not a general-purpose drawing engine.


    Werner



reply via email to

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