Ardour  9.0-pre0-1792-g9dafed2d76
boundary.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2025 Paul Davis <paul@linuxaudiosystems.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #pragma once
20 
21 #include "canvas/rectangle.h"
22 
24 {
25  public:
27 
28  void render (ArdourCanvas::Rect const & area, Cairo::RefPtr<Cairo::Context> context) const;
29  bool covers (ArdourCanvas::Duple const& point) const;
30  void compute_bounding_box () const;
31 };
32 
34 {
35  public:
37 
38  void render (ArdourCanvas::Rect const & area, Cairo::RefPtr<Cairo::Context> context) const;
39  bool covers (ArdourCanvas::Duple const& point) const;
40  void compute_bounding_box () const;
41 };
42 
bool covers(ArdourCanvas::Duple const &point) const
EndBoundaryRect(ArdourCanvas::Item *p)
Definition: boundary.h:36
void compute_bounding_box() const
void render(ArdourCanvas::Rect const &area, Cairo::RefPtr< Cairo::Context > context) const
bool covers(ArdourCanvas::Duple const &point) const
StartBoundaryRect(ArdourCanvas::Item *p)
Definition: boundary.h:26
void render(ArdourCanvas::Rect const &area, Cairo::RefPtr< Cairo::Context > context) const
void compute_bounding_box() const