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

Method setShape

src/pdf/PDFExportContext.cpp:134–136  ·  view source on GitHub ↗

If the shape is different than the alpha component of the content, then * setShape should be called with the shape. In particular, images and * devices have rectangular shape. */

Source from the content-addressed store, hash-verified

132 * devices have rectangular shape.
133 */
134 void setShape(const Path& shape) {
135 path = shape;
136 }
137
138 private:
139 PDFExportContext* drawContext = nullptr;

Callers 1

onDrawImageRectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected