Re: [gimp-devel] Re: layer_get_offests(layerId, &x, &y);

2000-12-05 Thread Nick Lamb
On Tue, Dec 05, 2000 at 10:17:23PM +0100, Marc Lehmann wrote: > Probably not ;) Probably it makes sense because, at one point, all > drawables might have useful offsets. Do layer masks have offsets? Obviously you wouldn't be able to set the offset on the mask, but perhaps it has one anyway (the l

Re: [gimp-devel] Re: layer_get_offests(layerId, &x, &y);

2000-12-05 Thread Marc Lehmann
On Thu, Nov 30, 2000 at 04:54:45PM +0100, Simon Budig <[EMAIL PROTECTED]> wrote: > > You keep compatibility and make happy those who want > > gimp_layer_offsets(); > > No. You have to change it in the PDB, where those #defines are > useless (they would only work inside libgimp) Actually, it woul

Re: layer_get_offests(layerId, &x, &y);

2000-11-30 Thread Maneesh Yadav
SOrry for a such an obvious question I didn't think to look in the gimp_drawable...although I guess it is a little inconsistent to have a gimp_layer_set_offsets and a gimp_drawable_get_offsets (shouldn't here be no layaer call, just drawable)...anywhoo it's not that importaant... Thanks Again, Man

Re: [gimp-devel] Re: layer_get_offests(layerId, &x, &y);

2000-11-30 Thread Simon Budig
Martin Edlman ([EMAIL PROTECTED]) wrote: > Simon Budig wrote: > > Hmm - it is definitely too late to change the Api to rename this > > function to "gimp_layer_offsets". But is there a special reason why this > > One way to make it sensefull and put gimp_layer_offsets to the API is to > rename the

Re: [gimp-devel] Re: layer_get_offests(layerId, &x, &y);

2000-11-30 Thread Martin Edlman
Simon Budig wrote: > > Sven Neumann ([EMAIL PROTECTED]) wrote: > > Maneesh Yadav <[EMAIL PROTECTED]> writes: > > > No one knows how to get the offsets for a layer from libgimp do they? > > > > Yes, we know. Since a layer is only a special kind of drawable, the > > following call will perfectly do

Re: [gimp-devel] Re: layer_get_offests(layerId, &x, &y);

2000-11-30 Thread Simon Budig
Sven Neumann ([EMAIL PROTECTED]) wrote: > Maneesh Yadav <[EMAIL PROTECTED]> writes: > > No one knows how to get the offsets for a layer from libgimp do they? > > Yes, we know. Since a layer is only a special kind of drawable, the > following call will perfectly do: > > gboolean gimp_drawable_off

Re: layer_get_offests(layerId, &x, &y);

2000-11-30 Thread Sven Neumann
Maneesh Yadav <[EMAIL PROTECTED]> writes: > No one knows how to get the offsets for a layer from libgimp do they? Yes, we know. Since a layer is only a special kind of drawable, the following call will perfectly do: gboolean gimp_drawable_offsets (gint32 drawable_ID,

Re: layer_get_offests(layerId, &x, &y);

2000-11-30 Thread Nick Lamb
On Thu, Nov 30, 2000 at 01:13:33AM -0500, Maneesh Yadav wrote: > 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... gimp_drawable_

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...