205 Topics
|
|
Hi, Consider this code: [CODE]Ellipse myCircle = new Ellipse(); myCircle.Width = 400; myCircle.Height = 400; myCircle.Stroke = Brushes.PeachPuff; myCircle.StrokeThickness = 25; myCircle.ToolTip = "Bold Circle"; Canvas.SetTop(myCircle, 0); Canvas.SetLeft(myCircle, 0); canvas.Children.Add(myCircle); Ellipse myCircle2 = new Ellipse(); myCircle2.Width = 400; myCircle2.Height = 400; myCircle2.Stroke = Brushes.Black; myCircle2.StrokeThickness = 1; Canvas.SetTop(myCircle2, 0); Canvas.SetLeft(myCircle2, … |
|
Hi, I added a Rectangle to a Canvas like this: [CODE]Canvas.SetTop(myRectangle, 150); Canvas.SetLeft(myRectangle, 80); canvas.Children.Add(myRectangle);[/CODE] Now I want to move the rectangle to other place, say (100, 100). What is the best way to do this ? Thanks ! |
|
Hi, I put several shapes (like Ellipse and Rectangle) on a Canvas. Now, I want user to be able to drag & drop these shapes. Is there some predefined functionality that I can use, or I should implement the drag & drop myself using the mouse events ? Thanks ! |
|
Hello ! Could you please point me to a good C# tutorial for drawing 2d graphics like Ellipse and Rectangle (that inherit from Shape) on a Canvas using WPF ? I'm also interested later to click on shapes and identify which shape was clicked, and also to drag and drop … |
|
hi all! i have been programming in C for about 4 months now, and i have the very basics down pretty well (functions, pointers, etc etc), and have been doing a lot of console apps, and i was hoping to do a fractals program. i have the algorithm down (at … |
|
Intel has confirmed reports that it will not release its next-generation graphics processor widely known as [url=http://en.wikipedia.org/wiki/Larrabee_%28GPU%29]Larrabee[/url] as a discreet GPU. Instead, most reports indicate that the company will move ahead with its many-core processor as a design and development platform aimed at graphics rendering and high-performance computing. The idea … |
|
The [url=http://www.blackberrydeveloperconference.com/overview]BlackBerry Developer Conference[/url] concluded yesterday, but not before Research in Motion had the chance to unveil enhancements to its [url=http://na.blackberry.com/eng/developers/]BlackBerry Application Platform[/url], which now supports [url=http://en.wikipedia.org/wiki/OpenGL_ES]OpenGL ES[/url], a subset of the desktop graphics API specification for embedded systems. Useful for development of 3D games development and other graphics, it's … |
|
Correction: The subject line was supposed to have said BAR CHARTS, not bar codes. Rather than reinventing the wheel, I'd like to know if something already exists that will get going me in the right direction. I have a program that, among other things, ftp's files to multiple computers in … |
|
I was just wandering about the user interface of C applications. What are the basic things one should know about programming a graphical user interface with C. |
|
Understanding visitors go beyond the click. Thus, I have seen a few toold out there that discuss on behavioral targeting and psychographics. I have used QuantCast to gain an understanding of the visitors' behavioral profile. But what else is out there? Do you know of any other tool other ther? |
|
So I'm working on this OpenGL 3D Graph program, and like, I ran into some trouble, since I wanted it to support fullscreen, so I made the following; [CODE] int main(int argc, char *argv[]) { ... // Some stuff glutSpecialFunc(SpecKey); ... // More stuff } [/CODE] Which is calling the … |
|
Hey All I'm working on a graphics project at the moment, and although the details themselves are a little tedious (I won't bore you with them all) I am having some problems. My app was working beautifully, rendering my shapes with ease. But in an attempt to make it more … |
|
Hey all I'm gonna be taking graphics next year and I've been kinda thinking ahead. One of the things we have to do is make either a ray tracer or a rasterizer. However I can find almost no info online about how to actually write a rasterizer. There's a fair … |
|
I just found this very interesting article on Mashable - [url]http://mashable.com/2009/08/30/analyze-twitter-content/[/url] I actually like TweetPsych but I do wonder what would be the business implication for knowing sentiment and psychographics on individual users rather than an aggregate of all the followers for a particular account. Would it really help create … |
|
Matrox has announced what it claims to be the first true QuadHead GPU, the Matrox M-Series. Which begs the question, just how many monitors do you need? With 512 MB of memory, native PCIe x16 performance and a fanless design for quiet operation you might think Matrox has done enough … |
|
[URL="http://www.zotac.com"]Zotac[/URL] has today announced the availability of what it claims is the fastest core clock speed for a graphics card straight out of the box. The GTX 280 AMP! Edition overclocks the NVIDIA GTX 280 card to top, are you ready for this, 700 MHz. OK, so it adds about … |
|
[URL="http://www.sapphiretech.com"]Sapphire Technology[/URL] has announced a new addition to the HD 2400 and HD 2600 graphics accelerator families scheduled for a July release, the completely passively cooled HD 2600 XT Ultimate Edition. As fans of the Sapphire Ultimate Edition family will already be aware, these are renowned for not only being … |
|
It looks like NVIDIA really means business, announcing it intends to attack the Intel integrated graphics processor market with an ICP of its own. Now that is some target, given that Intel is pretty much the heavyweight champ when it comes graphic chip manufacturing and sales by the numbers. No … |
|
The Intel Open Source Technology Center has officially released open source graphics drivers for the 965 Express chipset in a move that while not exactly unprecedented is, nonetheless, a most welcome display of commitment to the provision of free software drivers. Moreover, it is a display of that commitment in … |
|
Hi, I have written some code which when a mouse is clicked, a red circle is drawn at that position. The x,y coordinates are stored in an ArrayList. What I now want to do is enable the circles to be selected and then dragged. When the mouse is released the … |
|
Hi, I have to add a mouse over event and mouse click event in my rectangles that I draw while taking the values from an input file. Now since I am taking rectangle height and width from the input text file as well I also want to take a text … |
|
Greetings, I am creating an applet to draw a shape based on the selected item within the awt choice object. It currently draws the selected shape based on selection and quickly dissappears. I believe that I should be doing all drawing elements from the paint method (which I am not). … |
|
I want to draw a tree in Jframe, the tree view is available in the attachment, As you see there are nodes connecting to each other.I know that I have to find the midpoint of the nodes at the same level or things like that. What I want your help … |
|
This is a simplified version of a larger project. I have three JPanels contained in a larger JSplitPane called [ICODE]wholePanel[/ICODE]. The top panel and left panel hold labels and buttons, which I have not included here. The lower right panel, called [ICODE]canvasPanel[/ICODE], is where I draw shapes. I'm trying to … |
|
I want to draw some text on a JFrame (later it'll change to a JPanel), but not have the text necessarily be horizontal. I've found some decent examples online that have worked well, but they've all been 500+ lines long. I'm hoping it can be done in a way that's … |
The End.