Is there any way to draw graphics on an image surface in AMS? I need to display and print some bar graphs.
Drawing graphics?
Collapse
X
-
You can't "draw" in AMS, but you can easily draw the lines you need in a graphics program that supports png24 transparency (like PhotoShop or Macromedia Fireworks), draw the lines there, be sure the canvas/background is transparent, save as png and open that as an image object in AMS. It will look like you drew it in AMS You may have to play with Bring to Front and Send to Back to make sure that the "empty" transparent part of the image doesn't "cover" other objects.
Here's an image of what I am working on: the red fabric with curls is my background image for the page and the zigzag stitchlines is an image object in transparent png format.
Hope this helps,
Loes
-
-
For bar graphs you could use some narrow images (e.g. a solid color, or a gradient) for the individual bars and then resize them dynamically at run time.
If you wanted to avoid distortion from resizing (say, to use a picture of something for each bar), you could use actions to slide the images up and down (position them) behind another object which acts as a mask, e.g. an image that contains the scale at the bottom of the graph.
(You could also use the Shape plugin for this if you want simple solid colour objects.)--[[ Indigo Rose Software Developer ]]
Comment
-
-
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Comment
-
-
Check this out...
AMS & IR continue to amaze me.
I've been trying to create a children's coloring book for over a year now...
A light bulb just popped ON!!!
Check this out! Needs lots of clean up - but it's a start.
Anyone who uses it please post back your improvements.
Thanks,
Search keywords: dynamic object creation, drawing, coloring
Question for IR:
This creates dynamic objects - I don't know if there is a limitation in AMS as to the number of objects created...???Attached Files
Comment
-
-
Originally posted by holtgrewe View PostAMS & IR continue to amaze me.
I've been trying to create a children's coloring book for over a year now...
A light bulb just popped ON!!!
Check this out! Needs lots of clean up - but it's a start.
Anyone who uses it please post back your improvements.
Thanks,
Search keywords: dynamic object creation, drawing, coloring
Question for IR:
This creates dynamic objects - I don't know if there is a limitation in AMS as to the number of objects created...???
Mirrored on amsuser.com:
Intrigued
Comment
-
-
Line graph example
lledden
I've attached a simple example of a line graph using AMS.
The background graph is from a 'clip' of an Excel spreadsheet; so everything here is real basic.
(It was designed in AMS7.)
Bar graph should be easier, as Lorne suggested, resize a small image and stretch the images across a graph.
hthAttached FilesLast edited by holtgrewe; 01-16-2008, 07:30 AM.
Comment
-
-
Originally posted by holtgrewe View Postlledden
I've attached a simple example of a line graph using AMS.
The background graph is from a 'clip' of an Excel spreadsheet; so everything here is real basic.
(It was designed in AMS7.)
Bar graph should be easier, as Lorne suggested, resize a small image and stretch the images across a graph.
hth
Intrigued
Comment
-
Comment