Lines Matching refs:ct
44 CairoGroup::CairoGroup(cairo_t *_ct) : ct(_ct), pushed(false) {}
47 cairo_pattern_t *p = cairo_pop_group(ct);
52 cairo_push_group(ct);
56 cairo_push_group_with_content(ct, content);
61 cairo_pattern_t *ret = cairo_pop_group(ct);
70 cairo_pattern_t *ret = cairo_pop_group(ct);
80 cairo_pop_group_to_source(ct);
117 cairo_t *ct = cairo_create(target->cobj());
118 Cairo::RefPtr<CairoContext> ret(new CairoContext(ct, true));
624 feed_path_to_cairo (cairo_t *ct, Geom::Path const &path)
629 cairo_move_to(ct, path.initialPoint()[0], path.initialPoint()[1] );
632 feed_curve_to_cairo(ct, *cit, Geom::identity(), Geom::Rect(), false); // optimize_stroke is false, so the view rect is not used
636 cairo_close_path(ct);
642 feed_path_to_cairo (cairo_t *ct, Geom::Path const &path, Geom::Affine trans, Geom::OptRect area, bool optimize_stroke, double stroke_width)
658 cairo_move_to(ct, initial[0], initial[1] );
661 feed_curve_to_cairo(ct, *cit, transshift, view, optimize_stroke);
666 cairo_close_path(ct);
668 cairo_line_to(ct, initial[0], initial[1]);
669 /* We cannot use cairo_close_path(ct) here because some parts of the path may have been
688 * One must have done cairo_new_path(ct); before calling this function. */
690 feed_pathvector_to_cairo (cairo_t *ct, Geom::PathVector const &pathv, Geom::Affine trans, Geom::OptRect area, bool optimize_stroke, double stroke_width)
698 feed_path_to_cairo(ct, *it, trans, area, optimize_stroke, stroke_width);
703 * One must have done cairo_new_path(ct); before calling this function. */
705 feed_pathvector_to_cairo (cairo_t *ct, Geom::PathVector const &pathv)
711 feed_path_to_cairo(ct, *it);
753 ink_cairo_set_source_rgba32(cairo_t *ct, guint32 rgba)
755 cairo_set_source_rgba(ct, SP_RGBA32_R_F(rgba), SP_RGBA32_G_F(rgba), SP_RGBA32_B_F(rgba), SP_RGBA32_A_F(rgba));
759 ink_cairo_set_source_color(cairo_t *ct, SPColor const &c, double opacity)
761 cairo_set_source_rgba(ct, c.v.c[0], c.v.c[1], c.v.c[2], opacity);
785 ink_cairo_transform(cairo_t *ct, Geom::Affine const &m)
789 cairo_transform(ct, &cm);
819 cairo_t *ct = cairo_create(ns);
820 cairo_set_source_surface(ct, s, 0, 0);
821 cairo_set_operator(ct, CAIRO_OPERATOR_SOURCE);
822 cairo_paint(ct);
823 cairo_destroy(ct);
860 cairo_t *ct = cairo_create(alpha);
861 cairo_set_source_surface(ct, s, 0, 0);
862 cairo_set_operator(ct, CAIRO_OPERATOR_SOURCE);
863 cairo_paint(ct);
864 cairo_destroy(ct);
903 cairo_t *ct = cairo_create(dest);
904 cairo_set_source_surface(ct, src, 0, 0);
905 cairo_set_operator(ct, CAIRO_OPERATOR_SOURCE);
906 cairo_paint(ct);
907 cairo_destroy(ct);
1121 cairo_t *ct = cairo_create(s);
1122 cairo_set_operator(ct, CAIRO_OPERATOR_SOURCE);
1123 cairo_set_source_rgb(ct, 0.77, 0.77, 0.77);
1124 cairo_paint(ct);
1125 cairo_set_source_rgb(ct, 0.69, 0.69, 0.69);
1126 cairo_rectangle(ct, 0, 0, w, h);
1127 cairo_rectangle(ct, w, h, w, h);
1128 cairo_fill(ct);
1129 cairo_destroy(ct);