SEAM_UNWEAVER *seamstressNewUnweaver(int actualwidth, int actualheight,int energyfunc,int dynamicenergy,int *error);
Creates a new Unweaver object.
- actualwidth
- The width of the image you will be carving.
- actualheight
- The height of the image you will be carving.
- energyfunc
- Reserved for future development. This should always be zero at present.
- dynamicenergy
- Reserved for future development. This should always be zero at present.
- error
- Pointer to an integer in which an error code will be deposited, or NULL if no error code is desired.
The result, if successful, is a pointer to a new Unweaver object ready to be initialised with the image data. If unsuccessful, NULL will be returned, along with an appropriate error code if error is not NULL.
Hayden Walles
2015-09-02