Not so fast.
While it's true, I did not see the CAT call when using save_to_named_path, I still failed to accomplish my objective.
The issue is not related to the CAT call at all.
I am attempting to create a simple image in a drawing area. So far, easy as pie.
Then, I'm attempting to save the image from the drawing area to a file.
While I can save something to a file, it's not the image from the drawing area.
I have tried a couple of things.
First, I tried to create a pixmap by using the sub_pixmap function from EV_DRAWABLE, providing it a rectangle that has an origin of 0, 0 and dimensions the same as the drawing area.
That produces a pixmap of 0x0 pixels.
Undaunted (or maybe a little daunted), I tried the usually more reliable EV_PIXEL_BUFFER as a medium, creating the pixel buffer from the sub_pixmap, then converting the pixel buffer to a pixmap for saving to file. This resulted in a pixmap of the correct dimensions, but devoid of content.
I'm out of guesses.
Any suggestions?
Thanks