aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFTypes.h
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-04-07 10:40:03 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-07 10:40:03 -0700
commitbb264b775004be3df72f0bb5ee613761a328a6c3 (patch)
treecbd19d5f55df51c934e3fd6b867e414a52161fec /src/pdf/SkPDFTypes.h
parent3cf9863bb658d637416c4edbf278b0311dba7478 (diff)
SkPDF: SkPDFString is no longer aware of wide strings.
Since wide strings are only used in SkPDFDevice, I have moved the function that manages them to that directory. Motivation: The SkPDFString will be refactored later along with the other SkPFObject heirarchy. BUG=skia:3585 Review URL: https://codereview.chromium.org/1064013003
Diffstat (limited to 'src/pdf/SkPDFTypes.h')
-rw-r--r--src/pdf/SkPDFTypes.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/pdf/SkPDFTypes.h b/src/pdf/SkPDFTypes.h
index 0a16bf9079..dca96e4596 100644
--- a/src/pdf/SkPDFTypes.h
+++ b/src/pdf/SkPDFTypes.h
@@ -173,13 +173,6 @@ public:
explicit SkPDFString(const char value[]);
explicit SkPDFString(const SkString& value);
- /** Create a PDF string. Maximum length (in bytes) is 65,535.
- * @param value A string value.
- * @param len The length of value.
- * @param wideChars Indicates if the top byte in value is significant and
- * should be encoded (true) or not (false).
- */
- SkPDFString(const uint16_t* value, size_t len, bool wideChars);
virtual ~SkPDFString();
// The SkPDFObject interface.
@@ -188,16 +181,11 @@ public:
const SkPDFSubstituteMap& substitutes) override;
static SkString FormatString(const char* input, size_t len);
- static SkString FormatString(const uint16_t* input, size_t len,
- bool wideChars);
private:
static const size_t kMaxLen = 65535;
const SkString fValue;
- static SkString DoFormatString(const void* input, size_t len,
- bool wideInput, bool wideOutput);
-
typedef SkPDFObject INHERITED;
};