* src/sdf/ftbsdf.c (*): Rename `SDF_TRaster' => `BSDF_TRaster'.

`SDF_TRaster' is for the `sdf' renderer.
This commit is contained in:
Anuj Verma 2020-07-25 12:45:32 +05:30 committed by anujverma
parent ea5114acfd
commit 59d340878a
2 changed files with 9 additions and 3 deletions

View File

@ -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.

View File

@ -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 );