Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://coin3d.github.io
https://www.kongsberg.com/en/kogt/
Functions
simage_gdiplus.h File Reference
#include <config.h>

Go to the source code of this file.

Functions

int simage_gdiplus_error (char *textbuffer, int buffersize)
 
int simage_gdiplus_identify (const char *filename, const unsigned char *header, int headerlen)
 
unsigned char * simage_gdiplus_load (const char *filename, int *width, int *height, int *numcomponents)
 
char * simage_gdiplus_get_savers (void)
 
int simage_gdiplus_save (const char *filename, const unsigned char *bytes, int width, int height, int numcomponents, const char *ext)
 
void * simage_gdiplus_open (const char *filename, int *width, int *height, int *numcomponents)
 
void simage_gdiplus_close (void *opendata)
 
int simage_gdiplus_read_line (void *opendata, int y, unsigned char *buf)
 
int simage_gdiplus_read_region (void *opendata, int x, int y, int w, int h, unsigned char *buf)
 

Function Documentation

void simage_gdiplus_close ( void *  opendata)

Definition at line 665 of file simage_gdiplus.cpp.

Referenced by add_internal_loaders().

int simage_gdiplus_error ( char *  textbuffer,
int  buffersize 
)
char* simage_gdiplus_get_savers ( void  )

Definition at line 430 of file simage_gdiplus.cpp.

References ERR_INIT, ERR_NO_ERROR, gdiplus_init(), and gdipluserror.

Referenced by add_internal_savers().

int simage_gdiplus_identify ( const char *  filename,
const unsigned char *  header,
int  headerlen 
)
unsigned char* simage_gdiplus_load ( const char *  filename,
int *  width,
int *  height,
int *  numcomponents 
)
void* simage_gdiplus_open ( const char *  filename,
int *  width,
int *  height,
int *  numcomponents 
)
int simage_gdiplus_read_line ( void *  opendata,
int  y,
unsigned char *  buf 
)

Definition at line 672 of file simage_gdiplus.cpp.

References ERR_READ, gdipluserror, and LOCKBITS_RECT_CAST.

Referenced by add_internal_loaders().

int simage_gdiplus_read_region ( void *  opendata,
int  x,
int  y,
int  w,
int  h,
unsigned char *  buf 
)

Definition at line 737 of file simage_gdiplus.cpp.

References ERR_READ, gdipluserror, and LOCKBITS_RECT_CAST.

int simage_gdiplus_save ( const char *  filename,
const unsigned char *  bytes,
int  width,
int  height,
int  numcomponents,
const char *  ext 
)

Definition at line 522 of file simage_gdiplus.cpp.

References ERR_WRITE, gdipluserror, GetEncoderClsid(), and LOCKBITS_RECT_CAST.

Referenced by add_internal_savers().