MCPcopy Create free account
hub / github.com/c3d/tao3D / ImagePacker

Method ImagePacker

tao/widget.cpp:10030–10035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10028// ----------------------------------------------------------------------------
10029{
10030 ImagePacker(BinPacker &bp, uint w, uint h, uint pw, uint ph):
10031 bp(bp), maxWidth(w), maxHeight(h), padWidth(pw), padHeight(ph),
10032 composite(bp.Width(), bp.Height(), QImage::Format_ARGB32)
10033 {
10034 composite.fill(0);
10035 }
10036
10037 void AddImage(QString file)
10038 {

Callers

nothing calls this directly

Calls 2

WidthMethod · 0.45
HeightMethod · 0.45

Tested by

no test coverage detected