comparison src/shape_path.c @ 58:1ca417f741f1

-
author Thinker K.F. Li <thinker@branda.to>
date Sun, 10 Aug 2008 21:32:42 +0800
parents 07c523c799f4
children 9ab15ebc9061
comparison
equal deleted inserted replaced
57:ab028c9f0930 58:1ca417f741f1
321 break; 321 break;
322 case 'h': 322 case 'h':
323 case 'H': 323 case 'H':
324 case 'v': 324 case 'v':
325 case 'V': 325 case 'V':
326 /* TODO: implement h, H, v, V comamnds for path. */ 326 /*! \todo implement h, H, v, V comamnds for path. */
327 return ERR; 327 return ERR;
328 case 'z': 328 case 'z':
329 case 'Z': 329 case 'Z':
330 break; 330 break;
331 default: 331 default:
385 return (shape_t *)path; 385 return (shape_t *)path;
386 } 386 }
387 387
388 /*! \brief Transform a path from user space to device space. 388 /*! \brief Transform a path from user space to device space.
389 * 389 *
390 * TODO: associate coord_t with shape objects and transform them 390 * \todo associate coord_t with shape objects and transform them
391 * automatically. 391 * automatically.
392 */ 392 */
393 void sh_path_transform(shape_t *shape) { 393 void sh_path_transform(shape_t *shape) {
394 sh_path_t *path; 394 sh_path_t *path;
395 co_aix *user_args, *dev_args; 395 co_aix *user_args, *dev_args;