mirror of https://github.com/adamdruppe/arsd.git
Blank lines are fun and good for you
This commit is contained in:
parent
c23f7116c7
commit
a23b056822
|
@ -56,6 +56,9 @@
|
|||
]
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
### Colors
|
||||
|
||||
Colors are stored in an RGBA format with 8 bit per channel.
|
||||
|
@ -84,6 +87,8 @@
|
|||
the length (not the width).
|
||||
|
||||
|
||||
|
||||
|
||||
### Pixmaps
|
||||
|
||||
A [Pixmap] consist of two fields:
|
||||
|
@ -131,6 +136,8 @@
|
|||
the aforementioned issues.)
|
||||
|
||||
|
||||
|
||||
|
||||
### Image manipulation
|
||||
|
||||
The term “image manipulation function” here refers to functions that
|
||||
|
@ -147,6 +154,7 @@
|
|||
|
||||
Additionally, a “compute dimensions of target” function is provided.
|
||||
|
||||
|
||||
#### Source to Target
|
||||
|
||||
The regular “source to target” function takes (at least) two parameters:
|
||||
|
@ -207,6 +215,7 @@
|
|||
Those are an implementation detail (and may change at any point).
|
||||
)
|
||||
|
||||
|
||||
#### Source to New Target
|
||||
|
||||
The “source to newly allocated target” wrapper allocates a new buffer to
|
||||
|
@ -231,6 +240,7 @@
|
|||
Pixmap target = sourceImage.cropNew(cropSize, cropOffset);
|
||||
---
|
||||
|
||||
|
||||
#### In-Place
|
||||
|
||||
For selected image manipulation functions a special adaption is provided
|
||||
|
|
Loading…
Reference in New Issue