IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 27, 2005, 3:23:01 PM (21 years ago)
Author:
eugene
Message:

substantial work to move kii/kapa call into libkapa, unify RotFont, bDraw functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa/graph/SetLimits.c

    r2473 r5852  
    11# include "Ximage.h"
    2 # define SCAN \
    3 status = read (sock, buffer, 16); \
    4 buffer[16] = 0; \
    5 sscanf (buffer, "%*s %d", &Nbytes); \
    6 status = read (sock, buffer, Nbytes); \
    7 buffer[status] = 0;
    82
    93int SetLimits () {
    104 
    11   int i, status, Nbytes;
    12   char buffer[128];
     5  int i;
    136  double xmin, xmax, ymin, ymax;
    147  Layout *layout;
     
    169  layout = &section[TheSection];
    1710
    18   SCAN;
    19   sscanf (buffer, "%lf %lf %lf %lf", &xmin, &xmax, &ymin, &ymax);
     11  KiiScanMessage (sock, "%lf %lf %lf %lf", &xmin, &xmax, &ymin, &ymax);
    2012
    2113  layout[0].axis[2].min = layout[0].axis[0].min = xmin;
Note: See TracChangeset for help on using the changeset viewer.