Skip to content

An example C# project which shows the usage of direct2d within a WPF window via SharpDX. The project also includes some classes, which you can directly copy to your project.

Notifications You must be signed in to change notification settings

mbrenn/direct2donwpf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Direct2dOnWPF

An example C# project which shows the usage of direct2d within a WPF window via SharpDX. The project also includes some classes, which you can directly copy to your project.

The library in the example project can be used as a starting point to derive your Direct2DControl by just overwriting the Render method.

Everything in this project is free for use, but I do not give warranty of any kind.

Thanks to the author in SharpDX-Forum [1] and thanks to the SharpDX team, who privides the glue between DirectX and .Net.

[1] http://sharpdx.org/forum/5-api-usage/567-wpf-and-direct2d


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

An example C# project which shows the usage of direct2d within a WPF window via SharpDX. The project also includes some classes, which you can directly copy to your project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages