draw.h
上传用户:shyika
上传日期:2017-11-25
资源大小:1227k
文件大小:1k
源码类别:

视频捕捉/采集

开发平台:

Unix_Linux

  1. /*
  2. ** draw.h
  3. ** 
  4. ** Made by Arne Caspari
  5. ** Login   <arne@arne-laptop>
  6. ** 
  7. ** Started on  Tue Sep 19 07:19:30 2006 Arne Caspari
  8. ** Last update Wed Oct 25 18:25:32 2006 Arne Caspari
  9. */
  10. #ifndef    DRAW_H_
  11. # define    DRAW_H_
  12. #include <unicap.h>
  13. void ucil_convert_color( ucil_color_t *src, ucil_color_t *dest );
  14. void ucil_set_pixel( unicap_data_buffer_t *data_buffer, ucil_color_t *color, int x, int y );
  15. void ucil_draw_line( unicap_data_buffer_t *data_buffer, ucil_color_t *color, int x1, int y1, int x2, int y2 );
  16. void ucil_draw_rect( unicap_data_buffer_t *data_buffer, ucil_color_t *color, int x1, int y1, int x2, int y2 );
  17. void ucil_fill( unicap_data_buffer_t *data_buffer, ucil_color_t *color );
  18. void ucil_draw_box( unicap_data_buffer_t *data_buffer, ucil_color_t *color, int x1, int y1, int x2, int y2 );
  19. #endif      /* !DRAW_H_ */