draw.h 972 B

12345678910111213141516171819202122232425262728
  1. /*************************************************************************
  2. * Copyright (c) 2011 AT&T Intellectual Property
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * https://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors: Details at https://graphviz.org
  9. *************************************************************************/
  10. #pragma once
  11. #include "smyrnadefs.h"
  12. #include <gtk/gtkgl.h>
  13. #include <xdot/xdot.h>
  14. #include <stdlib.h>
  15. #include <string.h>
  16. #include <math.h>
  17. #include <glcomp/glcompfont.h>
  18. /* DRAWING FUNCTIONS
  19. * these are opengl based xdot drawing functions
  20. * topview drawings are not here
  21. */
  22. extern drawfunc_t OpFns[];
  23. extern void drawCircle(float x, float y, float radius, float zdepth);
  24. extern void drawBorders(ViewInfo * view);
  25. extern void draw_selpoly(glCompPoly_t *selPoly);