Scroom 0.14-49-gb7ae7a6d
Loading...
Searching...
No Matches
resizablepresentationinterface.hh
Go to the documentation of this file.
1/*
2 * Scroom - Generic viewer for 2D data
3 * Copyright (C) 2009-2026 Kees-Jan Dijkzeul
4 *
5 * SPDX-License-Identifier: LGPL-2.1
6 */
7
8#pragma once
9
10#include <memory>
11#include <set>
12
13#include <gdk/gdk.h>
14
15#include <cairo.h>
16
17#include <scroom/interface.hh>
18#include <scroom/observable.hh>
20
25{
26public:
27 using Ptr = std::shared_ptr<ResizablePresentationInterface>;
28 using WeakPtr = std::weak_ptr<ResizablePresentationInterface>;
29
31};
Definition interface.hh:11
Definition resizablepresentationinterface.hh:25
std::shared_ptr< ResizablePresentationInterface > Ptr
Definition resizablepresentationinterface.hh:27
std::weak_ptr< ResizablePresentationInterface > WeakPtr
Definition resizablepresentationinterface.hh:28
virtual void setRect(ViewInterface::WeakPtr const &vi, Scroom::Utils::Rectangle< double > const &rect)=0
Definition rectangle.hh:29
std::weak_ptr< ViewInterface > WeakPtr
Definition viewinterface.hh:194
ViewInterface::Ptr const vi
Definition pipette-tests.cc:186
const auto rect
Definition rectangletests.cc:335