summaryrefslogtreecommitdiff
path: root/gsk/gsktransformprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-02-28 09:52:49 +0100
committerBenjamin Otte <otte@redhat.com>2019-03-04 23:09:02 +0100
commit0e1a50366a738389cce5d92b978ce0d07a5ab951 (patch)
tree8c30f1034e6332edc60cd234674469b48e780a10 /gsk/gsktransformprivate.h
parent20f7588a848f1243307a403a3d9fdb8cefe46b58 (diff)
downloadgtk+-0e1a50366a738389cce5d92b978ce0d07a5ab951.tar.gz
transform: Move to GSK
The renaming of the prefix makes this a large patch.
Diffstat (limited to 'gsk/gsktransformprivate.h')
-rw-r--r--gsk/gsktransformprivate.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/gsk/gsktransformprivate.h b/gsk/gsktransformprivate.h
new file mode 100644
index 0000000000..68eacaf786
--- /dev/null
+++ b/gsk/gsktransformprivate.h
@@ -0,0 +1,46 @@
+/*
+ * Copyright © 2019 Benjamin Otte
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors: Benjamin Otte <otte@gnome.org>
+ */
+
+
+#ifndef __GSK_TRANSFORM_PRIVATE_H__
+#define __GSK_TRANSFORM_PRIVATE_H__
+
+#include "gsktransform.h"
+
+#include <gsk/gsk.h>
+#include "gsk/gskrendernodeprivate.h"
+
+G_BEGIN_DECLS
+
+GskMatrixCategory gsk_transform_categorize (GskTransform *self);
+
+gboolean gsk_transform_to_affine (GskTransform *self,
+ float *scale_x,
+ float *scale_y,
+ float *dx,
+ float *dy) G_GNUC_WARN_UNUSED_RESULT;
+
+GskTransform * gsk_transform_matrix_with_category (GskTransform *next,
+ const graphene_matrix_t*matrix,
+ GskMatrixCategory category);
+
+G_END_DECLS
+
+#endif /* __GSK_TRANSFORM_PRIVATE_H__ */
+