Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qmnghandler.cpp File Reference

(d59c5eb8ccc5777ab99c96c733eafb1405fcb808)

#include "qmnghandler_p.h"
#include "qimage.h"
#include "qvariant.h"
#include "qcolor.h"
#include <libmng.h>
Include dependency graph for qmnghandler.cpp:

Go to the source code of this file.

Classes

class  QMngHandlerPrivate

Macros

#define MNG_USE_SO
#define MNG_NO_INCLUDE_JNG

Functions

static mng_bool MNG_DECL myerror (mng_handle, mng_int32 iErrorcode, mng_int8, mng_chunkid iChunkname, mng_uint32, mng_int32 iExtra1, mng_int32 iExtra2, mng_pchar zErrortext)
static mng_ptr MNG_DECL myalloc (mng_size_t iSize)
static void MNG_DECL myfree (mng_ptr pPtr, mng_size_t)
static mng_bool MNG_DECL myopenstream (mng_handle)
static mng_bool MNG_DECL myclosestream (mng_handle hMNG)
static mng_bool MNG_DECL myreaddata (mng_handle hMNG, mng_ptr pBuf, mng_uint32 iSize, mng_uint32p pRead)
static mng_bool MNG_DECL mywritedata (mng_handle hMNG, mng_ptr pBuf, mng_uint32 iSize, mng_uint32p pWritten)
static mng_bool MNG_DECL myprocessheader (mng_handle hMNG, mng_uint32 iWidth, mng_uint32 iHeight)
static mng_ptr MNG_DECL mygetcanvasline (mng_handle hMNG, mng_uint32 iLinenr)
static mng_bool MNG_DECL myrefresh (mng_handle, mng_uint32, mng_uint32, mng_uint32, mng_uint32)
static mng_uint32 MNG_DECL mygettickcount (mng_handle hMNG)
static mng_bool MNG_DECL mysettimer (mng_handle hMNG, mng_uint32 iMsecs)
static mng_bool MNG_DECL myprocessterm (mng_handle hMNG, mng_uint8 iTermaction, mng_uint8, mng_uint32, mng_uint32 iItermax)
static mng_bool MNG_DECL mytrace (mng_handle, mng_int32 iFuncnr, mng_int32 iFuncseq, mng_pchar zFuncname)

Macro Definition Documentation

◆ MNG_NO_INCLUDE_JNG

#define MNG_NO_INCLUDE_JNG

Definition at line 12 of file qmnghandler.cpp.

◆ MNG_USE_SO

#define MNG_USE_SO

Definition at line 11 of file qmnghandler.cpp.

Function Documentation

◆ myalloc()

mng_ptr MNG_DECL myalloc ( mng_size_t iSize)
static

Definition at line 68 of file qmnghandler.cpp.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

Here is the caller graph for this function:

◆ myclosestream()

mng_bool MNG_DECL myclosestream ( mng_handle hMNG)
static

Definition at line 83 of file qmnghandler.cpp.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

Here is the caller graph for this function:

◆ myerror()

mng_bool MNG_DECL myerror ( mng_handle ,
mng_int32 iErrorcode,
mng_int8 ,
mng_chunkid iChunkname,
mng_uint32 ,
mng_int32 iExtra1,
mng_int32 iExtra2,
mng_pchar zErrortext )
static

Definition at line 49 of file qmnghandler.cpp.

◆ myfree()

void MNG_DECL myfree ( mng_ptr pPtr,
mng_size_t  )
static

Definition at line 73 of file qmnghandler.cpp.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

Here is the caller graph for this function:

◆ mygetcanvasline()

mng_ptr MNG_DECL mygetcanvasline ( mng_handle hMNG,
mng_uint32 iLinenr )
static

Definition at line 116 of file qmnghandler.cpp.

◆ mygettickcount()

mng_uint32 MNG_DECL mygettickcount ( mng_handle hMNG)
static

Definition at line 132 of file qmnghandler.cpp.

◆ myopenstream()

mng_bool MNG_DECL myopenstream ( mng_handle )
static

Definition at line 78 of file qmnghandler.cpp.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

Here is the caller graph for this function:

◆ myprocessheader()

mng_bool MNG_DECL myprocessheader ( mng_handle hMNG,
mng_uint32 iWidth,
mng_uint32 iHeight )
static

Definition at line 108 of file qmnghandler.cpp.

◆ myprocessterm()

mng_bool MNG_DECL myprocessterm ( mng_handle hMNG,
mng_uint8 iTermaction,
mng_uint8 ,
mng_uint32 ,
mng_uint32 iItermax )
static

Definition at line 147 of file qmnghandler.cpp.

◆ myreaddata()

mng_bool MNG_DECL myreaddata ( mng_handle hMNG,
mng_ptr pBuf,
mng_uint32 iSize,
mng_uint32p pRead )
static

Definition at line 90 of file qmnghandler.cpp.

◆ myrefresh()

mng_bool MNG_DECL myrefresh ( mng_handle ,
mng_uint32 ,
mng_uint32 ,
mng_uint32 ,
mng_uint32  )
static

Definition at line 123 of file qmnghandler.cpp.

◆ mysettimer()

mng_bool MNG_DECL mysettimer ( mng_handle hMNG,
mng_uint32 iMsecs )
static

Definition at line 138 of file qmnghandler.cpp.

◆ mytrace()

mng_bool MNG_DECL mytrace ( mng_handle ,
mng_int32 iFuncnr,
mng_int32 iFuncseq,
mng_pchar zFuncname )
static

Definition at line 159 of file qmnghandler.cpp.

◆ mywritedata()

mng_bool MNG_DECL mywritedata ( mng_handle hMNG,
mng_ptr pBuf,
mng_uint32 iSize,
mng_uint32p pWritten )
static

Definition at line 99 of file qmnghandler.cpp.