| Index: experimental/PdfViewer/SkPdfBoxStyleDictionary_autogen.h
|
| ===================================================================
|
| --- experimental/PdfViewer/SkPdfBoxStyleDictionary_autogen.h (revision 9684)
|
| +++ experimental/PdfViewer/SkPdfBoxStyleDictionary_autogen.h (working copy)
|
| @@ -5,6 +5,7 @@
|
| #include "SkPdfArray_autogen.h"
|
| #include "SkPdfDictionary_autogen.h"
|
|
|
| +// Entries in a box style dictionary
|
| class SkPdfBoxStyleDictionary : public SkPdfDictionary {
|
| public:
|
| virtual SkPdfObjectType getType() const { return kBoxStyleDictionary_SkPdfObjectType;}
|
| @@ -521,6 +522,14 @@
|
|
|
| SkPdfBoxStyleDictionary& operator=(const SkPdfBoxStyleDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
|
|
|
| +/** (Required) An array of three numbers in the range 0.0 to 1.0, representing the com-
|
| + * ponents in the DeviceRGB color space of the color to be used for displaying the
|
| + * guidelines. Default value: [0.0 0.0 0.0].
|
| +**/
|
| + bool has_C() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", NULL));
|
| + }
|
| +
|
| SkPdfArray C() const {
|
| SkPdfArray ret;
|
| if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", &ret)) return ret;
|
| @@ -528,6 +537,12 @@
|
| return SkPdfArray();
|
| }
|
|
|
| +/** (Optional) The guideline width in default user space units. Default value: 1.
|
| +**/
|
| + bool has_W() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "W", "", NULL));
|
| + }
|
| +
|
| double W() const {
|
| double ret;
|
| if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "W", "", &ret)) return ret;
|
| @@ -535,6 +550,16 @@
|
| return 0;
|
| }
|
|
|
| +/** (Optional) The guideline style:
|
| + * S (Solid) A solid rectangle.
|
| + * D (Dashed) A dashed rectangle. The dash pattern is specified by the D entry
|
| + * (see below).
|
| + * Other guideline styles may be defined in the future. Default value: S.
|
| +**/
|
| + bool has_S() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", NULL));
|
| + }
|
| +
|
| std::string S() const {
|
| std::string ret;
|
| if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret;
|
| @@ -542,6 +567,17 @@
|
| return "";
|
| }
|
|
|
| +/** (Optional) A dash array defining a pattern of dashes and gaps to be used in drawing
|
| + * dashed guidelines (guideline style D above). The dash array is specified in default
|
| + * user space units, in the same format as in the line dash pattern parameter of the
|
| + * graphics state (see "Line Dash Pattern" on page 155). The dash phase is not speci-
|
| + * fied and is assumed to be 0. For example, a D entry of [3 2] specifies guidelines
|
| + * drawn with 3-point dashes alternating with 2-point gaps. Default value: [3].
|
| +**/
|
| + bool has_D() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", NULL));
|
| + }
|
| +
|
| SkPdfArray D() const {
|
| SkPdfArray ret;
|
| if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret;
|
|
|