forked from aseprite/aseprite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrasterize.h
More file actions
30 lines (20 loc) · 740 Bytes
/
Copy pathrasterize.h
File metadata and controls
30 lines (20 loc) · 740 Bytes
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
// Aseprite Render Library
// Copyright (C) 2019 Igara Studio S.A.
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifndef RENDER_RASTERIZE_H_INCLUDED
#define RENDER_RASTERIZE_H_INCLUDED
#pragma once
namespace doc {
class Cel;
class Image;
} // namespace doc
namespace render {
void rasterize(doc::Image* dst, const doc::Cel* cel, const int x, const int y, const bool clear);
void rasterize_with_cel_bounds(doc::Image* dst, const doc::Cel* cel);
void rasterize_with_sprite_bounds(doc::Image* dst, const doc::Cel* cel);
doc::Image* rasterize_with_cel_bounds(const doc::Cel* cel);
doc::Image* rasterize_with_sprite_bounds(const doc::Cel* cel);
} // namespace render
#endif