This commit is contained in:
Matthew Leibowitz 2017-03-07 07:56:10 -03:00
Родитель eaa2a6f675
Коммит 62cf6348cd
5 изменённых файлов: 424 добавлений и 8 удалений

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

@ -16,9 +16,7 @@
<Interfaces />
<Docs>
<summary>An abstraction layer directly on top of an image codec.</summary>
<remarks>
<para></para>
</remarks>
<remarks />
</Docs>
<Members>
<Member MemberName="Create">

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

@ -0,0 +1,349 @@
<Type Name="SKFrontBufferedStream" FullName="SkiaSharp.SKFrontBufferedStream">
<TypeSignature Language="C#" Value="public class SKFrontBufferedStream : System.IO.Stream" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SKFrontBufferedStream extends System.IO.Stream" />
<AssemblyInfo>
<AssemblyName>SkiaSharp</AssemblyName>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.IO.Stream</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>A read-only stream that buffers the specified first chunk of bytes.</summary>
<remarks>This is useful for decoding images using streams that are not seekable, since <see cref="T:SkiaSharp.SKCodec" /> needs to read the first few bytes to determine the codec to use.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SKFrontBufferedStream (System.IO.Stream stream);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.IO.Stream stream) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="stream" Type="System.IO.Stream" />
</Parameters>
<Docs>
<param name="stream">The stream to buffer.</param>
<summary>Creates a new instance of <see cref="T:SkiaSharp.SKFrontBufferedStream" /> that wraps the specified stream.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SKFrontBufferedStream (System.IO.Stream stream, bool disposeUnderlyingStream);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.IO.Stream stream, bool disposeUnderlyingStream) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="stream" Type="System.IO.Stream" />
<Parameter Name="disposeUnderlyingStream" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="stream">The stream to buffer.</param>
<param name="disposeUnderlyingStream">Whether or not to dispose the underlying stream when this stream is disposed.</param>
<summary>Creates a new instance of <see cref="T:SkiaSharp.SKFrontBufferedStream" /> that wraps the specified stream.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SKFrontBufferedStream (System.IO.Stream stream, long bufferSize);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.IO.Stream stream, int64 bufferSize) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="stream" Type="System.IO.Stream" />
<Parameter Name="bufferSize" Type="System.Int64" />
</Parameters>
<Docs>
<param name="stream">The stream to buffer.</param>
<param name="bufferSize">The number of bytes to buffer.</param>
<summary>Creates a new instance of <see cref="T:SkiaSharp.SKFrontBufferedStream" /> that wraps the specified stream.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SKFrontBufferedStream (System.IO.Stream stream, long bufferSize, bool disposeUnderlyingStream);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.IO.Stream stream, int64 bufferSize, bool disposeUnderlyingStream) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="stream" Type="System.IO.Stream" />
<Parameter Name="bufferSize" Type="System.Int64" />
<Parameter Name="disposeUnderlyingStream" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="stream">The stream to buffer.</param>
<param name="bufferSize">The number of bytes to buffer.</param>
<param name="disposeUnderlyingStream">Whether or not to dispose the underlying stream when this stream is disposed.</param>
<summary>Creates a new instance of <see cref="T:SkiaSharp.SKFrontBufferedStream" /> that wraps the specified stream.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="CanRead">
<MemberSignature Language="C#" Value="public override bool CanRead { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CanRead" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value indicating whether the current stream supports reading.</summary>
<value>
<para></para>
</value>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="CanSeek">
<MemberSignature Language="C#" Value="public override bool CanSeek { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CanSeek" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value indicating whether the current stream supports seeking.</summary>
<value>
<para></para>
</value>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="CanWrite">
<MemberSignature Language="C#" Value="public override bool CanWrite { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CanWrite" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value indicating whether the current stream supports writing.</summary>
<value>
<para></para>
</value>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="DefaultBufferSize">
<MemberSignature Language="C#" Value="public const int DefaultBufferSize = 4096;" />
<MemberSignature Language="ILAsm" Value=".field public static literal int32 DefaultBufferSize = (4096)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<MemberValue>4096</MemberValue>
<Docs>
<summary>The default number of bytes to buffer (4096 bytes).</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="disposing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="disposing">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Flush">
<MemberSignature Language="C#" Value="public override void Flush ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Flush() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Clears all buffers for this stream and causes any buffered data to be written to the underlying device.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Length">
<MemberSignature Language="C#" Value="public override long Length { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int64 Length" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the stream length in bytes.</summary>
<value>
<para></para>
</value>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Position">
<MemberSignature Language="C#" Value="public override long Position { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int64 Position" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the position within the current stream.</summary>
<value>
<para></para>
</value>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Read">
<MemberSignature Language="C#" Value="public override int Read (byte[] buffer, int offset, int count);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 Read(unsigned int8[] buffer, int32 offset, int32 count) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="buffer" Type="System.Byte[]" />
<Parameter Name="offset" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="buffer">The buffer to which bytes are to be copied.</param>
<param name="offset">The byte offset in the buffer at which to begin reading bytes.</param>
<param name="count">The number of bytes to be read.</param>
<summary>Copies bytes from the current buffered stream to an array.</summary>
<returns>Returns the total number of bytes read into the buffer array.</returns>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Seek">
<MemberSignature Language="C#" Value="public override long Seek (long offset, System.IO.SeekOrigin origin);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int64 Seek(int64 offset, valuetype System.IO.SeekOrigin origin) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="offset" Type="System.Int64" />
<Parameter Name="origin" Type="System.IO.SeekOrigin" />
</Parameters>
<Docs>
<param name="offset">The byte offset relative to the specified origin.</param>
<param name="origin">The reference point from which to obtain the new position.</param>
<summary>Sets the position within the current buffered stream.</summary>
<returns>Returns the new position within the current buffered stream.</returns>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="SetLength">
<MemberSignature Language="C#" Value="public override void SetLength (long value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void SetLength(int64 value) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Int64" />
</Parameters>
<Docs>
<param name="value">An integer indicating the desired length of the current buffered stream in bytes.</param>
<summary>Sets the length of the buffered stream.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Write">
<MemberSignature Language="C#" Value="public override void Write (byte[] buffer, int offset, int count);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Write(unsigned int8[] buffer, int32 offset, int32 count) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="buffer" Type="System.Byte[]" />
<Parameter Name="offset" Type="System.Int32" />
<Parameter Name="count" Type="System.Int32" />
</Parameters>
<Docs>
<param name="buffer">The byte array from which to copy count bytes to the current buffered stream.</param>
<param name="offset">The offset in the buffer at which to begin copying bytes to the current buffered stream.</param>
<param name="count">The number of bytes to be written to the current buffered stream.</param>
<summary>Copies bytes to the buffered stream and advances the current position within the buffered stream by the number of bytes written.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
</Members>
</Type>

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

