|
-
Nov 20th, 2010, 08:56 PM
#1
Thread Starter
Junior Member
Accessing Direct2D from VB.NET using WPF project
Hello,
I am really new to WPF (super beginner). Anyway, I have a few questions regarding WPF to draw a real-time 2D chart.
1) How do I access Direct2D from the code section, I am for looking the equivalent of GDIs MoveTo and LineTo APIs.
2) Can I update this plot through writing the appropriate xaml code?
In the past I was able to do this with GDI and it ran very fast, but now GDI is being phased out. My plot will take many data points in per second, about 100 max points. The plot will have about 50 to 100 traces with each trace having from 1000 to 50,000 points. The data is generated in real-time so I don't know before hand what the data is. My plot, GDI version, would auto resize if the new data point was outside of the viewing area.
Like I've said, I could do this in GDI very quickly but I have no idea how to implement this with Direct2D or through the WPF xaml. I am using VS2010 with .NET 4. Direct2D is no longer managed under this new platform (from what I understand). I don't care if it's managed or not. I do not want to use SlimDX.
Thank you.
-
Nov 22nd, 2010, 04:12 AM
#2
Re: Accessing Direct2D from VB.NET using WPF project
Thread moved to 'WPF' forum
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|