BufferedGraphicsManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to the main buffered graphics context object for the application domain.
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
- Inheritance
-
BufferedGraphicsManager
Examples
The following code example demonstrates acquiring the BufferedGraphicsContext for the current application domain.
// 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
Remarks
The 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.
This class has one static property, Current, which returns the main BufferedGraphicsContext for the current application domain. The BufferedGraphicsContext class creates BufferedGraphics instances that can be used to draw buffered graphics.
The BufferedGraphics class has no public constructor and must be created by the BufferedGraphicsContext object for an application domain using its Allocate method. You can retrieve the BufferedGraphicsContext object for the current application domain from the static BufferedGraphicsManager.Current property.
For more information on double buffering, see Double Buffered Graphics, BufferedGraphics, and BufferedGraphicsContext.
Properties
Current |
Gets the BufferedGraphicsContext for the current application domain. |
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기