freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] kushal-work 717165e: Using the Add-effect functions (to be i


From: Kushal K S V S
Subject: [freetype2] kushal-work 717165e: Using the Add-effect functions (to be implemented)
Date: Fri, 14 Jul 2017 03:50:37 -0400 (EDT)

branch: kushal-work
commit 717165eb443d22a803d149bd776880e363ce4c7d
Author: Kushal K S V S <address@hidden>
Commit: Kushal K S V S <address@hidden>

    Using the Add-effect functions (to be implemented)
---
 tests/make_png/make_sprite.c | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/tests/make_png/make_sprite.c b/tests/make_png/make_sprite.c
index 2c68e8e..5085e25 100644
--- a/tests/make_png/make_sprite.c
+++ b/tests/make_png/make_sprite.c
@@ -55,6 +55,8 @@ int main(int argc, char const *argv[])
   IMAGE test_png;
   IMAGE after_effect_1;
   IMAGE after_effect_2;
+  IMAGE combi_effect_1;
+  IMAGE combi_effect_2;
   IMAGE output;
 
 /*******************************************************************/
@@ -364,24 +366,30 @@ int main(int argc, char const *argv[])
     {
       Make_PNG( &base_target, &base_png, i, render_mode );
       Make_PNG( &test_target, &test_png, i, render_mode );
-// Will be added
+// Will be used
       // Add_effect( &base_png, &test_png, &after_effect_1, 1);
       // Add_effect( &base_png, &test_png, &after_effect_2, 2);
 
-      Stitch( &base_png, &test_png, &output);
+      Stitch( &base_png, &test_png, &combi_effect_1);
+      // Stitch( &after_effect_1, &after_effect_2, &combi_effect_2);
 
-      Generate_PNG ( &output, output_file_name, render_mode );
+      // Stitch( &combi_effect_1, &combi_effect_2, &output);
+
+      Generate_PNG ( &combi_effect_1, output_file_name, render_mode );
     }else{
 
       Make_PNG( base_bitmap, &base_png, i, render_mode );
       Make_PNG( test_bitmap, &test_png, i, render_mode );
-// Will be added
+// Will be used
       // Add_effect( &base_png, &test_png, &after_effect_1, 1);
       // Add_effect( &base_png, &test_png, &after_effect_2, 2);
 
-      Stitch( &base_png, &test_png, &output);
+      Stitch( &base_png, &test_png, &combi_effect_1);
+      // Stitch( &after_effect_1, &after_effect_2, &combi_effect_2);
+
+      // Stitch( &combi_effect_1, &combi_effect_2, &output);
 
-      Generate_PNG ( &output, output_file_name, render_mode );
+      Generate_PNG ( &combi_effect_1, output_file_name, render_mode );
     } 
   }
 



reply via email to

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