doodle
0.2
Intended to support teaching C++, doodle is a simple library that helps make a window and makes it easy to do some drawing.
doodle Documentation
Angles
Constants
doodle::PI
doodle::HALF_PI
doodle::QUARTER_PI
doodle::TWO_PI
Functions
to_degrees()
to_radians()
Color
Creating Color
doodle::Color
doodle::HexColor
Setting Color
clear_background()
set_fill_color()
no_fill()
set_outline_color()
no_outline()
Shape
2D Primitives
draw_ellipse()
draw_line()
draw_quad()
draw_rectangle()
draw_triangle()
Attributes
set_ellipse_mode()
set_rectangle_mode()
set_frame_of_reference()
smooth_drawing()
no_smoothing()
set_outline_width()
push_settings()
pop_settings()
Environment
Environment Globals
doodle::FrameCount
doodle::DeltaTime
doodle::ElapsedTime
doodle::Width
doodle::Height
Window
create_window()
is_window_closed()
update_window()
close_window()
set_window_title()
is_full_screen()
toggle_full_screen()
doodle::WindowIsFocused
on_window_resized()
set_callback_window_resized()
on_window_closed()
set_callback_window_closed()
on_window_focus_changed()
set_callback_window_focus_changed()
show_cursor()
Events
Keyboard
doodle::KeyIsPressed
doodle::Key
on_key_pressed()
set_callback_key_pressed()
on_key_released()
set_callback_key_released()
Mouse
doodle::MouseIsPressed
doodle::MouseButton
get_mouse_x()
get_mouse_y()
get_previous_mouse_x()
get_previous_mouse_y()
on_mouse_moved()
set_callback_mouse_moved()
on_mouse_pressed()
set_callback_mouse_pressed()
on_mouse_released()
set_callback_mouse_released()
on_mouse_wheel()
set_callback_mouse_wheel()
Image
Creating Images
doodle::Image
capture_screenshot_to_image()
begin_drawing_to_image()
end_drawing_to_image()
Displaying Images
draw_image()
set_tint_color()
no_tint()
set_image_mode()
Typography
draw_text()
create_distance_field_bitmap_font()
set_font()
set_font_size()
set_font_fade_out_interval()
set_font_backdrop_fade_out_interval()
set_font_backdrop_offset()
Transform
apply_scale()
apply_rotate()
apply_translate()
apply_matrix()
Utility
seed_random()
random()
seed_noise()
noise()
set_noise_detail()
to_string()
to_wstring()
Generated by
1.9.1