#include "imglib.h"

int
main1()
{
  unsigned int w;
  unsigned int h;
  struct _img *img;
  struct _rect my_rect;

  my_rect.x = 20;
  my_rect.y = 20;
  my_rect.w = 80;
  my_rect.h = 30;

  w = 120;
  h = 80;

  img = create_img(w, h);
  draw_rect(img, &my_rect, 1);
  print_img(img);
  free_img(img);
  return 0;
}

int
main2()
{
  unsigned int w;
  unsigned int h;
  struct _img *img;
  struct _rect my_rect;
  struct _pnt c1;
  unsigned int r1;

  w = 100;
  h = 100;

  r1 = 30;

  c1.x = 40;
  c1.y = 40;

  img = create_img(w, h);
  draw_circ(img, &c1, r1, 1);
  print_img(img);
  free_img(img);
  return 0;
}

int
main()
{
  //return main1();
  return main2();
}

