BufferedGraphics.Render 메서드

정의

그래픽 버퍼의 내용을 씁니다.

오버로드

Name Description
Render()

그래픽 버퍼의 내용을 기본 디바이스에 씁니다.

Render(Graphics)

그래픽 버퍼의 내용을 지정된 Graphics 개체에 씁니다.

Render(IntPtr)

그래픽 버퍼의 내용을 지정된 IntPtr 핸들과 연결된 디바이스 컨텍스트에 씁니다.

Render()

Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs

그래픽 버퍼의 내용을 기본 디바이스에 씁니다.

public:
 void Render();
public void Render();
member this.Render : unit -> unit
Public Sub Render ()

설명

이 메서드는 이 BufferedGraphics 개체를 만드는 데 사용된 메서드를 호출 Allocate 하여 지정한 디바이스에 그래픽 버퍼의 BufferedGraphicsContext 내용을 씁니다.

추가 정보

  • 이중 버퍼링된 그래픽

적용 대상

Render(Graphics)

Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs

그래픽 버퍼의 내용을 지정된 Graphics 개체에 씁니다.

public:
 void Render(System::Drawing::Graphics ^ target);
public void Render(System.Drawing.Graphics? target);
public void Render(System.Drawing.Graphics target);
member this.Render : System.Drawing.Graphics -> unit
Public Sub Render (target As Graphics)

매개 변수

target
Graphics

Graphics 그래픽 버퍼의 내용을 쓸 개체입니다.

예제

다음 코드 예제에서는 그래픽 버퍼의 내용을 지정된 Graphics 개체에 렌더링하는 방법을 보여 줍니다. 이 코드는 클래스에 제공된 더 큰 예제의 BufferedGraphics 일부입니다.

private:
   void RenderToGraphics( Graphics^ g )
   {
      grafx->Render( g );
   }
private void RenderToGraphics(Graphics g)
{
    grafx.Render( g );
}
Private Sub RenderToGraphics(g As Graphics)
    grafx.Render(g)
End Sub

설명

이 메서드는 그래픽 버퍼의 내용을 지정된 Graphics 개체에 씁니다.

추가 정보

  • Graphics
  • 이중 버퍼링된 그래픽

적용 대상

Render(IntPtr)

Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs
Source:
BufferedGraphics.cs

그래픽 버퍼의 내용을 지정된 IntPtr 핸들과 연결된 디바이스 컨텍스트에 씁니다.

public:
 void Render(IntPtr targetDC);
public void Render(IntPtr targetDC);
member this.Render : nativeint -> unit
Public Sub Render (targetDC As IntPtr)

매개 변수

targetDC
IntPtr

nativeint

IntPtr 그래픽 버퍼의 내용을 쓸 디바이스 컨텍스트를 가리키는 것입니다.

예제

다음 코드 예제에서는 그래픽 버퍼 grafx 의 콘텐츠를 지정된 디바이스 컨텍스트로 렌더링하는 방법을 보여 줍니다. 이 코드는 클래스에 제공된 더 큰 예제의 BufferedGraphics 일부입니다.

private:
   void RenderToDeviceContextHandle( IntPtr hDC )
   {
      grafx->Render( hDC );
   }
private void RenderToDeviceContextHandle(IntPtr hDC)
{
    grafx.Render( hDC );
}
Private Sub RenderToDeviceContextHandle(hDC As IntPtr)
    grafx.Render(hDC)
End Sub

설명

이 메서드는 그래픽 버퍼의 내용을 지정된 IntPtr 핸들과 연결된 디바이스 컨텍스트에 씁니다.

추가 정보

  • IntPtr
  • 이중 버퍼링된 그래픽

적용 대상