blob: 12d946547fe84b924e138465800997641e3c8518 [file] [log] [blame]
reedafa278e2014-11-24 19:11:48 -08001/*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8// EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL
9// DO NOT USE -- FOR INTERNAL TESTING ONLY
10
11#ifndef sk_matrix_DEFINED
12#define sk_matrix_DEFINED
13
14#include "sk_types.h"
15
16SK_C_PLUS_PLUS_BEGIN_GUARD
17
18void sk_matrix_set_identity(sk_matrix_t*);
19
20void sk_matrix_set_translate(sk_matrix_t*, float tx, float ty);
21void sk_matrix_pre_translate(sk_matrix_t*, float tx, float ty);
22void sk_matrix_post_translate(sk_matrix_t*, float tx, float ty);
23
24void sk_matrix_set_scale(sk_matrix_t*, float sx, float sy);
25void sk_matrix_pre_scale(sk_matrix_t*, float sx, float sy);
26void sk_matrix_post_scale(sk_matrix_t*, float sx, float sy);
27
28SK_C_PLUS_PLUS_END_GUARD
29
30#endif