@ -231,8 +231,8 @@
</Docs>
</Member>
<Member MemberName="Empty">
<MemberSignature Language="C#" Value="public static SkiaSharp.SKImageInfo Empty;" />
<MemberSignature Language="ILAsm" Value=".field public static valuetype SkiaSharp.SKImageInfo Empty" />
<MemberSignature Language="C#" Value="public static readonly SkiaSharp.SKImageInfo Empty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly valuetype SkiaSharp.SKImageInfo Empty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
@ -331,9 +331,77 @@
</remarks>
</Docs>
</Member>
<Member MemberName="PlatformColorAlphaShift">
<MemberSignature Language="C#" Value="public static readonly int PlatformColorAlphaShift;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly int32 PlatformColorAlphaShift" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>The number of bits to shift left for the alpha color component.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="PlatformColorBlueShift">
<MemberSignature Language="C#" Value="public static readonly int PlatformColorBlueShift;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly int32 PlatformColorBlueShift" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>The number of bits to shift left for the blue color component.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="PlatformColorGreenShift">
<MemberSignature Language="C#" Value="public static readonly int PlatformColorGreenShift;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly int32 PlatformColorGreenShift" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>The number of bits to shift left for the green color component.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="PlatformColorRedShift">
<MemberSignature Language="C#" Value="public static readonly int PlatformColorRedShift;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly int32 PlatformColorRedShift" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.56.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>The number of bits to shift left for the red color component.</summary>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="PlatformColorType">
<MemberSignature Language="C#" Value="public static SkiaSharp.SKColorType PlatformColorType;" />
<MemberSignature Language="ILAsm" Value=".field public static valuetype SkiaSharp.SKColorType PlatformColorType" />
<MemberSignature Language="C#" Value="public static readonly SkiaSharp.SKColorType PlatformColorType;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly valuetype SkiaSharp.SKColorType PlatformColorType" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.52.0.0</AssemblyVersion>

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

@ -11,7 +11,7 @@
<Interfaces />
<Docs>
<summary>32-bit ARGB premultiplied color value.</summary>
<remarks>The color components are always in a known order.</remarks>
<remarks>The byte order for this value is configuration dependent. This is different from <see cref="T:SkiaSharp.SKColor" />, which is unpremultiplied, and is always in the same byte order.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">

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

@ -385,6 +385,7 @@
<Type Name="SKFontStyleSlant" Kind="Enumeration" />
<Type Name="SKFontStyleWeight" Kind="Enumeration" />
<Type Name="SKFontStyleWidth" Kind="Enumeration" />
<Type Name="SKFrontBufferedStream" Kind="Class" />
<Type Name="SkiaExtensions" Kind="Class" />
<Type Name="SKImage" Kind="Class" />
<Type Name="SKImageCachingHint" Kind="Enumeration" />