closes #49
This commit is contained in:
Bill Holmes 2016-04-08 10:36:05 -04:00
Родитель 54841dfaa6 e79ef68b91
Коммит 04337068b8
4 изменённых файлов: 37 добавлений и 1 удалений

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

@ -140,6 +140,18 @@ namespace SkiaSharp
}
}
public SKFilterQuality FilterQuality
{
get
{
return SkiaApi.sk_paint_get_filter_quality(Handle);
}
set
{
SkiaApi.sk_paint_set_filter_quality(Handle, value);
}
}
public SKTypeface Typeface {
get {
return GetObject<SKTypeface> (SkiaApi.sk_paint_get_typeface (Handle));

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

@ -200,6 +200,10 @@ namespace SkiaSharp
[DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)]
public extern static SKXferMode sk_paint_get_xfermode_mode(sk_paint_t t);
[DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)]
public extern static void sk_paint_set_filter_quality(sk_paint_t t, SKFilterQuality filterQuality);
[DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)]
public extern static SKFilterQuality sk_paint_get_filter_quality(sk_paint_t t);
[DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)]
public extern static sk_typeface_t sk_paint_get_typeface(sk_paint_t t);
[DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)]
public extern static void sk_paint_set_typeface(sk_paint_t t, sk_typeface_t typeface);

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

@ -174,6 +174,26 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FilterQuality">
<MemberSignature Language="C#" Value="public SkiaSharp.SKFilterQuality FilterQuality { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype SkiaSharp.SKFilterQuality FilterQuality" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.49.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>SkiaSharp.SKFilterQuality</ReturnType>
</ReturnValue>
<Docs>
<summary>
<para>The <see cref="T:SkiaSharp.SKFilterQuality" /> of the current paint. This affects the quality (and performance) of drawing scaled images.</para>
</summary>
<value>The <see cref="T:SkiaSharp.SKFilterQuality" /> of the current paint.</value>
<remarks>
<para></para>
</remarks>
</Docs>
</Member>
<Member MemberName="FontMetrics">
<MemberSignature Language="C#" Value="public SkiaSharp.SKFontMetrics FontMetrics { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype SkiaSharp.SKFontMetrics FontMetrics" />

2
skia

@ -1 +1 @@
Subproject commit 15d4e8e5cafdfd9432a43a6c3f834d391dbfc55e
Subproject commit 80dad6f296bfc506a3a246fbf9c5c09ae99b06e5