Files

28 lines
488 B
C
Raw Permalink Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
using namespace std;
class TextureHolder;
class StitchSlot
{
private:
const int originX;
const int originY;
const int width;
const int height;
vector<StitchSlot *> *subSlots;
TextureHolder *textureHolder;
public:
StitchSlot(int originX, int originY, int width, int height);
TextureHolder *getHolder();
int getX();
int getY();
bool add(TextureHolder *textureHolder);
void collectAssignments(vector<StitchSlot *> *result);
//@Override
wstring toString();
};