BB2 C port
API reference: Blitz libraries in C and the shared code
Loading...
Searching...
No Matches
2dlib.c File Reference
#include "blitzlib.h"
#include "blitzobj.h"
#include <proto/graphics.h>

Data Structures

struct  point
struct  edge
struct  columns

Macros

#define __NOLIBBASE__
#define GRAPHICS_BASE_NAME   gfx
#define BLTCON0   0x40
#define BLTCON1   0x42
#define BLTAFWM   0x44
#define BLTALWM   0x46
#define BLTCPT   0x48
#define BLTBPT   0x4c
#define BLTAPT   0x50
#define BLTDPT   0x54
#define BLTSIZE   0x58
#define BLTSIZV   0x5c
#define BLTCMOD   0x60
#define BLTBMOD   0x62
#define BLTAMOD   0x64
#define BLTDMOD   0x66
#define BLTADAT   0x74
#define CW(chip, o)
#define CL(chip, o)
#define BLITWAIT(chip)
#define BMI_W(a, b)
#define POINTMAX   16
#define EDGEMAX   (POINTMAX - 1)
#define AMIGALINE(code)
#define CPLOT(n)
#define CPLOT2(n)
#define CLIPMAX   20
#define POLYQUICK(any)
#define AMIGACLIP(code)
#define BLITPAIR(name, call, ...)
#define XY1   WORD x1 BL_REG(d0), WORD y1 BL_REG(d1)
#define XY2   WORD x2 BL_REG(d2), WORD y2 BL_REG(d3)
#define ABENTRY(e, n)
#define SHAPE   ((struct bb_shape *)blitz_string)

Functions

void _ellipse (void)
void _circle (void)
void _ellipsef (void)
void _circlef (void)
void _box (void)
void _boxf (void)
void _line (void)
void _lineto (void)
void _linew (void)
void _freefill (void)
void _allocfill (void)
void _remap (void)
void _remap2 (void)
void _floodfill (void)
void _floodfill2 (void)
void _poly (void)
void _polyf (void)
void _polyf2 (void)
void _bitplanesbitmap (void)
void _doclipblit (void)
void _doclipblitx (void)
void _cbchk (void)
void _doclipblitmode (void)
void _bitmapwindow (void)
void _bitmaporigin (void)
void _init (void)
void _polychk (void)
void _polyfchk (void)
BL_ALWAYS_INLINE WORD muldiv (WORD a, WORD b, WORD c)
static ULONG memalloc (ULONG size, ULONG flags_)
static void memfree (ULONG mem, ULONG size)
static void _bitmaporigin_c (UWORD x, UWORD y, struct bb_bitmap *bm)
 BLITZ_ALIAS (_bitmaporigin, _bitmaporigin_c)
static void _bitplanesbitmap_c (ULONG pick, struct bb_bitmap *src, struct bb_bitmap *dst)
 BLITZ_ALIAS (_bitplanesbitmap, _bitplanesbitmap_c)
static void _bitmapwindow_c (UWORD x, UWORD y, UWORD w, UWORD h, struct bb_bitmap *src, struct bb_bitmap *dst)
 BLITZ_ALIAS (_bitmapwindow, _bitmapwindow_c)
static void _init_c (void)
static ULONG allocfill (const struct bb_bitmap *bm)
static void _allocfill_c (void)
 BLITZ_ALIAS (_allocfill, _allocfill_c)
static ULONG _freefill_c (void)
 BLITZ_ALIAS (_freefill, _freefill_c)
void lines (void)
void boxf (void)
void ellipse (void)
void ellipsef (void)
static void columns (const struct bb_bitmap *bm, struct columns *c)
static void setmods (UBYTE *chip, UWORD m)
static void blitsize3 (UBYTE *chip, UWORD parts, UWORD size)
static void column (UBYTE *chip, const struct bb_bitmap *bm, ULONG colour, WORD off, UBYTE *mask, const struct columns *c, UWORD size, int write)
static UBYTE * mono (UBYTE *chip, struct bb_bitmap *bm, ULONG colour, int write, UWORD *size)
void yofill_asm (void)
static void yofill (struct bb_bitmap *bm)
static UBYTE * floodfill (struct bb_bitmap *bm, UBYTE *chip, WORD x, WORD y, UWORD colour)
static void invertmask (UBYTE *chip, const struct bb_bitmap *bm, UBYTE *last)
static UBYTE * floodfill2 (struct bb_bitmap *bm, UBYTE *chip, ULONG x, WORD y, UWORD colour, UWORD border)
static UBYTE * remap (struct bb_bitmap *bm, UBYTE *chip, ULONG from, ULONG to, struct bb_bitmap *dst)
BL_ALWAYS_INLINE ULONG edge_step (ULONG pos, ULONG step)
BL_ALWAYS_INLINE ULONG edge_start (WORD x)
BL_ALWAYS_INLINE int next_edge (const struct edge **list, UWORD *lines, ULONG *step)
BL_ALWAYS_INLINE UWORD * side (UWORD *list, WORD x, WORD y, const struct point *p, int dir, int right, WORD width, WORD height)
BL_ALWAYS_INLINE UWORD * outline (const struct point *pts, UWORD n, WORD width, WORD height, UWORD *ledges, UWORD *redges)
static int polyinrange (const struct point *p, UWORD n)
BL_ALWAYS_INLINE WORD coord (const struct point *p, int yaxis)
static UWORD clipline (struct point *dst, const struct point *src, UWORD n, int yaxis, WORD c, int high)
static UWORD clippoly (struct point *dst, UWORD n, WORD width, WORD height)
void ploop (void)
BL_ALWAYS_INLINE UBYTE * drawpoly (struct bb_bitmap *bm, UWORD n, UWORD colour, UBYTE *a3, ULONG any)
BL_ALWAYS_INLINE ULONG mulu_lo (ULONG a, ULONG b)
BL_ALWAYS_INLINE int prodgt (LONG a, LONG b, LONG c, LONG d)
static UBYTE * polyf (struct bb_bitmap *bm, UWORD n, const struct point *pts, UWORD colour, UWORD colour2)
static void _doclipblitmode_c (UWORD m)
 BLITZ_ALIAS (_doclipblitmode, _doclipblitmode_c)
