drawing Questions

9

<LinearLayout android:id="@+id/svLL" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"> <ScrollView android:id="@+id/sv" android:la...
Pessary asked 27/7, 2010 at 13:8

3

Solved

I need to draw something like the following image in my iOS app, except that the arc may contain more colors: I know how to draw it, but I'm looking for a way to animate the drawing of the path....
Triphthong asked 9/6, 2015 at 16:34

2

Solved

I have a bitmap image in an image control I need to draw a red line on the bitmap each time I click with the mouse onto it, at the place where I clicked the mouse. I first thought of crea...
Cribbs asked 8/3, 2011 at 10:18

3

Solved

In portrait mode (first time drawing) After rotating to landscape, why are the older shapes: I am using UIBezierPath & CAShapeLayer to draw circles & lines in a custom UIView's layer....
Radiotelephony asked 3/12, 2014 at 15:49

6

Solved

Is there a Javascript library which has built-in features for quickly creating a Paint-like web application using the canvas element? EDIT: So, far, I have found Javascript libraries that al...
Textbook asked 20/8, 2011 at 19:47

2

I have an imageview and on button click I draw some bezier paths and some text layer too. On undo, I've removed last drawn path and text layer. Now I want to resize my image View to set up in uper...
Walli asked 30/1, 2013 at 13:33

4

Solved

Could please somebody explain me (ASCII is really welcome) what the stride argument stands for in Canvas.drawBitmap() and in Bitmap.setPixels()/getPixels()? I understand it's a way to skip elements...
Pyne asked 25/1, 2011 at 18:29

1

Solved

How can I smooth out the circle? At some points there are bumps and it's quite .. rough. I need to draw multiple circles inside and it really looked bad when I tried it. Is this some issue with PIL...
Entomologize asked 27/7, 2018 at 13:29

10

How to make an image circular and give it white circular border? Is it necessary to use two image views – one for the image and other for the white border? Is there any other way to do this?
Plastid asked 19/2, 2014 at 5:27

1

I have a method for drawing, but drawing performance is greatly affected when adjusting the scale factor for UIGraphicsBeginImageContextWithOptions. When the scale is 1.0, everything works super f...
Avenge asked 25/9, 2015 at 15:57

2

I have a UIImageView inside a UIScrollView which automatically zooms out to fit the image supplied. The user can zoom as usual with a pinch gesture, and the pan gesture is set to require two touche...
Anyhow asked 4/4, 2018 at 8:49

4

Solved

I have a win32 application which was developed in c++. The application draws some stuff on the window using basic shapes (rectangles). The windows is repainted every 20ms (50hz) using InvalidateRec...
Inimical asked 21/9, 2011 at 15:17

2

Solved

Following this Answer, I have implemented a CanvasView to draw with the Apple Pencil: https://mcmap.net/q/1771907/-drawing-class-drawing-straight-lines-instead-of-curved-lines import Foundation im...
Ianthe asked 1/4, 2018 at 9:18

2

I have a strange problem with matplotlib under Eclipse I've tested this code and this works fine in the command line: import matplotlib.pyplot as plt import matplotlib.pylab as pylab plt.plot([1,2...
Milt asked 20/11, 2012 at 11:10

1

Using AWT, I would like to save resources like flash does, by stopping draws to the screen when the window is hidden. But first, I need a method to detect if the Frame is completely covered by one ...
Ilion asked 25/1, 2014 at 7:43

0

I'm using Embarcadero RAD Studio XE7 to create a C++ graphical application in which I'm trying to animate a circular progress using GDI+ and some dash pattern properties. The idea is very simple: ...
Paean asked 6/3, 2018 at 15:43

8

Solved

I have checked out this question, but the answer is very large for me: How to know if a line intersects a plane in C#? - Basic 2D geometry Is there any .NET method to know if a line defined by tw...
Shearer asked 1/4, 2011 at 13:54

2

Solved

I'm working with the Drawing Library of the Google Maps API and i want to trigger the drawing of a marker with a custom button. I've read this part of the documentation : Hiding the drawing ...
Genus asked 23/2, 2012 at 17:19

3

Is there a function or some other way to enable free-hand drawing (i.e., drawing of random shapes/sizes) using the mouse in Shiny? Specifically, I'd like to be able to "interact" with a plot from...
Scrape asked 17/1, 2017 at 16:6

5

Solved

The question probably applies to drawing systems in general. I was wondering how the undo functionality is implemented in PS. Does the program take snapshots of the canvas before each operation? If...
G asked 4/4, 2009 at 12:58

4

I'm painting to a canvas which isn't being cleared and making it so that the canvas either fades to a solid colour over time, or fades in alpha revealing the layer behind. My first instinct was to...
Beadroll asked 5/1, 2017 at 11:23

2

Solved

I want to plot a binary tree using graphviz, and it is important that the left child of a node appear to the left (duh) of the right child. If there is no left child, I want an empty space on the l...
Warpath asked 12/8, 2015 at 14:28

7

Solved

I asked "How can I tell if a point belongs to a certain line?" before and I found a suitable answer so thank you very much. Now, I would like to know how to tell if a certain point is close to my ...
Homovec asked 26/5, 2009 at 14:6

4

How do I create an in-memory fully transparent SWT image and draw a black line on it with antialias enabled? I expect the result to include only black color and alpha values ranging from 0 to 255 ...
Lainelainey asked 25/11, 2011 at 14:27

2

Solved

I've been searching for an answer for hours but have trouble finding anything on the topic. I have a question related to Objective-c. I'm making an application in which a UIView checks for touches...
Collbaith asked 22/12, 2012 at 1:30

© 2022 - 2024 — McMap. All rights reserved.