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)
downloadefl-ca8df7067c06034a0e950ef8385785fc5e87dd96.tar.gz
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 2b995c9e81..e9efb3fe4f 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)
SW_FT_Stroker_New(&thread->stroker);
SW_FT_Stroker_Set(thread->stroker, 1 << 6,
- SW_FT_STROKER_LINECAP_BUTT, SW_FT_STROKER_LINEJOIN_MITER, 0x4<<16);
+ SW_FT_STROKER_LINECAP_BUTT, SW_FT_STROKER_LINEJOIN_MITER_FIXED, 0x4<<16);
}
void ector_software_rasterizer_init(Software_Rasterizer *rasterizer)
@@ -728,7 +728,7 @@ void ector_software_rasterizer_stroke_set(Ector_Software_Thread *thread,
join = SW_FT_STROKER_LINEJOIN_ROUND;
break;
default:
- join = SW_FT_STROKER_LINEJOIN_MITER;
+ join = SW_FT_STROKER_LINEJOIN_MITER_FIXED;
break;
}
SW_FT_Stroker_Set(thread->stroker, stroke_width, cap, join, miter_limit);