Image
Object Hierarchy:
Description:
[ CCode ( cname = "pixman_image_t" , cprefix = "pixman_image_" , has_type_id = false , ref_function = "pixman_image_ref" , unref_function = "pixman_image_unref" ) ]
public class Image
public class Image
Namespace: Pixman
Package: pixman-1
Content:
Properties:
- public Region16 clip_region { set; }
- public Region32 clip_region32 { set; }
- public bool component_alpha { set; }
- public int depth { get; }
- public bool has_client_clip { set; }
- public int height { get; }
- public Indexed indexed { set; }
- public Repeat repeat { set; }
- public bool source_clipping { set; }
- public int stride { get; }
- public Transform transform { set; }
- public int width { get; }
Static methods:
- public static void composite (Operation op, Image src, Image? mask, Image dest, int16 src_x, int16 src_y, int16 mask_x, int16 mask_y, int16 dest_x, int16 dest_y, uint16 width, uint16 height)
- public static bool composite_trapezoids (Operation op, Image src, Image dst, Format mask_format, int x_src, int y_src, int x_dst, int y_dst, Trapezoid[] traps)
- public static bool composite_triangles (Operation op, Image src, Image dst, Format mask_format, int x_src, int y_src, int x_dst, int y_dst, Triangle[] tries)
- public static bool compute_composite_region (Region16 region, Image src_image, Image? mask_image, Image dst_image, int src_x, int src_y, int mask_x, int mask_y, int dest_x, int dest_y, int width, int height)
Creation methods:
- public Image.bits (Format format, int width, int height, uint8[]? bits, int rowstride_bytes)
- public Image.conical_gradient (PointFixed center, Fixed angle, GradientStop[] stops)
- public Image.linear_gradient (PointFixed p1, PointFixed p2, GradientStop[] stops)
- public Image.radial_gradient (PointFixed inner, PointFixed outer, Fixed inner_radius, Fixed outer_radius, GradientStop[] stops)
- public Image.solid_fill (Color color)
Methods:
- public void add_trapezoids (int16 x_off, int y_off, Trapezoid[] traps)
- public void add_traps (int16 x_off, int16 y_off, Trap[] traps)
- public void add_triangles (int32 x_off, int32 y_off, Triangle[] tris)
- public bool fill_rectangles (Operation op, Color color, Rectangle16[] rects)
- public unowned uint32[] get_data ()
- public int get_depth ()
- public int get_height ()
- public int get_stride ()
- public int get_width ()
- public void rasterize_edges (Edge l, Edge r, Fixed t, Fixed b)
- public void rasterize_trapezoid (Trapezoid trap, int x_off, int y_off)
- public bool set_accessors (ReadMemoryFunc read_func, WriteMemoryFunc write_func)
- public void set_alpha_map (Image alpha_map, int16 x, int16 y)
- public bool set_clip_region (Region16 clip_region)
- public bool set_clip_region32 (Region32 clip_region32)
- public void set_component_alpha (bool component_alpha)
- public bool set_filter (Filter filter, Fixed[]? filter_params)
- public void set_has_client_clip (bool client_clip)
- public bool set_indexed (Indexed indexed)
- public void set_repeat (Repeat repeat)
- public void set_source_clipping (bool source_clipping)
- public bool set_transform (Transform transform)