In a recent post on my blog, I showed how to transform the description of the mysql table to a DIA file using XSLT.
Now I'd like to create the connectionsbetween the classes. Does anyone knows what would be the algorithm to create a connection between the given rows of two classes (I know how to get the connector ID but I would also ne...
Hello,
Our program needs to generate vector graphics, and we chose EMF for that. However, it seems that other programs render these images non-antialiased. I found that SVG format does have a flag to indicate that some/all objects should be antialiased.
Is there any kind of flag or command inside the EMF format to indicate that we want...
I found a vector library on the Internet that even works with IE6!
http://raphaeljs.com/index.html
It's amazing.
Now my question is it better than the upcoming HTML5 <canvas>? The only reason I ask is that it could be years before Microsoft implements a <canvas> that doesn't require a plugin for it to run.
And it will be even long...
In the Flash 10 player, suppose I've loaded a Sprite that's just a dozen random lines. Is there any way to inspect that Sprite's graphics object and find out the positions of those lines?
Currently I have a crazy work around where I draw the lines to a bitmap and inspect the bitmap, but this is crude and expensive.
...
I'm currently developing a visualization tool that draws WPF shapes such as paths, ellipses etc. on a Canvas. I've already implemented a virtualized approach where Shapes are being destroyed and created on the fly depending on their visibility. However, even with only like 600 ellipses visible, the application seems to struggle.
What a...
Is there a well established algorithm I can steal^h^h^h^h^h copy which will draw an outline shape given an area filled with dots ?
I'm specifically thinking of this:
John Conway's Life: it might be nice way to see Life from the 'design-stance' (Dan Dennet's phrase) - and one way of doing this would be to draw outlines around either kno...
We want to show a dynamic text (ttf font, or similar) in a generated vector image (svg, pdf) and it should be bended similar like the names on a football shirt. Is there any command line tool or other possibility to do that? It is important that it is a vector graphic since the output will be printed on cloths!
Thanks a million.
...
Hello,
I'd like to generate an SVG file using C#. I already have code to draw them in PNG and EMF formats (using framework's standard class System.Drawing.Imaging.Metafile and ZedGraph). What could you recommend to do to adapt that code to SVG? Preferably I'd like to find some library (free or not) that would mimic System.Drawing.Graphi...
Hi, I am trying to draw a map annotation in my app - very much like MapKit's MKAnnotationView, but without the mapkit.
I have a problem with the ordering of the path for the view outline that I cant figure out.
Image of results:
http://img504.imageshack.us/img504/5458/screenshot20091010at703.png
Code:
CGFloat minx = CGRectGetMinX(cu...
I have a series of shapes (Approx. 50), that each have 5 points, and a color (with alpha transparency). I want to render these shapes onto a pixel grid.
I program as an amateur, so I have no idea how I should go about doing this.
Can someone give me a starting point, or some pseudo-code?
Thanks in advance.
...
I want to start off with a capable vector graphics drawing/editing program and extend it to create a visual designer for a project I'm working on.
Do you know of a graphics editor that can be built upon? Maybe open source? Users should already be able to freely draw and color graphics, and any form of grouping / arranging elements is a...
I'm looking for a way to take SVG path info (basically a string of coordinates) and dynamically draw it with Actionscript. Icing on the cake would be if those shapes could detect mouse events to trigger JS and dynamically change their appearance (fill, stroke, etc...).
I'm currently trying something similar to this (http://raphaeljs....
The documentation for getBoundingBox() in dojo says:
Returns a bounding box of a shape. A
text shape is a point-based object, so
it doesn't define a bounding box.
I don't get it. Any sane implementation of vector graphics for the web includes bounding box for text objects (raphaelJS and jQuery SVG that is)! What does "a point b...
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?
...
This isn't strictly a programming question, but I'm asking it here because it's certainly a software development question, if you take "software development" to include all aspects of creating a software system.
I am an independent iPhone developer. Except for translations, I handle all aspects of my apps myself—graphics included. I h...
Details on fonts: When you have some text in specific font, there's a header that says what the font is and then characters that are X number of bytes apiece. The computer looks up what that character is supposed to look like in the font and displays it. Underlines, Bolds, and Italics are added using a set algorithm that applies to all f...
I have a video camera that I'm interfacing with a C# app. The camera actually comes with a .NET WinForms control. It supports drawing on it with GDI+ functions.
When I zoom in, I need <1 pixel accuracy i.e. I want to draw a circle with a radius of less than two pixels. How can I draw vector graphics in WinForms? Is my best bet to over...
What (if any) is the relationship between vectors used in programming languages (e.g. arrays) and vector graphics?
Why do they share the term vector? Does it represent some analogous aspect of their nature or is it coincidence?
When thinking about it, a bitmap image would fit the term vector graphic better since it's represented by an...
I would like to edit SVG files using some scripting language (preferably Python). In particular, I would like to merge two SVG files, add some annotations, and arrange them in a larger image. Is there any software available for such purposes?
Thanks,
Bartosz
...
Hi,
I have built a simple image gallery using svg files that I have created in Adobe Illustrator. The images populate in a panel at the bottom of the application and when the user clicks on an image, the selected image pops up in a pop-up window above said panel.
That said, I am having some trouble finding out how I would be able to le...