Files
linux-packaging-mono/mcs/class/System.Drawing/Documentation/en/System.Drawing/BufferedGraphicsManager.xml
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

50 lines
3.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="BufferedGraphicsManager" FullName="System.Drawing.BufferedGraphicsManager">
<TypeSignature Language="C#" Value="public sealed class BufferedGraphicsManager" />
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Drawing.BufferedGraphicsManager" /> class allows you to implement custom double buffering for your graphics. Graphics that use double buffering can reduce or eliminate flicker that is caused by redrawing a display surface.</para>
<para>This class has one static property, <see cref="P:System.Drawing.BufferedGraphicsManager.Current" />, which returns the main <see cref="T:System.Drawing.BufferedGraphicsContext" /> for the current application domain. The <see cref="T:System.Drawing.BufferedGraphicsContext" /> class creates <see cref="T:System.Drawing.BufferedGraphics" /> instances that can be used to draw buffered graphics.</para>
<para>The <see cref="T:System.Drawing.BufferedGraphics" /> class has no public constructor and must be created by the <see cref="T:System.Drawing.BufferedGraphicsContext" /> object for an application domain using its <see cref="M:System.Drawing.BufferedGraphicsContext.Allocate(System.Drawing.Graphics,System.Drawing.Rectangle)" /> method. You can retrieve the <see cref="T:System.Drawing.BufferedGraphicsContext" /> object for the current application domain from the static <see cref="P:System.Drawing.BufferedGraphicsManager.Current" /> property.</para>
<para>For more information on double buffering, see <format type="text/html"><a href="4F6FEF99-0972-436E-9D73-0167E4033F71">[&lt;topic://vbconDoubleBuffering&gt;]</a></format>, <see cref="T:System.Drawing.BufferedGraphics" />, and <see cref="T:System.Drawing.BufferedGraphicsContext" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides access to the main buffered graphics context object for the application domain.</para>
</summary>
</Docs>
<Members>
<Member MemberName="Current">
<MemberSignature Language="C#" Value="public static System.Drawing.BufferedGraphicsContext Current { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Drawing.BufferedGraphicsContext</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Within an application the <see cref="P:System.Drawing.BufferedGraphicsManager.Current" /> property always returns the same <see cref="T:System.Drawing.BufferedGraphicsContext" /> object.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the <see cref="T:System.Drawing.BufferedGraphicsContext" /> for the current application domain.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>