pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] Error module: first lines


From: Behdad Esfahbod
Subject: Re: [pdf-devel] Error module: first lines
Date: Tue, 18 Dec 2007 00:43:59 -0500

On Tue, 2007-12-18 at 02:29 -0300, address@hidden wrote:
> > From: Behdad Esfahbod <address@hidden>
>  > On Mon, 2007-12-17 at 20:35 -0300, address@hidden wrote:
>  > > 
>  > > I'm not sure what an 'object' and a 'context' mean in this case.
>  > > Someone helps me :-)
>  > 
>  > Object is pretty much any (preferably opaque) struct.  Context is a
>  > brown bag you throw everything into that otherwise would be a global
>  > variable... to put simply.
> 
> Sure, I see, but I was refering to the particular case of the GNU PDF library.
> 
> For example:
> - Could an object be a PDF object in our case ? Or we should choose
>   a higher abstraction ?

Sure, PDF objects are definitely objects you want to refer to in code.

> - What about contexts in our case ?

A parsing context may make sense, but then again, I'm not familiar with
the design of GNUPdf.

> Could those be
>   associated to a page, or a document, or a PDF object ?

Those all look like objects to me.

> We should state the scope of our abstractions, don't you think ?
> 
> Or maybe the team has already defined that for GNU PDF and
> I'm an important fool for not doing my homework.
> If that's not the case, let's debate :-)

Well, I'm pretty new to this too.

> -gerel

-- 
behdad
http://behdad.org/

...very few phenomena can pull someone out of Deep Hack Mode, with two
noted exceptions: being struck by lightning, or worse, your *computer*
being struck by lightning.  -- Matt Welsh





reply via email to

[Prev in Thread] Current Thread [Next in Thread]