* src/sdf/ftbsdf.c (*): Rename `SDF_TRaster' => `BSDF_TRaster'.
`SDF_TRaster' is for the `sdf' renderer.
This commit is contained in:
parent
ea5114acfd
commit
59d340878a
|
@ -1,3 +1,9 @@
|
|||
2020-07-25 Anuj Verma <anujv@iitbhilai.ac.in>
|
||||
|
||||
* src/sdf/ftbsdf.c (*): Rename `SDF_TRaster' => `BSDF_TRaster'.
|
||||
|
||||
`SDF_TRaster' is for the `sdf' renderer.
|
||||
|
||||
2020-07-25 Anuj Verma <anujv@iitbhilai.ac.in>
|
||||
|
||||
* src/sdf/ftbsdf.c: Typo. `FT_16D16' is 16.16 representation.
|
||||
|
|
|
@ -244,7 +244,7 @@
|
|||
|
||||
|
||||
*araster = 0;
|
||||
if ( !FT_ALLOC( raster, sizeof( SDF_TRaster ) ) )
|
||||
if ( !FT_ALLOC( raster, sizeof( BSDF_TRaster ) ) )
|
||||
{
|
||||
raster->memory = memory;
|
||||
*araster = (FT_Raster)raster;
|
||||
|
@ -285,7 +285,7 @@
|
|||
FT_Bitmap* source = NULL;
|
||||
FT_Bitmap* target = NULL;
|
||||
FT_Memory memory = NULL;
|
||||
BSDF_TRaster* bsdf_raster = (SDF_TRaster*)raster;
|
||||
BSDF_TRaster* bsdf_raster = (BSDF_TRaster*)raster;
|
||||
BSDF_Worker worker;
|
||||
|
||||
const SDF_Raster_Params* sdf_params = (const SDF_Raster_Params*)params;
|
||||
|
@ -363,7 +363,7 @@
|
|||
static void
|
||||
bsdf_raster_done( FT_Raster raster )
|
||||
{
|
||||
FT_Memory memory = (FT_Memory)((SDF_TRaster*)raster)->memory;
|
||||
FT_Memory memory = (FT_Memory)((BSDF_TRaster*)raster)->memory;
|
||||
|
||||
|
||||
FT_FREE( raster );
|
||||
|
|
Loading…
Reference in New Issue