Deleted generated manpages
This commit is contained in:
parent
ea12a2973b
commit
908aef552b
|
@ -1,59 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: ml_vram
|
||||
.\" 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_VRAM" "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_VRAM \- Video RAM and Display Driver management functions from libmonochrome
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
|
||||
char* ML_vram_address();
|
||||
void ML_clear_vram();
|
||||
void ML_clear_screen();
|
||||
void ML_display_vram();
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
libmonochrome uses natively a double\-buffering technique : the user program draws on a working space, the VRAM, and when he finished drawing the frame, this frame is sent to the Display Driver so it can appear on the screen\&.
|
||||
.sp
|
||||
ML_vram_adress is a system call that returns the address of the VRAM allocated by the system\&. It is mainly meant for internal purposes, but if you want to use the VRAM directly, you can use it\&.
|
||||
.sp
|
||||
ML_clear_screen sends a bunch of zeros to the Display Driver so the screen content gets erased, but the VRAM stays as it is\&. ML_clear_vram does the opposite : it clears the VRAM content while leaving the screen\(cqs one\&.
|
||||
.sp
|
||||
ML_display_vram sends the VRAM content to the Display Driver, so it can appear on the screen\&.
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
libmonochrome(3)
|
||||
.SH "AUTHOR"
|
||||
.PP
|
||||
\fBThomas "Cakeisalie5" Touhey\fR <\&thomas@touhey\&.fr\&>
|
||||
.RS 4
|
||||
Author.
|
||||
.RE
|
|
@ -1,91 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: ml_bmp
|
||||
.\" 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_BMP" "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_bmp \- BMP drawing functions from libmonochrome
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
|
||||
void ML_bmp_or(const unsigned char *bmp,
|
||||
int x, int y, int width, int height);
|
||||
void ML_bmp_and(const unsigned char *bmp,
|
||||
int x, int y, int width, int height);
|
||||
void ML_bmp_xor(const unsigned char *bmp,
|
||||
int x, int y, int width, int height);
|
||||
void ML_bmp_or_cl(const unsigned char *bmp,
|
||||
int x, int y, int width, int height);
|
||||
void ML_bmp_and_cl(const unsigned char *bmp,
|
||||
int x, int y, int width, int height);
|
||||
void ML_bmp_xor_cl(const unsigned char *bmp,
|
||||
int x, int y, int width, int height);
|
||||
|
||||
void ML_bmp_8_or(const unsigned char *bmp,
|
||||
int x, int y);
|
||||
void ML_bmp_8_and(const unsigned char *bmp,
|
||||
int x, int y);
|
||||
void ML_bmp_8_xor(const unsigned char *bmp,
|
||||
int x, int y);
|
||||
void ML_bmp_8_or_cl(const unsigned char *bmp,
|
||||
int x, int y);
|
||||
void ML_bmp_8_and_cl(const unsigned char *bmp,
|
||||
int x, int y);
|
||||
void ML_bmp_8_xor_cl(const unsigned char *bmp,
|
||||
int x, int y);
|
||||
|
||||
void ML_bmp_16_or(const unsigned short *bmp,
|
||||
int x, int y);
|
||||
void ML_bmp_16_and(const unsigned short *bmp,
|
||||
int x, int y);
|
||||
void ML_bmp_16_xor(const unsigned short *bmp,
|
||||
int x, int y);
|
||||
void ML_bmp_16_or_cl(const unsigned short *bmp,
|
||||
int x, int y);
|
||||
void ML_bmp_16_and_cl(const unsigned short *bmp,
|
||||
int x, int y);
|
||||
void ML_bmp_16_xor_cl(const unsigned short *bmp,
|
||||
int x, int y);
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
Those functions are meant to draw monochrome with fill bits bitmaps \(em like game sprites \(em on the VRAM\&.
|
||||
.sp
|
||||
Functions starting with the ML_bmp_8 draw 8*8 bitmaps\&. Functions starting with ML_bmp_16 draw 16*16 bitmaps\&. All other images must be drawn with the the other functions\&.
|
||||
.sp
|
||||
Function with the _cl suffix are functions using clipping, which means they are able to draw sprites even if they aren\(cqt completely on screen\&. Other functions only draw the bitmap if it is in the screen \(em which makes them a little faster\&.
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
libmonochrome(3), ML_VRAM(3)
|
||||
.SH "AUTHOR"
|
||||
.PP
|
||||
\fBThomas "Cakeisalie5" Touhey\fR <\&thomas@touhey\&.fr\&>
|
||||
.RS 4
|
||||
Author.
|
||||
.RE
|
|
@ -1,53 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: ml_circle
|
||||
.\" 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_CIRCLE" "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_circle \- Circles drawing functions from libmonochrome
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
|
||||
void ML_circle(int x, int y, int radius,
|
||||
ML_Color color);
|
||||
void ML_filled_circle(int x, int y,
|
||||
int radius, ML_Color color);
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
Those functions draw a circle on the VRAM\&.
|
||||
.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
|
|
@ -1,60 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: ml_color
|
||||
.\" 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_COLOR" "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_color \- Colors from libmonochrome
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
|
||||
typedef enum {
|
||||
ML_TRANSPARENT = \-1,
|
||||
ML_WHITE,
|
||||
ML_BLACK,
|
||||
ML_XOR,
|
||||
ML_CHECKER
|
||||
} ML_Color;
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
ML_Color is an enumeration of the different colors used by libmonochrome\&.
|
||||
.sp
|
||||
ML_XOR reverses the color of drawn\-on pixels in the VRAM\&.
|
||||
.sp
|
||||
ML_CHECKER is a "checker" color\&. It renders a pixel white or black according to the following rule : if (x and y are even) or (x and y are odd), then the pixel becomes black, otherwise it becomes white\&.
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
libmonochrome(3), ML_VRAM(3)
|
||||
.SH "AUTHOR"
|
||||
.PP
|
||||
\fBThomas "Cakeisalie5" Touhey\fR <\&thomas@touhey\&.fr\&>
|
||||
.RS 4
|
||||
Author.
|
||||
.RE
|
|
@ -1,54 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: ml_contrast
|
||||
.\" 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_CONTRAST" "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_contrast \- Screen contrast setting functions from libmonochrome
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
#define ML_CONTRAST_MIN 130
|
||||
#define ML_CONTRAST_NORMAL 168
|
||||
#define ML_CONTRAST_MAX 190
|
||||
|
||||
void ML_set_contrast(unsigned char contrast);
|
||||
unsigned char ML_get_contrast();
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
Those functions set the contrast of the screen\&. This contrast must be greater than ML_CONTRAST_MIN and lesser then ML_CONTRAST_MAX\&.
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
libmonochrome(3)
|
||||
.SH "AUTHOR"
|
||||
.PP
|
||||
\fBThomas "Cakeisalie5" Touhey\fR <\&thomas@touhey\&.fr\&>
|
||||
.RS 4
|
||||
Author.
|
||||
.RE
|
|
@ -1,57 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: ml_ellipse
|
||||
.\" 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_ELLIPSE" "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_ellipse \- Ellipses drawing functions from libmonochrome
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
|
||||
void ML_ellipse(int x, int y, int radius1,
|
||||
int radius2, ML_Color color);
|
||||
void ML_filled_ellipse(int x, int y,
|
||||
int radius1, int radius2, ML_Color color);
|
||||
void ML_ellipse_in_rect(int x1, int y1,
|
||||
int x2, int y2, ML_Color color);
|
||||
void ML_filled_ellipse_in_rect(int x, int y,
|
||||
int radius1, int radius2, ML_Color color);
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
These functions draw an ellipse in the VRAM\&.
|
||||
.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
|
|
@ -1,57 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: ml_line
|
||||
.\" 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_LINE" "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_line \- Line drawing functions from libmonochrome
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
|
||||
void ML_line(int x1, int y1, int x2,
|
||||
int y2, ML_Color color);
|
||||
void ML_horizontal_line(int y, int x1,
|
||||
int x2, ML_Color color);
|
||||
void ML_vertical_line(int x, int y1,
|
||||
int y2, ML_Color color);
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
These functions draw lines on the VRAM\&.
|
||||
.sp
|
||||
For horizontal line drawing, the ML_horizontal_line function is faster than ML_line, which has a general algorithm (the Bresenham algorithm)\&.
|
||||
.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
|
|
@ -1,53 +0,0 @@
|
|||
'\" 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
|
|
@ -1,50 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: ml_point
|
||||
.\" 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_POINT" "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_point \- Point drawing function from libmonochrome
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
|
||||
void ML_point(int x, int y, int width, ML_Color color);
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
Draws a (square) point on the VRAM\&.
|
||||
.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
|
|
@ -1,53 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: ml_polygon
|
||||
.\" 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_POLYGON" "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_polygon \- Polygon drawing functions from libmonochrome
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
|
||||
void ML_polygon(const int *x, const int *y,
|
||||
int nb_vertices, ML_Color color);
|
||||
void ML_filled_polygon(const int *x, const int *y,
|
||||
int nb_vertices, ML_Color color);
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
Draws a polygon on the VRAM\&. This function needs as parameter 2 arrays, containing abscissa and ordinates of the polygon vertices\&. Parameter nb_vertices should be the number of data to read in arrays\&. This function draws a line between each vertices in the polygon\&.
|
||||
.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
|
|
@ -1,52 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: ml_rectangle
|
||||
.\" 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_RECTANGLE" "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_rectangle \- Rectangle drawing function from libmonochrome
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
|
||||
void ML_rectangle(int x1, int y1, int x2, int y2,
|
||||
int border_width, ML_Color border_color,
|
||||
ML_Color fill_color);
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
Draws a rectangle with or without border on the VRAM\&.
|
||||
.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
|
|
@ -1,53 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: ml_scroll
|
||||
.\" 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_SCROLL" "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_scroll \- VRAM scrolling functions from libmonochrome
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
|
||||
void ML_horizontal_scroll(int scroll);
|
||||
void ML_vertical_scroll(int scroll);
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
Shifts all the pixels of the VRAM from left to right or from top to bottom\&. If scroll\(cqs value is negative, the pixels will be shifted from right to left or from bottom to top\&.
|
||||
.sp
|
||||
When pixels reach screen boundaries, they are moved to the other side\&.
|
||||
.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
|
|
@ -1,53 +0,0 @@
|
|||
'\" t
|
||||
.\" Title: libmonochrome
|
||||
.\" 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 1.0
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "LIBMONOCHROME" "3" "07/18/2016" "libmonochrome 1\&.0" "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"
|
||||
libmonochrome \- fast and efficient drawing library for CASIO monochrome calculators
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.nf
|
||||
#include <monochrome\&.h>
|
||||
|
||||
ML_clear_vram();
|
||||
ML_line(0, 0, 127, 63);
|
||||
ML_line(127, 0, 0, 63);
|
||||
ML_display_vram();
|
||||
.fi
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
libmonochrome provides tools to work with the VRAM and the Display Driver\&.
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
ML_vram(3), ML_contrast(3), ML_Color(3), ML_pixel(3), ML_point(3), ML_line(3), ML_rectangle(3), ML_polygon(3), ML_circle(3), ML_ellipse(3), ML_scroll(3), ML_bmp(3)
|
||||
.SH "AUTHOR"
|
||||
.PP
|
||||
\fBThomas "Cakeisalie5" Touhey\fR <\&thomas@touhey\&.fr\&>
|
||||
.RS 4
|
||||
Author.
|
||||
.RE
|
Loading…
Reference in New Issue