[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2010-12-23, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> I wanted to add a note to al_draw_pixel that linked to the pixel
> precise output section. (See diff below.) Looks fine in the HTML
> pages, but looks kind of dumb on the man pages. Is there a better way
> to do it?
If you write the HTML directly, pandoc will strip out the tags in other
output formats. That's okay for now.
Peter
diff --git a/docs/src/refman/graphics.txt b/docs/src/refman/graphics.txt
index 54eb52e..0611002 100644
--- a/docs/src/refman/graphics.txt
+++ b/docs/src/refman/graphics.txt
@@ -612,6 +612,11 @@ a lot of pixels consider using the primitives addon.
* y - destination y
* color - color of the pixel
+> *Note:* This function may not draw exactly where you expect it to. See the
+<a href="primitives.html#pixel-precise-output">pixel-precise output section</a>
+on the primitives addon documentation for details on how to control exactly
+where the pixel is drawn.
+
See also: [ALLEGRO_COLOR], [al_put_pixel]
### API: al_draw_rotated_bitmap