Changeset 30231
- Timestamp:
- Jan 10, 2011, 2:59:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/Ohana/src/opihi/cmd.data/limits.c
r29540 r30231 26 26 27 27 // XXX need an option to set the limits based on the current image bounds 28 if ((N = get_argument (argc, argv, "-image"))) { 29 remove_argument (N, &argc, argv); 30 KapaGetImageRange (kapa, &graphmode.xmin, &graphmode.xmax, &graphmode.ymax, &graphmode.ymin); 31 32 set_variable ("XMIN", graphmode.xmin); 33 set_variable ("XMAX", graphmode.xmax); 34 set_variable ("YMIN", graphmode.ymin); 35 set_variable ("YMAX", graphmode.ymax); 36 37 // if (!NoClear) KapaClearSections (kapa); 38 SetGraph (&graphmode); 39 KapaSetLimits (kapa, &graphmode); 40 return (TRUE); 41 // Set Region based on image 42 } 28 43 29 44 if (argc == 1) {
Note:
See TracChangeset
for help on using the changeset viewer.
