// Copyright 2018 Google LLC // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #ifndef SkPDFUnion_DEFINED #define SkPDFUnion_DEFINED
/** These two functions do NOT take ownership of char*, and do NOT copythestring.Suitableforpassinginstaticconst strings.Forexample: SkPDFUnionn=SkPDFUnion::Name("Length");
SkPDFUnion u = SkPDFUnion::String("Identity"); */
/** SkPDFUnion::Name(const char*) assumes that the passed string isalreadyavalidname(thatis:ithasnocontrolor
whitespace characters). This will not copy the name. */ static SkPDFUnion Name(constchar*);
/** SkPDFUnion::String will encode the passed string. This will not copy. */ static SkPDFUnion ByteString(constchar*); static SkPDFUnion TextString(constchar*);
/** SkPDFUnion::Name(SkString) does not assume that the passedstringisalreadyavalidnameanditwillescapethe
string. */ static SkPDFUnion Name(SkString);
/** SkPDFUnion::String will encode the passed string. */ static SkPDFUnion ByteString(SkString); static SkPDFUnion TextString(SkString);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.