• Jehan's avatar
    plug-ins: fix comment explaining cairo_save(). · e2d1a57e
    Jehan authored
    Current comment was implying that PDF had some kind of fixed PPI, or
    that a 72 PPI was hardcoded in cairo. This is not at all what this is
    about. Cairo simply has a concept of user-space coordinates, and from
    what I gather, it seems that this is set as "point", the typographical
    unit of measure (not as a screen point). In such context, cairo_scale()
    is used to update the transformation matrix (which will transform from
    user to device units, i.e. pixels) so that we can draw with pixels. In
    other words, both the user and device units will be pixels in subsequent
    calls.
    It turns out that 1 inch == 72 points. This is not a PPI/DPI at all and
    the comment was completely misleading.
    e2d1a57e
Name
Last commit
Last update
..
common Loading commit data...
file-bmp Loading commit data...
file-darktable Loading commit data...
file-exr Loading commit data...
file-faxg3 Loading commit data...
file-fits Loading commit data...
file-fli Loading commit data...
file-ico Loading commit data...
file-jpeg Loading commit data...
file-psd Loading commit data...
file-sgi Loading commit data...
file-tiff Loading commit data...
file-webp Loading commit data...
flame Loading commit data...
fractal-explorer Loading commit data...
gfig Loading commit data...
gimpressionist Loading commit data...
gradient-flare Loading commit data...
help Loading commit data...
help-browser Loading commit data...
ifs-compose Loading commit data...
imagemap Loading commit data...
lighting Loading commit data...
map-object Loading commit data...
pagecurl Loading commit data...
print Loading commit data...
pygimp Loading commit data...
screenshot Loading commit data...
script-fu Loading commit data...
selection-to-path Loading commit data...
twain Loading commit data...
ui Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...