freetype-devel
[Top][All Lists]
Advanced

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

Re: FT_Add_Module() and related functions


From: Alexei Podtelezhnikov
Subject: Re: FT_Add_Module() and related functions
Date: Fri, 12 Jun 2020 09:23:39 -0400

On Fri, Jun 12, 2020 at 7:22 AM Vincent Torri <vincent.torri@gmail.com> wrote:
>
> On Fri, Jun 12, 2020 at 12:47 PM Alexei Podtelezhnikov
> <apodtele@gmail.com> wrote:
> >
> > On Fri, Jun 12, 2020 at 5:05 AM Moazin Khatri <moazinkhatri@gmail.com> 
> > wrote:
> > >>
>
> > Almost certainly, they use FT_Outline_Render with the callback
> > params.gray_spans doing all kinds of crazy color gradients.
>
> https://git.enlightenment.org/core/efl.git/tree/src/lib/ector/software/ector_software_rasterizer.c

The first three functions in this file are exactly the type of
FT_SpanFunc then you call:
sw_ft_grays_raster.raster_render(thread->raster, &params);
Do you  by any chance use FT_Get_Module to set up sw_ft_grays_raster?



reply via email to

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