acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
dib.h
1
//
2
// dib.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:42 <3ThomasBorregaardSørensen!! Mummi!! Bilbo!!
8
//
9
#pragma once
10
11
12
namespace
nano
13
{
14
15
16
namespace
graphics
17
{
18
19
20
class
CLASS_DECL_ACME dib :
21
virtual
public
::particle
22
{
23
public
:
24
25
26
// void * m_p;
27
// ::i32_size m_size;
28
// ::i32 m_iBytesPerRow;
29
//
30
// ::pointer < context > m_pcgcontext;
31
// ::pointer < image > m_pcgimage;
32
//
33
34
dib();
35
~dib();
36
37
virtual ::i32_size size()
const
;
38
39
40
virtual
void
create_image(const ::i32_size & size);
41
42
virtual ::nano::graphics::image * get_image2();
43
virtual ::nano::graphics::image * fetch_image();
44
virtual ::nano::graphics::context * get_context();
45
virtual
void
* get_buffer();
46
47
virtual
void
load_image_from_file(
::file::file
* pfile);
48
virtual
void
load_image_file(
const
void
*p, memsize size);
49
50
};
51
52
53
}
// namespace graphics
54
55
56
}
// namespace nano
57
58
59
60
file::file
Definition
file.h:33
nano
graphics
dib.h
Generated by
1.17.0