void clipblit (void)
void b_docblit (void)
void b_docblitx (void)
 BLITPAIR (floodfill, floodfill(bm, chip, x, y, c), WORD x, WORD y, UWORD c) BLITPAIR(floodfill2
 floodfill2 (bm, chip, x, y, c, border)
ULONG WORD UWORD UWORD border BLITPAIR (remap, remap(bm, chip, from, to, bm), ULONG from, ULONG to) BLITPAIR(remap2
ULONG WORD UWORD UWORD border remap (bm, chip, from, to, dst)
ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst BLITPAIR (polyf,((void) chip, polyf(bm, n,(const struct point *) pts, c, c)), UWORD n, ULONG pts, UWORD c) BLITPAIR(polyf2
ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst void polyf (bm, n,(const struct point *) pts, c, c2))
 ABENTRY (_floodfill, floodfill)
 ABENTRY (_floodfill2, floodfill2)
 ABENTRY (_remap, remap)
 ABENTRY (_remap2, remap2)
 ABENTRY (_polyf, polyf)
 ABENTRY (_polyf2, polyf2)
static void _cbchk_c (void)
static void _polychk_c (WORD n)
static void _polyfchk_c (UWORD n)

Variables

static struct point polypts [2 *POINTMAX]
struct { 
   struct { 
      WORD   left 
      WORD   y 
      WORD   right 
   }   top
   UWORD   ledges [EDGEMAX *3+2] 
   UWORD   redges [EDGEMAX *3+2] 
} pv
static ULONG fbsize
ULONG fbloc
UWORD coords [2]
UWORD fcol
UWORD widbytes
UBYTE flags [2]
static UWORD bigsize [2]
static UWORD bcon0 = 0xfca
static const UWORD lup1 [16]
static const UWORD lup2 [16]
static const char mess1 [] = "SHAPE UNKNOWNST TO ME"
struct { 
   WORD   center [4] 
   UWORD   color 
   WORD   cpos [2] 
   UWORD   dpth 
   UWORD   pfc 
} lv
struct { 
   ULONG   dx 
   ULONG   dy 
   ULONG   asq 
   ULONG   bsq 
   ULONG   asq2 
   ULONG   bsq2 
   UWORD   flag 
} ev
struct { 
   UWORD   mod 
   UWORD   size 
   ULONG   tempadd 
   ULONG   blitpos 
} fv
struct { 
   ULONG   bmoff 
   ULONG   bmwid 
   UWORD   rtclip 
   UWORD   pcolor 
} pq
ULONG x
ULONG WORD UWORD c
ULONG WORD UWORD UWORD border ULONG from
ULONG WORD UWORD UWORD border ULONG ULONG to
ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst void chip
ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst void UWORD n
ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst void UWORD ULONG pts

Macro Definition Documentation

◆ __NOLIBBASE__

#define __NOLIBBASE__

◆ ABENTRY

#define ABENTRY ( e,
n )
Value:
BLITZ_AB_ROUTINE(e, b_##n##_c, " jmp _a_" #n "_c")
ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst void UWORD n
Definition 2dlib.c:2498
#define BLITZ_AB_ROUTINE(entry, blitzentry, text)
Definition blitzlib.h:1000

◆ AMIGACLIP

#define AMIGACLIP ( code)
Value:
" movem.l d1/a1,-(sp)\n" \
" jsr -456(a6)\n" /* OwnBlitter */ \
" movem.l (sp)+,d1/a1\n" \
" bsr _" #code "\n" \
" btst #6,2(a1)\n" \
"0: btst #6,2(a1)\n" \
" bne.s 0b\n" \
" jmp -462(a6)" /* DisownBlitter */
UBYTE code[4]
Definition ridisasmlib.c:375

◆ AMIGALINE

#define AMIGALINE ( code)
Value:
" movem.l d0-d1,-(sp)\n" \
" jsr -456(a6)\n" /* OwnBlitter */ \
" movem.l (sp)+,d0-d1\n" \
" bsr _" #code "\n" \
" btst #6,2(a2)\n" \
"0: btst #6,2(a2)\n" \
" bne.s 0b\n" \
" jmp -462(a6)" /* DisownBlitter */

◆ BLITPAIR

#define BLITPAIR ( name,
call,
... )
Value:
static BLITZ_ENTRYPOINT void BLITZ_ROUTINE b_##name##_c(__VA_ARGS__, \
UBYTE *chip BL_REG(a2)) \
{ \
BLITZ_EP_KEEP_A6(); \
struct bb_bitmap *bm = (struct bb_bitmap *)blitz_string; \
\
blitz_string = call; \
BLITZ_EP_KEEP_A6_END(); \
} \
BLITZ_EP_MARK(b_##name##_c); \
static void BLITZ_ROUTINE a_##name##_c(__VA_ARGS__, UBYTE *chip BL_REG(a2), \
struct GfxBase *gfx BL_REG(a6)) \
{ \
struct bb_bitmap *bm = (struct bb_bitmap *)blitz_string; \
UBYTE *a3; \
\
OwnBlitter(); \
a3 = call; \
BLITWAIT(chip); \
DisownBlitter(); \
blitz_string = a3; \
}
ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst void chip
Definition 2dlib.c:2497
char * name
Definition asllib.c:150
#define BLITZ_ENTRYPOINT
Definition blitzlib.h:837
#define BL_REG(r)
Definition blitzlib.h:280
#define BLITZ_ROUTINE
Definition blitzlib.h:313
register UBYTE * blitz_string
Definition blitzlib.h:270
struct BitMap bm
Definition iffmakelib.c:162
A BitMap object, 64 bytes: a struct BitMap (+0 .. +39) and the Blitz fields behind it.
Definition blitzobj.h:87

◆ BLITWAIT

#define BLITWAIT ( chip)
Value:
#define BL_BLITWAIT(cb)
Definition blitzhelp.h:172

◆ BLTADAT

#define BLTADAT   0x74

◆ BLTAFWM

#define BLTAFWM   0x44

◆ BLTALWM

#define BLTALWM   0x46

◆ BLTAMOD

#define BLTAMOD   0x64

◆ BLTAPT

#define BLTAPT   0x50

◆ BLTBMOD

#define BLTBMOD   0x62

◆ BLTBPT

#define BLTBPT   0x4c

◆ BLTCMOD

#define BLTCMOD   0x60

◆ BLTCON0

#define BLTCON0   0x40

◆ BLTCON1

#define BLTCON1   0x42

◆ BLTCPT

#define BLTCPT   0x48

◆ BLTDMOD

#define BLTDMOD   0x66

◆ BLTDPT

#define BLTDPT   0x54

◆ BLTSIZE

#define BLTSIZE   0x58

◆ BLTSIZV

#define BLTSIZV   0x5c

◆ BMI_W

#define BMI_W ( a,
b )
Value:
((WORD)((a) - (b)) < 0)

◆ CL

#define CL ( chip,
o )
Value:
#define BL_CUSTOML(cb, o)
Definition blitzhelp.h:167

◆ CLIPMAX

#define CLIPMAX   20

◆ CPLOT

#define CPLOT ( n)

◆ CPLOT2

#define CPLOT2 ( n)
Value:
" cmp.w 58(a3),d1\n" \
" bcc.s " #n "9f\n" \
" mulu.w (a3),d1\n" \
" bmi.s " #n "9f\n" \
" move.w d0,d3\n" \
" bmi.s " #n "9f\n" \
" cmp.w d4,d3\n" \
" bmi.s " #n "1f\n" \
" move.w d4,d3\n" \
" move.w d4,d0\n" \
#n "1: lsr.w #3,d3\n" \
" ext.l d3\n" \
" add.l d3,d1\n" \
" and.w #7,d0\n" \
" eor.w #7,d0\n" \
" bchg.b d0,0(a0,d1.l)\n" \
#n "9:\n"

◆ CW

#define CW ( chip,
o )
Value:
#define BL_CUSTOMW(cb, o)
Definition blitzhelp.h:166

◆ EDGEMAX

#define EDGEMAX   (POINTMAX - 1)

◆ GRAPHICS_BASE_NAME

#define GRAPHICS_BASE_NAME   gfx

◆ POINTMAX

#define POINTMAX   16

◆ POLYQUICK

#define POLYQUICK ( any)
Value:
(!((any) & 0xe000e000UL))

◆ SHAPE

#define SHAPE   ((struct bb_shape *)blitz_string)

◆ XY1

#define XY1   WORD x1 BL_REG(d0), WORD y1 BL_REG(d1)

◆ XY2

#define XY2   WORD x2 BL_REG(d2), WORD y2 BL_REG(d3)

Function Documentation

◆ _allocfill()

void _allocfill ( void )

◆ _allocfill_c()

void _allocfill_c ( void )
static

◆ _bitmaporigin()

void _bitmaporigin ( void )

◆ _bitmaporigin_c()

void _bitmaporigin_c ( UWORD x,
UWORD y,
struct bb_bitmap * bm )
static

◆ _bitmapwindow()

void _bitmapwindow ( void )

◆ _bitmapwindow_c()

void _bitmapwindow_c ( UWORD x,
UWORD y,
UWORD w,
UWORD h,
struct bb_bitmap * src,
struct bb_bitmap * dst )
static

◆ _bitplanesbitmap()

void _bitplanesbitmap ( void )

◆ _bitplanesbitmap_c()

void _bitplanesbitmap_c ( ULONG pick,
struct bb_bitmap * src,
struct bb_bitmap * dst )
static

◆ _box()

void _box ( void )

◆ _boxf()

void _boxf ( void )

◆ _cbchk()

void _cbchk ( void )

◆ _cbchk_c()

void _cbchk_c ( void )
static

◆ _circle()

void _circle ( void )

◆ _circlef()

void _circlef ( void )

◆ _doclipblit()

void _doclipblit ( void )

◆ _doclipblitmode()

void _doclipblitmode ( void )

◆ _doclipblitmode_c()

void _doclipblitmode_c ( UWORD m)
static

◆ _doclipblitx()

void _doclipblitx ( void )

◆ _ellipse()

void _ellipse ( void )

◆ _ellipsef()

void _ellipsef ( void )

◆ _floodfill()

void _floodfill ( void )

◆ _floodfill2()

void _floodfill2 ( void )

◆ _freefill()

void _freefill ( void )

◆ _freefill_c()

ULONG _freefill_c ( void )
static

◆ _init()

void _init ( void )

◆ _init_c()

void _init_c ( void )
static

◆ _line()

void _line ( void )

◆ _lineto()

void _lineto ( void )

◆ _linew()

void _linew ( void )

◆ _poly()

void _poly ( void )

◆ _polychk()

void _polychk ( void )

◆ _polychk_c()

void _polychk_c ( WORD n)
static

◆ _polyf()

void _polyf ( void )

◆ _polyf2()

void _polyf2 ( void )

◆ _polyfchk()

void _polyfchk ( void )

◆ _polyfchk_c()

void _polyfchk_c ( UWORD n)
static

◆ _remap()

void _remap ( void )

◆ _remap2()

void _remap2 ( void )

◆ ABENTRY() [1/6]

ABENTRY ( _floodfill ,
floodfill  )

◆ ABENTRY() [2/6]

ABENTRY ( _floodfill2 ,
floodfill2  )

◆ ABENTRY() [3/6]

ABENTRY ( _polyf ,
polyf  )

◆ ABENTRY() [4/6]

ABENTRY ( _polyf2 ,
polyf2  )

◆ ABENTRY() [5/6]

ABENTRY ( _remap ,
remap  )

