Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.67 KB | None | 0 0
  1. #ifndef _LOGO_H
  2. #define _LOGO_H
  3.  
  4. struct _Logo
  5. /* Struct of a part of the whole logo, saving some points that the
  6.  * program will string them together with line. */
  7. {
  8.     int n;
  9.     /* Number of the points */
  10.     int *x, *y;
  11.     /* X,Y coordinates for every point */
  12. };
  13. typedef struct _Logo Logo;
  14.  
  15. struct _Logos
  16. /* Struct of the whole logo, saving pointers to each part of the logo.*/
  17. {
  18.     int n;
  19.     /* Number of parts */
  20.     Logo **logo;
  21.     /* pointer to each logo */
  22. };
  23. typedef struct _Logos Logos;
  24.  
  25. Logos *GetLogoXY(void);
  26. /* Function to read the logo from file and return a pointer to it. */
  27.  
  28. void DrawLogo(void *);
  29. /* Draw out the Logo */
  30.  
  31. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement