libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit 2127f65aa61900b98fd6762f8c05f7e2d7299cfd
parent e3d8f61630f32e507c1780114640fe15fe83e5a9
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 14 Feb 2020 11:22:18 +0100

Add initial manual pages for all file formats renders.

Diffstat:
MCMakeLists.txt | 7+++++++
Aansilove_ansi.3 | 43+++++++++++++++++++++++++++++++++++++++++++
Aansilove_artworx.3 | 43+++++++++++++++++++++++++++++++++++++++++++
Aansilove_binary.3 | 43+++++++++++++++++++++++++++++++++++++++++++
Aansilove_icedraw.3 | 43+++++++++++++++++++++++++++++++++++++++++++
Aansilove_pcboard.3 | 43+++++++++++++++++++++++++++++++++++++++++++
Aansilove_tundra.3 | 43+++++++++++++++++++++++++++++++++++++++++++
Aansilove_xbin.3 | 43+++++++++++++++++++++++++++++++++++++++++++
8 files changed, 308 insertions(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -45,3 +45,10 @@ install(FILES ansilove_error.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/) install(FILES ansilove_init.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/) install(FILES ansilove_loadfile.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/) install(FILES ansilove_savefile.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/) +install(FILES ansilove_ansi.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/) +install(FILES ansilove_artworx.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/) +install(FILES ansilove_binary.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/) +install(FILES ansilove_icedraw.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/) +install(FILES ansilove_pcboard.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/) +install(FILES ansilove_tundra.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/) +install(FILES ansilove_xbin.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/) diff --git a/ansilove_ansi.3 b/ansilove_ansi.3 @@ -0,0 +1,43 @@ +.\" +.\" Copyright (c) 2011-2020, Stefan Vogt, Brian Cassidy, and Frederic Cambus +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions are met: +.\" +.\" * Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" +.\" * Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd $Mdocdate: February 14 2020 $ +.Dt ANSILOVE_ANSI 3 +.Os +.Sh NAME +.Nm ansilove_ansi +.Nd Process and render ANSI content +.Sh SYNOPSIS +.In ansilove.h +.Ft int +.Fn ansilove_ansi "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh SEE ALSO +.Xr ansilove_artworx 3 , +.Xr ansilove_binary 3 , +.Xr ansilove_icedraw 3 , +.Xr ansilove_pcboard 3 , +.Xr ansilove_tundra 3 , +.Xr ansilove_xbin 3 diff --git a/ansilove_artworx.3 b/ansilove_artworx.3 @@ -0,0 +1,43 @@ +.\" +.\" Copyright (c) 2011-2020, Stefan Vogt, Brian Cassidy, and Frederic Cambus +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions are met: +.\" +.\" * Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" +.\" * Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd $Mdocdate: February 14 2020 $ +.Dt ANSILOVE_ARTWORX 3 +.Os +.Sh NAME +.Nm ansilove_artworx +.Nd Process and render Artworx content +.Sh SYNOPSIS +.In ansilove.h +.Ft int +.Fn ansilove_artworx "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh SEE ALSO +.Xr ansilove_ansi 3 , +.Xr ansilove_binary 3 , +.Xr ansilove_icedraw 3 , +.Xr ansilove_pcboard 3 , +.Xr ansilove_tundra 3 , +.Xr ansilove_xbin 3 diff --git a/ansilove_binary.3 b/ansilove_binary.3 @@ -0,0 +1,43 @@ +.\" +.\" Copyright (c) 2011-2020, Stefan Vogt, Brian Cassidy, and Frederic Cambus +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions are met: +.\" +.\" * Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" +.\" * Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd $Mdocdate: February 14 2020 $ +.Dt ANSILOVE_BINARY 3 +.Os +.Sh NAME +.Nm ansilove_binary +.Nd Process and render binary content +.Sh SYNOPSIS +.In ansilove.h +.Ft int +.Fn ansilove_binary "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh SEE ALSO +.Xr ansilove_ansi 3 , +.Xr ansilove_artworx 3 , +.Xr ansilove_icedraw 3 , +.Xr ansilove_pcboard 3 , +.Xr ansilove_tundra 3 , +.Xr ansilove_xbin 3 diff --git a/ansilove_icedraw.3 b/ansilove_icedraw.3 @@ -0,0 +1,43 @@ +.\" +.\" Copyright (c) 2011-2020, Stefan Vogt, Brian Cassidy, and Frederic Cambus +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions are met: +.\" +.\" * Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" +.\" * Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd $Mdocdate: February 14 2020 $ +.Dt ANSILOVE_ICEDRAW 3 +.Os +.Sh NAME +.Nm ansilove_icedraw +.Nd Process and render iCE Draw content +.Sh SYNOPSIS +.In ansilove.h +.Ft int +.Fn ansilove_icedraw "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh SEE ALSO +.Xr ansilove_ansi 3 , +.Xr ansilove_artworx 3 , +.Xr ansilove_binary 3 , +.Xr ansilove_pcboard 3 , +.Xr ansilove_tundra 3 , +.Xr ansilove_xbin 3 diff --git a/ansilove_pcboard.3 b/ansilove_pcboard.3 @@ -0,0 +1,43 @@ +.\" +.\" Copyright (c) 2011-2020, Stefan Vogt, Brian Cassidy, and Frederic Cambus +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions are met: +.\" +.\" * Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" +.\" * Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd $Mdocdate: February 14 2020 $ +.Dt ANSILOVE_PCBOARD 3 +.Os +.Sh NAME +.Nm ansilove_pcboard +.Nd Process and render PCBoard content +.Sh SYNOPSIS +.In ansilove.h +.Ft int +.Fn ansilove_pcboard "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh SEE ALSO +.Xr ansilove_ansi 3 , +.Xr ansilove_artworx 3 , +.Xr ansilove_binary 3 , +.Xr ansilove_icedraw 3 , +.Xr ansilove_tundra 3 , +.Xr ansilove_xbin 3 diff --git a/ansilove_tundra.3 b/ansilove_tundra.3 @@ -0,0 +1,43 @@ +.\" +.\" Copyright (c) 2011-2020, Stefan Vogt, Brian Cassidy, and Frederic Cambus +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions are met: +.\" +.\" * Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" +.\" * Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd $Mdocdate: February 14 2020 $ +.Dt ANSILOVE_TUNDRA 3 +.Os +.Sh NAME +.Nm ansilove_tundra +.Nd Process and render TundraDraw content +.Sh SYNOPSIS +.In ansilove.h +.Ft int +.Fn ansilove_tundra "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh SEE ALSO +.Xr ansilove_ansi 3 , +.Xr ansilove_artworx 3 , +.Xr ansilove_binary 3 , +.Xr ansilove_icedraw 3 , +.Xr ansilove_pcboard 3 , +.Xr ansilove_xbin 3 diff --git a/ansilove_xbin.3 b/ansilove_xbin.3 @@ -0,0 +1,43 @@ +.\" +.\" Copyright (c) 2011-2020, Stefan Vogt, Brian Cassidy, and Frederic Cambus +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions are met: +.\" +.\" * Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" +.\" * Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd $Mdocdate: February 14 2020 $ +.Dt ANSILOVE_XBIN 3 +.Os +.Sh NAME +.Nm ansilove_xbin +.Nd Process and render XBin content +.Sh SYNOPSIS +.In ansilove.h +.Ft int +.Fn ansilove_xbin "struct ansilove_ctx *ctx" "struct ansilove_options *options" +.Sh SEE ALSO +.Xr ansilove_ansi 3 , +.Xr ansilove_artworx 3 , +.Xr ansilove_binary 3 , +.Xr ansilove_icedraw 3 , +.Xr ansilove_pcboard 3 , +.Xr ansilove_tundra 3