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

Method MatrixToArray

src/pdf/PDFUtils.cpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82std::unique_ptr<PDFArray> PDFUtils::MatrixToArray(const Matrix& matrix) {
83 auto affine = MatrixToPDFAffine(matrix);
84 return MakePDFArray(affine[0], affine[1], affine[2], affine[3], affine[4], affine[5]);
85}
86
87size_t PDFUtils::ColorToDecimal(uint8_t value, char result[5]) {
88 if (value == 255 || value == 0) {

Callers

nothing calls this directly

Calls 2

MatrixToPDFAffineFunction · 0.85
MakePDFArrayFunction · 0.85

Tested by

no test coverage detected