Elektrine lite

← Feed

@foxyoreos@gulp.cafe

Post #1662175

2026-04-17 11:04 UTC

@IceWolf I'm not sure I follow. The very naive way I'm going to handle this is to save everything and just see what happens. I'm planning to store two new pieces of information: a boolean "pinned" and a QTransform object that only gets used when "pinned" is true. I won't be referencing any layers or anything like that.

Replies (2)

  • @foxyoreos@gulp.cafe 2026-04-17 11:06

    @IceWolf note that all of this is a little theoretical because I haven't programmed it yet and I'm not like an expert on C++ or Qt or Krita's architecture. So it's all dependent on it first.. well, working at all :3

    Open ##1662176

  • @IceWolf@masto.brightfur.net 2026-04-17 11:08

    @foxyoreos Hmm. But why save that transform in the file? It's just an artifact of your zoom/pan location, right? Sounds like hell to version control for no real reason. (yeah, we toss our art in git. I wish .kra was better for that. But at least the existing stuff doesn't depend on where you're looking when you save...)

    Open ##1662178