Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Interface ImageNode

    A decoded picture, placed at a size — \includegraphics.

    It is a horizontal node and not a vertical one because that is what LaTeX makes of a graphic: it sits in a paragraph, takes part in line breaking like a very wide unbreakable word, and a figure puts it in a paragraph of its own rather than into the page's vertical list directly.

    width/height are the placed size in points, not the pixel grid — the sizing keys have already been applied by image/placeImage. depth is always zero: LaTeX sets a graphic sitting on the baseline, so the whole of it is height and a line that carries one is as tall as the picture.

    The bytes ride along rather than being looked up again at emission time, because the engine has nothing to look them up in — the file map belongs to compile()'s caller and never reaches pdf/. path is the file-map key they came from, which is how emission knows that one figure used twice is one XObject.

    interface ImageNode {
        depth: number;
        height: number;
        image: DecodedImage;
        kind: "image";
        path: string;
        width: number;
    }
    Index
    depth: number
    height: number
    kind: "image"
    path: string
    width: number