LibCairo

io.github.edadma.libcairo.extern.LibCairo
object LibCairo

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LibCairo.type

Members list

Type members

Types

type cairo_antialias_t = CInt
type cairo_content_t = CInt
type cairo_fill_rule_t = CInt
type cairo_font_extents_t = CStruct5[CDouble, CDouble, CDouble, CDouble, CDouble]
type cairo_font_face_t = CStruct0
type cairo_font_options_t = CStruct0
type cairo_font_slant_t = CInt
type cairo_font_weight_t = CInt
type cairo_format_t = CInt
type cairo_line_cap_t = CInt
type cairo_line_join_t = CInt
type cairo_matrix_t = CStruct6[CDouble, CDouble, CDouble, CDouble, CDouble, CDouble]
type cairo_operator_t = CInt
type cairo_pattern_t = CStruct0
type cairo_scaled_font_t = CStruct0
type cairo_status_t = CInt
type cairo_surface_t = CStruct0
type cairo_t = CStruct0
type cairo_text_extents_t = CStruct6[CDouble, CDouble, CDouble, CDouble, CDouble, CDouble]
type cairo_tp = Ptr[cairo_t]

Value members

Concrete methods

def cairo_arc(cr: cairo_tp, x: CDouble, y: CDouble, radius: CDouble, angle1: CDouble, angle2: CDouble): Unit
def cairo_arc_negative(cr: cairo_tp, x: CDouble, y: CDouble, radius: CDouble, angle1: CDouble, angle2: CDouble): Unit
def cairo_clip(cr: cairo_tp): Unit
def cairo_close_path(cr: cairo_tp): Unit
def cairo_device_to_user(cr: cairo_tp, dx: Ptr[CDouble], dy: Ptr[CDouble]): Unit
def cairo_device_to_user_distance(cr: cairo_tp, dx: Ptr[CDouble], dy: Ptr[CDouble]): Unit
def cairo_fill(cr: cairo_tp): Unit
def cairo_fill_extents(cr: cairo_tp, x1: Ptr[CDouble], y1: Ptr[CDouble], x2: Ptr[CDouble], y2: Ptr[CDouble]): Unit
def cairo_fill_preserve(cr: cairo_tp): Unit
def cairo_ft_font_face_create_for_ft_face(face: FT_Face, load_flags: CInt): cairo_font_face_tp
def cairo_get_reference_count(cr: cairo_tp): CUnsignedInt
def cairo_image_surface_create(format: cairo_format_t, width: CInt, height: CInt): cairo_surface_tp
def cairo_line_to(cr: cairo_tp, x: CDouble, y: CDouble): Unit
def cairo_mask(cr: cairo_tp, source: cairo_pattern_tp): Unit
def cairo_matrix_init(matrix: cairo_matrix_tp, xx: CDouble, yx: CDouble, xy: CDouble, yy: CDouble, x0: CDouble, y0: CDouble): Unit
def cairo_matrix_init_rotate(matrix: cairo_matrix_tp, radians: CDouble): Unit
def cairo_matrix_init_scale(matrix: cairo_matrix_tp, sx: CDouble, sy: CDouble): Unit
def cairo_matrix_init_translate(matrix: cairo_matrix_tp, tx: CDouble, ty: CDouble): Unit
def cairo_matrix_rotate(matrix: cairo_matrix_tp, radians: CDouble): Unit
def cairo_matrix_scale(matrix: cairo_matrix_tp, sx: CDouble, sy: CDouble): Unit
def cairo_matrix_transform_distance(matrix: cairo_matrix_tp, dx: Ptr[CDouble], dy: Ptr[CDouble]): Unit
def cairo_matrix_transform_point(matrix: cairo_matrix_tp, x: Ptr[CDouble], y: Ptr[CDouble]): Unit
def cairo_matrix_translate(matrix: cairo_matrix_tp, tx: CDouble, ty: CDouble): Unit
def cairo_move_to(cr: cairo_tp, x: CDouble, y: CDouble): Unit
def cairo_new_path(cr: cairo_tp): Unit
def cairo_new_sub_path(cr: cairo_tp): Unit
def cairo_paint(cr: cairo_tp): Unit
def cairo_paint_with_alpha(cr: cairo_tp, alpha: CDouble): Unit
def cairo_path_extents(cr: cairo_tp, x1: Ptr[CDouble], y1: Ptr[CDouble], x2: Ptr[CDouble], y2: Ptr[CDouble]): Unit
def cairo_pattern_add_color_stop_rgb(pattern: cairo_pattern_tp, offset: CDouble, red: CDouble, green: CDouble, blue: CDouble): Unit
def cairo_pattern_add_color_stop_rgba(pattern: cairo_pattern_tp, offset: CDouble, red: CDouble, green: CDouble, blue: CDouble, alpha: CDouble): Unit
def cairo_pattern_create_linear(x0: CDouble, y0: CDouble, x1: CDouble, y1: CDouble): cairo_pattern_tp
def cairo_pattern_create_radial(cx0: CDouble, cy0: CDouble, radius0: CDouble, cx1: CDouble, cy1: CDouble, radius1: CDouble): cairo_pattern_tp
def cairo_pdf_surface_create(filename: CString, width_in_points: CDouble, height_in_points: CDouble): cairo_surface_tp
def cairo_push_group(cr: cairo_tp): Unit
def cairo_rectangle(cr: cairo_tp, x: CDouble, y: CDouble, width: CDouble, height: CDouble): Unit
def cairo_rel_curve_to(cr: cairo_tp, dx1: CDouble, dy1: CDouble, dx2: CDouble, dy2: CDouble, dx3: CDouble, dy3: CDouble): Unit
def cairo_rel_line_to(cr: cairo_tp, x: CDouble, y: CDouble): Unit
def cairo_rel_move_to(cr: cairo_tp, x: CDouble, y: CDouble): Unit
def cairo_reset_clip(cr: cairo_tp): Unit
def cairo_restore(cr: cairo_tp): Unit
def cairo_rotate(cr: cairo_tp, angle: CDouble): Unit
def cairo_save(cr: cairo_tp): Unit
def cairo_scale(cr: cairo_tp, sx: CDouble, sy: CDouble): Unit
def cairo_select_font_face(cr: cairo_tp, family: CString, slant: cairo_font_slant_t, weight: cairo_font_weight_t): Unit
def cairo_set_dash(cr: cairo_tp, dashes: Ptr[CDouble], num_dashes: CInt, offset: CDouble): Unit
def cairo_set_font_face(cr: cairo_tp, font_face: cairo_font_face_tp): Unit
def cairo_set_font_size(cr: cairo_tp, size: CDouble): Unit
def cairo_set_line_cap(cr: cairo_tp, line_cap: cairo_line_cap_t): Unit
def cairo_set_line_join(cr: cairo_tp, line_join: cairo_line_join_t): Unit
def cairo_set_line_width(cr: cairo_tp, width: CDouble): Unit
def cairo_set_scaled_font(cr: cairo_tp, scaled_font: cairo_scaled_font_tp): Unit
def cairo_set_source(cr: cairo_tp, source: cairo_pattern_tp): Unit
def cairo_set_source_rgb(cr: cairo_tp, red: CDouble, green: CDouble, blue: CDouble): Unit
def cairo_set_source_rgba(cr: cairo_tp, red: CDouble, green: CDouble, blue: CDouble, alpha: CDouble): Unit
def cairo_set_source_surface(cr: cairo_tp, surface: cairo_surface_tp, x: CDouble, y: CDouble): Unit
def cairo_set_tolerance(cr: cairo_tp, tolerance: CDouble): Unit
def cairo_show_page(cr: cairo_tp): Unit
def cairo_show_text(cr: cairo_tp, utf8: CString): Unit
def cairo_stroke(cr: cairo_tp): Unit
def cairo_stroke_extents(cr: cairo_tp, x1: Ptr[CDouble], y1: Ptr[CDouble], x2: Ptr[CDouble], y2: Ptr[CDouble]): Unit
def cairo_surface_write_to_png(surface: cairo_surface_tp, filename: CString): cairo_status_t
def cairo_text_extents(cr: cairo_tp, utf8: CString, extents: cairo_text_extents_tp): Unit
def cairo_text_path(cr: cairo_tp, utf8: CString): Unit
def cairo_translate(cr: cairo_tp, tx: CDouble, ty: CDouble): Unit