mirror of https://github.com/adamdruppe/arsd.git
Document the coordinate system used by PixmapPaint
This commit is contained in:
parent
0bdcc43a57
commit
9418cbaa24
|
@ -14,6 +14,22 @@
|
|||
This module is $(B work in progress).
|
||||
API is subject to changes until further notice.
|
||||
)
|
||||
|
||||
### The coordinate system
|
||||
|
||||
The top left corner of a pixmap is its $(B origin) `(0,0)`.
|
||||
|
||||
The $(horizontal axis) is called `x`.
|
||||
Its corresponding length/dimension is known as `width`.
|
||||
|
||||
The letter `y` is used to describe the $(B vertical axis).
|
||||
Its corresponding length/dimension is known as `height`.
|
||||
|
||||
```
|
||||
0 → x
|
||||
↓
|
||||
x
|
||||
```
|
||||
+/
|
||||
module arsd.pixmappaint;
|
||||
|
||||
|
|
Loading…
Reference in New Issue