This commit is contained in:
Matthew Leibowitz 2018-05-21 19:42:37 +02:00
Родитель eff217a236
Коммит bc6bb323a5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 3650EBE4AA155AF9
6 изменённых файлов: 268 добавлений и 8 удалений

Просмотреть файл

@ -13,6 +13,16 @@
<Member Id="M:SkiaSharp.Views.Forms.Extensions.ToSKRect(Xamarin.Forms.Rectangle)" />
<Member Id="M:SkiaSharp.Views.Forms.Extensions.ToSKSize(Xamarin.Forms.Size)" />
</Type>
<Type Name="SkiaSharp.Views.Forms.GetPropertyValueEventArgs`1" Id="T:SkiaSharp.Views.Forms.GetPropertyValueEventArgs`1">
<Member Id="M:SkiaSharp.Views.Forms.GetPropertyValueEventArgs`1.#ctor" />
<Member Id="P:SkiaSharp.Views.Forms.GetPropertyValueEventArgs`1.Value" />
</Type>
<Type Name="SkiaSharp.Views.Forms.ISKCanvasViewController" Id="T:SkiaSharp.Views.Forms.ISKCanvasViewController">
<Member Id="E:SkiaSharp.Views.Forms.ISKCanvasViewController.GetCanvasSize" />
<Member Id="E:SkiaSharp.Views.Forms.ISKCanvasViewController.SurfaceInvalidated" />
<Member Id="M:SkiaSharp.Views.Forms.ISKCanvasViewController.OnPaintSurface(SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs)" />
<Member Id="M:SkiaSharp.Views.Forms.ISKCanvasViewController.OnTouch(SkiaSharp.Views.Forms.SKTouchEventArgs)" />
</Type>
<Type Name="SkiaSharp.Views.Forms.SKBitmapImageSource" Id="T:SkiaSharp.Views.Forms.SKBitmapImageSource">
<Member Id="F:SkiaSharp.Views.Forms.SKBitmapImageSource.BitmapProperty" />
<Member Id="M:SkiaSharp.Views.Forms.SKBitmapImageSource.#ctor" />
@ -24,6 +34,8 @@
</Type>
<Type Name="SkiaSharp.Views.Forms.SKCanvasView" Id="T:SkiaSharp.Views.Forms.SKCanvasView">
<Member Id="E:SkiaSharp.Views.Forms.SKCanvasView.PaintSurface" />
<Member Id="E:SkiaSharp.Views.Forms.SKCanvasView.SkiaSharp#Views#Forms#ISKCanvasViewController#GetCanvasSize" />
<Member Id="E:SkiaSharp.Views.Forms.SKCanvasView.SkiaSharp#Views#Forms#ISKCanvasViewController#SurfaceInvalidated" />
<Member Id="E:SkiaSharp.Views.Forms.SKCanvasView.Touch" />
<Member Id="F:SkiaSharp.Views.Forms.SKCanvasView.EnableTouchEventsProperty" />
<Member Id="F:SkiaSharp.Views.Forms.SKCanvasView.IgnorePixelScalingProperty" />
@ -32,6 +44,8 @@
<Member Id="M:SkiaSharp.Views.Forms.SKCanvasView.OnMeasure(System.Double,System.Double)" />
<Member Id="M:SkiaSharp.Views.Forms.SKCanvasView.OnPaintSurface(SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs)" />
<Member Id="M:SkiaSharp.Views.Forms.SKCanvasView.OnTouch(SkiaSharp.Views.Forms.SKTouchEventArgs)" />
<Member Id="M:SkiaSharp.Views.Forms.SKCanvasView.SkiaSharp#Views#Forms#ISKCanvasViewController#OnPaintSurface(SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs)" />
<Member Id="M:SkiaSharp.Views.Forms.SKCanvasView.SkiaSharp#Views#Forms#ISKCanvasViewController#OnTouch(SkiaSharp.Views.Forms.SKTouchEventArgs)" />
<Member Id="P:SkiaSharp.Views.Forms.SKCanvasView.CanvasSize" />
<Member Id="P:SkiaSharp.Views.Forms.SKCanvasView.EnableTouchEvents" />
<Member Id="P:SkiaSharp.Views.Forms.SKCanvasView.IgnorePixelScaling" />

Просмотреть файл

