aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/c/sk_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/c/sk_types.h')
-rw-r--r--include/c/sk_types.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/c/sk_types.h b/include/c/sk_types.h
index 00632e0af3..17ba92972a 100644
--- a/include/c/sk_types.h
+++ b/include/c/sk_types.h
@@ -53,6 +53,14 @@ typedef enum {
DIFFERENCE_SK_CLIPTYPE,
} sk_cliptype_t;
+typedef enum {
+ UNKNOWN_SK_PIXELGEOMETRY,
+ RGB_H_SK_PIXELGEOMETRY,
+ BGR_H_SK_PIXELGEOMETRY,
+ RGB_V_SK_PIXELGEOMETRY,
+ BGR_V_SK_PIXELGEOMETRY,
+} sk_pixelgeometry_t;
+
sk_colortype_t sk_colortype_get_default_8888();
typedef struct {
@@ -63,6 +71,10 @@ typedef struct {
} sk_imageinfo_t;
typedef struct {
+ sk_pixelgeometry_t pixelGeometry;
+} sk_surfaceprops_t;
+
+typedef struct {
float x;
float y;
} sk_point_t;