[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] anuj-distance-field 220e49f 74/95: * src/sdf/ftbsdf.c (*): R
From: |
Anuj Verma |
Subject: |
[freetype2] anuj-distance-field 220e49f 74/95: * src/sdf/ftbsdf.c (*): Rename `SDF_TRaster' => `BSDF_TRaster'. |
Date: |
Sun, 2 Aug 2020 01:10:39 -0400 (EDT) |
branch: anuj-distance-field
commit 220e49f30475861c511530eb22507282740df5af
Author: Anuj Verma <anujv@iitbhilai.ac.in>
Commit: Anuj Verma <anujv@iitbhilai.ac.in>
* src/sdf/ftbsdf.c (*): Rename `SDF_TRaster' => `BSDF_TRaster'.
`SDF_TRaster' is for the `sdf' renderer.
---
[GSoC]ChangeLog | 6 ++++++
src/sdf/ftbsdf.c | 6 +++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/[GSoC]ChangeLog b/[GSoC]ChangeLog
index 283ecf5..ba15dc4 100644
--- a/[GSoC]ChangeLog
+++ b/[GSoC]ChangeLog
@@ -1,5 +1,11 @@
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.
2020-07-25 Anuj Verma <anujv@iitbhilai.ac.in>
diff --git a/src/sdf/ftbsdf.c b/src/sdf/ftbsdf.c
index ca9b5a7..6514cf7 100644
--- a/src/sdf/ftbsdf.c
+++ b/src/sdf/ftbsdf.c
@@ -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 );
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] anuj-distance-field 220e49f 74/95: * src/sdf/ftbsdf.c (*): Rename `SDF_TRaster' => `BSDF_TRaster'.,
Anuj Verma <=