Hi,
I'm having quite a hard time trying to draw a simple line from one location to another in xna and directx. I've tried both but really can not get either to work. :(
I've searched around a bit but everything seems really complicated. All I want to do is draw a line on a panel control.
I've managed to do this in GDI+ but it is really glitchy so I was told to try directx and xna.
Please can someone...
Search Result
Collapse
8 results in 0.0041 seconds.
Keywords
Members
Tags
-
Drawing lines in XNA or DirectX?
-
Draw five times on one window with for loop
Howdy,
I need to create a pair of circles, but have them drawn five times onto a single window. I am totally stumped. Here is what I have so far that prints one pair of circles:
Code:def p91_clone(): win = GraphWin("cloning dots") leftEye = Circle(Point(80,50),5) leftEye.setFill('yellow') leftEye.setOutline('red') rightEye = leftEye.clone() rightEye.move(20,0)
-
Is it possible to create shapes in a Word document using C#?
I'm attempting to create shapes on a Microsoft Office Word document to model the layout of tables in a room. I've found a nice article (http://support.microsoft.com/kb/316384) that demonstrates how to create tables and text, but it doesn't mention anything about shapes. Is this possible or am I just dreaming? -
How do I remove a shape on mouse click?
I'm trying to find out how to remove a shape on mouse click, but I can't find any solid information on how to do it. Is this possible at all? I'll be creating multiple shapes (They're the same shape, just in different locations) and I want to make it so that the user can remove individual shapes if necessary.
Can anyone please help me out with this one? -
How to draw an object in Corel Draw?
hello.......... ...............
I had just started to learn the Corel Draw, so I picked a crown to design same like it. I have tried a alot but I did not get the point to design it myself. i just want to get any help or step by step guide to make the same myself.
I have uploaded the crown.... -
Saving a Draw made by the user.
Hi All,
I have made a small app that allows the user to draw.
Code:createEmptyMovieClip("terrain", 1); terrain.lineStyle(3, 0x000000, 100); imdrawing = false; onMouseDown = function () { if (imdrawing == false) { terrain.moveTo(_xmouse, _ymouse); imdrawing = true; } if (imdrawing == true) { onEnterFrame = function
-
JavaScript App which allow the user to paint and save
Hi All,
I have been trying to make an JavaScript application which allow the user to paint (draw) a small picture.
When the done the draw will be placed as picture into a Crystal Report (.Net) by pressing a button.
Cheers -
Writing and moving text on Bitmaps of various resolutions
I'm writing a program that displays a user-supplied Bitmap and then writes text fields to it. These "text fields" are things that the user can move around on the image, but to render them efficiently, I draw the text directly to the image. It's faster that way.
The problem is that right now I have to redraw the original (unwritten-to) bitmap and redraw the text whenever the user moves the text because I haven't figured out...