Exemple #1
0
// GetLineWidth is a wrapper cairo_get_line_width().
func (v *Context) GetLineWidth() float64 {
	c := C.cairo_get_line_width(v.native())
	return float64(c)
}
Exemple #2
0
//LineWidth reports the line width as set by SetLineWidth and does not
//take any intervening changes to the coordinate transform matrix into account.
//
//Originally cairo_get_line_width
func (c *Context) LineWidth() float64 {
	return float64(C.cairo_get_line_width(c.c))
}