Re: [Gimp-developer] upadting the print plug-in [was: preparing GIMP 2.2]

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

 



Hi,

Robert L Krawitz <rlk@xxxxxxxxxxxx> writes:

>    GIMP has all this already, why would you want to deal with units in
>    a library such as gimp-print?
> 
> Two reasons:
> 
> 1) Gimp-Print covers more than just the GIMP -- there's also the CUPS
>    driver, the Ghostscript IJS driver, and Foomatic, in addition to a
>    few third party apps.

I suggest to leave it up to the application that uses gimp-print
then. Any application that uses units in it's user interface will have
a framework to deal with units. If you add your own framework to
gimp-print you are only making things more complex.
 
> 2) The dimension type tells the user interface to treat this
>    parameter specially (display it in units of the user's choice).

Any length parameter in GIMP is measured in pixels and if there's
resolution information, the user is given the opportunity to use
arbitrary units to specify it. The underlying code still sees nothing
but pixels. I don't see why the underlying code (in this case
gimp-print) would have to know about this.


Sven

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux