| 139 | } |
| 140 | |
| 141 | void PiuQRCodeDrawAux(void* it, PiuView* view, PiuCoordinate x, PiuCoordinate y, PiuDimension sw, PiuDimension sh) |
| 142 | { |
| 143 | PiuQRCode* self = it; |
| 144 | xsBeginHost((*self)->the); |
| 145 | xsVars(6); |
| 146 | xsVar(0) = xsReference((*view)->reference); |
| 147 | xsVar(0) = xsGet(xsVar(0), xsID_poco); |
| 148 | if ((*self)->fillBlend) { |
| 149 | PocoRectangleFill((*view)->poco, (*self)->fillColor, 0xff, x, y, sw, sh); |
| 150 | } |
| 151 | if ((*self)->strokeBlend) { |
| 152 | xsVar(1) = xsReference((*self)->buffer); |
| 153 | xsVar(2) = xsInteger(x + (*self)->dx); |
| 154 | xsVar(3) = xsInteger(y + (*self)->dy); |
| 155 | xsVar(4) = xsInteger((*self)->scale); |
| 156 | xsVar(5) = xsInteger((*self)->strokeColor); |
| 157 | xsCall5(xsVar(0), xsID_drawQRCode, xsVar(1), xsVar(2), xsVar(3), xsVar(4), xsVar(5)); |
| 158 | } |
| 159 | xsEndHost((*self)->the); |
| 160 | } |
| 161 | |
| 162 | void PiuQRCodeMark(xsMachine* the, void* it, xsMarkRoot markRoot) |
| 163 | { |
nothing calls this directly
no test coverage detected