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를 반환 하는 기본 BufferedGraphicsContext 현재 애플리케이션 도메인에 대 한 합니다. 클래스는 BufferedGraphicsContext 버퍼링된 그래픽을 그리는 데 사용할 수 있는 인스턴스를 만듭니 BufferedGraphics 다.

합니다 BufferedGraphics 클래스 생성자가 없는 공용 및 만들어야 합니다 BufferedGraphicsContext 사용 하 여 애플리케이션 도메인에 대 한 개체 해당 Allocate 메서드. 검색할 수 있습니다 합니다 BufferedGraphicsContext 정적에서 현재 애플리케이션 도메인에 대 한 개체 BufferedGraphicsManager.Current 속성입니다.

이중 버퍼링에 대한 자세한 내용은 이중 버퍼링 그래픽, BufferedGraphicsBufferedGraphicsContext를 참조하세요.

속성

Current

현재 애플리케이션 도메인에 대한 BufferedGraphicsContext를 가져옵니다.

적용 대상

추가 정보