MCPcopy Create free account
hub / github.com/devilsen/CZXing / Rectangle

Function Rectangle

czxing/src/main/cpp/zxing/src/GridSampler.h:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41template <typename PointT = PointF>
42Quadrilateral<PointT> Rectangle(int x0, int x1, int y0, int y1, typename PointT::value_t o = 0.5)
43{
44 return {PointT{x0 + o, y0 + o}, {x1 + o, y0 + o}, {x1 + o, y1 + o}, {x0 + o, y1 + o}};
45}
46
47class ROI
48{

Callers 5

SampleGridFunction · 0.50
ScanFunction · 0.50
Mod2PixFunction · 0.50
SampleQRFunction · 0.50
SampleMQRFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected