holoviz-topics / imagen

ImaGen: Generic Python library for 0D, 1D and 2D pattern distributions
https://imagen.holoviz.org/
BSD 3-Clause "New" or "Revised" License
31 stars 16 forks source link

PatternGenerator: draw pattern into supplied array #12

Open sf-issues opened 12 years ago

sf-issues commented 12 years ago

Converted from SourceForge issue 1906957, submitted by ceball Submit Date: 2008-03-04 12:25 GMT

At the moment, we can't even control the type of the array returned by PatternGenerators (leading e.g. CF to have to make a copy to set the type).

Ideally, should be able to pass an array to PatternGenerator and have it draw into that array. This could be tricky to achieve, though. (E.g. patternfns would have to be altered to accept an output array.)

sf-issues commented 12 years ago

Submitted by ceball Date: 2009-04-01 15:32 GMT

https://mail.google.com/mail/?shva=1#search/C+code+float%2Fdouble/11801d2908c08988