Skip to content

Latest commit

 

History

History
271 lines (225 loc) · 3.77 KB

api.rst

File metadata and controls

271 lines (225 loc) · 3.77 KB

References

Subpackages

apis/easygraphics.dialog

apis/easygraphics.legacy

apis/easygraphics.music

apis/easygraphics.processing

apis/easygraphics.turtle

apis/easygraphics.widget

Package Summary

System init and close

easygraphics

close_graph init_graph

Drawing Settings

easygraphics

get_background_color get_color get_composition_mode get_drawing_pos get_fill_color get_fill_rule get_fill_style get_font get_font_size get_height get_line_style get_line_width get_width get_write_mode get_drawing_x get_drawing_y reset_view_port reset_window restore_settings save_settings set_background_color set_caption set_clip_rect set_clipping set_color set_composition_mode set_fill_color set_fill_rule set_fill_style set_font set_font_size set_line_style set_line_width set_view_port set_window set_write_mode text_height text_width

Basic Drawing

easygraphics

arc bezier bezier_point bezier_tangent chord circle clear_device clear_view_port curve curve_point curve_tangent draw_arc draw_bezier draw_chord draw_circle draw_curve draw_ellipse draw_line draw_lines draw_pie draw_point draw_poly_line draw_polygon draw_quadratic draw_rect draw_rect_text draw_rounded_rect draw_text ellipse fill_chord fill_circle fill_ellipse fill_pie fill_polygon fill_rect fill_rounded_rect flood_fill get_pixel line line_rel line_to lines move_rel move_to pie poly_line polygon put_pixel quadratic rect rounded_rect

Drawing using vertex

easygraphics

begin_shape end_shape bezier_vertex curve_vertex quadratic_vertex vertex

Transform

easygraphics

flip get_transform mirror pop_transform push_transform reflect reset_transform rotate scale set_flip_y set_origin set_transform shear skew translate

Animation

easygraphics

delay delay_fps delay_jfps get_render_mode is_run set_render_mode

Image Processing

easygraphics

add_record begin_recording capture_screen close_image create_image draw_image end_recording get_target load_image put_image save_image save_recording set_target

Keyboard and Mouse

easygraphics

contains_left_button contains_mid_button contains_right_button contains_alt contains_ctrl contains_meta contains_shift get_char get_click get_cursor_pos get_key get_mouse_msg has_kb_hit has_kb_msg has_mouse_msg pause

Color & utilities

easygraphics

cart2pol color_cmyk color_hsl color_hsv color_rgb pol2cart rgb show_image to_alpha

Constants

easygraphics

Color CompositionMode FillStyle FillRule LineStyle MouseMessageType RenderMode TextFlags ShapeMode VertexType

API Details

easygraphics