drawing Questions
1
Solved
I have this interesting problem in a project, where user should be able to draw the same shape over the defined shape, i have achieved this so far, but i want to check if he/she drawn over the shap...
Berg asked 13/7, 2022 at 15:12
4
Solved
I need to store the content of a Window into an image, save it and close the window. If I close the window on the Loaded event the image contains the Window with some items are drawn ok, some other...
4
Solved
I have 2 colors: 1 dynamically set and another that's always white 0.5 alpha. I want to calculate the resulting white color as if it was drawn on top of the dynamic color using Overlay blend mode.
...
5
Solved
I'm trying to draw a polygon using the python interface to opencv, cv2. I've created an empty image, just a 640x480 numpy array. I have a list of polygons (four point quadrilaterals) that I want to...
7
Solved
I want to draw a directed arrow line through Java.
At present, I am using java.awt.Line2D.Double class to draw a line
g2.setStroke(new BasicStroke(2.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEV...
2
Solved
OK. I'm tired of googling and reading throught lots of documentation with no results.
My aim is simple: get pyglet to draw an image pixel by pixel.
I've been searching for hours with no results. ...
15
I want to draw an arrow using the canvas tag, javascript. I've made it using the quadratic function, but I'm having problems to calculate the angle of rotation of the arrow...
Anyone have a clue o...
Cyathus asked 30/4, 2009 at 20:18
1
Is it possible to draw shapes in SWI prolog? There are print statements but I haven't found anything that would let me draw rectangles like a javascript canvas.
Is this something Prolog is concept...
4
Solved
This seems like it should be somewhat trivial, however in my android app, I am using canvas to draw a series of lines that are connected together. For some reason my lines are very very faint and t...
Yarborough asked 25/7, 2011 at 22:0
6
I'm porting an app written in a graphics environment that allows drawing to happen outside the bounds of the clipping rectangle. Any way to do this in Android?
Atmospherics asked 26/10, 2010 at 21:42
4
Solved
I'm trying to animate a circle and just moving it horizontally which works fine. However while the circle is moving, I have to do a clearRect over that circle so that it redraws it self in the hori...
2
Solved
How can i draw dash line on a canvas. I already tried this:
Paint dashPaint = new Paint();
dashPaint.setARGB(255, 0, 0, 0);
dashPaint.setStyle(Paint.Style.STROKE);
dashPaint.setPathEffect(new Dash...
1
Solved
I can draw a line with OpenCV Python but I can't make the line transparent
def draw_from_pitch_to_image(image, reverse_output_points):
for i in range(0, len(reverse_output_points), 2):
x1, y1 = r...
Reservoir asked 4/10, 2021 at 7:36
4
Solved
I am not an expert and I am trying to show a rectangle on screen which follows mouse movements from a settle starting point, just as when you select something in word or paint. I came with this cod...
7
Solved
I'm trying to create a custom View which works simple: there is a Bitmap which is revealed by arc path - from 0deg to 360deg. Degrees are changing with some FPS.
So I made a custom View with overr...
Multiangular asked 22/8, 2013 at 18:8
5
I am trying to use PIL to draw a rectangle with rounded corners and a gradient fill for the color. I found a cool web site ( http://web.archive.org/web/20130306020911/http://nadiana.com/pil-tutoria...
Angary asked 16/10, 2011 at 21:13
4
Solved
I don't know how can I draw an arrow with XAML. I haven't any code at the moment.
Someone can help me to make this draw with XAML code ?
Thank you for your help.
1
I want to make a drawing app using Flutter. There is this widget called CustomPaint that allows you to easily have a Canvas and draw on it with you fingers.
Let's say that I want to use a tablet w...
4
Solved
3
I am trying to write code which generates ASCII art of this shape:
*
***
*****
******* *
********* ***
*********** *****
********************
**********************
***********************...
4
Solved
Im usign python and opencv to get a image from the webcam, and I want to know how to draw a circle over my image, just a simple green circle with transparent fill
my code:
import cv2
import num...
2
Solved
I am using this code to make a rounded rectangle, but it only draws upper left and right corners of rectangle, more it doesn't not complete the rectangle at lower part. How do I make it complete an...
Equalitarian asked 22/11, 2015 at 9:40
6
In the properties of a Panel I have set the border style to Fixed Single.
When I am running my application it has the color gray. I don't know how to change the border color.
I have tried this in t...
4
Solved
Does anyone have a good algorithm for calculating the end point of ArcSegment? This is not a circular arc - it's an elliptical one.
For example, I have these initial values:
Start Point X = 0.25...
Mania asked 26/3, 2011 at 7:50
0
I am trying to find the difference between add_artist method and add_patch but I can't figure out.
import matplotlib
import matplotlib.pyplot as plt
from matplotlib.patches import Circle
matplotlib...
Spalato asked 13/4, 2021 at 12:56
© 2022 - 2024 — McMap. All rights reserved.