Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
canvas-item-buffer.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2#ifndef SEEN_CANVAS_ITEM_BUFFER_H
3#define SEEN_CANVAS_ITEM_BUFFER_H
4
9/*
10 * Author:
11 * See git history.
12 *
13 * Copyright (C) 2020 Authors
14 *
15 * Rewrite of SPCanvasBuf.
16 *
17 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
18 *
19 */
20
21#include <2geom/rect.h>
22#include <cairomm/context.h>
23
24namespace Inkscape {
25
30{
32 int device_scale; // For high DPI monitors.
33 Cairo::RefPtr<Cairo::Context> cr;
35};
36
37} // namespace Inkscape
38
39#endif // SEEN_CANVAS_ITEM_BUFFER_H
40
41/*
42 Local Variables:
43 mode:c++
44 c-file-style:"stroustrup"
45 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
46 indent-tabs-mode:nil
47 fill-column:99
48 End:
49*/
50// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
Axis aligned, non-empty, generic rectangle.
Helper class to stream background task notifications as a series of messages.
Axis-aligned rectangle.
Class used when rendering canvas items.
Cairo::RefPtr< Cairo::Context > cr