How to place rectangle in grid order?
So far, my program draws many rectangles and the locations of the rectangles are random (not nice). How can I place the rectangle in grid order so that it look appealing? ...
So far, my program draws many rectangles and the locations of the rectangles are random (not nice). How can I place the rectangle in grid order so that it look appealing? ...
Using Cairo, I'm placing some text at random positions, and I need to know if they overlap some previously drawn arbitrary shapes. I could clip the path to the previous drawings, and if any clipping occurs it means that there is overlap. However, Cairo doesn't seem to have any functions to tell if clipping did occur or not. Is there any...
I've always just used OpenOffice Draw and it just occurred to me that there has to be something better out there. So what do you use? Do you like it? Bonus points for free things and for web apps. ...
Hi, Does anyone know what's the best graphic drawing library for C++, I want a lib that can draw basic shapes and can make image editing, gradients and vector or 3D would be great to. The windows drawing functions are complicated and are not very advanced. Thank's. ...
Let's say I have an encrypted file on an iPhone and every time I want to decrypt it, I want to "draw" a decryption symbol instead of having to use a keyboard to type it in. If you request from the user to draw a symbol to decrypt a file every time it is needed (e.g. every time they launch your application) they would probably prefer it ...
I've tried endlessly to get pycairo to work on Windows, but version 1.8.8 won't install. Is there something comparable out there that actually works on Windows? ...
Like rounded corner for web pages, I want to draw it by setting the parameters and programatically. EDIT It should be able to generate image like ...
Hi In WPF is there a way that you can modify the way any path is drawn APART from "Dash-Dot" sequences? Say I want draw a triple line for any path I am drawing or small triangles,waves..etc on the drawing path itself. I have tried Brushes but it will not follow the Path. Pl help thx ...
Hi Guys, I needed to find and use the coordinates of the intersection of a cubic Bezier and a straight line. The trouble is that I cannot find a non-parametric representation of a Bezier curve which I need for solving with the line. I do not want to resort to a Newton-Raphson equivalent on the Bezier parametric equation (which can be f...
hi guys! I'm messing around a bit with the new fp10 drawing api and drawtriangles. i've created a little something i think is kinda of cool, though i can't seem to get the uv-mapping working as i want. since i'm just moving points in z/y direction i don't really have and z-value to calculate the uv with. though the bitmap texture gets di...
I'm looking for a software for drawing scientific data, mostly vectors, coordinate systems and diagrams, for example: ...
I am new to BlackBerry Java application development. My scenario is: In my application a gallery list of images will be displayed in a small icons. If I click on any image it will display in a large mode. Here I need to provide controls like front and back buttons. On clicking on those buttons the background image should change. In addit...
I'm making a sample GUI for a new application we are developing at work. The language has already been decided for me, but I am allowed to use any 3rd party DLLs or add-ins or whatever I need in order to make the GUI work as seamlessly as possible. They want it very mac/ubuntu/vista/Windows 7-like, so I've come up with some very intere...
I am trying to draw some shapes (boxed ans arrows) into, i.e., "over" the text in an eclipse editor. To get started, I wrote the following code: IWorkbenchPage activePage = Activator.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(); final Shell shell2 = activePage.getActiveEditor().getSite().getShell(); ...
Hello, I want to know if you know other beautiful database drawing software other than visio. Because i think visio is not delegant enough. So Can you give me some advice? Thanks a lot. ...
When alpha blending some greyscale images on Win7 x64 I'm getting strange tearing and flicker. It's fine on XP & Vista (both x64 and x86) and Win7 x86. I've tried it on several Win7 machines, and they all show the problem. The code that shows up the problem is: public partial class Form1 : Form { Image image; float alpha = 0; ...
I'm using Microsoft's Chart control to plot some series, but if I have no data, I want to display "No Data Series" on the area where the plot would be. Like this: I have a hunch it has something to do with manually drawing some text onto the image, but I don't know where to start. Anyone? ...
I want to draw some text in a view, rotated 90°. I'm pretty new to iPhone development, and poking around the web reveals a number of different solutions. I've tried a few and usually end up with my text getting clipped. What's going on here? I am drawing in a fairly small space (a table view cell), but there has to be a "right" way to d...
Hi All, I've been programming the iphone for a couple of months now and have 3 apps in the store already. However, I have not done any kind of graphics programming in the platform. Given that I'm planning on starting my 5th app (the 4th is under Apple's review) I wanted to ask for some pointers as to where to get information for this ...
I recently came across a trick for drawing triangles in css (it's the 'point' of the comment). And it's obvious how to draw a circle and rectangle/square. It seems like this would be enough to draw pretty much any shape (as long as you don't mind ignoring IE for circles) <span class='red-triangle'></span> <span class='blue-circle'></spa...