summaryrefslogtreecommitdiff
path: root/src/lib/ector
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-08-22 12:38:57 +0900
committerHermet Park <hermetpark@gmail.com>2019-08-22 12:38:57 +0900
commitca8df7067c06034a0e950ef8385785fc5e87dd96 (patch)
tree64f038f9aab6be44cda7eeb42efb9da61bde375f /src/lib/ector
parent711fffe92318d222d97e17f5efe6157695237999 (diff)
ector_software_rasterizer: Change default value of stroke linejoin
Summary: SW_FT_STROKER_LINEJOIN_MITER is same SW_FT_STROKER_LINEJOIN_MITER_VARIABLE We pass miterlimit values in fixed-point type. Therefore, change the default value to SW_FT_STROKER_LINEJOIN_MITER_FIXED. Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9656
Diffstat (limited to 'src/lib/ector')
-rw-r--r--src/lib/ector/software/ector_software_rasterizer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ector/software/ector_software_rasterizer.c b/src/lib/ector/software/ector_software_rasterizer.c
index 2b995c9..e9efb3f 100644
--- a/src/lib/ector/software/ector_software_rasterizer.c
+++ b/src/lib/ector/software/ector_software_rasterizer.c
@@ -663,7 +663,7 @@ void ector_software_thread_init(Ector_Software_Thread *thread)
663 663
664 SW_FT_Stroker_New(&thread->stroker); 664 SW_FT_Stroker_New(&thread->stroker);
665 SW_FT_Stroker_Set(thread->stroker, 1 << 6, 665 SW_FT_Stroker_Set(thread->stroker, 1 << 6,
666 SW_FT_STROKER_LINECAP_BUTT, SW_FT_STROKER_LINEJOIN_MITER, 0x4<<16); 666 SW_FT_STROKER_LINECAP_BUTT, SW_FT_STROKER_LINEJOIN_MITER_FIXED, 0x4<<16);
667} 667}
668 668
669void ector_software_rasterizer_init(Software_Rasterizer *rasterizer) 669void ector_software_rasterizer_init(Software_Rasterizer *rasterizer)
@@ -728,7 +728,7 @@ void ector_software_rasterizer_stroke_set(Ector_Software_Thread *thread,
728 join = SW_FT_STROKER_LINEJOIN_ROUND; 728 join = SW_FT_STROKER_LINEJOIN_ROUND;
729 break; 729 break;
730 default: 730 default:
731 join = SW_FT_STROKER_LINEJOIN_MITER; 731 join = SW_FT_STROKER_LINEJOIN_MITER_FIXED;
732 break; 732 break;
733 } 733 }
734 SW_FT_Stroker_Set(thread->stroker, stroke_width, cap, join, miter_limit); 734 SW_FT_Stroker_Set(thread->stroker, stroke_width, cap, join, miter_limit);