amazingvast.blogg.se

Ruler tool for windows
Ruler tool for windows





ruler tool for windows
  1. #Ruler tool for windows how to
  2. #Ruler tool for windows update

However, what was not previously possible was to add code to affect the drawing strokes a user generated as they were drawing “wet” ink onto the InkCanvas. There are samples of these techniques on GitHub using C# and Win2D and using C++ and Direct2D. For specialized scenarios where a developer needs complete control over the ink rendering, it is possible to implement “custom drying” and take over full responsibility of rendering dry ink in any way that the application needs to. The documentation for DirectInk talks in terms of “wet” and “dry” ink the input is processed on a low-latency background thread and rendered “wet” until the ink stroke is completed and picked up by the UI thread to be rendered “dry” onto the InkCanvas. One of the big advantages of DirectInk is that the software stack works closely with the hardware so ink can be smoothly captured from the digitizer and presented on the screen.

#Ruler tool for windows update

Those who have previously used platform pieces like InkCanvas may wonder how this ruler is implemented as it’s new in the Anniversary Update and relies upon some additions to the DirectInk APIs. It’s one of those things that has to be tried rather than explained, as there’s a specific feeling that comes from drawing with a virtual ruler for the first time.

ruler tool for windows

The platform provides for simultaneous touch and pen so that the user can manipulate the ruler with one hand while drawing with the other. The snippet below wraps those “2 lines of markup” into a Grid container. That session included a discussion on how the new and greatly improved InkToolbar control is now a part of the platform, and how the bar for producing an inking experience has been lowered so that with “just 2 lines of markup” you can produce a very usable UI offering three different types of pen. Watch here: “ Pen and Ink: Inking at the Speed of Thought” Li-Chen’s “ Closer Look at Windows Ink” post from April, and Pete’s recent “ The Ink Canvas and Ruler: combining art and technology” both dive into some of those enhancements, including the new Windows Ink Workspace, Sticky Notes and Sketchpad.įor the developer, Pete’s post gets you started in adding ink to your app and you can go on a deeper dive with Scott and Xiao from the Windows Inking team in their //build/ 2016 session. There has been a lot of excitement and discussion around these features since they were first shown at //build/ 2016.

#Ruler tool for windows how to

Along with gaining knowledge from general inking resources, you will finish this post knowing how to create a custom ruler with DirectInk. The Windows 10 Anniversary Update comes with a great set of enhancements to digital ink for both the user and developer.







Ruler tool for windows