1 /* 2 * Copyright 2018 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can 5 * be found in the LICENSE file. 6 * 7 */ 8 9 // 10 // 11 // 12 13 #pragma once 14 15 // 16 // 17 // 18 19 #include <skc/skc.h> 20 21 // 22 // 23 // 24 25 void 26 groups_toggle(); 27 28 // 29 // 30 // 31 32 skc_path_t * 33 groups_paths_decode(skc_path_builder_t pb); 34 35 void 36 groups_paths_release(skc_context_t context, 37 skc_path_t * const paths); 38 39 // 40 // 41 // 42 43 skc_raster_t * 44 groups_rasters_decode(struct ts_transform_stack * const ts, 45 skc_path_t const * const paths, 46 skc_raster_builder_t rb); 47 48 void 49 groups_rasters_release(skc_context_t context, 50 skc_raster_t * const rasters); 51 // 52 // 53 // 54 55 void 56 groups_rewind(); 57 58 // 59 // 60 // 61 62 uint32_t 63 groups_layer_count(); 64 65 void 66 groups_layers_decode(skc_raster_t const * const rasters, 67 skc_composition_t composition, 68 skc_styling_t styling, 69 bool const is_srgb); 70 71 // 72 // 73 // 74