/*
//
//   ADOBE SYSTEMS INCORPORATED
//   Copyright (C) 2000-2005 Adobe Systems Incorporated
//   All rights reserved.
//
//   NOTICE: Adobe permits you to use, modify, and distribute this file
//   in accordance with the terms of the Adobe license agreement
//   accompanying it. If you have received this file from a source other
//   than Adobe, then your use, modification, or distribution of it
//   requires the prior written permission of Adobe.
//
*/
//
// PatternUtils.h 
//

#ifndef _PATTERNUTILS_H_
#define _PATTERNUTILS_H_

#include <stdio.h>
#include <math.h>

#include "ASCalls.h"
#include "CosCalls.h"
#include "PDCalls.h"
#include "PEWCalls.h"
#include "PERCalls.h"

  void   s_SetContentToPage(PDPage  pdPage,  PDEContent  pdeContent);
  void   s_SaveDoc(PDDoc  newDoc,  const   char * fileName);
  PDPage   s_CreateNewPage(PDDoc  newDoc);
  PDEPath   s_CreateBlackSquare();
  PDEPath   s_CreateSquare( double  scale,  double  angle,  double  offset_x,  double  offset_y);
  PDEPath   s_CreateColorSquare( double  red,  double  green,  double  blue,
                                                                      double  scale,  double  angle,
                                                                      double  offset_x,  double  offset_y);
  PDEPattern   s_CreatePatternFromContent(CosDoc  cosDoc,  PDEContent  pdeContent);
  PDEPath   s_CreatePatternSquare(PDEPattern  pdePattern,
                                                                          double  scale,  double  angle,
                                                                          double  offset_x,  double  offset_y);
  PDEContent   s_CreateBoxesWithColors(PDDoc  pdDoc);
  PDEPattern   s_CreatePattern(PDDoc  pdDoc);
  PDEContent   s_CreateBoxesWithPatterns(PDDoc  pdDoc);
 
 #endif