Top "Drawing" questions

Issues around forms and graphics being drawn onto a computer screen, windowing system or device

Draw dash line on a Canvas

How can i draw dash line on a canvas. I already tried this: Paint dashPaint = new Paint(); dashPaint.setARGB(255, 0, 0, 0); dashPaint.…

android canvas drawing
How to know if a line intersects a rectangle

I have checked out this question, but the answer is very large for me: How to know if a line …

c# .net winforms drawing drawing2d
Why is UIBezierPath faster than Core Graphics path?

I was playing around with drawing paths, and I noticed that in at least some cases, UIBezierPath outperforms what I …

iphone ios drawing bezier
Pure Java reimplementation of GraphViz?

Is there an Open Source java alternative to GraphViz? I'm aware of the existence of Grappa which basically wraps the …

java drawing graphviz graph-visualization
How to draw a dashed line over an object?

I am drawing a line on a control on my Windows form like this: // Get Graphics object from chart Graphics …

c# winforms user-interface drawing 2d
Is there a Javascript library for Paint-like applications using canvas?

Is there a Javascript library which has built-in features for quickly creating a Paint-like web application using the canvas element? …

javascript canvas drawing
Changing JPanel Graphics g color drawing line

i have a program similar to paint. and that i am trying to implement a change pen color however when …

java swing drawing mouselistener
Can I draw outside the bounds of an Android Canvas

I'm porting an app written in a graphics environment that allows drawing to happen outside the bounds of the clipping …

android drawing image-clipping
How to draw a rounded rectangle in c#

I am using this code to make a rounded rectangle. But it only draws upper left and right corners of …

c# winforms graphics drawing rectangles
HTML5 Canvas eraser tool without overdraw white color

I have canvas. I have paint tools pencil and eraser. How i can erase drawings without overwrite(overdraw) with white …

html canvas drawing erase