BufferedGraphicsManager クラス

定義

メインのバッファー内グラフィックス コンテキスト オブジェクトへのアクセスをアプリケーション ドメインに提供します。

public ref class BufferedGraphicsManager abstract sealed
public ref class BufferedGraphicsManager sealed
public static class BufferedGraphicsManager
public sealed class BufferedGraphicsManager
type BufferedGraphicsManager = class
Public Class BufferedGraphicsManager
Public NotInheritable Class BufferedGraphicsManager
継承
BufferedGraphicsManager

次のコード例では、現在のアプリケーション ドメインの を BufferedGraphicsContext 取得する方法を示します。

// Retrieves the BufferedGraphicsContext for the 
// current application domain.
BufferedGraphicsContext^ appDomainGraphicsContext =
   BufferedGraphicsManager::Current;
// Retrieves the BufferedGraphicsContext for the
// current application domain.
BufferedGraphicsContext appDomainGraphicsContext =
     BufferedGraphicsManager.Current;
' Retrieves the BufferedGraphicsContext for the 
' current application domain.
Dim appDomainGraphicsContext As BufferedGraphicsContext = BufferedGraphicsManager.Current

注釈

BufferedGraphicsManagerクラスを使用すると、グラフィックスのカスタム ダブル バッファリングを実装できます。 ダブル バッファリングを使用するグラフィックスでは、表示サーフェイスの再描画によって引き起こされるちらつきを軽減または排除できます。

このクラスには、 Current現在のアプリケーション ドメインの main BufferedGraphicsContext を返す 1 つの静的プロパティ があります。 クラスは BufferedGraphicsContext 、バッファーされたグラフィックスを描画するために使用できるインスタンスを作成 BufferedGraphics します。

クラスにはBufferedGraphicsパブリック コンストラクターがなく、そのAllocateメソッドを使用してアプリケーション ドメインの BufferedGraphicsContext オブジェクトによって作成される必要があります。 現在のアプリケーション ドメインの BufferedGraphicsContext オブジェクトは、静的 BufferedGraphicsManager.Current プロパティから取得できます。

ダブル バッファリングの詳細については、「 Double Buffered Graphics、、 BufferedGraphicsおよび BufferedGraphicsContext」を参照してください。

プロパティ

Current

現在のアプリケーション ドメインの BufferedGraphicsContext を取得します。

適用対象

こちらもご覧ください