MCPcopy Create free account
hub / github.com/Tencent/tgfx / AppendColorComponent

Method AppendColorComponent

src/pdf/PDFUtils.cpp:130–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void PDFUtils::AppendColorComponent(uint8_t value, const std::shared_ptr<WriteStream>& stream) {
131 char buffer[5];
132 size_t len = ColorToDecimal(value, buffer);
133 stream->write(buffer, len);
134}
135
136void PDFUtils::AppendColorComponent(float value, const std::shared_ptr<WriteStream>& stream) {
137 char buffer[7];

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected