Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more rendering primitives #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

4Denthusiast
Copy link

The first commit is unrelated, and was necessary for me to get this to compile (Idris version 1.3.1).

This adds most of the remaining graphics primitives from SDL2_gfx, renames some existing ones for consistency (filled shapes are called "filled..." and unfilled ones are called "stroke...", except pixel, which isn't really stroked, keeps its name "sdlPixel"), and moves them all to a separate module, because the main module was getting rather long. The non-effects example is also updated so that it uses every single graphics primitive.

Move rendering primitives from SDL_gfx into a separate module.
Add most of the remaining primitives. Rename some of the existing
ones for consistency.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant