aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graph/base.hpp
blob: 002c2f517b5bf20a898e36a1bb6426a7f2eb13fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once
#include "../graph_base.hpp"
#include "../matrix.hpp"
#include "../resource.hpp"

#include <memory>

namespace cru::platform::graph {
// forward declarations
struct IGraphFactory;
struct IBrush;
struct ISolidColorBrush;
struct IFont;
struct IGeometry;
struct IGeometryBuilder;
struct IPainter;
struct ITextLayout;

struct TextHitTestResult {
  int position;
  bool trailing;
  bool insideText;
};
}  // namespace cru::platform::graph