RenderingSurface.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. *******************************************************************************
  3. *
  4. * © 2016 and later: Unicode, Inc. and others.
  5. * License & terms of use: http://www.unicode.org/copyright.html#License
  6. *
  7. *******************************************************************************
  8. *******************************************************************************
  9. *
  10. * Copyright (C) 1999-2003, International Business Machines
  11. * Corporation and others. All Rights Reserved.
  12. *
  13. *******************************************************************************
  14. * file name: RenderingFontInstance.h
  15. *
  16. * created on: 02/20/2003
  17. * created by: Eric R. Mader
  18. */
  19. #ifndef __RENDERINGSURFACE_H
  20. #define __RENDERINGSURFACE_H
  21. #include "layout/LETypes.h"
  22. #include "layout/LEFontInstance.h"
  23. class RenderingSurface
  24. {
  25. public:
  26. RenderingSurface() {};
  27. virtual ~RenderingSurface() {};
  28. virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
  29. const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) = 0;
  30. };
  31. #endif