/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2025, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Open Design Alliance software pursuant to a license // agreement with Open Design Alliance. // Open Design Alliance Copyright (C) 2002-2025 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// // Entries in the catalog, PDFDictionary) #ifndef _PDF_DICT_KEYS_A_ #define _PDF_DICT_KEYS_A_(KEYNAME, KEYTYPE) #endif #ifndef _PDF_DICT_KEYS_BOOL_ #define _PDF_DICT_KEYS_BOOL_(KEYNAME) #endif #ifndef _PDF_DICT_KEYS_INT32_ #define _PDF_DICT_KEYS_INT32_(KEYNAME) #endif _PDF_DICT_KEYS_A_(Type, PDFName); //(Optional) The type of PDF object that this dictionary describes; if present, shall be Pattern for a pattern dictionary _PDF_DICT_KEYS_INT32_(PatternType); //(Required) A code identifying the type of pattern that this dictionary describes; shall be 1 for a tiling pattern. _PDF_DICT_KEYS_INT32_(PaintType); //(Required) A code that determines how the colour of the pattern cell shall be specified: 1 Coloured tiling pattern, 2 Uncoloured tiling pattern. _PDF_DICT_KEYS_INT32_(TilingType); //(Required) A code that controls adjustments to the spacing of tiles relative to the device pixel grid: 1 Constant spacing, 2 No distortion, 3 Constant spacing _PDF_DICT_KEYS_A_(BBox, PDFRectangle); //(Required) An array of four numbers in the pattern coordinate system giving the coordinates of the left, bottom, right, and top edges, respectively, of the pattern cell’s bounding box. These boundaries shall be used to clip the pattern cell. _PDF_DICT_KEYS_A_(XStep, PDFNumber); //(Required) The desired horizontal spacing between pattern cells, measured in the pattern coordinate system. _PDF_DICT_KEYS_A_(YStep, PDFNumber); //(Required) The desired vertical spacing between pattern cells, measured in the pattern coordinate system. _PDF_DICT_KEYS_BF_(Resources, PDFDictionary);//(Required) A resource dictionary that shall contain all of the named resources required by the pattern’s content stream _PDF_DICT_KEYS_A_(Matrix, PDFArray); //(Optional) An array of six numbers specifying the pattern matrix (see 8.7.2, "General properties of patterns"). Default value: the identity matrix [1 0 0 1 0 0]. #undef _PDF_DICT_KEYS_A_ #undef _PDF_DICT_KEYS_BOOL_ #undef _PDF_DICT_KEYS_INT32_ #undef _PDF_DICT_KEYS_BF_