Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
GRAPH.H
Package: ertos.rar [view]
Upload User: sunrenlu
Upload Date: 2022-06-13
Package Size: 1419k
Code Size: 1k
Category:
OS Develop
Development Platform:
DOS
- /*
- * Copyright (c) 1990, 1999 Erick Engelke
- */
- typedef struct _graph_x {
- int g_width;
- int g_height;
- BYTE g_background;
- BYTE *g_data; /* assumes 8 bits */
- } graph_x;
- /*
- * (0,0) is bottom left, ( width-1, height-1) is upper right
- *
- */
- void *gr_alloc( int width, int height );
- void gr_free( void *x );
- void gr_background( void *z, int col );
- void gr_setpixel( void *z, int x, int y, int cols );
- int gr_getpixel( void *z, int x, int y );
- void gr_line( void *z, int x1, int y1, int x2, int y2, int color );
- void gr_char_at( void *z , char ch, int x, int y, int color );
- void gr_text_at( void *z , char *s, int x, int y, int color );
- void gr_linegraph( void *z, int numpoints, int *ys,
- char *x1, char *x2, int textcolor, int color );
- void gr_gif( tcp_Socket *s, void *z );