freetype-devel
[Top][All Lists]
Advanced

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

Re: Outline


From: Graham . Asher_at_symbian . com
Subject: Re: Outline
Date: Tue, 23 May 2000 13:55:49 +0100

Stefan,

one simple way to draw a bordered character given only the bitmap is this,
which I have used successfully. For a single-pixel border, draw the
character nine times; eight times in the border colour, shifted one pixel
left, up, down, right, or both from the origin (i.e., at offsets (-1,-1),
(0,-1), (1,-1), (-1,0), (1,0), (-1,1), (0,1), (1,1)), then one final time
in the fill colour, at the actual origin.

Best regards

Graham Asher






reply via email to

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