i want to create a 2d-editor like application in WPF an i need to know how to do this: How can intercept the event when i click on a Line or Polyline?
I have few classes and functions in java code. one of the function is drawing a graph using graphics object.
I have a QGraphicsScene and I add a couple of QGraphicsItem(s) to the scene. All the items being added to the scene are QGraphicsPixmapItem.
I am centrally scaling a box on a graph with th开发者_JS百科e following: var x1 = (this.width - (this.image.width * this.scale)) / 2 + this.origin.x;
I\'ve been following the examples on similar posts, but to no avail. Here is an example of the problem I\'m seeing.
I\'m looking for an algorithm that can generate something like what\'s in this image: I\'ve read about drunken walk algorithms 开发者_如何学Pythonbut they don\'t seem to quite fit what I need. I\'m
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
I am looking to fill an arbitrary 2D shape with rectangles, such as that the 2d shape becomes visible by looking at the composite image of the rectangles. The final result should look similar to image
I want to create simple drawing program; Here I my program\'s mousePressed and mouseDragged events: private void mousePressed(java.awt.event.MouseEvent evt) {
With System.Drawing.Graphics, how can I have \"nested graphics objects\". The main purpose is to have several clipped regions.