Hi Judd, I am looking for documentation on $image->SetPixels( $x(pdl), $y(pdl), $color(pdl) ) and other related commands such as $image->FilledRectangles( $x1(pdl), $y1(pdl), $x2(pdl), $y2(pdl), $color(pdl) ). Your instructions say that these are aliases for commands in the GD library that start with 'gdImage', but there is no gdImageSetPixels in GD. I am assuming the pluralized version sets pixels at the points represented by the entire piddles, but I can't grok the usage/syntax for this.
what is $x(pdl)? Is that a 1D pdl of all the x coords in the image, essentially a list of x coords? I have gone through the source code of your module, and I don't see anything except the following -- # Allow operation on these member function on piddles as well: #int gdImageGetPixel (gdImagePtr im, int x, int y); generate_pp_def_members( <<'ENDMEMBERS' ); .. void gdImageSetPixel (gdImagePtr im, int x, int y, int color); .. void gdImageFilledRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color); .. ENDMEMBERS -- Puneet Kishor _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