@ -0,0 +1,56 @@
<Type Name="GetPropertyValueEventArgs&lt;T&gt;" FullName="SkiaSharp.Views.Forms.GetPropertyValueEventArgs&lt;T&gt;">
<TypeSignature Language="C#" Value="public class GetPropertyValueEventArgs&lt;T&gt; : EventArgs" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit GetPropertyValueEventArgs`1&lt;T&gt; extends System.EventArgs" />
<TypeSignature Language="DocId" Value="T:SkiaSharp.Views.Forms.GetPropertyValueEventArgs`1" />
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="T" />
</TypeParameters>
<Base>
<BaseTypeName>System.EventArgs</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<typeparam name="T">The type of the value requested from the native view.</typeparam>
<summary>Represents the event arguments used when a Xamarin.Forms view communicates with a native view.</summary>
<remarks></remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public GetPropertyValueEventArgs ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.Views.Forms.GetPropertyValueEventArgs`1.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Creates a new instance of the <see cref="T:SkiaSharp.Views.Forms.GetPropertyValueEventArgs&lt;T&gt;" />event arguments.</summary>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="Value">
<MemberSignature Language="C#" Value="public T Value { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance !T Value" />
<MemberSignature Language="DocId" Value="P:SkiaSharp.Views.Forms.GetPropertyValueEventArgs`1.Value" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the value from the the native view.</summary>
<value></value>
<remarks></remarks>
</Docs>
</Member>
</Members>
</Type>

Просмотреть файл

@ -0,0 +1,96 @@
<Type Name="ISKCanvasViewController" FullName="SkiaSharp.Views.Forms.ISKCanvasViewController">
<TypeSignature Language="C#" Value="public interface ISKCanvasViewController : Xamarin.Forms.IViewController" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ISKCanvasViewController implements class Xamarin.Forms.IElementController, class Xamarin.Forms.IViewController, class Xamarin.Forms.IVisualElementController" />
<TypeSignature Language="DocId" Value="T:SkiaSharp.Views.Forms.ISKCanvasViewController" />
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Xamarin.Forms.IViewController</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>The interface that the Xamarin.Forms view uses to communicate with the native renderer.</summary>
<remarks></remarks>
</Docs>
<Members>
<Member MemberName="GetCanvasSize">
<MemberSignature Language="C#" Value="event EventHandler&lt;SkiaSharp.Views.Forms.GetPropertyValueEventArgs&lt;SkiaSharp.SKSize&gt;&gt; GetCanvasSize;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1&lt;class SkiaSharp.Views.Forms.GetPropertyValueEventArgs`1&lt;valuetype SkiaSharp.SKSize&gt;&gt; GetCanvasSize" />
<MemberSignature Language="DocId" Value="E:SkiaSharp.Views.Forms.ISKCanvasViewController.GetCanvasSize" />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler&lt;SkiaSharp.Views.Forms.GetPropertyValueEventArgs&lt;SkiaSharp.SKSize&gt;&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>The event that is raised when the Xamarin.Forms view requests the size of the current SkiaSharp surface.</summary>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="OnPaintSurface">
<MemberSignature Language="C#" Value="public void OnPaintSurface (SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnPaintSurface(class SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.Views.Forms.ISKCanvasViewController.OnPaintSurface(SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs" />
</Parameters>
<Docs>
<param name="e">The event arguments that contain the drawing surface and information.</param>
<summary>The method that is invoked when the native SkiaSharp surface is being repainted.</summary>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="OnTouch">
<MemberSignature Language="C#" Value="public void OnTouch (SkiaSharp.Views.Forms.SKTouchEventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnTouch(class SkiaSharp.Views.Forms.SKTouchEventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.Views.Forms.ISKCanvasViewController.OnTouch(SkiaSharp.Views.Forms.SKTouchEventArgs)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="SkiaSharp.Views.Forms.SKTouchEventArgs" />
</Parameters>
<Docs>
<param name="e">The event arguments that contain the touch information.</param>
<summary>The method that is invoked when there is a touch event on the native view.</summary>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SurfaceInvalidated">
<MemberSignature Language="C#" Value="event EventHandler SurfaceInvalidated;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler SurfaceInvalidated" />
<MemberSignature Language="DocId" Value="E:SkiaSharp.Views.Forms.ISKCanvasViewController.SurfaceInvalidated" />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>The event that is raised when the Xamarin.Forms view requests the native view be repainted.</summary>
<remarks></remarks>
</Docs>
</Member>
</Members>
</Type>

