- cairo_new_path(m_cairo);
- cairo_move_to(m_cairo,LogicalToDeviceX(x + rad),LogicalToDeviceY(y));
- cairo_curve_to(m_cairo,
- LogicalToDeviceX(x + rad),LogicalToDeviceY(y),
- LogicalToDeviceX(x),LogicalToDeviceY(y),
- LogicalToDeviceX(x),LogicalToDeviceY(y + rad));
- cairo_line_to(m_cairo,LogicalToDeviceX(x),LogicalToDeviceY(y + height - rad));
- cairo_curve_to(m_cairo,
- LogicalToDeviceX(x),LogicalToDeviceY(y + height - rad),
- LogicalToDeviceX(x),LogicalToDeviceY(y + height),
- LogicalToDeviceX(x + rad),LogicalToDeviceY(y + height));
- cairo_line_to(m_cairo,LogicalToDeviceX(x + width - rad),LogicalToDeviceY(y + height));
- cairo_curve_to(m_cairo,
- LogicalToDeviceX(x + width - rad),LogicalToDeviceY(y + height),
- LogicalToDeviceX(x + width),LogicalToDeviceY(y + height),
- LogicalToDeviceX(x + width),LogicalToDeviceY(y + height - rad));
- cairo_line_to(m_cairo,LogicalToDeviceX(x + width),LogicalToDeviceY(y + rad));
- cairo_curve_to(m_cairo,
- LogicalToDeviceX(x + width),LogicalToDeviceY(y + rad),
- LogicalToDeviceX(x + width),LogicalToDeviceY(y),
- LogicalToDeviceX(x + width - rad),LogicalToDeviceY(y));
- cairo_line_to(m_cairo,LogicalToDeviceX(x + rad),LogicalToDeviceY(y));
- cairo_close_path(m_cairo);
+ gs_cairo->cairo_new_path(m_cairo);
+ gs_cairo->cairo_move_to(m_cairo,XLOG2DEV(x + rad),YLOG2DEV(y));
+ gs_cairo->cairo_curve_to(m_cairo,
+ XLOG2DEV(x + rad),YLOG2DEV(y),
+ XLOG2DEV(x),YLOG2DEV(y),
+ XLOG2DEV(x),YLOG2DEV(y + rad));
+ gs_cairo->cairo_line_to(m_cairo,XLOG2DEV(x),YLOG2DEV(y + height - rad));
+ gs_cairo->cairo_curve_to(m_cairo,
+ XLOG2DEV(x),YLOG2DEV(y + height - rad),
+ XLOG2DEV(x),YLOG2DEV(y + height),
+ XLOG2DEV(x + rad),YLOG2DEV(y + height));
+ gs_cairo->cairo_line_to(m_cairo,XLOG2DEV(x + width - rad),YLOG2DEV(y + height));
+ gs_cairo->cairo_curve_to(m_cairo,
+ XLOG2DEV(x + width - rad),YLOG2DEV(y + height),
+ XLOG2DEV(x + width),YLOG2DEV(y + height),
+ XLOG2DEV(x + width),YLOG2DEV(y + height - rad));
+ gs_cairo->cairo_line_to(m_cairo,XLOG2DEV(x + width),YLOG2DEV(y + rad));
+ gs_cairo->cairo_curve_to(m_cairo,
+ XLOG2DEV(x + width),YLOG2DEV(y + rad),
+ XLOG2DEV(x + width),YLOG2DEV(y),
+ XLOG2DEV(x + width - rad),YLOG2DEV(y));
+ gs_cairo->cairo_line_to(m_cairo,XLOG2DEV(x + rad),YLOG2DEV(y));
+ gs_cairo->cairo_close_path(m_cairo);