gempyre  1.7.1
gempyre_types.h
1 #pragma once
2 
3 #include <cstdint>
4 #include <memory>
5 
7 #ifdef WINDOWS_EXPORT
8 #define GEMPYRE_EX __declspec( dllexport )
9 #else
10 #define GEMPYRE_EX
11 #endif
13 
14 namespace Gempyre {
16  class Data;
17  using DataPtr = std::shared_ptr<Data>;
18  class CanvasData;
19  using dataT = uint32_t;
20  using CanvasDataPtr = std::shared_ptr<CanvasData>;
22 
24  struct Rect {
26  int x;
28  int y;
30  int width;
32  int height;
33  };
34 }
35 
Rect.
Definition: gempyre_types.h:24
int width
rectangle width.
Definition: gempyre_types.h:30
int x
rectangle x coordinate.
Definition: gempyre_types.h:26
int y
rectangle y coordinate.
Definition: gempyre_types.h:28
int height
rectangle height.
Definition: gempyre_types.h:32