gdevddrw.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Copyright (C) 2002 artofcode LLC. All rights reserved.
  2. This software is provided AS-IS with no warranty, either express or
  3. implied.
  4. This software is distributed under license and may not be copied,
  5. modified or distributed except as expressly authorized under the terms
  6. of the license contained in the file LICENSE in this distribution.
  7. For more information about licensing, please refer to
  8. http://www.ghostscript.com/licensing/. For information on
  9. commercial licensing, go to http://www.artifex.com/licensing/ or
  10. contact Artifex Software, Inc., 101 Lucas Valley Road #110,
  11. San Rafael, CA 94903, U.S.A., +1(415)492-9861.
  12. */
  13. /* $Id: gdevddrw.h,v 1.4 2004/02/08 01:41:58 igor Exp $ */
  14. /* Prototypes of some polygon and image drawing procedures */
  15. #ifndef gdevddrw_INCLUDED
  16. # define gdevddrw_INCLUDED
  17. enum fill_trap_flags {
  18. ftf_peak0 = 1,
  19. ftf_peak1 = 2,
  20. ftf_pseudo_rasterization = 4
  21. };
  22. int gx_fill_trapezoid_cf_fd(gx_device * dev, const gs_fixed_edge * left,
  23. const gs_fixed_edge * right, fixed ybot, fixed ytop, int flags,
  24. const gx_device_color * pdevc, gs_logical_operation_t lop);
  25. int gx_fill_trapezoid_cf_nd(gx_device * dev, const gs_fixed_edge * left,
  26. const gs_fixed_edge * right, fixed ybot, fixed ytop, int flags,
  27. const gx_device_color * pdevc, gs_logical_operation_t lop);
  28. #endif /* gdevddrw_INCLUDED */