![]() |
Paradox Game Engine
v1.0.0 beta06
|
Classes | |
struct | fi_handle |
Wrapper for a custom handle. More... | |
struct | FreeImageIO |
Structure for implementing access to custom handles. More... | |
class | FreeImageStreamIO |
Internal class wrapping stream io functions. | |
class | StreamWrapper |
Class wrapping streams, implementing a buffer for read data, so that seek operations can be made. | |
Functions | |
delegate uint | ReadProc (IntPtr buffer, uint size, uint count, fi_handle handle) |
Delegate to the C++ function fread. More... | |
delegate uint | WriteProc (IntPtr buffer, uint size, uint count, fi_handle handle) |
Delegate to the C++ function fwrite. More... | |
delegate int | SeekProc (fi_handle handle, int offset, SeekOrigin origin) |
Delegate to the C++ function fseek. More... | |
delegate int | TellProc (fi_handle handle) |
Delegate to the C++ function ftell. More... | |
delegate uint FreeImageAPI.IO.ReadProc | ( | IntPtr | buffer, |
uint | size, | ||
uint | count, | ||
fi_handle | handle | ||
) |
Delegate to the C++ function fread.
buffer | Pointer to read from. |
size | Item size in bytes. |
count | Maximum number of items to be read. |
handle | Handle/stream to read from. |
delegate int FreeImageAPI.IO.SeekProc | ( | fi_handle | handle, |
int | offset, | ||
SeekOrigin | origin | ||
) |
Delegate to the C++ function fseek.
handle | Handle/stream to seek in. |
offset | Number of bytes from origin. |
origin | Initial position. |
delegate int FreeImageAPI.IO.TellProc | ( | fi_handle | handle | ) |
Delegate to the C++ function ftell.
handle | Handle/stream to retrieve its currents position from. |
delegate uint FreeImageAPI.IO.WriteProc | ( | IntPtr | buffer, |
uint | size, | ||
uint | count, | ||
fi_handle | handle | ||
) |
Delegate to the C++ function fwrite.
buffer | Pointer to data to be written. |
size | Item size in bytes. |
count | Maximum number of items to be written. |
handle | Handle/stream to write to. |