Code Monkey home page Code Monkey logo

skiakit's Introduction

SkiaKit

SkiaKit is a 2D Graphics Library for use with Swift. It is powered by Google's Skia graphics library, the same library that powers Google Chrome and Android graphics.

You can review the API Documentation

The Swift bindings are intended to be cross-platform, both to Apple platforms, and new platforms where Skia and Swift run.

This work uses extensive code from Microsoft's SkiaSharp bindings authoered by Matthew Leibowitz and dozens of contributors. SkiaSharp just happens to have a very advanced set of bridge APIs to the underlying Skia engine that does not existin in the upstream Google Skia project.

Getting this to work locally

You can either download and install the SkiaSharp.nuget package, or build your own local copy of Mono's Skia fork (https://github.com/mono/skia/tree/77049b872966dc300ed233fc6e3930eb21bac5e3 from https://github.com/mono/skiasharp).

The download-payload.sh script automates the download, but relies on Mono to be installed for extracting the payload from the DLLs (the iOS/tvOS frameworks live inside a Zip file called libSkiaSharp.framework inside a resource in the SkiaSharp.dll)

SkiaKit/iOS:
	Copy the iOS directory libSkiaSharp.framework here
SkiaKit/macOS:
	Copy the file libSkiaSharp.dylib here
SkiaKit/tvOS:
	Copy the tvOS directory libSkiaSharp.framework here

skiakit's People

Contributors

migueldeicaza avatar zats avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.