IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19837


Ignore:
Timestamp:
Oct 2, 2008, 10:45:09 AM (18 years ago)
Author:
eugene
Message:

add weight and color to box

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa2/src/bDrawFrame.c

    r17466 r19837  
    66  double fx, fy, dfx, dfy, range, major, minor, first, next;
    77  char *fontname;
     8  int weight;
     9  bDrawColor color;
    810
    911  /* each axis is drawn independently */
     
    1517    dfy = graph[0].axis[i].dfy;
    1618    P = hypot ((double)graph[0].axis[(i+1)%2].dfx, (double)graph[0].axis[(i+1)%2].dfy);
     19
     20    weight = MAX (0, MIN (10, graph[0].axis[i].lweight));
     21    color = MAX (0, MIN (15, graph[0].axis[i].color));
     22    bDrawSetStyle (color, weight, 0);
    1723
    1824    if (graph[0].axis[i].isaxis) {
Note: See TracChangeset for help on using the changeset viewer.