summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Painting/PaintContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Painting/PaintContext.h')
-rw-r--r--Userland/Libraries/LibWeb/Painting/PaintContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Painting/PaintContext.h b/Userland/Libraries/LibWeb/Painting/PaintContext.h
index 32128bbc57..cfa1c89903 100644
--- a/Userland/Libraries/LibWeb/Painting/PaintContext.h
+++ b/Userland/Libraries/LibWeb/Painting/PaintContext.h
@@ -59,6 +59,8 @@ public:
return clone;
}
+ float device_pixels_per_css_pixel() const { return m_device_pixels_per_css_pixel; }
+
private:
Gfx::Painter& m_painter;
Palette m_palette;