Просмотреть файл

@ -1,6 +1,6 @@
<Type Name="SKCanvasView" FullName="SkiaSharp.Views.Forms.SKCanvasView">
<TypeSignature Language="C#" Value="public class SKCanvasView : Xamarin.Forms.View" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SKCanvasView extends Xamarin.Forms.View implements class Xamarin.Forms.IElementController, class Xamarin.Forms.IViewController, class Xamarin.Forms.IVisualElementController" />
<TypeSignature Language="C#" Value="public class SKCanvasView : Xamarin.Forms.View, SkiaSharp.Views.Forms.ISKCanvasViewController" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SKCanvasView extends Xamarin.Forms.View implements class SkiaSharp.Views.Forms.ISKCanvasViewController, class Xamarin.Forms.IElementController, class Xamarin.Forms.IViewController, class Xamarin.Forms.IVisualElementController" />
<TypeSignature Language="DocId" Value="T:SkiaSharp.Views.Forms.SKCanvasView" />
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
@ -12,7 +12,11 @@
<Base>
<BaseTypeName>Xamarin.Forms.View</BaseTypeName>
</Base>
<Interfaces />
<Interfaces>
<Interface>
<InterfaceName>SkiaSharp.Views.Forms.ISKCanvasViewController</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>Xamarin.Forms.RenderWith(typeof(SkiaSharp.Views.Forms.SKCanvasViewRenderer))</AttributeName>
@ -318,6 +322,94 @@ myView.PaintSurface += (sender, e) => {
</remarks>
</Docs>
</Member>
<Member MemberName="SkiaSharp.Views.Forms.ISKCanvasViewController.GetCanvasSize">
<MemberSignature Language="C#" Value="event EventHandler&lt;SkiaSharp.Views.Forms.GetPropertyValueEventArgs&lt;SkiaSharp.SKSize&gt;&gt; SkiaSharp.Views.Forms.ISKCanvasViewController.GetCanvasSize;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1&lt;class SkiaSharp.Views.Forms.GetPropertyValueEventArgs`1&lt;valuetype SkiaSharp.SKSize&gt;&gt; SkiaSharp.Views.Forms.ISKCanvasViewController.GetCanvasSize" />
<MemberSignature Language="DocId" Value="E:SkiaSharp.Views.Forms.SKCanvasView.SkiaSharp#Views#Forms#ISKCanvasViewController#GetCanvasSize" />
<MemberType>Event</MemberType>
<Implements>
<InterfaceMember>E:SkiaSharp.Views.Forms.ISKCanvasViewController.GetCanvasSize</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler&lt;SkiaSharp.Views.Forms.GetPropertyValueEventArgs&lt;SkiaSharp.SKSize&gt;&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>The event that is raised when the Xamarin.Forms view requests the size of the current SkiaSharp surface.</summary>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SkiaSharp.Views.Forms.ISKCanvasViewController.OnPaintSurface">
<MemberSignature Language="C#" Value="void ISKCanvasViewController.OnPaintSurface (SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void SkiaSharp.Views.Forms.ISKCanvasViewController.OnPaintSurface(class SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.Views.Forms.SKCanvasView.SkiaSharp#Views#Forms#ISKCanvasViewController#OnPaintSurface(SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:SkiaSharp.Views.Forms.ISKCanvasViewController.OnPaintSurface(SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs" />
</Parameters>
<Docs>
<param name="e">The event arguments that contain the drawing surface and information.</param>
<summary>The method that is invoked when the native SkiaSharp surface is being repainted.</summary>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SkiaSharp.Views.Forms.ISKCanvasViewController.OnTouch">
<MemberSignature Language="C#" Value="void ISKCanvasViewController.OnTouch (SkiaSharp.Views.Forms.SKTouchEventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void SkiaSharp.Views.Forms.ISKCanvasViewController.OnTouch(class SkiaSharp.Views.Forms.SKTouchEventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.Views.Forms.SKCanvasView.SkiaSharp#Views#Forms#ISKCanvasViewController#OnTouch(SkiaSharp.Views.Forms.SKTouchEventArgs)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:SkiaSharp.Views.Forms.ISKCanvasViewController.OnTouch(SkiaSharp.Views.Forms.SKTouchEventArgs)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="SkiaSharp.Views.Forms.SKTouchEventArgs" />
</Parameters>
<Docs>
<param name="e">The event arguments that contain the touch information.</param>
<summary>The method that is invoked when there is a touch event on the native view.</summary>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SkiaSharp.Views.Forms.ISKCanvasViewController.SurfaceInvalidated">
<MemberSignature Language="C#" Value="event EventHandler SkiaSharp.Views.Forms.ISKCanvasViewController.SurfaceInvalidated;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler SkiaSharp.Views.Forms.ISKCanvasViewController.SurfaceInvalidated" />
<MemberSignature Language="DocId" Value="E:SkiaSharp.Views.Forms.SKCanvasView.SkiaSharp#Views#Forms#ISKCanvasViewController#SurfaceInvalidated" />
<MemberType>Event</MemberType>
<Implements>
<InterfaceMember>E:SkiaSharp.Views.Forms.ISKCanvasViewController.SurfaceInvalidated</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>SkiaSharp.Views.Forms</AssemblyName>
<AssemblyVersion>1.60.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>The event that is raised when the Xamarin.Forms view requests the native view be repainted.</summary>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="Touch">
<MemberSignature Language="C#" Value="public event EventHandler&lt;SkiaSharp.Views.Forms.SKTouchEventArgs&gt; Touch;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1&lt;class SkiaSharp.Views.Forms.SKTouchEventArgs&gt; Touch" />

Просмотреть файл

@ -40,7 +40,7 @@
</Docs>
</Member>
<Member MemberName="FromPixel">
<MemberSignature Language="C#" Value="public static float FromPixel (float v);" />
<MemberSignature Language="C#" Value="public static double FromPixel (double v);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig float64 FromPixel(float64 v) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.Views.Tizen.ScalingInfo.FromPixel(System.Double)" />
<MemberType>Method</MemberType>
@ -86,7 +86,7 @@
</Docs>
</Member>
<Member MemberName="ScalingFactor">
<MemberSignature Language="C#" Value="public static float ScalingFactor { get; }" />
<MemberSignature Language="C#" Value="public static double ScalingFactor { get; }" />
<MemberSignature Language="ILAsm" Value=".property float64 ScalingFactor" />
<MemberSignature Language="DocId" Value="P:SkiaSharp.Views.Tizen.ScalingInfo.ScalingFactor" />
<MemberType>Property</MemberType>
@ -108,7 +108,7 @@
</Docs>
</Member>
<Member MemberName="ToPixel">
<MemberSignature Language="C#" Value="public static float ToPixel (float v);" />
<MemberSignature Language="C#" Value="public static double ToPixel (double v);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig float64 ToPixel(float64 v) cil managed" />
<MemberSignature Language="DocId" Value="M:SkiaSharp.Views.Tizen.ScalingInfo.ToPixel(System.Double)" />
<MemberType>Method</MemberType>

Просмотреть файл

@ -549,10 +549,10 @@
<AttributeName>System.Reflection.AssemblyDescription("HarfBuzzSharp is a cross-platform OpenType text shaping engine for .NET platforms.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Reflection.AssemblyFileVersion("1.4.6.0")</AttributeName>
<AttributeName>System.Reflection.AssemblyFileVersion("1.4.6.1")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Reflection.AssemblyInformationalVersion("1.4.6.0")</AttributeName>
<AttributeName>System.Reflection.AssemblyInformationalVersion("1.4.6.1")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Reflection.AssemblyProduct("HarfBuzzSharp")</AttributeName>
@ -840,6 +840,8 @@
</Namespace>
<Namespace Name="SkiaSharp.Views.Forms">
<Type Name="Extensions" Kind="Class" />
<Type Name="GetPropertyValueEventArgs`1" DisplayName="GetPropertyValueEventArgs&lt;T&gt;" Kind="Class" />
<Type Name="ISKCanvasViewController" Kind="Interface" />
<Type Name="SKBitmapImageSource" Kind="Class" />
<Type Name="SKCanvasView" Kind="Class" />
<Type Name="SKGLView" Kind="Class" />