Ejemplo n.º 1
0
 private static void native_setPath(android.graphics.PathMeasure.NativePathMeasure
                                    native_instance, android.graphics.Path.NativePath native_path, bool forceClosed
                                    )
 {
     libxobotos_PathMeasure_setPath(native_instance, native_path != null ? native_path
                          : android.graphics.Path.NativePath.Zero, forceClosed);
 }
Ejemplo n.º 2
0
 private static android.graphics.PathDashPathEffect.NativePathEffect nativeCreate(
     android.graphics.Path.NativePath native_path, float advance, float phase, int native_style
     )
 {
     return(libxobotos_PathDashPathEffect_create(native_path, advance, phase, native_style
                                                 ));
 }
Ejemplo n.º 3
0
		/// <summary>Create a new path, copying the contents from the src path.</summary>
		/// <remarks>Create a new path, copying the contents from the src path.</remarks>
		/// <param name="src">The path to copy from when initializing the new path</param>
		public Path(android.graphics.Path src)
		{
			android.graphics.Path.NativePath valNative = null;
			if (src != null)
			{
				valNative = src.mNativePath;
			}
			mNativePath = init2(valNative);
			mDetectSimplePaths = android.view.HardwareRenderer.isAvailable();
		}
Ejemplo n.º 4
0
 private static bool native_getSegment(android.graphics.PathMeasure.NativePathMeasure
                                       native_instance, float startD, float stopD, android.graphics.Path.NativePath native_path
                                       , bool startWithMoveTo)
 {
     return(libxobotos_PathMeasure_getSegment(native_instance, startD, stopD, native_path
                                              , startWithMoveTo));
 }
Ejemplo n.º 5
0
 private static extern bool libxobotos_PathMeasure_getSegment(android.graphics.PathMeasure.NativePathMeasure
                                                              native_instance, float startD, float stopD, android.graphics.Path.NativePath native_path
                                                              , bool startWithMoveTo);
Ejemplo n.º 6
0
 private static extern void libxobotos_PathMeasure_setPath(android.graphics.PathMeasure.NativePathMeasure
                                                           native_instance, android.graphics.Path.NativePath native_path, bool forceClosed
                                                           );
Ejemplo n.º 7
0
 private static android.graphics.PathMeasure.NativePathMeasure native_create(android.graphics.Path.NativePath
                                                                             native_path, bool forceClosed)
 {
     return(libxobotos_PathMeasure_create(native_path != null ? native_path : android.graphics.Path.NativePath
                                          .Zero, forceClosed));
 }
Ejemplo n.º 8
0
 private static extern android.graphics.PathMeasure.NativePathMeasure libxobotos_PathMeasure_create
     (android.graphics.Path.NativePath native_path, bool forceClosed);
Ejemplo n.º 9
0
 private static bool nativeGetBoundaryPath(android.graphics.Region.NativeRegion native_region
                                           , android.graphics.Path.NativePath native_path)
 {
     return(libxobotos_Region_getBoundaryPath(native_region, native_path));
 }
Ejemplo n.º 10
0
 private static extern bool libxobotos_Region_getBoundaryPath(android.graphics.Region.NativeRegion
                                                              native_region, android.graphics.Path.NativePath native_path);
Ejemplo n.º 11
0
 private static bool nativeSetPath(android.graphics.Region.NativeRegion native_dst
                                   , android.graphics.Path.NativePath native_path, android.graphics.Region.NativeRegion
                                   native_clip)
 {
     return(libxobotos_Region_setPath(native_dst, native_path, native_clip));
 }
Ejemplo n.º 12
0
 private static extern bool libxobotos_Region_setPath(android.graphics.Region.NativeRegion
                                                      native_dst, android.graphics.Path.NativePath native_path, android.graphics.Region.NativeRegion
                                                      native_clip);
Ejemplo n.º 13
0
 private static extern android.graphics.PathDashPathEffect.NativePathEffect libxobotos_PathDashPathEffect_create
     (android.graphics.Path.NativePath native_path, float advance, float phase, int native_style
     );
Ejemplo n.º 14
0
		/// <summary>Create an empty path</summary>
		public Path()
		{
			mNativePath = init1();
			mDetectSimplePaths = android.view.HardwareRenderer.isAvailable();
		}