make mac work
This commit is contained in:
parent
b829c35470
commit
67e4fce4f5
8 changed files with 12 additions and 153 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "mplot.h"
|
||||
int mapminx, mapminy, mapmaxx, mapmaxy;
|
||||
Image *offscreen;
|
||||
/*
|
||||
* Clear the window from x0, y0 to x1, y1 (inclusive) to color c
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ struct seg {
|
|||
/*
|
||||
* display parameters
|
||||
*/
|
||||
int clipminx, clipminy, clipmaxx, clipmaxy; /* clipping rectangle */
|
||||
int mapminx, mapminy, mapmaxx, mapmaxy; /* centered square */
|
||||
extern int clipminx, clipminy, clipmaxx, clipmaxy; /* clipping rectangle */
|
||||
extern int mapminx, mapminy, mapmaxx, mapmaxy; /* centered square */
|
||||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#include "mplot.h"
|
||||
int clipminx, clipminy, clipmaxx, clipmaxy;
|
||||
void sbox(double xx0, double yy0, double xx1, double yy1){
|
||||
int x0=SCX(xx0), y0=SCY(yy0), x1=SCX(xx1), y1=SCY(yy1);
|
||||
int t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue