Comments (10)
Ok thanks, I’ll get back to it approx in two weeks, after some vacation time :)
from skija.
Right now we publish jar with native macOS dylib at https://bintray.com/beta/#/jetbrains/skija/skija?tab=overview. If you are on a mac, you can depend on those. Those are published per every commit. E.g. 0.4.35 contains your request on gradient points and saveLayer with Rect.
In the future we are going to split single jar into separate skija
and skija-natives-mac
and introduce other platforms.
from skija.
Re: drawOnPath. It seems that it was at one point in Skia, but has been removed since. The solution would be to reimplement it with the existing primitives.
from skija.
Ok, I have now pushed all the necessary primitives to implement text on path. Since it is no longer in Skia, I am not putting dedicated textOnPath method into Skija, but it is simple enough to implement. Please take a look:
This is what I am getting:
from skija.
Oh, and the repo changed to. We now host it in JetBrains Space https://packages.jetbrains.team/maven/p/skija/maven instead of bintray.
from skija.
Hi @Solido, I have couple of questions:
Canvas drawTextOnPath
Canvas does not seem to have drawTextOnPath. Seems like it could be implemented with PathMeasure
(which I just added) and TextBlob::MakeFromRSXform
(which I will add soon) should be enough. Unless I am missing something?
color4f OK on gradient but UnsatisfiedLinkError on Paint
Seems to work in my example:
from skija.
Hi @tonsky
Hope you had good holidays !
More info drawOnPath
https://skia.org/user/api/bmh_SkPath?cl=9919
mono/SkiaSharp#1183
If color4f works on your code then it's on my side !
Currently I compile libskija.dylib and put it in my resources folder.
For the lib I also to local maven then
api "org.jetbrains.skija:skija:0.0.0-local"
api "org.jetbrains.skija:skija:0.0.0-local-natives-mac-x64"
Done the full process but color4f is not even found while on the ide ...
How can I better follow your coming updates ?
Is it possible to have it linked by using a common maven repo ?
So far it's working great, Thanks
from skija.
That was fast ! :D
from skija.
JFYI @Solido artifacts coordinates changed a little. Published versions now look like this:
org.jetbrains.skija:skija-macos:0.4.48
And local ones (installed via ./script/install.sh
) are:
org.jetbrains.skija:skija-platform:0.0.0-SNAPSHOT
See README for more details.
from skija.
Thanks @tonsky !
All updated with the new repo
from skija.
Related Issues (20)
- How to modify the pixels of a picture
- Instantiating a Typeface from file causes EXCEPTION_ACCESS_VIOLATION HOT 3
- Implement Matrix33 missing methods HOT 3
- Missing RuntimeEffect instance.makeColorFilter HOT 1
- How can I convert Skija Image to BufferedImage? HOT 2
- Get memory buffer for the Canvas/Bitmap HOT 1
- HumbleUI/Skija ? HOT 1
- Unable to build the demo app HOT 2
- How can I convert AVFrame to Skija Image? HOT 3
- How to draw rich-text in skaji? HOT 1
- Support for GrDirectContext::MakeGL with GrGLInterface HOT 4
- UnsatisfiedLinkError on Linux on a hosted server HOT 1
- Графика java HOT 2
- Outdated "Built with Skija" section? HOT 1
- Configurable native library loading strategy? HOT 4
- skija.dll: Can't find dependent libraries HOT 2
- Archive this in favor of HumbleUI/Skija?
- Lottie Color filter HOT 2
- Support using SVG as mask HOT 4
- BufferedImage to skija image HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skija.