Bug 586316 - Part 1: Use MITER_OR_BEVEL to adhere to cairo expected behavior. r=jrmuizel

This commit is contained in:
Bas Schouten 2010-08-16 09:15:01 +02:00
Родитель 8b47cecc9e
Коммит a0f71a230a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;