MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / transformImagePath

Method transformImagePath

dep/agg/src/agg2d.cpp:1197–1202  ·  view source on GitHub ↗

------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1195
1196//------------------------------------------------------------------------
1197void Agg2D::transformImagePath(const Image& img, int imgX1, int imgY1, int imgX2, int imgY2,
1198 double dstX1, double dstY1, double dstX2, double dstY2)
1199{
1200 double parallelogram[6] = { dstX1, dstY1, dstX2, dstY1, dstX2, dstY2 };
1201 renderImage(img, imgX1, imgY1, imgX2, imgY2, parallelogram);
1202}
1203
1204//------------------------------------------------------------------------
1205void Agg2D::transformImagePath(const Image& img, double dstX1, double dstY1, double dstX2, double dstY2)

Callers

nothing calls this directly

Calls 2

widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected