mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:17:35 +00:00
LibHTML: Implement rendering
This commit is contained in:
parent
93003bfda1
commit
235dee8c42
7 changed files with 62 additions and 0 deletions
16
Libraries/LibHTML/RenderingContext.h
Normal file
16
Libraries/LibHTML/RenderingContext.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
class GPainter;
|
||||
|
||||
class RenderingContext {
|
||||
public:
|
||||
explicit RenderingContext(GPainter& painter)
|
||||
: m_painter(painter)
|
||||
{
|
||||
}
|
||||
|
||||
GPainter& painter() const { return m_painter; }
|
||||
|
||||
private:
|
||||
GPainter& m_painter;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue