acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
image.h
1//
2// image.h
3// acme
4//
5// Created by Camilo Sasuke Thomas Borregaard Sørensen on 06/06/26.
6// Copyright © 2026 ca2 Software Development. All rights reserved.
7// Created by camilo on 2026-06-06 00:05 <3ThomasBorregaardSørensen!! Mummi!! Bilbo!!
8//
9#pragma once
10
11
12namespace nano
13{
14
15
16 namespace graphics
17 {
18
19
20 class CLASS_DECL_ACME image :
21 virtual public ::particle
22 {
23 public:
24
25
26 image();
27 ~image();
28
29 virtual ::i32_size size() const;
30
31
32 virtual void create_image(const ::i32_size & size);
33
34 virtual void * get_buffer();
35
36 virtual void load_image_from_file(::file::file * pfile);
37 virtual void load_image_file(const void *p, memsize size);
38
39 };
40
41
42 } // namespace graphics
43
44
45} // namespace nano
46
47
48
Definition file.h:33