Fix bindings for PixelRef (#1149)
This PR fixes https://youtrack.jetbrains.com/issue/SKIKO-996 The PixelRef bindings have two mistakes in them: 1. `rowBytes` is defined as a `NativePointer`, whereas it is actually an integer with the number of bytes per row. This is the same as `Bitmap::rowBytes`. 2. It is missing the `pixels` property that actually returns a pointer to the pixel data. See: https://api.skia.org/classSkPixelRef.html
Showing
Please register or sign in to comment