LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
transformation2d.h
Go to the documentation of this file.
1 // Copyright 2017 Trimble Inc., All rights reserved.
2 
7 #ifndef SKETCHUP_GEOMETRY_TRANSFORMATION2D_H_
8 #define SKETCHUP_GEOMETRY_TRANSFORMATION2D_H_
9 
10 #include <SketchUpAPI/geometry.h>
11 
12 #pragma pack(push, 8)
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif // __cplusplus
17 
31  struct SUTransformation2D* transform, const struct SUVector2D* vector);
32 
43 SU_RESULT SUTransformation2DScale(struct SUTransformation2D* transform, double scale);
44 
58  struct SUTransformation2D* transform, double x_scale, double y_scale);
59 
74  struct SUTransformation2D* transform, const struct SUPoint2D* point, double scale);
75 
91  struct SUTransformation2D* transform, const struct SUPoint2D* point, double x_scale,
92  double y_scale);
93 
109  struct SUTransformation2D* transform, const struct SUPoint2D* point, double angle);
110 
123  const struct SUTransformation2D* transform, bool* is_identity);
124 
138  const struct SUTransformation2D* transform, struct SUTransformation2D* inverse);
139 
154  const struct SUTransformation2D* transform1, const struct SUTransformation2D* transform2,
155  struct SUTransformation2D* out_transform);
156 
157 #ifdef __cplusplus
158 } // end extern "C"
159 #endif // __cplusplus
160 
161 #pragma pack(pop)
162 
163 #endif // SKETCHUP_GEOMETRY_TRANSFORMATION2D_H_