/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file.
*/ #include"include/core/SkDocument.h"
void SkDocument::close() { for (;;) { switch (fState) { case kBetweenPages_State: {
fState = kClosed_State;
this->onClose(fStream); // we don't own the stream, but we mark it nullptr since we can // no longer write to it.
fStream = nullptr; return;
} case kInPage_State:
this->endPage(); break; case kClosed_State: return;
}
}
}
void SkDocument::abort() {
this->onAbort();
fState = kClosed_State; // we don't own the stream, but we mark it nullptr since we can // no longer write to it.
fStream = nullptr;
}
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
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.