freetype
[Top][All Lists]
Advanced

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

RE: [Freetype] Direct Rendering


From: Giuliano Pochini
Subject: RE: [Freetype] Direct Rendering
Date: Tue, 01 Jul 2003 16:49:34 +0200 (CEST)

On 01-Jul-2003 Zulfiqar Bashir wrote:
> Hi,
>   Free Type FAQs mention that direct rendering can be
> used to render colored text. Can anybody explain how
> to write custom span function to do that?

FT_Raster_Params structure has a hook where you can attach
your drawing function.

void RenderSpan(int y, int count, FT_Span* spans, void *user);

RasterParm.gray_spans=&RenderSpan;


Bye.




reply via email to

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