grimfang4 / sprig Goto Github PK
View Code? Open in Web Editor NEWA library for rendering 2D graphics in software using SDL.
License: GNU Lesser General Public License v2.1
A library for rendering 2D graphics in software using SDL.
License: GNU Lesser General Public License v2.1
I've attached a patch to add a SPG_LinkedVersion() function, which returns
an SDL_version struct holding SPriG's version numbers. It's based on SDL's
SDL_Linked_Version() function.
I'm trying out SPriG using Ruby-FFI, which allows the Ruby programming
language to access C library functions directly, without a compiled
wrapper. But it can't see what the #defines were when the library was
compiled, so it needs a function to find out the version number. :)
Original issue reported on code.google.com by [email protected]
on 24 Jul 2009 at 2:22
Attachments:
In some cases (rounding seems involved), a scaled image gains a black or
otherwise ruined line on one or more sides.
Original issue reported on code.google.com by [email protected]
on 10 Feb 2009 at 6:32
I am using SPG_Bezier and SPG_BezierBlend and it seems like it doesn't unlock
the surface after drawing. Other primitives are drawn fine afterwards, but
regular Blits fail and I get an EXC_BAD_ACCESS on shutdown when SDL calls
SDL_VideoQuit.
Unlocking the surface manually via SDL_UnlockSurface after every bezier call
fixes the issue.
Original issue reported on code.google.com by [email protected]
on 31 Jan 2011 at 12:12
I most installs, SDL is found with #include <SDL/SDL.h> without having to
manually add the SDL header search path. Sprig uses #include "SDL.h". It would
be nice if it used the global search path instead ...
Original issue reported on code.google.com by [email protected]
on 31 Jan 2011 at 7:20
Alpha-blended or anti-aliased thick primitives are overlapped.
Original issue reported on code.google.com by [email protected]
on 6 Feb 2009 at 6:04
SPG_BezierBlend has some pixels that are overdrawn, making them more opaque.
Original issue reported on code.google.com by [email protected]
on 6 Feb 2009 at 6:02
Using SPG_PolygonFade makes a polygon that is shaded with reference to only
the horizontal direction. It seems to be due to the scanline approach with
spg_linefade.
The effect can be seen clearly when the polygon is animated, as in the
Polygons demo.
A solution may be to include the vertical scanlines in the calculation of
the colors, but this would probably require a pixel-by-pixel approach that
might be slow.
Original issue reported on code.google.com by [email protected]
on 6 Feb 2009 at 5:58
I'm trying to blit a PNG with transparency using SPG_Blit or SPG_QuadTex, but I
get black instead of transparency and a blue hue. Using SDL_BlitSurface works
fine, but I really want to be able to use the QuadTex. The image is loaded via
SDL_image.
I can submit a small test app and the test image in question later on.
Original issue reported on code.google.com by [email protected]
on 31 Jan 2011 at 12:20
Using SPG_TransformX to draw to a negative x or y position draws nothing
instead.
Original issue reported on code.google.com by [email protected]
on 9 Dec 2010 at 12:46
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.