Skip to main content

All Questions

Tagged with
0 votes
0 answers
96 views

Coordinate System Transformation and implementation

I am attempting to read analysis results from an output file generated by OOFEM (analysis engine) and then to apply the deflections read from the file onto my model using a combination of C# and VB....
Chris Vorster's user avatar
0 votes
1 answer
102 views

Can you help me draw my 3D model of a chain to a specific direction?

With the code below I created a function to draw a 3D chain model in C# using the helix toolkit. This works exactly how I wanted to but... now I'm breaking my head around a good approach to draw the ...
jaapie's user avatar
  • 25
1 vote
1 answer
136 views

Is there a way to export a line that was drawn on a chart to an EMF file in Winforms?

I'm drawing some data using Winforms (with a C# solution). I plot error bars using chart series (with the chart.Series[item].Points.AddXY() method). However, I link the error bars' middle points with ...
Gautzilla's user avatar
1 vote
1 answer
337 views

How to inverse rotate a ray in a ray tracer from world space to object space

I am currently working on a ray tracer implementation in c# and I am trying to rotate my ray invertly to the 3Dobject's rotatio for intersectionDetection, but I seem to be doing multiple things wrong ...
Irobot45's user avatar
1 vote
0 answers
107 views

Is there a way to save the visual of a UserControl containing a chart as a vector graphics file?

I need to save a chart made in a WPF UserControl in a vector graphics file format. What I have tried until now was to get a hold of the UIElement (the User Control) containing the chart, and save ...
UabasIerdna's user avatar
0 votes
1 answer
371 views

Svg files to display in Android

I have a large number of svg files (over 1000) that have keyframe animations included in the CSS. Ultimately I want to be able to display these in an android app. I looked into using android ...
user2202098's user avatar
0 votes
0 answers
330 views

Insert graphic/vector drawing from PDF into different PDF using iTextSharp

I'm hitting brick walls trying to see if this is possible. My current scenario is that we have a process (out of our control) that generates PDFs with an image logo in the top left. The image ...
test's user avatar
  • 2,629
1 vote
1 answer
1k views

C# Painting a form into a MetaFile graphics object

I hope that question was not asked before. I could not find anything specific in this regard. I have a complicated custom drawn form that I would lake to save as a vector graphic (emf) using the ...
Oliver Bernhardt's user avatar
0 votes
0 answers
424 views

WPF Canvas does not consistently clear drawn geometry

I am working with a WPF control derived from the Canvas that I am drawing a selection of geometry to, through a process that works along these lines, but is far more complex so although this ...
glenatron's user avatar
  • 11.2k
0 votes
1 answer
1k views

Scale WPF DrawingGroup to fit in the current Element

I have loaded a set of vector data into my application whose bounds extend from {-165835.328125, 6582072.5} to {-64674.02734375, 6609767} giving a Width of 101161.30078125 and a Height of 27694.5. I ...
glenatron's user avatar
  • 11.2k
0 votes
1 answer
552 views

How to handle a large amount of geometry data in a WPF drawing?

I am drawing some items to a DrawingGroup in a WPF UI I am experimenting with, the code looks a little like this: foreach( var path in allRoads ) { var wpfPen = new Pen(brush, penSize); ...
glenatron's user avatar
  • 11.2k
0 votes
1 answer
66 views

C# Vector3's get the remaining area in percentage

I have two Vector3, that each represent the size of an area. First one is the total amount of the area. Second one is just a part of the first one. How do i get the percentage, that remains of the ...
Björn Rave's user avatar
1 vote
0 answers
1k views

Inserting/Work around for Transparent image in Crystal Report, Vector Conversion in .net

I was wondering if anyone can help me or give me any idea's regarding some work around to put a transparent background in the crystal report, basically this is what I need to do... I am creating a ...
Orion Star's user avatar
1 vote
1 answer
2k views

Convert 2 vector2 points to a rectangle in xna/monogame

I have some code which will detect the start and end point of a click-and-drag action, and will save it to 2 vector2 points. I then use this code to convert: public Rectangle toRect(Vector2 a, ...
Optimistic Peach's user avatar
0 votes
0 answers
217 views

Best way to use a vector image in Viewport3D?

I was able to display a vector image with standard WPF like this. <Image > <Image.Source> <DrawingImage> <DrawingImage.Drawing> <...
Andreas's user avatar
  • 3,993

15 30 50 per page
1
2 3 4 5