private static System.IntPtr nativePostCreate1(android.graphics.Shader.NativeShader native_shader, System.IntPtr native_skiaShaderA, System.IntPtr native_skiaShaderB , android.graphics.Xfermode.NativeXfermode native_mode) { return(libxobotos_ComposeShader_ComposeShader_postCreate(native_shader, native_skiaShaderA , native_skiaShaderB, native_mode)); }
private static System.IntPtr nativePostCreate2(android.graphics.Shader.NativeShader native_shader, float x, float y, float radius, int color0, int color1, int tileMode ) { return(libxobotos_RadialGradient_RadialGradient_postCreate_0(native_shader, x, y, radius, color0, color1, tileMode)); }
private static android.graphics.Shader.NativeShader nativeCreate2(android.graphics.Shader.NativeShader native_shaderA, android.graphics.Shader.NativeShader native_shaderB, int porterDuffMode ) { return(libxobotos_ComposeShader_ComposeShader_create_0(native_shaderA, native_shaderB , porterDuffMode)); }
private static void nativeSetLocalMatrix(android.graphics.Shader.NativeShader native_shader , android.graphics.Matrix.NativeMatrix matrix_instance) { libxobotos_Shader_setLocalMatrix(native_shader != null ? native_shader : android.graphics.Shader.NativeShader .Zero, matrix_instance != null ? matrix_instance : android.graphics.Matrix.NativeMatrix .Zero); }
private static System.IntPtr nativePostCreate1(android.graphics.Shader.NativeShader native_shader, float x, float y, float radius, int[] colors, float[] positions, int tileMode) { Sharpen.INativeHandle colors_handle = null; Sharpen.INativeHandle positions_handle = null; try { colors_handle = XobotOS.Runtime.MarshalGlue.Array_int_Helper.GetPinnedPtr(colors); positions_handle = XobotOS.Runtime.MarshalGlue.Array_float_Helper.GetPinnedPtr(positions ); return(libxobotos_RadialGradient_RadialGradient_postCreate(native_shader, x, y, radius , colors_handle.Address, positions_handle != null ? positions_handle.Address : System.IntPtr.Zero , tileMode)); } finally { if (colors_handle != null) { colors_handle.Free(); } if (positions_handle != null) { positions_handle.Free(); } } }
private static System.IntPtr nativePostCreate(android.graphics.Shader.NativeShader native_shader, android.graphics.Bitmap.NativeBitmap native_bitmap, int shaderTileModeX , int shaderTileModeY) { return(libxobotos_BitmapShader_BitmapShader_postCreate(native_shader, native_bitmap , shaderTileModeX, shaderTileModeY)); }
private static System.IntPtr nativePostCreate2(android.graphics.Shader.NativeShader native_shader, System.IntPtr native_skiaShaderA, System.IntPtr native_skiaShaderB , int porterDuffMode) { return(libxobotos_ComposeShader_ComposeShader_postCreate_0(native_shader, native_skiaShaderA , native_skiaShaderB, porterDuffMode)); }
private static android.graphics.Shader.NativeShader nativeCreate1(android.graphics.Shader.NativeShader native_shaderA, android.graphics.Shader.NativeShader native_shaderB, android.graphics.Xfermode.NativeXfermode native_mode) { return(libxobotos_ComposeShader_ComposeShader_create(native_shaderA, native_shaderB , native_mode != null ? native_mode : android.graphics.Xfermode.NativeXfermode.Zero )); }
private static extern System.IntPtr libxobotos_SweepGradient_SweepGradient_postCreate (android.graphics.Shader.NativeShader native_shader, float cx, float cy, System.IntPtr colors, System.IntPtr positions);
private static System.IntPtr nativePostCreate2(android.graphics.Shader.NativeShader native_shader, float cx, float cy, int color0, int color1) { return(libxobotos_SweepGradient_SweepGradient_postCreate_0(native_shader, cx, cy, color0, color1)); }
private static extern System.IntPtr libxobotos_SweepGradient_SweepGradient_postCreate_0 (android.graphics.Shader.NativeShader native_shader, float cx, float cy, int color0 , int color1);
private static extern System.IntPtr libxobotos_BitmapShader_BitmapShader_postCreate (android.graphics.Shader.NativeShader native_shader, android.graphics.Bitmap.NativeBitmap native_bitmap, int shaderTileModeX, int shaderTileModeY);
private static extern System.IntPtr libxobotos_ComposeShader_ComposeShader_postCreate (android.graphics.Shader.NativeShader native_shader, System.IntPtr native_skiaShaderA , System.IntPtr native_skiaShaderB, android.graphics.Xfermode.NativeXfermode native_mode );
private static extern void libxobotos_Shader_setLocalMatrix(android.graphics.Shader.NativeShader native_shader, android.graphics.Matrix.NativeMatrix matrix_instance);
private static extern android.graphics.Shader.NativeShader libxobotos_ComposeShader_ComposeShader_create_0 (android.graphics.Shader.NativeShader native_shaderA, android.graphics.Shader.NativeShader native_shaderB, int porterDuffMode);
private static extern android.graphics.Shader.NativeShader libxobotos_ComposeShader_ComposeShader_create (android.graphics.Shader.NativeShader native_shaderA, android.graphics.Shader.NativeShader native_shaderB, android.graphics.Xfermode.NativeXfermode native_mode);
private static extern System.IntPtr libxobotos_RadialGradient_RadialGradient_postCreate_0 (android.graphics.Shader.NativeShader native_shader, float x, float y, float radius , int color0, int color1, int tileMode);
private System.IntPtr nativePostCreate2(android.graphics.Shader.NativeShader native_shader , float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) { return(libxobotos_LinearGradient_LinearGradient_postCreate_0(native_shader, x0, y0 , x1, y1, color0, color1, tileMode)); }
private static extern System.IntPtr libxobotos_LinearGradient_LinearGradient_postCreate_0 (android.graphics.Shader.NativeShader native_shader, float x0, float y0, float x1 , float y1, int color0, int color1, int tileMode);
private static extern System.IntPtr libxobotos_ComposeShader_ComposeShader_postCreate_0 (android.graphics.Shader.NativeShader native_shader, System.IntPtr native_skiaShaderA , System.IntPtr native_skiaShaderB, int porterDuffMode);