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...
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....
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...
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...
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?
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...
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...
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 ...
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: ...
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...
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...
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...
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 ...
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 ...
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.