Plug-in problems

2000-11-29 Thread David Neary
Hi all, I'm trying to write a plug-in for the gimp, but I'm having a few problems. I think at this stage it's pretty bare-bones, pretty much a hello world plug-in. Anyway, my plug-in is detected at start-up by the Gimp, and registers with the PDB etc - so I suspect that my query function is

Re: JPEG image 551x528 pixels

2000-11-29 Thread Miles O'Neal
Rob Fletcher said... | |That's OK Jon, please say "Hi" to "Mrs. gimp-developer" :-) Yeah, I kinda wonder about this family, when he can't tell his wife from a shole *slew* of developers... Must live in one of those hi-tech, group marriage allowed places... -Miles

Re: Plug-in problems

2000-11-29 Thread Maneesh Yadav
I think you need to allocate the return vals (the pointeryou get from the args is to let you tell the caller where the return vals are...like this: static GimpParam values[1]; *nreturn_vals = 0; *return_vals = values; values[0].type = GIMP_PDB_STATUS; values[0].data.d_status =

layer_get_offests(layerId, x, y);

2000-11-29 Thread Maneesh Yadav
No one knows how to get the offsets for a layer from libgimp do they? I see a set_offsets but no get... Shouldn't we put an accessor method in there...I would add it myself, but I don't get that pdb meta code...