php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
wbmp.h File Reference
#include "php_compat.h"

Go to the source code of this file.

Data Structures

struct  Wbmp_
 

Macros

#define WBMP_WHITE   1
 
#define WBMP_BLACK   0
 

Typedefs

typedef struct Wbmp_ Wbmp
 

Functions

void putmbi (int i, void(*putout)(int c, void *out), void *out)
 
int getmbi (int(*getin)(void *in), void *in)
 
int skipheader (int(*getin)(void *in), void *in)
 
Wbmpcreatewbmp (int width, int height, int color)
 
int readwbmp (int(*getin)(void *in), void *in, Wbmp **wbmp)
 
int writewbmp (Wbmp *wbmp, void(*putout)(int c, void *out), void *out)
 
void freewbmp (Wbmp *wbmp)
 
void printwbmp (Wbmp *wbmp)
 

Macro Definition Documentation

◆ WBMP_BLACK

#define WBMP_BLACK   0

Definition at line 36 of file wbmp.h.

◆ WBMP_WHITE

#define WBMP_WHITE   1

Definition at line 35 of file wbmp.h.

Typedef Documentation

◆ Wbmp

typedef struct Wbmp_ Wbmp

Function Documentation

◆ createwbmp()

Wbmp * createwbmp ( int width,
int height,
int color )

Definition at line 112 of file wbmp.c.

◆ freewbmp()

void freewbmp ( Wbmp * wbmp)

Definition at line 298 of file wbmp.c.

◆ getmbi()

int getmbi ( int(* getin )(void *in),
void * in )

Definition at line 38 of file wbmp.c.

◆ printwbmp()

void printwbmp ( Wbmp * wbmp)

Definition at line 311 of file wbmp.c.

◆ putmbi()

void putmbi ( int i,
void(* putout )(int c, void *out),
void * out )

Definition at line 65 of file wbmp.c.

◆ readwbmp()

int readwbmp ( int(* getin )(void *in),
void * in,
Wbmp ** wbmp )

Definition at line 152 of file wbmp.c.

◆ skipheader()

int skipheader ( int(* getin )(void *in),
void * in )

Definition at line 91 of file wbmp.c.

◆ writewbmp()

int writewbmp ( Wbmp * wbmp,
void(* putout )(int c, void *out),
void * out )

Definition at line 252 of file wbmp.c.