54 lines
1.7 KiB
Groff
54 lines
1.7 KiB
Groff
'\" t
|
|
.\" Title: ml_pixel
|
|
.\" Author: Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
|
|
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
|
.\" Date: 07/18/2016
|
|
.\" Manual: libmonochrome
|
|
.\" Source: libmonochrome
|
|
.\" Language: English
|
|
.\"
|
|
.TH "ML_PIXEL" "3" "07/18/2016" "libmonochrome" "libmonochrome"
|
|
.\" -----------------------------------------------------------------
|
|
.\" * Define some portability stuff
|
|
.\" -----------------------------------------------------------------
|
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
.\" http://bugs.debian.org/507673
|
|
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
.ie \n(.g .ds Aq \(aq
|
|
.el .ds Aq '
|
|
.\" -----------------------------------------------------------------
|
|
.\" * set default formatting
|
|
.\" -----------------------------------------------------------------
|
|
.\" disable hyphenation
|
|
.nh
|
|
.\" disable justification (adjust text to left margin only)
|
|
.ad l
|
|
.\" -----------------------------------------------------------------
|
|
.\" * MAIN CONTENT STARTS HERE *
|
|
.\" -----------------------------------------------------------------
|
|
.SH "NAME"
|
|
ML_pixel \- Pixel setting and testing functions from libmonochrome
|
|
.SH "SYNOPSIS"
|
|
.sp
|
|
.nf
|
|
#include <monochrome\&.h>
|
|
|
|
void ML_pixel(int x, int y, ML_Color color);
|
|
ML_Color ML_pixel_test(int x, int y);
|
|
.fi
|
|
.SH "DESCRIPTION"
|
|
.sp
|
|
Sets or test (get) a pixel\(cqs state/color\&.
|
|
.sp
|
|
For ML_pixel_test, if the asked pixel is out of the screen, the returned color will be ML_TRANSPARENT\&.
|
|
.SH "SEE ALSO"
|
|
.sp
|
|
libmonochrome(3), ML_VRAM(3), ML_Color(3)
|
|
.SH "AUTHOR"
|
|
.PP
|
|
\fBThomas "Cakeisalie5" Touhey\fR <\&thomas@touhey\&.fr\&>
|
|
.RS 4
|
|
Author.
|
|
.RE
|