dariocc / fenixlib Goto Github PK
View Code? Open in Web Editor NEW.NET support for manipulating PixTudio, Bennu and Div native formats (Fpg, Map, Fnt and Pal)
License: Apache License 2.0
.NET support for manipulating PixTudio, Bennu and Div native formats (Fpg, Map, Fnt and Pal)
License: Apache License 2.0
Current constructors:
public GlyphInfo ( int width, int height, int yOffset, int fileOffset )
public GlyphInfo ( int width, int height, int xOffset,
int yOffset, int xAdvance, int yAdvance, int fileOffset )
take many arguments of ints, which makes the client code brittle and difficult to follow (it already happened that there order of the arguments was wrong).
A builder object + fluent API will make it more difficult to break.
It seems that the versions of MonoDevelop / Xamarin that I have tested do not have NUnit 3 support. It is however possible to run the test by using NUnit's CLI.
After #16 fix.
Adding extension methods to perform the mentioned conversions will make it nicer to interact between System.Drawing and FenixLib:
For example:
bitmap.ToGraphic ();
graphic.ToBitmap ();
Stream.Position cannot be used with Gz compressed streams, therefore the program fails.
Tested only in Mono.
Replace the Width * height * Depth / 8 calculation for all encoders / decoders with the NativeFormat.CalculatePixelBufferBytes.
Add verification for expectation that method / properties are effectively returning the same reference / value than sprite pased to the constructor.
The reason is the gamma section after the palette, which is currently filled with 0.
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.