cairo_user_to_device_distance(cr, &line_width, &line_height);
line_width = line_width / 2.0 - ceil(line_width / 2.0);
line_height = line_height / 2.0 - ceil(line_height / 2.0);
cairo_user_to_device_distance(cr, &line_width, &line_height);
line_width = line_width / 2.0 - ceil(line_width / 2.0);
line_height = line_height / 2.0 - ceil(line_height / 2.0);
- *x = ceil(*x - 0.5) - line_width;
+ *x = floor(*x - 0.5) - line_width;
*y = ceil(*y + 0.5) + line_height;
cairo_device_to_user(cr, x, y);
}
*y = ceil(*y + 0.5) + line_height;
cairo_device_to_user(cr, x, y);
}