Udostępnij za pośrednictwem


CRenderTarget::DrawEllipse

Rysuje konspektu elipsy określonego stylu obrysu określony.

void DrawEllipse(
   const CD2DEllipse& ellipse,
   CD2DBrush* pBrush,
   FLOAT fStrokeWidth = 1.0,
   ID2D1StrokeStyle* strokeStyle = NULL
);

Parametry

  • ellipse
    Położenie i radius elipsy do rysowania w pikselach niezależny od urządzenia.

  • pBrush
    Pędzel pokolorowanymi konspektu elipsy.

  • fStrokeWidth
    Grubość obrysu elipsy.Obrys jest wyśrodkowany na konspektu elipsy.

  • strokeStyle
    Styl obrysu, zastosowanie do konspektu elipsy lub NULL, aby malować stałe obrysu.

Wymagania

Nagłówek: afxrendertarget.h

Zobacz też

Informacje

Klasa CRenderTarget