All Projects β†’ michaldobrodenka β†’ PaintCode2Skia

michaldobrodenka / PaintCode2Skia

Licence: GPL-2.0 License
Convert your PaintCode app drawings (Android java export) to SkiaSharp C# code

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to PaintCode2Skia

MyTasks
Xamarin.Forms goodlooking UI sample.
Stars: ✭ 74 (+89.74%)
Mutual labels:  xamarin, skiasharp
Richpath
πŸ’ͺ Rich Android Path. 🀑 Draw as you want. πŸŽ‰ Animate much as you can.
Stars: ✭ 2,259 (+5692.31%)
Mutual labels:  icons, vector-drawable
Portable-WebDAV-Library
Moved to codeberg.org - https://codeberg.org/DecaTec/Portable-WebDAV-Library - The Portable WebDAV Library is a strongly typed, async WebDAV client library which is fully compliant to RFC 4918, RFC 4331 and "Additional WebDAV Collection Properties". It is implemented as .NETStandard 1.1 library in oder to be used on any platform supporting .NETS…
Stars: ✭ 45 (+15.38%)
Mutual labels:  xamarin, multiplatform
CouchDraw
A synchronized drawing app that utilizes Couchbase Sync Gateway and Xamarin to enable shared canvases.
Stars: ✭ 22 (-43.59%)
Mutual labels:  xamarin, skiasharp
Xamarin-Forms-RadialProgress
Radial Gauge Progress Indicator in Xamarin Forms
Stars: ✭ 21 (-46.15%)
Mutual labels:  xamarin, skiasharp
Skiasharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
Stars: ✭ 2,493 (+6292.31%)
Mutual labels:  xamarin, skiasharp
vs-material-icons-generator
This plugin will help you to set material design icons to your Xamarin projects In Visual Studio.
Stars: ✭ 50 (+28.21%)
Mutual labels:  xamarin, icons
Toast
To use it in PCL or .NetStandard projects write this line of code : CrossToastPopUp.Current.ShowToastMessage("Message");
Stars: ✭ 51 (+30.77%)
Mutual labels:  xamarin
Appstract
🎴 Abstract Android icon pack built on CandyBar dashboard
Stars: ✭ 46 (+17.95%)
Mutual labels:  icons
Xamarin.Forms.ARToolkit
Augmented Reality Toolkit for Xamarin Forms
Stars: ✭ 15 (-61.54%)
Mutual labels:  xamarin
mojoicons
Handcrafted 100 Outline and Flat Icons for Free -
Stars: ✭ 23 (-41.03%)
Mutual labels:  icons
Xamarin.iOS.DatePickerDialog
Xamarin iOS C# port of https://github.com/squimer/DatePickerDialog-iOS-Swift
Stars: ✭ 24 (-38.46%)
Mutual labels:  xamarin
MyCoffeeApp
Sample Xamarin.Forms app built live on in 101 series on YouTube
Stars: ✭ 119 (+205.13%)
Mutual labels:  xamarin
icons-flat-osx
Free Flat icons For OSX
Stars: ✭ 371 (+851.28%)
Mutual labels:  icons
auth0-oidc-client-net
OIDC Client for .NET Desktop and Mobile applications
Stars: ✭ 53 (+35.9%)
Mutual labels:  xamarin
web-icons
It's a full suite of popular web icons for easy scalable vector graphics on websites.
Stars: ✭ 30 (-23.08%)
Mutual labels:  icons
TinyMvvm
TinyMvvm is a MVVM library that is built for Xamarin.Forms but is not limited to Xamarin.Forms, it created in a way that it will be easy to extend to other platforms.
Stars: ✭ 75 (+92.31%)
Mutual labels:  xamarin
blade-simple-icons
A package to easily make use of Simple Icons in your Laravel Blade views.
Stars: ✭ 12 (-69.23%)
Mutual labels:  icons
XF-GradientButton
Gradient button for Xamarin.Forms
Stars: ✭ 25 (-35.9%)
Mutual labels:  xamarin
FSCalendar-Xamarin-iOS
Binding for FSCalendar
Stars: ✭ 35 (-10.26%)
Mutual labels:  xamarin

PaintCode2Skia

Convert your PaintCode app Android Export java code to SkiaSharp C# code.

Simple transpiler (or "text replacer") which creates SkiaSharp C# code from PaintCode ( https://www.paintcodeapp.com/ ) Android Java Export. Features were added until all icons I needed to convert were converted without errors. I'm using generated code on Xamarin.Android and Xamarin.iOS, in future in desktop .NET applications. Basically it is almost stupid string replacer. If it looks stupid but works it ain't stupid :)

Now we can enjoy PaintCode in WPF, Xamarin.Forms, WinForms, ASP.NET projects.

What is working:

  • basic features, lines, rects, colors, etc
  • texts
  • gradients
  • Parameters! -...

What is missing:

  • Some more complex Matrix transformations (basic rotation works)
  • Layer opacity (could be simulated with color with Alfa)
  • Probably many more features

Why?

PaintCode is nice tool, but I'm missing export to Xamarin.Android and Windows desktop. Xamarin.Android can use StyleKitSharper tool (https://github.com/danielkatz/StyleKitSharper) but it creates a lot of static Java objects. That means thousands long living objects for hundreds of icons which are overloading GC Bridge.

Sample clock from PaintCode tutorial:

alt text

Solution Structure:

  • PaintCode2Skia - transpiler
  • Sample
    • StyleKitName.java - sample export from PaintCode tutorial
    • StyleKitName.cs - transpiled sample
    • PaintCodeResources - .NET Standard 2.0 library for result icon drawing which can be used on every platform supporting .NET standard and SkiaSharp
      • Fonts - all used fonts, Build Action set to EmbeddedResource
      • PaintCodeClasses.cs - Helper classes needed for transpiled code to run
      • StyleKitName.cs - link to transpiled Sample
    • PaintCodeResources.Sample.WinForms - example of Paintcode icon used in WinForms app
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].