Languages

Menu
Sites
Language
Any built-in 2D Graphics library?

I'm developing a Tizen wearable app which is depending on 2D-graphics feature such as geometry drawing(Line, Rect, Circle) and gradient coloring.

Currently I'm using SkiaSharp for the 2D grphics purpose. but the size of the app built with NET + Xamarin.Forms + SkipSharp is too big (Almost 7MB)

I'd like to replace SkiaSharp to built-in library to reduce the app size

I think there must be built-in 2D graphics library in Tizen SDK as Canvas in Android, CGContext in iOS.

But I couldn't find a such SDK in TizenFX or CircularUI.

 

 

Edited by: Jang-il Jin on 13 Oct, 2019

Responses

1 Replies
Tizen .NET

Hi,

SkiaSharp seems to be the only solution right now.

You can reduce app size a little bit by adding RuntimeIdentifier to your app's csproject file. (libSkiaSharp.so for x86 won't be included.)

 

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>tizen40</TargetFramework>
    <RuntimeIdentifier>tizen-armel</RuntimeIdentifier>
  </PropertyGroup>

 

Thanks.