◆ ABENTRY() [6/6]

ABENTRY ( _remap2 ,
remap2  )

◆ allocfill()

ULONG allocfill ( const struct bb_bitmap * bm)
static

◆ b_docblit()

void b_docblit ( void )

◆ b_docblitx()

void b_docblitx ( void )

◆ BLITPAIR() [1/3]

BLITPAIR ( floodfill ,
floodfill(bm, chip, x, y, c) ,
WORD x,
WORD y,
UWORD c )

◆ BLITPAIR() [2/3]

ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst BLITPAIR ( polyf ,
((void) chip, polyf(bm, n,(const struct point *) pts, c, c)) ,
UWORD n,
ULONG pts,
UWORD c )

◆ BLITPAIR() [3/3]

ULONG WORD UWORD UWORD border BLITPAIR ( remap ,
remap(bm, chip, from, to, bm) ,
ULONG from,
ULONG to )

◆ blitsize3()

void blitsize3 ( UBYTE * chip,
UWORD parts,
UWORD size )
static

◆ BLITZ_ALIAS() [1/6]

BLITZ_ALIAS ( _allocfill ,
_allocfill_c  )

◆ BLITZ_ALIAS() [2/6]

BLITZ_ALIAS ( _bitmaporigin ,
_bitmaporigin_c  )

◆ BLITZ_ALIAS() [3/6]

BLITZ_ALIAS ( _bitmapwindow ,
_bitmapwindow_c  )

◆ BLITZ_ALIAS() [4/6]

BLITZ_ALIAS ( _bitplanesbitmap ,
_bitplanesbitmap_c  )

◆ BLITZ_ALIAS() [5/6]

BLITZ_ALIAS ( _doclipblitmode ,
_doclipblitmode_c  )

◆ BLITZ_ALIAS() [6/6]

BLITZ_ALIAS ( _freefill ,
_freefill_c  )

◆ boxf()

void boxf ( void )

◆ clipblit()

void clipblit ( void )

◆ clipline()

UWORD clipline ( struct point * dst,
const struct point * src,
UWORD n,
int yaxis,
WORD c,
int high )
static

◆ clippoly()

UWORD clippoly ( struct point * dst,
UWORD n,
WORD width,
WORD height )
static

◆ column()

void column ( UBYTE * chip,
const struct bb_bitmap * bm,
ULONG colour,
WORD off,
UBYTE * mask,
const struct columns * c,
UWORD size,
int write )
static

◆ columns()

void columns ( const struct bb_bitmap * bm,
struct columns * c )
static

◆ coord()

BL_ALWAYS_INLINE WORD coord ( const struct point * p,
int yaxis )

◆ drawpoly()

BL_ALWAYS_INLINE UBYTE * drawpoly ( struct bb_bitmap * bm,
UWORD n,
UWORD colour,
UBYTE * a3,
ULONG any )

◆ edge_start()

BL_ALWAYS_INLINE ULONG edge_start ( WORD x)

◆ edge_step()

BL_ALWAYS_INLINE ULONG edge_step ( ULONG pos,
ULONG step )

◆ ellipse()

void ellipse ( void )

◆ ellipsef()

void ellipsef ( void )

◆ floodfill()

UBYTE * floodfill ( struct bb_bitmap * bm,
UBYTE * chip,
WORD x,
WORD y,
UWORD colour )
static

◆ floodfill2() [1/2]

floodfill2 ( bm ,
chip ,
x ,
y ,
c ,
border  )

◆ floodfill2() [2/2]

UBYTE * floodfill2 ( struct bb_bitmap * bm,
UBYTE * chip,
ULONG x,
WORD y,
UWORD colour,
UWORD border )
static

◆ invertmask()

void invertmask ( UBYTE * chip,
const struct bb_bitmap * bm,
UBYTE * last )
static

◆ lines()

void lines ( void )

◆ memalloc()

ULONG memalloc ( ULONG size,
ULONG flags_ )
static

◆ memfree()

void memfree ( ULONG mem,
ULONG size )
static

◆ mono()

UBYTE * mono ( UBYTE * chip,
struct bb_bitmap * bm,
ULONG colour,
int write,
UWORD * size )
static

◆ muldiv()

BL_ALWAYS_INLINE WORD muldiv ( WORD a,
WORD b,
WORD c )

◆ mulu_lo()

BL_ALWAYS_INLINE ULONG mulu_lo ( ULONG a,
ULONG b )

◆ next_edge()

BL_ALWAYS_INLINE int next_edge ( const struct edge ** list,
UWORD * lines,
ULONG * step )

◆ outline()

BL_ALWAYS_INLINE UWORD * outline ( const struct point * pts,
UWORD n,
WORD width,
WORD height,
UWORD * ledges,
UWORD * redges )

◆ ploop()

void ploop ( void )

◆ polyf() [1/2]

ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst void polyf ( bm ,
n ,
(const struct point *) pts,
c ,
c2  )

◆ polyf() [2/2]

UBYTE * polyf ( struct bb_bitmap * bm,
UWORD n,
const struct point * pts,
UWORD colour,
UWORD colour2 )
static

◆ polyinrange()

int polyinrange ( const struct point * p,
UWORD n )
static

◆ prodgt()

BL_ALWAYS_INLINE int prodgt ( LONG a,
LONG b,
LONG c,
LONG d )

◆ remap() [1/2]

ULONG WORD UWORD UWORD border remap ( bm ,
chip ,
from ,
to ,
dst  )

◆ remap() [2/2]

UBYTE * remap ( struct bb_bitmap * bm,
UBYTE * chip,
ULONG from,
ULONG to,
struct bb_bitmap * dst )
static

◆ setmods()

void setmods ( UBYTE * chip,
UWORD m )
static

◆ side()

BL_ALWAYS_INLINE UWORD * side ( UWORD * list,
WORD x,
WORD y,
const struct point * p,
int dir,
int right,
WORD width,
WORD height )

◆ yofill()

void yofill ( struct bb_bitmap * bm)
static

◆ yofill_asm()

void yofill_asm ( void )

Variable Documentation

◆ asq

ULONG asq

◆ asq2

ULONG asq2

◆ bcon0

UWORD bcon0 = 0xfca
static

◆ bigsize

UWORD bigsize[2]
static

◆ blitpos

ULONG blitpos

◆ bmoff

ULONG bmoff

◆ bmwid

ULONG bmwid

◆ bsq

ULONG bsq

◆ bsq2

ULONG bsq2

◆ c

ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst void UWORD ULONG UWORD c

◆ center

WORD center[4]

◆ chip

ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst void chip

◆ color

UWORD color

◆ coords

UWORD coords[2]

◆ cpos

WORD cpos[2]

◆ dpth

UWORD dpth

◆ dx

ULONG dx

◆ dy

ULONG dy

◆ [struct]

struct { ... } ev

◆ fbloc

ULONG fbloc

◆ fbsize

ULONG fbsize
static

◆ fcol

UWORD fcol

◆ flag

UWORD flag

◆ flags

UBYTE flags[2]

◆ from

ULONG WORD UWORD UWORD border ULONG from

◆ [struct]

struct { ... } fv

◆ ledges

UWORD ledges[EDGEMAX *3+2]

◆ left

WORD left

◆ lup1

const UWORD lup1[16]
static
Initial value:
= {
0xffff, 0x7fff, 0x3fff, 0x1fff, 0x0fff, 0x07ff, 0x03ff, 0x01ff,
0x00ff, 0x007f, 0x003f, 0x001f, 0x000f, 0x0007, 0x0003, 0x0001,
}

◆ lup2

const UWORD lup2[16]
static
Initial value:
= {
0x8000, 0xc000, 0xe000, 0xf000, 0xf800, 0xfc00, 0xfe00, 0xff00,
0xff80, 0xffc0, 0xffe0, 0xfff0, 0xfff8, 0xfffc, 0xfffe, 0xffff,
}

◆ [struct]

struct { ... } lv

◆ mess1

const char mess1[] = "SHAPE UNKNOWNST TO ME"
static

◆ mod

UWORD mod

◆ n

ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst void UWORD n

◆ pcolor

UWORD pcolor

◆ pfc

UWORD pfc

◆ polypts

struct point polypts[2 *POINTMAX]
static

◆ [struct]

struct { ... } pq

◆ pts

ULONG WORD UWORD UWORD border ULONG ULONG struct bb_bitmap *dst void UWORD ULONG pts

◆ [struct]

struct { ... } pv

◆ redges

UWORD redges[EDGEMAX *3+2]

◆ right

WORD right

◆ rtclip

UWORD rtclip

◆ size

UWORD size

◆ tempadd

ULONG tempadd

◆ to

ULONG WORD UWORD UWORD border ULONG ULONG to

◆ [struct]

struct { ... } top

◆ widbytes

UWORD widbytes

◆ x

ULONG x

◆ y

ULONG WORD y