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

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...
Conversion asked 26/4, 2012 at 9:12

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. ...
Pipkin asked 28/4, 2011 at 21:17

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...
Obedient asked 29/6, 2012 at 23:42

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...
Lynxeyed asked 8/1, 2010 at 12:50

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. ...
Butylene asked 20/8, 2010 at 2:35

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...
Drexler asked 25/5, 2020 at 19:27

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...
Tidewaiter asked 8/4, 2011 at 14:17

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...
Felicitasfelicitate asked 13/5, 2013 at 18:19

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...
Polydactyl asked 12/6, 2020 at 9:11

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.
Candis asked 27/5, 2015 at 7:49

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...
Marishamariska asked 13/8, 2019 at 7:31

4

Solved

Is there any way to draw and display graphics on the screen with .NET Core? I would like to create a graphics application that runs on multiple platforms.
Licastro asked 8/1, 2017 at 18:43

3

I am trying to write code which generates ASCII art of this shape: * *** ***** ******* * ********* *** *********** ***** ******************** ********************** ***********************...
Venous asked 19/11, 2015 at 21:53

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...
Ruffled asked 10/5, 2013 at 14:38

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...
Rolling asked 8/1, 2014 at 12:47

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.