Context
Object Hierarchy:
Description:
[ CCode ( cname = "cairo_t" , cprefix = "cairo_" , ref_function = "cairo_reference" , type_id = "cairo_gobject_context_get_type ()" , unref_function = "cairo_destroy" ) ]
[ Compact ]
public class Context
[ Compact ]
public class Context
Namespace: Cairo
Package: cairo
Content:
Creation methods:
Methods:
- public void append_path (Path path)
- public void arc (double xc, double yc, double radius, double angle1, double angle2)
- public void arc_negative (double xc, double yc, double radius, double angle1, double angle2)
- public void clip ()
- public void clip_extents (out double x1, out double y1, out double x2, out double y2)
- public void clip_preserve ()
- public void close_path ()
- public RectangleList copy_clip_rectangle_list ()
- public void copy_page ()
- public Path copy_path ()
- public Path copy_path_flat ()
- public void curve_to (double x1, double y1, double x2, double y2, double x3, double y3)
- public void device_to_user (ref double x, ref double y)
- public void device_to_user_distance (ref double dx, ref double dy)
- public void fill ()
- public void fill_extents (out double x1, out double y1, out double x2, out double y2)
- public void fill_preserve ()
- public void font_extents (out FontExtents extents)
- public Antialias get_antialias ()
- public void get_current_point (out double x, out double y)
- public void get_dash (double[]? dashes, double[]? offset)
- public int get_dash_count ()
- public FillRule get_fill_rule ()
- public unowned FontFace get_font_face ()
- public void get_font_matrix (out Matrix matrix)
- public void get_font_options (out FontOptions options)
- public unowned Surface get_group_target ()
- public bool get_hairline ()
- public LineCap get_line_cap ()
- public LineJoin get_line_join ()
- public double get_line_width ()
- public Matrix get_matrix ()
- public double get_miter_limit ()
- public Operator get_operator ()
- public uint get_reference_count ()
- public unowned ScaledFont get_scaled_font ()
- public unowned Pattern get_source ()
- public unowned Surface get_target ()
- public double get_tolerance ()
- public unowned G get_user_data<G> (UserDataKey? key)
- public void glyph_extents (Glyph[] glyphs, out TextExtents extents)
- public void glyph_path (Glyph[] glyphs)
- public bool has_current_point ()
- public void identity_matrix ()
- public bool in_clip (double x, double y)
- public bool in_fill (double x, double y)
- public bool in_stroke (double x, double y)
- public void line_to (double x, double y)
- public void mask (Pattern pattern)
- public void mask_surface (Surface surface, double surface_x, double surface_y)
- public void move_to (double x, double y)
- public void new_path ()
- public void new_sub_path ()
- public void paint ()
- public void paint_with_alpha (double alpha)
- public void path_extents (out double x1, out double y1, out double x2, out double y2)
- public Pattern pop_group ()
- public void pop_group_to_source ()
- public void push_group ()
- public void push_group_with_content (Content content)
- public void rectangle (double x, double y, double width, double height)
- public void rel_curve_to (double dx1, double dy1, double dx2, double dy2, double dx3, double dy3)
- public void rel_line_to (double dx, double dy)
- public void rel_move_to (double dx, double dy)
- public void reset_clip ()
- public void restore ()
- public void rotate (double angle)
- public void save ()
- public void scale (double sx, double sy)
- public void select_font_face (string family, FontSlant slant, FontWeight weight)
- public void set_antialias (Antialias antialias)
- public void set_dash (double[]? dashes, double offset)
- public void set_fill_rule (FillRule fill_rule)
- public void set_font_face (FontFace font_face)
- public void set_font_matrix (Matrix matrix)
- public void set_font_options (FontOptions options)
- public void set_font_size (double size)
- public void set_hairline (bool set_hairline)
- public void set_line_cap (LineCap line_cap)
- public void set_line_join (LineJoin line_join)
- public void set_line_width (double width)
- public void set_matrix (Matrix matrix)
- public void set_miter_limit (double limit)
- public void set_operator (Operator op)
- public void set_scaled_font (ScaledFont font)
- public void set_source (Pattern source)
- public void set_source_rgb (double red, double green, double blue)
- public void set_source_rgba (double red, double green, double blue, double alpha)
- public void set_source_surface (Surface surface, double x, double y)
- public void set_tolerance (double tolerance)
- public Status set_user_data<G> (UserDataKey? key, owned G data)
- public void show_glyphs (Glyph[] glyphs)
- public void show_page ()
- public void show_text (string utf8)
- public Status show_text_glyphs (string utf8, int utf8_len, Glyph[] glyphs, TextCluster[] clusters, TextClusterFlags cluster_flags)
- public Status status ()
- public void stroke ()
- public void stroke_extents (out double x1, out double y1, out double x2, out double y2)
- public void stroke_preserve ()
- public void tag_begin (string tag_name, string attributes)
- public void tag_end (string tag_name)
- public void text_extents (string utf8, out TextExtents extents)
- public void text_path (string utf8)
- public void transform (Matrix matrix)
- public void translate (double tx, double ty)
- public void user_to_device (ref double x, ref double y)
- public void user_to_device_distance (ref double dx, ref double dy)