Move that back

Why did I move this in the first place?
This commit is contained in:
Elias Batek 2024-10-07 02:09:33 +02:00
parent 9fdaf00197
commit 65ba2793cb
1 changed files with 4 additions and 4 deletions

View File

@ -434,6 +434,10 @@ struct SubPixmap {
and potentially crash the program.
)
Returns:
A size-adjusted shallow copy of the input Pixmap overwritten
with the image data of the SubPixmap.
$(PITFALL
While the returned Pixmap utilizes the buffer provided by the input,
the returned Pixmap might not exactly match the input.
@ -449,10 +453,6 @@ struct SubPixmap {
pixmap = subPixmap.extractToPixmap(pixmap);
---
)
Returns:
A size-adjusted shallow copy of the input Pixmap overwritten
with the image data of the SubPixmap.
+/
Pixmap extractToPixmap(Pixmap target) @nogc const {
// Length adjustment