summaryrefslogtreecommitdiff
path: root/src/surface.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/surface.zig')
-rw-r--r--src/surface.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/surface.zig b/src/surface.zig
index d1ea78b1..a08d6831 100644
--- a/src/surface.zig
+++ b/src/surface.zig
@@ -240,6 +240,10 @@ pub const NativePlacement = if (pdf_enabled) struct {
pixel_offset_y: f32 = 0,
/// Separate paper behind straight-alpha PDF content; null for other images.
paper_bg: ?[3]u8 = null,
+ /// `geometry` is the whole of it: `src` drawn into `dst`, scaled as
+ /// it says. A terminal pane's kitty graphics come this way, one cell
+ /// row at a time, already clipped (TerminalImages.zig).
+ exact: bool = false,
} else struct {};
pub const ImagePatch = struct { from: u32, y: u32, h: u32 };