I have a progress bar whose ControlTemplate is as follows and I want to set the value of the progress bar to a number so the progress updates to that ...
I have a progress bar whose ControlTemplate is as follows and I want to set the value of the progress bar to a number so the progress updates to that ...
I have a list of 2D points x,y. And I need to find a smooth curve for the upper and lower edges (red and blue curves, correspondingly). See the pictur ...
For a test, I used InkScape to create following svg file that correctly displays the the image TEX in all major browsers (IE, Chrome, Edge, FireFox et ...
I am using MahApps.Metro in my WPF app. In the title bar of my MetroWindow I'm displaying an svg image icon as follows. In the Path Markup for the svg ...
I am trying to draw a simple box with an "arrow head" centred at the top, but I do not seem to be able to get that arrow head to centre (as shown in t ...
I am trying to draw in C# for the first time and I have a problem with positioning. I made some background but I have problem to finish it. I always d ...
I get my Icons in XAML-format, like this (path shortened for better readability): Then I extract the Pathgeometry and put it into a path-style: ...
I have a Canvas in UWP, and need to draw Path on it in code-behind. I have it working, but it seems needlessly verbose, especially considering that I ...
I need to decide whether a Point is inside a given Path. In WPF I was able to use Geometry.FillContains: https://docs.microsoft.com/en-us/dotnet/api/ ...
I am attempting to learn 2D and 3D graphics using DirectX 11_1 and am following a number of online tutorials. However, I am using the latest VS2017 te ...
I have a button with a custom ControlTemplate. During execution, I want to change the PathGeometry and Fill based on criteria the user selects. In a ...
In the following code part is Part class's object which is inherited from ScatterViewItem class (Microsoft.Surface.Presentation.Controls). part.Conten ...
Is there a way to get the actual path of a PathGeometry in WPF? I've looked at RenderedGeometry, but it doesn't appear to provide anything other than ...
I have following SVG path: For easy of reading: I'm trying to convert this to a ID2D1PathGeometry. Here is the code: While I can convert line ...
I'm trying to draw a circle with perfect X mark. I managed to draw a circle with half of the X mark. I'm not sure how to draw the second half. Thank ...
I have a WPF application that retrieves object 'movement' messages from a EasyNetQ/RabbitMQ message queue. Getting the message works fine as I can see ...
I have a path that has three defining PathGeometries: a circle, a connecting line, and a path that represents fan blades. I'd like to use the path's T ...
I am trying to divide the circle into multiple paths and represent data in it with few animation effects as shown in below image. Having trouble in di ...
I am using a GeometryGroup to draw a symbol in the center of a circle. The example below shows one of my attempts while experimenting with this. It f ...
I created an object from points with this code, dynamically: Now I want to add event handler for this object. Would not be a problem if object is a ...