Top "Drawing" questions

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

How to erase previous drawing on Canvas?

I have a background image (a map) on which I need to regularly draw the you-are-here icon. I use Canvas …

android canvas drawing
How to draw a line between draggable and droppable?

I'm using the excellent JQuery UI to do a "mapping" so the user can "map" persons from one program to …

jquery html jquery-ui drawing svg
Custom onDraw() method not called

<LinearLayout android:id="@+id/svLL" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"> &…

android drawing
Draw on the screen without a form

Is it possible to create a big white rectangle on the screen, without using a Forms Application? It should cover …

c# console drawing screen
How to draw a line between 2 elements using JQuery and refreshing that line?

I am using JQuery-UI draggables and droppables to clone elements onto a div. What is the best way to draw …

javascript jquery jquery-ui canvas drawing
How to draw axis in the middle of the figure?

I want to draw a figure in matplotib where the axis are displayed within the plot itself not on the …

python matplotlib drawing
iPhone smooth sketch drawing algorithm

I am working on a sketching app on the iPhone. I got it working but not pretty as seen here …

ios iphone drawing quartz-graphics
What does the python interface to opencv2.fillPoly want as input?

I'm trying to draw a polygon using the python interface to opencv, cv2. I've created an empty image, just a 640…

python opencv drawing
How to draw unfilled figures on Android?

Is it possible to draw unfilled figures on Android? By default circles and rectangles are filled.

android drawing fill
Easiest way to "draw" simple lines over an image with jQuery and save to Rails DB?

I'd like to draw lines on an image. Basically allow the user to draw a path for mountain trails they …

jquery ruby-on-rails drawing lines