home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff280.lzh
/
Graph
/
graphics.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-11-20
|
877b
|
30 lines
/*
* GRAPH, Version 1.00 - 4 August 1989
*
* Copyright 1989, David Gay. All Rights Reserved.
* This software is freely redistrubatable.
*/
/* Various graphic extensions */
#ifndef BIG_GRAPHICS_H
#define BIG_GRAPHICS_H
/* Now, where did I get this idea ??? */
struct TextExtent {
UWORD te_Width;
UWORD te_Height;
struct Rectangle te_Extent;
};
/* Draw a line longer than 1008 pixels */
void BigDraw(struct RastPort *rp, long x, long y);
/* Idem, but take account of PenWidth, PenHeight (must be odd) */
void ThickDraw(struct RastPort *rp, long x, long y);
/* Only works for rastport's with no clipping */
void BigSetRast(struct RastPort *rp, long colour);
/* Determine real extent of text(-> Rectangle), return it in TextExtent ext */
void TextExtent(char *text, struct TextFont *font, struct TextExtent *ext);
#endif