blob: cb83cfddbe3fdd24a243ef600b2ccc9e4e0c926a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the LICENSE file.
*
*/
#pragma once
//
//
//
#include "skc.h"
#include "types.h"
//
//
//
struct skc_composition
{
struct skc_context * context;
struct skc_composition_impl * impl;
//
// FIXME -- this collection of pfn's isn't complete
//
skc_err (* place )(struct skc_composition_impl * const impl,
skc_raster_t const * rasters,
skc_layer_id const * layer_ids,
skc_float const * txs,
skc_float const * tys,
skc_uint count);
void (* unseal )(struct skc_composition_impl * const impl, skc_bool const reset);
void (* seal )(struct skc_composition_impl * const impl);
void (* bounds )(struct skc_composition_impl * const impl, skc_int bounds[4]);
void (* release)(struct skc_composition_impl * const impl);
skc_int ref_count;
};
//
//
//
|