drawing Questions

2

Solved

Currently I'm trying to do what I thought would be a simple task: Draw an image onto the full area of a Panel control in Windows Forms. (Please ignore for the moment that I could use the Backgroun...
Stalinist asked 17/3, 2012 at 15:49

7

Solved

Anyone who ever had to draw text in a graphics application for pre-windows operating systems (i.e. Dos) will know what I'm asking for. Each ASCII character can be represented by an 8x8 pixel matri...
Eleanoraeleanore asked 29/1, 2010 at 16:32

4

Solved

How can I draw half circle in OpenCV like below? If not, how can I do this especially in Python?
Burseraceous asked 5/4, 2014 at 14:1

7

Solved

I managed to draw a rect :-) But I don't know how to draw a rounded rect. Can someone help me out with the following code how to round the rect? let canvas = UIGraphicsGetCurrentContext() rec = C...
Kliman asked 21/5, 2015 at 8:47

19

Solved

How to draw the tick symbol using CSS? The symbols I find using Unicode isn't aesthetically-pleasing. EDIT Icon fonts are a great suggestion. I was looking for something like this.
Sibilate asked 23/2, 2014 at 12:59

4

Solved

I have a simple HTML5 Canvas example that lets the user draw paths onto a canvas. Is there any way to determine the rectangular bounds of the path / shape that was drawn? (i.e., what is the width, ...
Hartebeest asked 7/1, 2011 at 19:19

3

Solved

I need to define an object (or a region) that is kind of "blob" shaped on a discrete gridmap. It should look something like this: where the red region denotes the center point (these are just ide...
Arris asked 22/2, 2019 at 13:17

3

So far none of the threads here on smooth lines are correct. how to draw smooth curve through N points using javascript HTML5 canvas? Smooth user drawn lines in canvas Both result in jagged line...
Gunzburg asked 25/10, 2011 at 15:31

3

Solved

Are there any "standard" algorithms for drawing thick antialiased lines? I have found Xiaolin Wu's algorithm for drawing 1px width lines, but have yet to find any extension for thicker lines.
Wordless asked 19/3, 2011 at 18:3

1

Just wondering what's lighter, I'm going to have a control that draws 280 * 4 my SegmentControl, which is a quarter of a circle, and I'm just wondering what's the way that takes least memory to dra...
Peachy asked 22/4, 2010 at 20:20

4

Solved

What's a good algorithm for drawing anti-aliased circles? (Filled and not filled.)
Peskoff asked 27/1, 2009 at 23:16

3

Solved

I am trying to create a background for my website that uses canvases to draw stuff, get the data URL of it and set it as the background-image property of an element. The method works, but I can't f...
Absolutism asked 7/2, 2011 at 23:26

3

Solved

I'm using OpenCV for image processing. I am looking for a human body, wich I want to isolate (segment). Currently, I am able to find the contour of the body, and approximate the contour with a Pol...
Redintegration asked 4/5, 2012 at 11:14

6

Solved

I am drawing a line on a control on my Windows form like this: // Get Graphics object from chart Graphics graph = e.ChartGraphics.Graphics; PointF point1 = PointF.Empty; PointF point2 = Point...
Populace asked 23/5, 2011 at 17:17

3

Solved

I've got a GeometryDrawing similar like this: <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type wpfhlp:FokusGroupBox},ResourceId=IconTest}"> <DrawingImage.Drawing&g...
Darien asked 12/11, 2010 at 14:21

5

Solved

I am confused what's the different between System.Drawing.Image and System.Drawing.Bitmap Can someone explain the major difference between those two types ? And Why to use System.Drawing.Bitmap ...
Nakada asked 30/10, 2013 at 9:18

2

The simple UIView below draws a rounded rectangle. When I pass a corner radius of 65 or below it rounds correctly, but 66 and above and it generates a perfect circle! What is going on here? It shou...
Intenerate asked 24/7, 2014 at 14:7

5

Solved

I am trying to teach myself C# and have heard from a variety of sources that the functions get and setpixel can be horribly slow. What are some of the alternatives and is the performance improvemen...
Orchestrate asked 11/7, 2014 at 15:49

17

Solved

I have a program that is essentially like a paint application. However, my program has some flickering issues. I have the following line in my code (which should get rid of flickering - but doesn't...
Recycle asked 8/11, 2011 at 6:3

5

Solved

I would like to be able to draw lines into numpy arrays to get off-line features for on-line handwriting recognition. This means I don't need the image at all, but I need for some positions in a nu...
Crock asked 26/7, 2015 at 15:21

3

Solved

Is it possible to remove a chunk of NSBezierPath that is defined by an NSRect region within the path?
Parkman asked 15/4, 2011 at 21:23

16

Solved

I have an interesting question. Imagine I have a lot of data changing in very fast intervals. I want to display that data as a table in console app. f.ex: -----------------------------------------...
Celio asked 13/5, 2009 at 8:50

1

I'm currently using the font Carlito to render some FormattedText in WPF, in order to then print an eventual image as so: DrawingVisual vis = new DrawingVisual(); DrawingContext dc = vis.RenderO...
Hypophyge asked 22/11, 2016 at 10:45

4

Solved

I am working on a drawing app for ipad, I am providing full screen for drawing. So as we all now, user might write with his wrist support or by resting his hand on the screen. So my aim is to allow...
Forward asked 31/12, 2013 at 7:40

6

Solved

I need to just have a panel inside of which i'd be able to draw. I want to be able to draw pixel by pixel. ps: I don't need lines/circles other primitives. pps: the graphics library does not reall...
Rebozo asked 13/2, 2013 at 17:39

© 2022 - 2024 — McMap. All rights reserved.