Tue, 06 Jul 2021 10:22:49 +0300
* Image/Bitmap rotate
1525  1  #pragma once 
2  
3  #include "Scripting/Reflection.h"  
4  
5  namespace Gorgon { namespace Geometry {  
6  
7  extern Scripting::Library LibGeometry;  
8  
9  namespace Types {  
10  #define DEFTYPE(name) \  
11  inline const Scripting::Type &name() { \  
12  static const Scripting::Type *type = LibGeometry.GetType(#name); \  
13  return *type; \  
14  }  
15  
16  DEFTYPE(Point)  
1530
23a67943a4ee
* Placeholder scripting types for some geometry classes
cemkalyoncu
parents:
1525
diff
changeset

17  DEFTYPE(Pointf) 
23a67943a4ee
* Placeholder scripting types for some geometry classes
cemkalyoncu
parents:
1525
diff
changeset

18  DEFTYPE(Size) 
23a67943a4ee
* Placeholder scripting types for some geometry classes
cemkalyoncu
parents:
1525
diff
changeset

19  DEFTYPE(Sizef) 
1589
13038a91c0f4
* Bounds and Boundsf geometry scripting types
dogukangulyasar
parents:
1530
diff
changeset

20  DEFTYPE(Bounds) 
13038a91c0f4
* Bounds and Boundsf geometry scripting types
dogukangulyasar
parents:
1530
diff
changeset

21  DEFTYPE(Boundsf) 
1525  22  
23  #undef DEFTYPE  
24  }  
25  
26  void InitializeScripting();  
27  
28  } } 