File tree 9 files changed +154
-4
lines changed
9 files changed +154
-4
lines changed Original file line number Diff line number Diff line change 13
13
matrix :
14
14
os : [
15
15
ubuntu-20.04,
16
- # macos-11,
17
- # macos-12,
16
+ macos-11,
17
+ macos-12,
18
18
# windows-2019,
19
19
# windows-2022,
20
20
]
Original file line number Diff line number Diff line change
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = docs
9
+ BUILDDIR = build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help :
13
+ @$(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
14
+
15
+ .PHONY : help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ % : Makefile
20
+ @$(SPHINXBUILD ) -M $@ " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
Original file line number Diff line number Diff line change 1
- # pysicgl
1
+ # pysicgl
2
+
3
+ pysicgl is a Python C extension interface for the [ sicgl] ( https://github.com/oclyke-dev/sicgl ) graphics library.
4
+
5
+ both projects are young and would benefit from community involvement.
Original file line number Diff line number Diff line change
1
+ .. _concepts :
2
+
3
+ concepts
4
+ ----------------
5
+
6
+ pysicgl is a Python interface to `sicgl<https://github.com/oclyke-dev/sicgl> `_
7
+ -- underlying design choices stem from that project. Briefly these goals include:
8
+ * speed over memory footprint
9
+ * hardware agnostic
10
+ * straightforward configuration
11
+ * test coverage
12
+
13
+ assumptions
14
+ -------------------
15
+ * rectangular interfaces and screens
16
+
17
+ workflow
18
+ ----------------
19
+
20
+ sicgl uses an "interface" as the target of any graphic operation. this interface
21
+ defines a rectangular region as well as underlying memory for each pixel in that
22
+ region.
23
+
24
+ * define interface screen and allocate memory
25
+ * create the interface
26
+ * apply graphics operations on this memory via the interface
27
+
28
+ drawing domains
29
+ ---------------
30
+
31
+ drawing operations can exist in one of three coordinate spaces:
32
+ * interface: relative to the interface itself
33
+ * screen: relative to an independent screen definition
34
+ * global: relative to the global coordinate spaces
35
+
36
+ these domains are indicated in each of the available drawing functions. e.g.
37
+ * interface_line draws a line in interface coordinates, clippped to interface boundaries
38
+ * global_line draws a line in global coordinates, clipped to interface boundaries
39
+ * screen_line draws a line in screen-relative coordinates, clipped to both the screen and interface boundaries
40
+
41
+ all of the above functions draw the line to the parent interface.
Original file line number Diff line number Diff line change
1
+ # Configuration file for the Sphinx documentation builder.
2
+ #
3
+ # For the full list of built-in configuration values, see the documentation:
4
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
5
+
6
+ # -- Project information -----------------------------------------------------
7
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
8
+
9
+ project = 'pysicgl'
10
+ copyright = '2023, oclyke'
11
+ author = 'oclyke'
12
+ release = 'latest'
13
+
14
+ # -- General configuration ---------------------------------------------------
15
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
16
+
17
+ extensions = []
18
+
19
+ templates_path = ['_templates' ]
20
+ exclude_patterns = []
21
+
22
+
23
+
24
+ # -- Options for HTML output -------------------------------------------------
25
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
26
+
27
+ html_theme = 'alabaster'
28
+ html_static_path = ['_static' ]
Original file line number Diff line number Diff line change
1
+ .. pysicgl documentation master file, created by
2
+ sphinx-quickstart on Thu Jan 19 12:28:50 2023.
3
+ You can adapt this file completely to your liking, but it should at least
4
+ contain the root `toctree` directive.
5
+
6
+ Welcome to pysicgl's documentation!
7
+ ===================================
8
+
9
+ .. toctree ::
10
+ :maxdepth: 2
11
+ :caption: Contents:
12
+
13
+ concepts
14
+
15
+
16
+
17
+ Indices and tables
18
+ ==================
19
+
20
+ * :ref: `genindex `
21
+ * :ref: `modindex `
22
+ * :ref: `search `
Original file line number Diff line number Diff line change
1
+ @ ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if " %SPHINXBUILD% " == " " (
8
+ set SPHINXBUILD = sphinx-build
9
+ )
10
+ set SOURCEDIR = source
11
+ set BUILDDIR = build
12
+
13
+ %SPHINXBUILD% > NUL 2 > NUL
14
+ if errorlevel 9009 (
15
+ echo .
16
+ echo .The 'sphinx-build' command was not found. Make sure you have Sphinx
17
+ echo .installed, then set the SPHINXBUILD environment variable to point
18
+ echo .to the full path of the 'sphinx-build' executable. Alternatively you
19
+ echo .may add the Sphinx directory to PATH.
20
+ echo .
21
+ echo .If you don't have Sphinx installed, grab it from
22
+ echo .https://www.sphinx-doc.org/
23
+ exit /b 1
24
+ )
25
+
26
+ if " %1 " == " " goto help
27
+
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
+ goto end
30
+
31
+ :help
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
+
34
+ :end
35
+ popd
Original file line number Diff line number Diff line change 1
1
black >= 22.12.0, < 23.0.0
2
2
pytest >= 7.2.1, < 8.0.0
3
+ sphinx >= 6.1.3, < 7.0.0
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments