drawing Questions

12

Solved

I want to load and draw pdf files graphically using C#. I don't need to edit them or anything, just render them at a given zoom level. The pdf libraries I have found seem to be focussed on generat...
Calvary asked 6/2, 2009 at 2:24

2

Solved

Is it possible to ownerdraw the entire column header section of a listview? (including the region to the right of the column headers)? ListView is in Details View. An answer here indicates that th...
Teacake asked 16/9, 2009 at 14:22

2

I'm trying to draw a 3d image that displays a ripple: function myFunc(x, y) { let zRipple = Math.pow(2, -0.005 * (Math.abs(x) + Math.abs(y))) * Math.cos(((x * x + y * y) * 2 * pi) / 180 / width)...
Mungovan asked 26/12, 2020 at 19:53

6

Solved

How do I draw an equilateral triangle given the center as cx and cy and the radius of the centroid circle ? And how do I find if a point is within the triangle or not ? PS: I am building this f...
Leery asked 12/7, 2012 at 10:25

3

Solved

I'm trying to let users specify an area by painting over it with a "paint" tool that draws semi-transparent lines on a canvas. Its purpose is specifying a "mask" for an image that will be drawn bel...
Tertias asked 9/12, 2013 at 15:48

2

Solved

Here is what I'm using to draw a circle shape on to the canvas (and then an icon bitmap on it): private static Bitmap makeIcon(int radius, int color, Bitmap icon) { final Bitmap output = Bitmap.c...
Burdened asked 7/5, 2018 at 2:40

7

Solved

I'm assisting someone with user interface code to visualise a mathematical image analysis. During this process we'll be segmenting part of a 2D shape into triangles, and filling some of these tria...
Hammered asked 21/6, 2012 at 13:52

5

Solved

I am using scene2d. Here is my code: group.addActor(new Actor() { @Override public Actor hit(float arg0, float arg1) { return null; } @Override public void draw(SpriteBatch batch, float arg...
Incoherent asked 13/3, 2013 at 21:43

6

Solved

Google Maps has the Drawing library to draw Polylines and Polygons and other things. Example of this functionality here: http://gmaps-samples-v3.googlecode.com/svn-history/r282/trunk/drawing/draw...
Tartlet asked 12/1, 2012 at 7:15

6

Solved

I been trying for a while to draw smooth lines in Unity but with Line Renderer I obtained only jagged lines with the corners not rounded, in particular when the angle of curvature is really small ....
Actino asked 21/4, 2017 at 16:37

4

Solved

In my WPF application I have some drawing functionality. I have solved this using a Canvas and handling mouse gestures manually, and I also add the drawn Strokes (wrapped in InkPresenter) to this C...
Protean asked 9/3, 2010 at 14:11

1

I am trying to achieve effect as shown in the picture below: Im using p5.js library but im not a graphics programmer and thats why its very difficult to achieve this particular graphical effect. I...
Dolli asked 19/11, 2019 at 11:10

3

Solved

I'm trying to do a simple drawing app for the iPad where you can draw on a picture, and I'm using CGContext stuff to do it but the way I originally planned on handling erasing was to just draw over...
Skiffle asked 9/5, 2011 at 15:31

2

Solved

private void DialogFont_Load(object sender, EventArgs e) { LoadInstalledFonts(); SetupInitialDialogSelections(); lblPreview.ForeColor = colorPicker1.colorPickerControlView1.CurrentColor.Color; }...
Sanitize asked 6/1, 2011 at 14:12

7

Solved

I want to draw a Sankey diagram using Javascript. Can anyone provide some direction regarding the algorithms or libraries that are available for this?

5

Solved

I know this is pushing the good will of the community by presenting my least elaborate work expecting someone to come and save me but I simply have no choice with nothing to lose. I've gone through...
Idel asked 30/5, 2020 at 17:18

1

How can I create a visual effect of traveling wave like this in Swift SpriteKit? I am using an extension to the SKAction that performs the oscillatory movement in the node, but I still do not kn...
Chide asked 13/5, 2020 at 22:43

7

Solved

I am trying to create a drawing area with canvas. I am having trouble with making the lines look smooth when drawing curves and I also have changing line thickness in my algorithm which looks bad a...
Cleodal asked 12/5, 2012 at 20:45

2

When rendering huge visuals in WPF, the visual gets distorted and more distorted with increasing coordinates. I assume that it has something to do with the floating point data types used in the ren...
Afterwards asked 24/10, 2010 at 18:2

6

Solved

I need to build a project for drawing on canvas by fingers. How to get the touch event and motion event of my finger and then draw?
Angeliqueangelis asked 20/5, 2013 at 13:16

1

Solved

I'm trying to make a drawing web app. I'd like to draw with stylus and move the canvas with my hand. How to distinguish between those two? I haven't found anything promising in the official MDN do...
Eu asked 15/4, 2020 at 16:20

2

Solved

I am wondering how to make linearGradient across (from top to bottom) the line, as opposed to the example below where the gradient goes along (from left to right) the line. <svg xmlns="http...
Kilmarnock asked 18/3, 2017 at 12:5

5

I have a web app where I would like the user to draw a line in the following way: When he clicks on Point1 and he moves the mouse, draw the line from Point1 to the current mouse position and, when ...
Prophesy asked 31/7, 2012 at 15:17

7

Solved

I'm looking for a way to draw a grid (i.e. http://www.artlex.com/ArtLex/g/images/grid.gif) inside of a div, using CSS (and JS if necessary). It feels like it should be relatively straight forward, ...
Diaphysis asked 16/11, 2010 at 4:34

4

Solved

I am new to WPF. I want to draw a small circle on Canvas when I click mouse and be able to drag it around smoothly. How can I accomplish this?
Quint asked 23/9, 2009 at 10:30

© 2022 - 2024 — McMap. All rights reserved.