I have a script that uploads files, input fields and a canvas drawing all in a folder. It works except that when I uploaded my canvas, it would upload it before the folder was created thuss putting it ...

I have not been able to establish a really reliable code to center a rectangle in another rectangle.
I would like to have the "RectangleToCenter"'s center point match the "SourceRectangle"'s center ...

Alright so I have been trying to display an integer that is able to update and reflect that on screen. (e.x. Displaying the x and y coordinates for the mouse position), and it ran just how I wanted, ...

To learn opengl i'm trying to draw a little real-time line chart (about new 20.000 point/s is the goal)
I thinked I can optimize the thing if i don't clean all the framebuffer, but somehow traslate ...

I am a novice in C# (following night school) and am experimenting with some stuff (haven't seen it yet in class).
I am trying to build a palletizing tool, which displays the optimal way to pallatize ...

With my friend we are trying to make some game. When we draw a grid or checkerboard and then move objects by arrows, "panel.Refresh();" refresh all the objects, obviously the complete panel. Can we ...

I want to "extract" a apart of a UIImage but Im having some troubles.
For example the original imagesize is 320x480 and I want to get render a new UIImage in a rect like CGRect(10, 10, 100, 100)
Ive ...

I'm looking for a toolkit / library which can help me drawing polygons, vectors and paths. Beside actually drawing the 2D elements, the library should also be able to draw handles to the base points ...

I am trying to rotate a Path and Bitmap on android. Path and image represent identical shapes. However, when I use the following code and rotate them individually, the rotated path does not perfectly ...

I am trying to draw an image on a Path (which is a closed irregular shape). I have used PorterDuffXfermode. My objective is to use EmbossMaskFilter and create a emboss effect on the final image shape ...

How to draw a line between two points in visual studio 2013?
and what libraries I should use?
I'm not familiar with the visual c++ but I really need to use it
I looked for it online and all I got is ...

I would like to draw in Android something like shape in the picture. I have used Path.drawArc but I can't draw two arcs which are parts of cirlces with the same center. Another problem is how to draw ...

I'm creating WPF application that needs to display about 100 (number is changing) small diamond and circle (10px) shapes in square area with image background. I know that this isn't many shapes and ...

I have a drawing with several lines inside it and I need to animate it moving it and at the same time trasforming it from a rectangle to a parallelogram, as in the toy example image below. I wonder if ...

I've been dabbling around with web development to try to pick up a new hobby.
A goal of mine is to figure out the best way to draw 1000 circles (using css), 100 by 100, that resize with the window so ...

I'm trying to draw a black single line on GLKitView, using Swift, but it does not work.
I can clear screen and I can fill it with any color, but I can't draw anything on it.
And I know, this question ...

I am making a game for the Travelling Salesman Problem.
I have 6 floating coordinates on a canvas at the moment and I want the user to be able to draw a line between any two points and carry on until ...

I have an app that currently needs to draw some circles on a surfaceview's canvas.
Everything works fine, however I'm no understanding how to scale the circles correctly on different devices.
What I ...

I have a Java program that has a linked list. I want to draw squares in command line and put the values of the linked list inside it. The output should be like this:
-----------------
| 5 | 7 | 8 | 9 ...

I'm reading a lot about C# drawing and reading MSDN tutorial on GDI+ using Graphics handlers.
I want to be able to paint a graph, which nodes I have in a list but I can't use auto-placing, I need the ...

The problem I face is the fact that it is not possible to draw to one hdc from multiple threads simultaneously. I have found out that it is possible to create a bitmap, lock it for the write access ...

I'm trying to get a per-pixel shader from this site to work:
http://antonholmquist.com/blog/opengl-es-2-0-shader-lighting-examples/
I added some code to my Shape3d class. Now it's looking like this:
...

I want to make an drawing program "in real time". I have two text boxes and a button in my form. I want to enter two values in the text boxes, push the button and the draw the line.
I tried to call ...

So I basically have 3 tabs on a winform, and what I am trying to do is, when a button is clicked in the 1st tab, to switch to the 3rd tab (System.Windows.Forms.TabControl) (which is empty) and draw ...

I am working on a small project to have c# overlay some text onto a bitmap image. Everything is working great on my local machine. When I publish to project (MVC5) to a production server (Server 08 ...