WinRTXamlToolkit.Composition 1.6.0.1
Methods for rendering visual tree into an image file or WriteableBitmap.
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>WinRTXamlToolkit.Composition</id>
<version>1.6.0.1</version>
<title>WinRT XAML Toolkit - Composition</title>
<authors>Filip Skakun</authors>
<owners>Filip Skakun</owners>
<licenseUrl>http://winrtxamltoolkit.codeplex.com/license</licenseUrl>
<projectUrl>http://winrtxamltoolkit.codeplex.com/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Methods for rendering visual tree into an image file or WriteableBitmap.</description>
<releaseNotes>Methods for rendering visual tree into an image file or WriteableBitmap.
Uses SharpDX and base WinRT XAML Toolkit libraries.
Features
- async WriteableBitmapRenderExtensions.RenderToPngStream() method to render the visual tree to a stream as a png image
- async WriteableBitmapRenderExtensions.Render() method to render the visual tree to a new existing WriteableBitmap
- Walking visual tree to look for any UI elements it can render
- Renderers for
- Border (only its background is rendered)
- Ellipse
- Image
- Line
- Path (Stretch does not work)
- Rectangle
- TextBlock (only unformatted, with supported Foreground brushes)
Other missing features
- Opacity
- RenderTransform
- Visibility
- Viewbox
- many more
See also
- WinRTXamlToolkit for other controls and tools
- WinRTXamlToolkit.Controls.Calendar for a calendar control
- WinRTXamlToolkit.Controls.DataVisualization for data visualization controls/charts</releaseNotes>
<language>en-US</language>
<tags>winrt xaml toolkit winrtxamltoolkit xyzzer writeablebitmap render sharpdx targetbitmap composition</tags>
<dependencies>
<dependency id="WinRTXamlToolkit" version="1.6.0.1" />
<dependency id="SharpDX" version="2.4.2" />
<dependency id="SharpDX.D3DCompiler" version="2.4.2" />
<dependency id="SharpDX.Direct2D1" version="2.4.2" />
<dependency id="SharpDX.Direct3D11" version="2.4.2" />
<dependency id="SharpDX.DXGI" version="2.4.2" />
</dependencies>
</metadata>
</package>