语言

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.

 

 

编辑者为: Jang-il Jin 13 10月, 2019

响应

1 回复
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.