skia Questions
5
I am hoping to port an Electron app over to Avalonia. The app currently uses Paper.js to draw and manage interactions with complex polygons. Looking into Avalonia, I noticed it uses Skia, which see...
Ruddle asked 6/5, 2020 at 4:22
0
I'm having a weird issue with my OpenGL/Skia Android Camera2 app.
My Camera renders frames into a SurfaceTexture, which is a GL_TEXTURE_EXTERNAL_OES texture in OpenGL.
I can then simply render this...
Insectivorous asked 30/8, 2023 at 18:23
5
Solved
I try to compile https://github.com/CuriousNikhil/k5-compose in IntelliJ (Apple-Silicon) on an M1 MacbookPro, I got the below error
Caused by: org.jetbrains.skiko.LibraryLoadException: Cannot find ...
Warm asked 29/11, 2021 at 5:18
4
Solved
I know that Flutter supports using Skia instead of DomCanvas in Flutter Web using WASM CanvasKit, i.e. "Skia + WebAssembly".
I have heard that this provides significant performance improv...
Sapphira asked 29/10, 2020 at 1:2
2
Solved
I'm trying to use the Skia graphics library on Windows which requires building it from source. However, when I run the build command:
ninja -C out/Static
I get this build error:
"C:\Program Fil...
Fromenty asked 8/10, 2019 at 13:16
1
Solved
ANGLE is an cross-platform graphics engine abstraction layer
developed by Google. ANGLE team has described it as a portable
OpenGL. The API is mainly designed to bring high-performance
OpenGL comp...
1
Solved
1
Solved
This is a question to understand the principles of GPU accelerated rendering of 2d vector graphics.
With Skia or Direct2D, you can draw e.g. rounded rectangles, Bezier curves, polygons, and also ha...
1
This is an experimental project of mine related to remote browser isolation. I'm trying to intercept Skia draw commands in a running Chromium instance and later replay them in a different browser i...
Phototelegraphy asked 19/2, 2020 at 5:19
1
Solved
I want to draw Text inside a canvas to display a label for a chart.
On Android, I can use the library: https://github.com/tehras/charts (For Compose: 1-alpha03)
but on Desktop I can't.
Thus I tried...
Allveta asked 4/1, 2021 at 16:13
2
My issue is that during smooth scaling applied to Skia canvas (with concat method) the text appears to scale in "spurts", non-uniformly. The issue is particularly evident on Android platform with F...
0
I need to create a simple app to draw a graph network onto a canvas. As I use .net core it seems that one of the best solutions could be Avalonia + Skia backend. The problem is that I haven't found...
Windtight asked 28/4, 2020 at 18:26
1
Solved
I am wondering why and when you would use Canvas.save, Canvas.restore, and maybe even Canvas.saveLayer.
I have heard that they are really useful, but I do not know when to use them.
2
Solved
I want to add a circle effect over a container, but I want the circle to not extend the dimensions of the container, but instead get clipped by it. This is what I'm trying to achieve:
As you can ...
1
Solved
I have built Skia. What do I do now to get an SkCanvas and draw on it? This answer does not properly answer the question because
A: It uses API that doesn't exist anymore, like bitmap.lockPixels(),...
2
I tried compiling skia on Windows as suggested in https://skia.org/user/build
bin/gn gen out/Static --args='is_official_build=true'
ninja -C out/Static
Build fails to find libjpeg.h, libpng.h
T...
0
I'm trying to use SKIA lib in my WASM solution. first I Compiled Skia to wasm bitcode using bellow config:
/bin/gn gen ./out/Build-wasm-Release/Release --args="cc=\"emcc\" extra_cflags_cc=[\"-frtt...
Kachine asked 22/5, 2019 at 9:12
0
I want to try the metal with skia, but the surface always returns null, and I can't find any way around..
Here is the code:
_device = MTLCreateSystemDefaultDevice();
MTLTextureDescriptor* textureDs...
Snailfish asked 16/11, 2018 at 7:16
1
Solved
Canvas.drawText() doesn't render emojis above a certain font size on Android.
Correct render at somewhere below 256 px:
Incorrect render at above 256 px:
(There is a similar question about Goo...
Catalog asked 21/6, 2018 at 10:4
1
Solved
In System.Drawing we retrieve the PixelFormat from Image object, but SkiaSharp.SkImage does not provide API to find the PixelFormat of decoded image. Whether it has any other workaround to find the...
Dukie asked 26/12, 2017 at 10:7
1
A just curious question.
I'm aware that:
Skia, Cairo: library
Direct2D: API
But without any additional components, exclusively on Windows platform, which bears the most features? I'm not talkin...
Lenee asked 2/10, 2017 at 13:11
2
Solved
How to draw rotated text in SkiaSharp.
Currently I'm rotating the SKCanvas, drawing the text and then rotating it back. But I thought may be there is a more efficient way to do this.
canvas.RotateD...
4
Solved
I am trying to open a remote Stream of a JPEG image and convert it into a Bitmap object:
BitmapFactory.decodeStream(
new URL("http://some.url.to/source/image.jpg")
.openStream());
The decoder ...
3
Solved
I would like to have a better understanding of how the components of Android's (2D) Canvas drawing pipeline fit together.
For example, how do XferMode, Shader, MaskFilter and ColorFilter interact?...
Koons asked 23/4, 2011 at 6:46
1
Solved
How to add rect or any shape using Skia Sharp and apply both fill color and stroke color to that object in iOS
Hackbut asked 17/2, 2017 at 11:31
1 Next >
© 2022 - 2024 — McMap. All rights reserved.