WPF Graphics Rendering Services - Drawing

WPF provides the Drawing that is a sophisticated drawing and geometry programming interface that renders even more lightweight 2D vector images.

  • DrawingGroup 
  • GeometryDrawing 
  • GlyphRunDrawing 
  • ImageDrawing
  • VideoDrawing


Because they are more lightweight, Drawing-derived types do not have intrinsic support for handling input events, as they are not UIElementsor FrameworkElements(although it is possible to programmatically perform hit-testing logic).
Another key difference between Drawing-derived types and Shape-derived types is that Drawing derived types have no ability to render themselves, as they do not derive from UIElement! Rather, derived types must be placed within a hosting object (specifically, DrawingImage, DrawingBrush, or DrawingVisual) to display their content.

댓글

이 블로그의 인기 게시물

Oracle NLS_DATE_FORMAT 변경

Alternative to IValueConvert, QuickConverter

Stop console process using Ctrl+C.