Home
last modified time | relevance | path

Searched refs:paint_ctx (Results 1 – 3 of 3) sorted by relevance

/dports/x11/gromit-mpx/gromit-mpx-1.4.2/src/
H A Dgromit-mpx.c57 context->paint_ctx = cairo_create (data->backbuffer); in paint_context_new()
59 gdk_cairo_set_source_rgba(context->paint_ctx, paint_color); in paint_context_new()
62 cairo_set_line_width(context->paint_ctx, width); in paint_context_new()
63 cairo_set_line_cap(context->paint_ctx, CAIRO_LINE_CAP_ROUND); in paint_context_new()
64 cairo_set_line_join(context->paint_ctx, CAIRO_LINE_JOIN_ROUND); in paint_context_new()
103 cairo_destroy(context->paint_ctx); in paint_context_free()
585 if (devdata->cur_context->paint_ctx) in draw_line()
593 cairo_stroke(devdata->cur_context->paint_ctx); in draw_line()
640 if (devdata->cur_context->paint_ctx) in draw_arrow()
650 cairo_fill(devdata->cur_context->paint_ctx); in draw_arrow()
[all …]
H A Dgromit-mpx.h75 cairo_t *paint_ctx; member
H A Dcallbacks.c175 …cairo_set_antialias(context->paint_ctx, data->composited ? CAIRO_ANTIALIAS_DEFAULT : CAIRO_ANTIALI… in on_composited_changed()