View Source Firefly.Bindings.Graphics (Firefly Elixir v0.1.0)

Summary

Functions

Link to this function

draw_arc(x, y, diameter, angle_start, angle_sweep, fill_color, stroke_color, stroke_width)

View Source
Link to this function

draw_circle(x, y, diameter, fill_color, stroke_color, stroke_width)

View Source
Link to this function

draw_ellipse(x, y, width, height, fill_color, stroke_color, stroke_width)

View Source
Link to this function

draw_image(ptr, len, x, y)

View Source
Link to this function

draw_line(p1_x, p1_y, p2_x, p2_y, color, stroke_width)

View Source
Link to this function

draw_rect(x, y, width, height, fill_color, stroke_color, stroke_width)

View Source
Link to this function

draw_rounded_rect(x, y, width, height, corner_width, corner_height, fill_color, stroke_color, stroke_width)

View Source
Link to this function

draw_sector(x, y, diameter, angle_start, angle_sweep, fill_color, stroke_color, stroke_width)

View Source
Link to this function

draw_sub_image(ptr, len, x, y, sub_x, sub_y, sub_width, sub_height)

View Source
Link to this function

draw_text(text_ptr, text_len, font_ptr, font_len, x, y, color)

View Source
Link to this function

draw_triangle(p1_x, p1_y, p2_x, p2_y, p3_x, p3_y, fill_color, stroke_color, stroke_width)

View Source
Link to this function

set_color(index, r, g, b)

View Source