public SKPngEncoderOptions(SKPngEncoderFilterFlags filterFlags, int zLibLevel, SKTransferFunctionBehavior unpremulBehavior) { fFilterFlags = filterFlags; fZLibLevel = zLibLevel; fUnpremulBehavior = unpremulBehavior; fComments = null; }
public bool ReadPixels(SKImageInfo dstInfo, IntPtr dstPixels, int dstRowBytes, int srcX, int srcY, SKTransferFunctionBehavior behavior) { var cinfo = SKImageInfoNative.FromManaged(ref dstInfo); return(SkiaApi.sk_pixmap_read_pixels(Handle, &cinfo, (void *)dstPixels, (IntPtr)dstRowBytes, srcX, srcY, behavior)); }
public bool ReadPixels(SKImageInfo dstInfo, IntPtr dstPixels, int dstRowBytes, int srcX, int srcY, SKTransferFunctionBehavior behavior) => ReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);