зеркало из https://github.com/mozilla/gecko-dev.git
Bug 586316 - Part 1: Use MITER_OR_BEVEL to adhere to cairo expected behavior. r=jrmuizel
This commit is contained in:
Родитель
8b47cecc9e
Коммит
a0f71a230a
|
@ -1064,7 +1064,7 @@ _cairo_d2d_create_strokestyle_for_stroke_style(const cairo_stroke_style_t *style
|
||||||
D2D1_LINE_JOIN line_join = D2D1_LINE_JOIN_MITER;
|
D2D1_LINE_JOIN line_join = D2D1_LINE_JOIN_MITER;
|
||||||
switch (style->line_join) {
|
switch (style->line_join) {
|
||||||
case CAIRO_LINE_JOIN_MITER:
|
case CAIRO_LINE_JOIN_MITER:
|
||||||
line_join = D2D1_LINE_JOIN_MITER;
|
line_join = D2D1_LINE_JOIN_MITER_OR_BEVEL;
|
||||||
break;
|
break;
|
||||||
case CAIRO_LINE_JOIN_ROUND:
|
case CAIRO_LINE_JOIN_ROUND:
|
||||||
line_join = D2D1_LINE_JOIN_ROUND;
|
line_join = D2D1_LINE_JOIN_ROUND;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче