Menu

Commit [r9]  Maximize  Restore  History

made lots of changes to RasterFloatGraphics:

- added hook to do alpha manipulation (RasterFloatPixBuff).
- condensed a lot of code, and put it into new classes FloatPolyEdge and
FloatPolyClipper.
- cleaned up implementation of clear().
- fixed up color conversions between FloatColor and int.

my next goal is to fix any bugs that these changes may have created, and to
implement a FloatPolyEdge pool, so that 'new' would not have to be called for
every FloatPolyEdge; drawing many polygons would otherwise lead to rapid
memory allocation and de-allocation and re-allocation (new edges created all
the time).

nerius 2001-03-19

added /trunk/com_nerius_grafx/src/com/nerius/grafx/FloatPolyClipper.java
added /trunk/com_nerius_grafx/src/com/nerius/grafx/FloatPolyEdge.java
changed /trunk/com_nerius_grafx/src/com/nerius/grafx/RasterFloatGraphics.java
added /trunk/com_nerius_grafx/src/com/nerius/grafx/RasterFloatPixBuff.java
/trunk/com_nerius_grafx/src/com/nerius/grafx/FloatPolyClipper.java Diff Switch to side-by-side view
Loading...
/trunk/com_nerius_grafx/src/com/nerius/grafx/FloatPolyEdge.java Diff Switch to side-by-side view
Loading...
/trunk/com_nerius_grafx/src/com/nerius/grafx/RasterFloatGraphics.java Diff Switch to side-by-side view
Loading...
/trunk/com_nerius_grafx/src/com/nerius/grafx/RasterFloatPixBuff.java Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.