표준 Inkcanvas 응용 프로그램이 있습니다. 표준 애플리케이션은 Figure 1.과 같은 모든 응용 프로그램 코드 (XAML)는 여기에 있습니다 :wpf inkcanvas 브러시 스타일
<Window x:Class="WpfApplication18.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<InkCanvas>
<InkCanvas.DefaultDrawingAttributes>
<DrawingAttributes x:Name="attribute" Width="40" Height="40" Color="BlueViolet" />
</InkCanvas.DefaultDrawingAttributes>
</InkCanvas>
</Grid>
내가 이미지와 비표준 Inkcanvas 브러쉬 만드는 방법 궁금 같이 (이미지 마스크?) : Figure 2. Inkcanvas와 간단한 "배경"이미지 (jpg, png 또는 기타)을 사용하여 페인트하고 싶습니다. 그것을 만드는 간단한 방법이 있습니까? 코드 예제를 줄 수 있습니까? 내 응용 프로그램에서
나는 표준 Inkcanvas에 페인트하려는 그 후이 그림 2. 뭔가를 달성하기 위해 Inkcanvas 선택을 변환 (버튼 클릭 후?)