04-05-2023, 03:45 PM
(04-04-2023, 08:14 PM)megamarc Wrote: Hi!
I think the feature you're looking for is already implemented. It's the last parameter (invert) of function TLN_SetLayerWindow():
https://github.com/megamarc/Tilengine/bl...ine.h#L584
It allows to clip the outside (false) or the inside (true). The LayerWindow.c sample allows you to play with this setting interactively.
Is this the feature you was missing?
Hi!
Woops, yeah it is this feature, sorry. But thanks for your answer!