Help on the use of the path classes


#1

I would to use the Path classes in a rather strange way - rather than rendering to a screen, I would like to produce a stream of co-ordinates or ideally, an array of y-values. The reason for this is that I’d like to use it create waveshapes/envelopes in my audio plugin. any ideas?


#2

That sounds like a crazy way of generating audio! But you could use the FlatteningPathIterator to get the raw co-ords.


#3

I know ! But I knew there would be an easier way of generating the co-ordinates than messing with the edgetable class!!