drawingcontext Questions
1
Solved
I haven't found anything useful either on Google or Stack Overflow or simply no answers (or maybe I just don't know what to search for) -- the closest question I can get to is this one: The reason ...
Damning asked 2/6, 2017 at 19:40
2
When does the actualScaleFactor of an NSStringDrawingContext change?
The documentation says:
"If you specified a custom value in the minimumScaleFactor property, when drawing is complete, this pr...
Chandlery asked 5/1, 2016 at 22:36
1
Solved
I have a drawing visual which I have drawings, how do I add this to my canvas and display?
DrawingVisual drawingVisual = new DrawingVisual();
// Retrieve the DrawingContext in order to create n...
Ataraxia asked 21/3, 2016 at 8:52
4
when I draw something like that (just random drawings here):
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
DrawingVisual visual = new DrawingVisual()...
Kongo asked 12/6, 2012 at 16:31
1
Solved
I'm going to draw hundreds of lines in real-time. I have chosen the Visual Layer to do this. But I see that there are two different ways to draw a line here. Which one you suggest to get a better p...
Ora asked 11/4, 2014 at 20:7
2
Solved
I hope this question was not asked before, I searched everywhere.
My problem is that I'm drawing a set of coordinates on my wpf usercontrol with points, I managed to fill my polygon with backgroun...
Sartorial asked 13/2, 2014 at 14:1
1
I am building a custom UI framework in WPF where I basically ditch as much of the built-in layout system and controls as I can. So far I have been branching off from UIElement directly, but since I...
Intendment asked 21/12, 2013 at 13:21
4
Solved
I'd like to hijack the usual WPF rendering to split the controls into primitives, do the layout management, apply the bindings etc. for me.
As far as I understand, the whole rendering in WPF boils...
Moton asked 12/8, 2013 at 17:32
3
I have a DrawingContext (part of a Visual or a DrawingGroup), where I draw a bunch of rectangles and/or 1-bit images on top of each other. Think of it as a masking 1-bit image. I would like to conv...
Obligee asked 31/7, 2012 at 1:58
2
Currently I have an image on a canvas that can I freely move around in my application on which I have 6 layers of DrawingVisuals rendered, but it seems to be pretty slow. I'm using a RenderTargetBi...
Drynurse asked 28/4, 2012 at 11:4
2
I'm drawing into a DrawingContext, and I'd like to apply a drop shadow effect to part of the drawing. At the moment I create the relevant parts in a DrawingGroup and apply a BitmapEffect, but this ...
Destruction asked 28/12, 2011 at 12:9
1
Solved
Using the DrawingContext class I've been able to use the DrawRectangle() method to successfully add an adorner to my adornedElement.
Is it possible to construct a stackpanel, with a textbox and i...
Fleischer asked 20/12, 2011 at 13:58
1
© 2022 - 2024 — McMap. All rights reserved.