2d drawing

Back to PastelGfx

Learn more

A generalized midpoint algorithm for drawing line segments

Files

An aggregate file for traditional 2d drawing

draw.h

Drawing a box

draw_box.h

draw_box.hpp

Drawing a horizontal line segment

draw_horizontal_line.h

draw_horizontal_line.hpp

Drawing a line segment

draw_segment.h

draw_segment.hpp

Drawing a pixel

draw_pixel.h

draw_pixel.hpp

Drawing a quad in perspective

draw_projective_quad.h

draw_projective_quad.hpp

Drawing a textured box

draw_textured_box.h

draw_textured_box.hpp

Drawing a textured triangle

draw_textured_triangle.h

draw_textured_triangle.hpp

Drawing a textured triangle in perspective

draw_perspective_triangle.h

draw_perspective_triangle.hpp

Drawing a triangle

draw_triangle.h

draw_triangle.hpp

Drawing a vertical line segment

draw_vertical_line.h

draw_vertical_line.hpp

Drawing a view

draw_view.h

draw_view.hpp

Flood-filling

draw_floodfill.h

draw_floodfill.hpp

Testing for drawing

test_drawing.cpp