python3 -m pip install --upgrade pip
@@ -129,64 +135,76 @@ close_window()
On most platforms it should install a binary wheel (Windows 10 x64, MacOS 10.15 x64, Linux Ubuntu1804 x64).
If yours isn’t available then pip will attempt to build from source, in which case you will need to have Raylib development libs installed, e.g.
using homebrew, apt, etc.
-If it doesn’t work, you can build manually.
-
-
+
It works on some systems where the static version doesn’t, but be sure to read these caveats before using it
+
+
Beta testing
-You can install an alpha or beta version by specifying the exact version number like this:
- python3 -m pip install raylib==4.0a6
+If you find a bug, it may be fixed in the latest dev release .
+You can install an alpha or beta version by specifying the exact version number like this:
+ python3 -m pip install raylib==4.2.0.0.dev4
-
-
-
+
+
+
+
How to use
There are two APIs, you can use either or both:
-
+
If you are familiar with C coding and the Raylib C library and you want to use an exact copy of the C API
Use the C API .
-
-
+
+
If you prefer a slightly more Pythonistic API and don’t mind it might be slightly slower
Use the Python API .
-
-
-
-
-
-
+
+
License (updated)
The bindings are now under the Eclipse Public License, so you are free to
statically link and use in non-free / proprietary / commercial projects!
-
-
-
+
+
+
Packaging your app
You can create a standalone binary using the Nuitka compiler. For example, here is how to package Bunnymark:
pip3 install nuitka
@@ -234,13 +252,13 @@ cd examples/textures
python3 -m nuitka --onefile --linux-onefile-icon resources/wabbit_alpha.png textures_bunnymark.py
-
-
+
diff --git a/docs/RPI.html b/docs/RPI.html
new file mode 100644
index 0000000..8669887
--- /dev/null
+++ b/docs/RPI.html
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+ Raspberry Pi — Raylib Python documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Raylib Python
+
+
+
+
+
+
+
+
+
+Raspberry Pi
+Please use Raspberry Pi OS Bullseye. Older OSes are not tested.
+We have published a binary wheel using Raylib in X11 mode. This should install and work on Bullseye
+with
+python3 - m pip install raylib == 4.2.0.0 . dev1
+
+
+If it doesn’t work, or we haven’t published a binary wheel for the latest version,
+or if you want to use Raylib in PLATFORM_DRM
mode, you will need to compile your own raylib
+and have pip compile the wheel.
+git clone https : // github . com / raysan5 / raylib . git
+cd raylib
+mkdir build
+cd build
+cmake - DPLATFORM = "DRM" - DINCLUDE_EVERYTHING = on - DSUPPORT_FILEFORMAT_JPG = on - DWITH_PIC = on - DCMAKE_BUILD_TYPE = Release ..
+make
+sudo make install
+pip3 install -- no - binary raylib -- upgrade -- force - reinstall raylib == 4.2.0.0 . dev2
+
+
+(or newer version)
+
+
Attention
+
The Broadcom proprietary Open GL ES 2.0 drivers (installed by Raspbian into /opt/vc
and compiled in Raylib
+with PLATFORM_RPI
) do not work with Bullseye and have not been tested with the bindings. They will probably
+require additional linker arguments to be added to build.py
. Suggest you use PLATFORM_DRM
instead.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/_sources/BUILDING.rst.txt b/docs/_sources/BUILDING.rst.txt
index 8bfb71c..42da839 100644
--- a/docs/_sources/BUILDING.rst.txt
+++ b/docs/_sources/BUILDING.rst.txt
@@ -9,9 +9,11 @@ This is useful if the binaries don’t work on your system, or you want to use a
First make sure Raylib is installed. On Linux/Mac it must include the pkg-config files. Best way to ensure this
is to compile and install Raylib using CMake: https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux#build-raylib-using-cmake
+Requirements for build: cmake, pkg-config.
+
::
- cd raylib-4.0.0
+ cd raylib-4.2.0
mkdir build
cd build
cmake -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
@@ -113,7 +115,7 @@ Build and install Raylib from the raylib-c directory.
::
- sudo apt install cmake libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev
+ sudo apt install cmake libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev pkg-config cmake
cd raylib-python-cffi/raylib-c
mkdir build
cd build
@@ -135,7 +137,7 @@ Build and install Raylib from the raylib-c directory.
cd ../..
-Build
+Build the Python library:
::
@@ -217,37 +219,3 @@ Build and install module.
python3 setup.py install
-
-Raspberry Pi
-~~~~~~~~~~~~
-
-Latest info: https://github.com/electronstudio/raylib-python-cffi/issues/55#issuecomment-1012629701
-
-Old possibly out of date info that was written for RPi3 and Raylib 3 follows.
-
-The integrated GPU hardware in a Raspberry Pi (“VideoCore”) is rather
-idiosyncratic, resulting in a complex set of software options. Probably
-the most interesting two options for Raylib applications are:
-
-1. Use the Broadcom proprietary Open GL ES 2.0 drivers, installed by
- Raspbian into ``/opt/vc``. These are 32-bit only, and currently X11
- doesn’t use these for its acceleration, so this is most suitable for
- driving the entire HDMI output from one application with minimal
- overhead (no X11).
-
-2. Use the more recent open-source ``vc4-fkms-v3d`` kernel driver. This
- can run in either 32-bit or 64-bit, and X11 can use these, so using
- X11 is probably the more common choice here.
-
-With option 2, the regular linux install instructions above should
-probably work as-is.
-
-For option 1, then also follow the above instructions, but with these
-modifications:
-
-- With ``cmake``, use
- ``cmake -DWITH_PIC=on -DSTATIC=on -DSHARED=on -DPLATFORM='Raspberry Pi' ..``
-
-(See
-`here `__
-for a Raspberry Pi wheel)
diff --git a/docs/_sources/README.md.txt b/docs/_sources/README.md.txt
index 9acfa1a..08a9299 100644
--- a/docs/_sources/README.md.txt
+++ b/docs/_sources/README.md.txt
@@ -1,4 +1,4 @@
-# Python Bindings for Raylib 4.0.0
+# Python Bindings for Raylib 4.2
New CFFI API static bindings.
* Automatically generated to be as close as possible to
@@ -6,7 +6,7 @@ original Raylib.
* Faster, fewer bugs and easier to maintain than ctypes.
* Commercial-friendly license.
* Docstrings and auto-completion.
-* **Now includes extra libraries: raygui, rlgl and physac**
+* **Now includes extra libraries: raymath, raygui, rlgl and physac**
[Full documentation](http://electronstudio.github.io/raylib-python-cffi)
@@ -39,7 +39,9 @@ On most platforms it should install a binary wheel (Windows 10 x64, MacOS 10.15
If yours isn't available then pip will attempt to build from source, in which case you will need to have Raylib development libs installed, e.g.
using homebrew, apt, etc.
-[If it doesn't work, you can build manually.](BUILDING.rst)
+## Raspberry Pi
+
+[Using on Rasperry Pi](RPI.rst)
## Dynamic binding version
@@ -47,13 +49,23 @@ There is now a separate dynamic version of this binding:
python3 -m pip install raylib_dynamic
-[Read this before using raylib_dynamic](https://electronstudio.github.io/raylib-python-cffi/dynamic.html)
+It works on some systems where the static version doesn't, [but be sure to read these caveats before using it](https://electronstudio.github.io/raylib-python-cffi/dynamic.html)
## Beta testing
+If you find a bug, it may be fixed in the [latest dev release](https://github.com/electronstudio/raylib-python-cffi/releases).
You can install an alpha or beta version by specifying the exact version number like this:
- python3 -m pip install raylib==4.0a6
+ python3 -m pip install raylib==4.2.0.0.dev4
+
+## Problems?
+
+If it doesn't work, [try to build manually.](BUILDING.rst). If that works then [submit an issue](https://github.com/electronstudio/raylib-python-cffi/issues)
+to let us know what you did.
+
+If you need help you can try asking [on Discord](https://discord.gg/raylib).
+
+If it still doesn't work, [submit an issue](https://github.com/electronstudio/raylib-python-cffi/issues).
# How to use
@@ -72,6 +84,8 @@ Use [the Python API](https://electronstudio.github.io/raylib-python-cffi/pyray.h
[Tanki](https://github.com/pkulev/tanki)
+[Alloy Bloxel Editor](https://pebaz.itch.io/alloy-bloxel-editor)
+
Add your app here!
# RLZero
diff --git a/docs/_sources/RPI.rst.txt b/docs/_sources/RPI.rst.txt
new file mode 100644
index 0000000..b6befa8
--- /dev/null
+++ b/docs/_sources/RPI.rst.txt
@@ -0,0 +1,34 @@
+Raspberry Pi
+====================
+
+Please use Raspberry Pi OS Bullseye. Older OSes are not tested.
+
+We have published a binary wheel using Raylib in X11 mode. This *should* install and work on Bullseye
+with
+
+::
+
+ python3 -m pip install raylib==4.2.0.0.dev1
+
+If it doesn't work, or we haven't published a binary wheel for the latest version,
+or if you want to use Raylib in ``PLATFORM_DRM`` mode, you will need to compile your own raylib
+and have pip compile the wheel.
+
+::
+
+ git clone https://github.com/raysan5/raylib.git
+ cd raylib
+ mkdir build
+ cd build
+ cmake -DPLATFORM="DRM" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
+ make
+ sudo make install
+ pip3 install --no-binary raylib --upgrade --force-reinstall raylib==4.2.0.0.dev2
+
+(or newer version)
+
+.. attention::
+
+ The Broadcom proprietary Open GL ES 2.0 drivers (installed by Raspbian into ``/opt/vc`` and compiled in Raylib
+ with ``PLATFORM_RPI``) do not work with Bullseye and have not been tested with the bindings. They will probably
+ require additional linker arguments to be added to ``build.py``. Suggest you use ``PLATFORM_DRM`` instead.
diff --git a/docs/_sources/dynamic.rst.txt b/docs/_sources/dynamic.rst.txt
index c1c46af..e2877bf 100644
--- a/docs/_sources/dynamic.rst.txt
+++ b/docs/_sources/dynamic.rst.txt
@@ -13,7 +13,7 @@ CFFI ABI dynamic bindings avoid the need to compile a C extension module. They
Therefore I personally recommend the static ones.
But the dynamic bindings have the advantage that you don't need to compile anything to install. You just need a Raylib DLL.
-API is exactly the same as the static one documented here. (Therefore you can't have both modules installed at once.) The only difference is you can't do::
+The API is exactly the same as the static one documented here. (Therefore you can't have both modules installed at once.) The only difference is you can't do::
from raylib import *
@@ -31,6 +31,9 @@ If you use the ``rl.`` prefix then code will work on both static and dynamic bin
If you access functions via ``import pyray`` then there is no difference at all, but be warned this hasn't been tested much.
+.. note::
+
+ Standard Raylib DLLs do not include additional libraries like Raygui, Physac, etc. So these functions won't work.
.. important::
diff --git a/docs/_sources/index.rst.txt b/docs/_sources/index.rst.txt
index de6618c..2177832 100644
--- a/docs/_sources/index.rst.txt
+++ b/docs/_sources/index.rst.txt
@@ -15,6 +15,7 @@ Raylib Python
raylib
dynamic
BUILDING
+ RPI
* :ref:`search`
diff --git a/docs/_sources/pyray.rst.txt b/docs/_sources/pyray.rst.txt
index dfd9b81..c93773c 100644
--- a/docs/_sources/pyray.rst.txt
+++ b/docs/_sources/pyray.rst.txt
@@ -1,18 +1,18 @@
Python API
==============
-.. comment::
-
- Link to API reference:
- toctree::
- :maxdepth: 1
-
- autoapi/pyray/index
-
-
This is a wrapper around the C API with some syntactic sugar.
-The API is *still the same as Raylib*, so you should still reply on `the official Raylib docs `_, except:
+The API is *still the same as Raylib*, so you should still reply on:
+
+* `the C Raylib docs `_
+
+* `the C Raylib examples `_
+
+* `the C Raylib header file `_
+
+
+The *differences* are:
* the function names are in **snake_case**.
@@ -20,6 +20,9 @@ The API is *still the same as Raylib*, so you should still reply on `the officia
* There are some helper functions to create structures.
+Examples
+--------
+
Example program:
.. code-block::
@@ -54,9 +57,10 @@ Example program:
init_window(800, 450, "Raylib texture test")
...
- You don't need to use the PyRay() class anymore.
+ (You don't need to use the PyRay() class anymore.)
+
+`See all examples here `_
-See also https://github.com/electronstudio/raylib-python-cffi/blob/master/tests/test_pyray.py
API reference
-------------
diff --git a/docs/_sources/raylib.rst.txt b/docs/_sources/raylib.rst.txt
index 51d5f73..76b4005 100644
--- a/docs/_sources/raylib.rst.txt
+++ b/docs/_sources/raylib.rst.txt
@@ -1,7 +1,8 @@
C API
=============
-The goal of the C API is make usage as similar to the original C as CFFI will allow. The `example programs `_
+The goal of the C API is make usage as similar to the original C as CFFI will allow.
+So the `example programs `_
are very, very similar to the C originals.
Example program:
@@ -39,11 +40,16 @@ If you want to be more portable (i.e. same code will work with dynamic bindings)
...
-See also https://github.com/electronstudio/raylib-python-cffi/blob/master/tests/test_static.py
.. note:: Whenever you need to convert stuff between C and Python see https://cffi.readthedocs.io
-.. important:: Your **primary reference** should always be `the official Raylib docs `_
+.. important:: Your **primary reference** should always be
+
+ * `the C Raylib docs `_
+
+ * `the C Raylib examples `_
+
+ * `the C Raylib header file `_
However, here is a list of available functions:
diff --git a/docs/_static/basic.css b/docs/_static/basic.css
index be19270..bf18350 100644
--- a/docs/_static/basic.css
+++ b/docs/_static/basic.css
@@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
- * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
@@ -130,7 +130,7 @@ ul.search li a {
font-weight: bold;
}
-ul.search li div.context {
+ul.search li p.context {
color: #888;
margin: 2px 0 0 30px;
text-align: left;
@@ -277,25 +277,25 @@ p.rubric {
font-weight: bold;
}
-img.align-left, .figure.align-left, object.align-left {
+img.align-left, figure.align-left, .figure.align-left, object.align-left {
clear: left;
float: left;
margin-right: 1em;
}
-img.align-right, .figure.align-right, object.align-right {
+img.align-right, figure.align-right, .figure.align-right, object.align-right {
clear: right;
float: right;
margin-left: 1em;
}
-img.align-center, .figure.align-center, object.align-center {
+img.align-center, figure.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
-img.align-default, .figure.align-default {
+img.align-default, figure.align-default, .figure.align-default {
display: block;
margin-left: auto;
margin-right: auto;
@@ -319,7 +319,8 @@ img.align-default, .figure.align-default {
/* -- sidebars -------------------------------------------------------------- */
-div.sidebar {
+div.sidebar,
+aside.sidebar {
margin: 0 0 0.5em 1em;
border: 1px solid #ddb;
padding: 7px;
@@ -377,12 +378,14 @@ div.body p.centered {
/* -- content of sidebars/topics/admonitions -------------------------------- */
div.sidebar > :last-child,
+aside.sidebar > :last-child,
div.topic > :last-child,
div.admonition > :last-child {
margin-bottom: 0;
}
div.sidebar::after,
+aside.sidebar::after,
div.topic::after,
div.admonition::after,
blockquote::after {
@@ -455,20 +458,22 @@ td > :last-child {
/* -- figures --------------------------------------------------------------- */
-div.figure {
+div.figure, figure {
margin: 0.5em;
padding: 0.5em;
}
-div.figure p.caption {
+div.figure p.caption, figcaption {
padding: 0.3em;
}
-div.figure p.caption span.caption-number {
+div.figure p.caption span.caption-number,
+figcaption span.caption-number {
font-style: italic;
}
-div.figure p.caption span.caption-text {
+div.figure p.caption span.caption-text,
+figcaption span.caption-text {
}
/* -- field list styles ----------------------------------------------------- */
@@ -503,6 +508,63 @@ table.hlist td {
vertical-align: top;
}
+/* -- object description styles --------------------------------------------- */
+
+.sig {
+ font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
+}
+
+.sig-name, code.descname {
+ background-color: transparent;
+ font-weight: bold;
+}
+
+.sig-name {
+ font-size: 1.1em;
+}
+
+code.descname {
+ font-size: 1.2em;
+}
+
+.sig-prename, code.descclassname {
+ background-color: transparent;
+}
+
+.optional {
+ font-size: 1.3em;
+}
+
+.sig-paren {
+ font-size: larger;
+}
+
+.sig-param.n {
+ font-style: italic;
+}
+
+/* C++ specific styling */
+
+.sig-inline.c-texpr,
+.sig-inline.cpp-texpr {
+ font-family: unset;
+}
+
+.sig.c .k, .sig.c .kt,
+.sig.cpp .k, .sig.cpp .kt {
+ color: #0033B3;
+}
+
+.sig.c .m,
+.sig.cpp .m {
+ color: #1750EB;
+}
+
+.sig.c .s, .sig.c .sc,
+.sig.cpp .s, .sig.cpp .sc {
+ color: #067D17;
+}
+
/* -- other body styles ----------------------------------------------------- */
@@ -629,14 +691,6 @@ dl.glossary dt {
font-size: 1.1em;
}
-.optional {
- font-size: 1.3em;
-}
-
-.sig-paren {
- font-size: larger;
-}
-
.versionmodified {
font-style: italic;
}
@@ -677,8 +731,9 @@ dl.glossary dt {
.classifier:before {
font-style: normal;
- margin: 0.5em;
+ margin: 0 0.5em;
content: ":";
+ display: inline-block;
}
abbr, acronym {
@@ -702,6 +757,7 @@ span.pre {
-ms-hyphens: none;
-webkit-hyphens: none;
hyphens: none;
+ white-space: nowrap;
}
div[class*="highlight-"] {
@@ -765,8 +821,12 @@ div.code-block-caption code {
table.highlighttable td.linenos,
span.linenos,
-div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
- user-select: none;
+div.highlight span.gp { /* gp: Generic.Prompt */
+ user-select: none;
+ -webkit-user-select: text; /* Safari fallback only */
+ -webkit-user-select: none; /* Chrome/Safari */
+ -moz-user-select: none; /* Firefox */
+ -ms-user-select: none; /* IE10+ */
}
div.code-block-caption span.caption-number {
@@ -781,16 +841,6 @@ div.literal-block-wrapper {
margin: 1em 0;
}
-code.descname {
- background-color: transparent;
- font-weight: bold;
- font-size: 1.2em;
-}
-
-code.descclassname {
- background-color: transparent;
-}
-
code.xref, a code {
background-color: transparent;
font-weight: bold;
diff --git a/docs/_static/doctools.js b/docs/_static/doctools.js
index 144884e..e1bfd70 100644
--- a/docs/_static/doctools.js
+++ b/docs/_static/doctools.js
@@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilities for all documentation.
*
- * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
@@ -29,9 +29,14 @@ if (!window.console || !console.firebug) {
/**
* small helper function to urldecode strings
+ *
+ * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL
*/
jQuery.urldecode = function(x) {
- return decodeURIComponent(x).replace(/\+/g, ' ');
+ if (!x) {
+ return x
+ }
+ return decodeURIComponent(x.replace(/\+/g, ' '));
};
/**
@@ -149,9 +154,7 @@ var Documentation = {
this.fixFirefoxAnchorBug();
this.highlightSearchWords();
this.initIndexTable();
- if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) {
- this.initOnKeyListeners();
- }
+ this.initOnKeyListeners();
},
/**
@@ -259,6 +262,16 @@ var Documentation = {
hideSearchWords : function() {
$('#searchbox .highlight-link').fadeOut(300);
$('span.highlighted').removeClass('highlighted');
+ var url = new URL(window.location);
+ url.searchParams.delete('highlight');
+ window.history.replaceState({}, '', url);
+ },
+
+ /**
+ * helper function to focus on search bar
+ */
+ focusSearchBar : function() {
+ $('input[name=q]').first().focus();
},
/**
@@ -283,25 +296,54 @@ var Documentation = {
},
initOnKeyListeners: function() {
+ // only install a listener if it is really needed
+ if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS &&
+ !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS)
+ return;
+
$(document).keydown(function(event) {
var activeElementType = document.activeElement.tagName;
// don't navigate when in search box, textarea, dropdown or button
if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT'
- && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey
- && !event.shiftKey) {
- switch (event.keyCode) {
- case 37: // left
- var prevHref = $('link[rel="prev"]').prop('href');
- if (prevHref) {
- window.location.href = prevHref;
- return false;
- }
- case 39: // right
- var nextHref = $('link[rel="next"]').prop('href');
- if (nextHref) {
- window.location.href = nextHref;
- return false;
- }
+ && activeElementType !== 'BUTTON') {
+ if (event.altKey || event.ctrlKey || event.metaKey)
+ return;
+
+ if (!event.shiftKey) {
+ switch (event.key) {
+ case 'ArrowLeft':
+ if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS)
+ break;
+ var prevHref = $('link[rel="prev"]').prop('href');
+ if (prevHref) {
+ window.location.href = prevHref;
+ return false;
+ }
+ break;
+ case 'ArrowRight':
+ if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS)
+ break;
+ var nextHref = $('link[rel="next"]').prop('href');
+ if (nextHref) {
+ window.location.href = nextHref;
+ return false;
+ }
+ break;
+ case 'Escape':
+ if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS)
+ break;
+ Documentation.hideSearchWords();
+ return false;
+ }
+ }
+
+ // some keyboard layouts may need Shift to get /
+ switch (event.key) {
+ case '/':
+ if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS)
+ break;
+ Documentation.focusSearchBar();
+ return false;
}
}
});
diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js
index 2fa8c97..724e382 100644
--- a/docs/_static/documentation_options.js
+++ b/docs/_static/documentation_options.js
@@ -8,5 +8,7 @@ var DOCUMENTATION_OPTIONS = {
LINK_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt',
- NAVIGATION_WITH_KEYS: false
+ NAVIGATION_WITH_KEYS: false,
+ SHOW_SEARCH_SUMMARY: true,
+ ENABLE_SEARCH_SHORTCUTS: true,
};
\ No newline at end of file
diff --git a/docs/_static/graphviz.css b/docs/_static/graphviz.css
index b340734..19e7afd 100644
--- a/docs/_static/graphviz.css
+++ b/docs/_static/graphviz.css
@@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- graphviz extension.
*
- * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
diff --git a/docs/_static/jquery-3.5.1.js b/docs/_static/jquery-3.5.1.js
new file mode 100644
index 0000000..5093733
--- /dev/null
+++ b/docs/_static/jquery-3.5.1.js
@@ -0,0 +1,10872 @@
+/*!
+ * jQuery JavaScript Library v3.5.1
+ * https://jquery.com/
+ *
+ * Includes Sizzle.js
+ * https://sizzlejs.com/
+ *
+ * Copyright JS Foundation and other contributors
+ * Released under the MIT license
+ * https://jquery.org/license
+ *
+ * Date: 2020-05-04T22:49Z
+ */
+( function( global, factory ) {
+
+ "use strict";
+
+ if ( typeof module === "object" && typeof module.exports === "object" ) {
+
+ // For CommonJS and CommonJS-like environments where a proper `window`
+ // is present, execute the factory and get jQuery.
+ // For environments that do not have a `window` with a `document`
+ // (such as Node.js), expose a factory as module.exports.
+ // This accentuates the need for the creation of a real `window`.
+ // e.g. var jQuery = require("jquery")(window);
+ // See ticket #14549 for more info.
+ module.exports = global.document ?
+ factory( global, true ) :
+ function( w ) {
+ if ( !w.document ) {
+ throw new Error( "jQuery requires a window with a document" );
+ }
+ return factory( w );
+ };
+ } else {
+ factory( global );
+ }
+
+// Pass this if window is not defined yet
+} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
+
+// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1
+// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode
+// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common
+// enough that all such attempts are guarded in a try block.
+"use strict";
+
+var arr = [];
+
+var getProto = Object.getPrototypeOf;
+
+var slice = arr.slice;
+
+var flat = arr.flat ? function( array ) {
+ return arr.flat.call( array );
+} : function( array ) {
+ return arr.concat.apply( [], array );
+};
+
+
+var push = arr.push;
+
+var indexOf = arr.indexOf;
+
+var class2type = {};
+
+var toString = class2type.toString;
+
+var hasOwn = class2type.hasOwnProperty;
+
+var fnToString = hasOwn.toString;
+
+var ObjectFunctionString = fnToString.call( Object );
+
+var support = {};
+
+var isFunction = function isFunction( obj ) {
+
+ // Support: Chrome <=57, Firefox <=52
+ // In some browsers, typeof returns "function" for HTML elements
+ // (i.e., `typeof document.createElement( "object" ) === "function"`).
+ // We don't want to classify *any* DOM node as a function.
+ return typeof obj === "function" && typeof obj.nodeType !== "number";
+ };
+
+
+var isWindow = function isWindow( obj ) {
+ return obj != null && obj === obj.window;
+ };
+
+
+var document = window.document;
+
+
+
+ var preservedScriptAttributes = {
+ type: true,
+ src: true,
+ nonce: true,
+ noModule: true
+ };
+
+ function DOMEval( code, node, doc ) {
+ doc = doc || document;
+
+ var i, val,
+ script = doc.createElement( "script" );
+
+ script.text = code;
+ if ( node ) {
+ for ( i in preservedScriptAttributes ) {
+
+ // Support: Firefox 64+, Edge 18+
+ // Some browsers don't support the "nonce" property on scripts.
+ // On the other hand, just using `getAttribute` is not enough as
+ // the `nonce` attribute is reset to an empty string whenever it
+ // becomes browsing-context connected.
+ // See https://github.com/whatwg/html/issues/2369
+ // See https://html.spec.whatwg.org/#nonce-attributes
+ // The `node.getAttribute` check was added for the sake of
+ // `jQuery.globalEval` so that it can fake a nonce-containing node
+ // via an object.
+ val = node[ i ] || node.getAttribute && node.getAttribute( i );
+ if ( val ) {
+ script.setAttribute( i, val );
+ }
+ }
+ }
+ doc.head.appendChild( script ).parentNode.removeChild( script );
+ }
+
+
+function toType( obj ) {
+ if ( obj == null ) {
+ return obj + "";
+ }
+
+ // Support: Android <=2.3 only (functionish RegExp)
+ return typeof obj === "object" || typeof obj === "function" ?
+ class2type[ toString.call( obj ) ] || "object" :
+ typeof obj;
+}
+/* global Symbol */
+// Defining this global in .eslintrc.json would create a danger of using the global
+// unguarded in another place, it seems safer to define global only for this module
+
+
+
+var
+ version = "3.5.1",
+
+ // Define a local copy of jQuery
+ jQuery = function( selector, context ) {
+
+ // The jQuery object is actually just the init constructor 'enhanced'
+ // Need init if jQuery is called (just allow error to be thrown if not included)
+ return new jQuery.fn.init( selector, context );
+ };
+
+jQuery.fn = jQuery.prototype = {
+
+ // The current version of jQuery being used
+ jquery: version,
+
+ constructor: jQuery,
+
+ // The default length of a jQuery object is 0
+ length: 0,
+
+ toArray: function() {
+ return slice.call( this );
+ },
+
+ // Get the Nth element in the matched element set OR
+ // Get the whole matched element set as a clean array
+ get: function( num ) {
+
+ // Return all the elements in a clean array
+ if ( num == null ) {
+ return slice.call( this );
+ }
+
+ // Return just the one element from the set
+ return num < 0 ? this[ num + this.length ] : this[ num ];
+ },
+
+ // Take an array of elements and push it onto the stack
+ // (returning the new matched element set)
+ pushStack: function( elems ) {
+
+ // Build a new jQuery matched element set
+ var ret = jQuery.merge( this.constructor(), elems );
+
+ // Add the old object onto the stack (as a reference)
+ ret.prevObject = this;
+
+ // Return the newly-formed element set
+ return ret;
+ },
+
+ // Execute a callback for every element in the matched set.
+ each: function( callback ) {
+ return jQuery.each( this, callback );
+ },
+
+ map: function( callback ) {
+ return this.pushStack( jQuery.map( this, function( elem, i ) {
+ return callback.call( elem, i, elem );
+ } ) );
+ },
+
+ slice: function() {
+ return this.pushStack( slice.apply( this, arguments ) );
+ },
+
+ first: function() {
+ return this.eq( 0 );
+ },
+
+ last: function() {
+ return this.eq( -1 );
+ },
+
+ even: function() {
+ return this.pushStack( jQuery.grep( this, function( _elem, i ) {
+ return ( i + 1 ) % 2;
+ } ) );
+ },
+
+ odd: function() {
+ return this.pushStack( jQuery.grep( this, function( _elem, i ) {
+ return i % 2;
+ } ) );
+ },
+
+ eq: function( i ) {
+ var len = this.length,
+ j = +i + ( i < 0 ? len : 0 );
+ return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );
+ },
+
+ end: function() {
+ return this.prevObject || this.constructor();
+ },
+
+ // For internal use only.
+ // Behaves like an Array's method, not like a jQuery method.
+ push: push,
+ sort: arr.sort,
+ splice: arr.splice
+};
+
+jQuery.extend = jQuery.fn.extend = function() {
+ var options, name, src, copy, copyIsArray, clone,
+ target = arguments[ 0 ] || {},
+ i = 1,
+ length = arguments.length,
+ deep = false;
+
+ // Handle a deep copy situation
+ if ( typeof target === "boolean" ) {
+ deep = target;
+
+ // Skip the boolean and the target
+ target = arguments[ i ] || {};
+ i++;
+ }
+
+ // Handle case when target is a string or something (possible in deep copy)
+ if ( typeof target !== "object" && !isFunction( target ) ) {
+ target = {};
+ }
+
+ // Extend jQuery itself if only one argument is passed
+ if ( i === length ) {
+ target = this;
+ i--;
+ }
+
+ for ( ; i < length; i++ ) {
+
+ // Only deal with non-null/undefined values
+ if ( ( options = arguments[ i ] ) != null ) {
+
+ // Extend the base object
+ for ( name in options ) {
+ copy = options[ name ];
+
+ // Prevent Object.prototype pollution
+ // Prevent never-ending loop
+ if ( name === "__proto__" || target === copy ) {
+ continue;
+ }
+
+ // Recurse if we're merging plain objects or arrays
+ if ( deep && copy && ( jQuery.isPlainObject( copy ) ||
+ ( copyIsArray = Array.isArray( copy ) ) ) ) {
+ src = target[ name ];
+
+ // Ensure proper type for the source value
+ if ( copyIsArray && !Array.isArray( src ) ) {
+ clone = [];
+ } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {
+ clone = {};
+ } else {
+ clone = src;
+ }
+ copyIsArray = false;
+
+ // Never move original objects, clone them
+ target[ name ] = jQuery.extend( deep, clone, copy );
+
+ // Don't bring in undefined values
+ } else if ( copy !== undefined ) {
+ target[ name ] = copy;
+ }
+ }
+ }
+ }
+
+ // Return the modified object
+ return target;
+};
+
+jQuery.extend( {
+
+ // Unique for each copy of jQuery on the page
+ expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),
+
+ // Assume jQuery is ready without the ready module
+ isReady: true,
+
+ error: function( msg ) {
+ throw new Error( msg );
+ },
+
+ noop: function() {},
+
+ isPlainObject: function( obj ) {
+ var proto, Ctor;
+
+ // Detect obvious negatives
+ // Use toString instead of jQuery.type to catch host objects
+ if ( !obj || toString.call( obj ) !== "[object Object]" ) {
+ return false;
+ }
+
+ proto = getProto( obj );
+
+ // Objects with no prototype (e.g., `Object.create( null )`) are plain
+ if ( !proto ) {
+ return true;
+ }
+
+ // Objects with prototype are plain iff they were constructed by a global Object function
+ Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor;
+ return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString;
+ },
+
+ isEmptyObject: function( obj ) {
+ var name;
+
+ for ( name in obj ) {
+ return false;
+ }
+ return true;
+ },
+
+ // Evaluates a script in a provided context; falls back to the global one
+ // if not specified.
+ globalEval: function( code, options, doc ) {
+ DOMEval( code, { nonce: options && options.nonce }, doc );
+ },
+
+ each: function( obj, callback ) {
+ var length, i = 0;
+
+ if ( isArrayLike( obj ) ) {
+ length = obj.length;
+ for ( ; i < length; i++ ) {
+ if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
+ break;
+ }
+ }
+ } else {
+ for ( i in obj ) {
+ if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
+ break;
+ }
+ }
+ }
+
+ return obj;
+ },
+
+ // results is for internal usage only
+ makeArray: function( arr, results ) {
+ var ret = results || [];
+
+ if ( arr != null ) {
+ if ( isArrayLike( Object( arr ) ) ) {
+ jQuery.merge( ret,
+ typeof arr === "string" ?
+ [ arr ] : arr
+ );
+ } else {
+ push.call( ret, arr );
+ }
+ }
+
+ return ret;
+ },
+
+ inArray: function( elem, arr, i ) {
+ return arr == null ? -1 : indexOf.call( arr, elem, i );
+ },
+
+ // Support: Android <=4.0 only, PhantomJS 1 only
+ // push.apply(_, arraylike) throws on ancient WebKit
+ merge: function( first, second ) {
+ var len = +second.length,
+ j = 0,
+ i = first.length;
+
+ for ( ; j < len; j++ ) {
+ first[ i++ ] = second[ j ];
+ }
+
+ first.length = i;
+
+ return first;
+ },
+
+ grep: function( elems, callback, invert ) {
+ var callbackInverse,
+ matches = [],
+ i = 0,
+ length = elems.length,
+ callbackExpect = !invert;
+
+ // Go through the array, only saving the items
+ // that pass the validator function
+ for ( ; i < length; i++ ) {
+ callbackInverse = !callback( elems[ i ], i );
+ if ( callbackInverse !== callbackExpect ) {
+ matches.push( elems[ i ] );
+ }
+ }
+
+ return matches;
+ },
+
+ // arg is for internal usage only
+ map: function( elems, callback, arg ) {
+ var length, value,
+ i = 0,
+ ret = [];
+
+ // Go through the array, translating each of the items to their new values
+ if ( isArrayLike( elems ) ) {
+ length = elems.length;
+ for ( ; i < length; i++ ) {
+ value = callback( elems[ i ], i, arg );
+
+ if ( value != null ) {
+ ret.push( value );
+ }
+ }
+
+ // Go through every key on the object,
+ } else {
+ for ( i in elems ) {
+ value = callback( elems[ i ], i, arg );
+
+ if ( value != null ) {
+ ret.push( value );
+ }
+ }
+ }
+
+ // Flatten any nested arrays
+ return flat( ret );
+ },
+
+ // A global GUID counter for objects
+ guid: 1,
+
+ // jQuery.support is not used in Core but other projects attach their
+ // properties to it so it needs to exist.
+ support: support
+} );
+
+if ( typeof Symbol === "function" ) {
+ jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];
+}
+
+// Populate the class2type map
+jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
+function( _i, name ) {
+ class2type[ "[object " + name + "]" ] = name.toLowerCase();
+} );
+
+function isArrayLike( obj ) {
+
+ // Support: real iOS 8.2 only (not reproducible in simulator)
+ // `in` check used to prevent JIT error (gh-2145)
+ // hasOwn isn't used here due to false negatives
+ // regarding Nodelist length in IE
+ var length = !!obj && "length" in obj && obj.length,
+ type = toType( obj );
+
+ if ( isFunction( obj ) || isWindow( obj ) ) {
+ return false;
+ }
+
+ return type === "array" || length === 0 ||
+ typeof length === "number" && length > 0 && ( length - 1 ) in obj;
+}
+var Sizzle =
+/*!
+ * Sizzle CSS Selector Engine v2.3.5
+ * https://sizzlejs.com/
+ *
+ * Copyright JS Foundation and other contributors
+ * Released under the MIT license
+ * https://js.foundation/
+ *
+ * Date: 2020-03-14
+ */
+( function( window ) {
+var i,
+ support,
+ Expr,
+ getText,
+ isXML,
+ tokenize,
+ compile,
+ select,
+ outermostContext,
+ sortInput,
+ hasDuplicate,
+
+ // Local document vars
+ setDocument,
+ document,
+ docElem,
+ documentIsHTML,
+ rbuggyQSA,
+ rbuggyMatches,
+ matches,
+ contains,
+
+ // Instance-specific data
+ expando = "sizzle" + 1 * new Date(),
+ preferredDoc = window.document,
+ dirruns = 0,
+ done = 0,
+ classCache = createCache(),
+ tokenCache = createCache(),
+ compilerCache = createCache(),
+ nonnativeSelectorCache = createCache(),
+ sortOrder = function( a, b ) {
+ if ( a === b ) {
+ hasDuplicate = true;
+ }
+ return 0;
+ },
+
+ // Instance methods
+ hasOwn = ( {} ).hasOwnProperty,
+ arr = [],
+ pop = arr.pop,
+ pushNative = arr.push,
+ push = arr.push,
+ slice = arr.slice,
+
+ // Use a stripped-down indexOf as it's faster than native
+ // https://jsperf.com/thor-indexof-vs-for/5
+ indexOf = function( list, elem ) {
+ var i = 0,
+ len = list.length;
+ for ( ; i < len; i++ ) {
+ if ( list[ i ] === elem ) {
+ return i;
+ }
+ }
+ return -1;
+ },
+
+ booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" +
+ "ismap|loop|multiple|open|readonly|required|scoped",
+
+ // Regular expressions
+
+ // http://www.w3.org/TR/css3-selectors/#whitespace
+ whitespace = "[\\x20\\t\\r\\n\\f]",
+
+ // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram
+ identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace +
+ "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",
+
+ // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
+ attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
+
+ // Operator (capture 2)
+ "*([*^$|!~]?=)" + whitespace +
+
+ // "Attribute values must be CSS identifiers [capture 5]
+ // or strings [capture 3 or capture 4]"
+ "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" +
+ whitespace + "*\\]",
+
+ pseudos = ":(" + identifier + ")(?:\\((" +
+
+ // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:
+ // 1. quoted (capture 3; capture 4 or capture 5)
+ "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" +
+
+ // 2. simple (capture 6)
+ "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" +
+
+ // 3. anything else (capture 2)
+ ".*" +
+ ")\\)|)",
+
+ // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
+ rwhitespace = new RegExp( whitespace + "+", "g" ),
+ rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" +
+ whitespace + "+$", "g" ),
+
+ rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),
+ rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace +
+ "*" ),
+ rdescend = new RegExp( whitespace + "|>" ),
+
+ rpseudo = new RegExp( pseudos ),
+ ridentifier = new RegExp( "^" + identifier + "$" ),
+
+ matchExpr = {
+ "ID": new RegExp( "^#(" + identifier + ")" ),
+ "CLASS": new RegExp( "^\\.(" + identifier + ")" ),
+ "TAG": new RegExp( "^(" + identifier + "|[*])" ),
+ "ATTR": new RegExp( "^" + attributes ),
+ "PSEUDO": new RegExp( "^" + pseudos ),
+ "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" +
+ whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" +
+ whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ),
+ "bool": new RegExp( "^(?:" + booleans + ")$", "i" ),
+
+ // For use in libraries implementing .is()
+ // We use this for POS matching in `select`
+ "needsContext": new RegExp( "^" + whitespace +
+ "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace +
+ "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )
+ },
+
+ rhtml = /HTML$/i,
+ rinputs = /^(?:input|select|textarea|button)$/i,
+ rheader = /^h\d$/i,
+
+ rnative = /^[^{]+\{\s*\[native \w/,
+
+ // Easily-parseable/retrievable ID or TAG or CLASS selectors
+ rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
+
+ rsibling = /[+~]/,
+
+ // CSS escapes
+ // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
+ runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ),
+ funescape = function( escape, nonHex ) {
+ var high = "0x" + escape.slice( 1 ) - 0x10000;
+
+ return nonHex ?
+
+ // Strip the backslash prefix from a non-hex escape sequence
+ nonHex :
+
+ // Replace a hexadecimal escape sequence with the encoded Unicode code point
+ // Support: IE <=11+
+ // For values outside the Basic Multilingual Plane (BMP), manually construct a
+ // surrogate pair
+ high < 0 ?
+ String.fromCharCode( high + 0x10000 ) :
+ String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
+ },
+
+ // CSS string/identifier serialization
+ // https://drafts.csswg.org/cssom/#common-serializing-idioms
+ rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
+ fcssescape = function( ch, asCodePoint ) {
+ if ( asCodePoint ) {
+
+ // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
+ if ( ch === "\0" ) {
+ return "\uFFFD";
+ }
+
+ // Control characters and (dependent upon position) numbers get escaped as code points
+ return ch.slice( 0, -1 ) + "\\" +
+ ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
+ }
+
+ // Other potentially-special ASCII characters get backslash-escaped
+ return "\\" + ch;
+ },
+
+ // Used for iframes
+ // See setDocument()
+ // Removing the function wrapper causes a "Permission Denied"
+ // error in IE
+ unloadHandler = function() {
+ setDocument();
+ },
+
+ inDisabledFieldset = addCombinator(
+ function( elem ) {
+ return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset";
+ },
+ { dir: "parentNode", next: "legend" }
+ );
+
+// Optimize for push.apply( _, NodeList )
+try {
+ push.apply(
+ ( arr = slice.call( preferredDoc.childNodes ) ),
+ preferredDoc.childNodes
+ );
+
+ // Support: Android<4.0
+ // Detect silently failing push.apply
+ // eslint-disable-next-line no-unused-expressions
+ arr[ preferredDoc.childNodes.length ].nodeType;
+} catch ( e ) {
+ push = { apply: arr.length ?
+
+ // Leverage slice if possible
+ function( target, els ) {
+ pushNative.apply( target, slice.call( els ) );
+ } :
+
+ // Support: IE<9
+ // Otherwise append directly
+ function( target, els ) {
+ var j = target.length,
+ i = 0;
+
+ // Can't trust NodeList.length
+ while ( ( target[ j++ ] = els[ i++ ] ) ) {}
+ target.length = j - 1;
+ }
+ };
+}
+
+function Sizzle( selector, context, results, seed ) {
+ var m, i, elem, nid, match, groups, newSelector,
+ newContext = context && context.ownerDocument,
+
+ // nodeType defaults to 9, since context defaults to document
+ nodeType = context ? context.nodeType : 9;
+
+ results = results || [];
+
+ // Return early from calls with invalid selector or context
+ if ( typeof selector !== "string" || !selector ||
+ nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {
+
+ return results;
+ }
+
+ // Try to shortcut find operations (as opposed to filters) in HTML documents
+ if ( !seed ) {
+ setDocument( context );
+ context = context || document;
+
+ if ( documentIsHTML ) {
+
+ // If the selector is sufficiently simple, try using a "get*By*" DOM method
+ // (excepting DocumentFragment context, where the methods don't exist)
+ if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) {
+
+ // ID selector
+ if ( ( m = match[ 1 ] ) ) {
+
+ // Document context
+ if ( nodeType === 9 ) {
+ if ( ( elem = context.getElementById( m ) ) ) {
+
+ // Support: IE, Opera, Webkit
+ // TODO: identify versions
+ // getElementById can match elements by name instead of ID
+ if ( elem.id === m ) {
+ results.push( elem );
+ return results;
+ }
+ } else {
+ return results;
+ }
+
+ // Element context
+ } else {
+
+ // Support: IE, Opera, Webkit
+ // TODO: identify versions
+ // getElementById can match elements by name instead of ID
+ if ( newContext && ( elem = newContext.getElementById( m ) ) &&
+ contains( context, elem ) &&
+ elem.id === m ) {
+
+ results.push( elem );
+ return results;
+ }
+ }
+
+ // Type selector
+ } else if ( match[ 2 ] ) {
+ push.apply( results, context.getElementsByTagName( selector ) );
+ return results;
+
+ // Class selector
+ } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName &&
+ context.getElementsByClassName ) {
+
+ push.apply( results, context.getElementsByClassName( m ) );
+ return results;
+ }
+ }
+
+ // Take advantage of querySelectorAll
+ if ( support.qsa &&
+ !nonnativeSelectorCache[ selector + " " ] &&
+ ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) &&
+
+ // Support: IE 8 only
+ // Exclude object elements
+ ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) {
+
+ newSelector = selector;
+ newContext = context;
+
+ // qSA considers elements outside a scoping root when evaluating child or
+ // descendant combinators, which is not what we want.
+ // In such cases, we work around the behavior by prefixing every selector in the
+ // list with an ID selector referencing the scope context.
+ // The technique has to be used as well when a leading combinator is used
+ // as such selectors are not recognized by querySelectorAll.
+ // Thanks to Andrew Dupont for this technique.
+ if ( nodeType === 1 &&
+ ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) {
+
+ // Expand context for sibling selectors
+ newContext = rsibling.test( selector ) && testContext( context.parentNode ) ||
+ context;
+
+ // We can use :scope instead of the ID hack if the browser
+ // supports it & if we're not changing the context.
+ if ( newContext !== context || !support.scope ) {
+
+ // Capture the context ID, setting it first if necessary
+ if ( ( nid = context.getAttribute( "id" ) ) ) {
+ nid = nid.replace( rcssescape, fcssescape );
+ } else {
+ context.setAttribute( "id", ( nid = expando ) );
+ }
+ }
+
+ // Prefix every selector in the list
+ groups = tokenize( selector );
+ i = groups.length;
+ while ( i-- ) {
+ groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " +
+ toSelector( groups[ i ] );
+ }
+ newSelector = groups.join( "," );
+ }
+
+ try {
+ push.apply( results,
+ newContext.querySelectorAll( newSelector )
+ );
+ return results;
+ } catch ( qsaError ) {
+ nonnativeSelectorCache( selector, true );
+ } finally {
+ if ( nid === expando ) {
+ context.removeAttribute( "id" );
+ }
+ }
+ }
+ }
+ }
+
+ // All others
+ return select( selector.replace( rtrim, "$1" ), context, results, seed );
+}
+
+/**
+ * Create key-value caches of limited size
+ * @returns {function(string, object)} Returns the Object data after storing it on itself with
+ * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
+ * deleting the oldest entry
+ */
+function createCache() {
+ var keys = [];
+
+ function cache( key, value ) {
+
+ // Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
+ if ( keys.push( key + " " ) > Expr.cacheLength ) {
+
+ // Only keep the most recent entries
+ delete cache[ keys.shift() ];
+ }
+ return ( cache[ key + " " ] = value );
+ }
+ return cache;
+}
+
+/**
+ * Mark a function for special use by Sizzle
+ * @param {Function} fn The function to mark
+ */
+function markFunction( fn ) {
+ fn[ expando ] = true;
+ return fn;
+}
+
+/**
+ * Support testing using an element
+ * @param {Function} fn Passed the created element and returns a boolean result
+ */
+function assert( fn ) {
+ var el = document.createElement( "fieldset" );
+
+ try {
+ return !!fn( el );
+ } catch ( e ) {
+ return false;
+ } finally {
+
+ // Remove from its parent by default
+ if ( el.parentNode ) {
+ el.parentNode.removeChild( el );
+ }
+
+ // release memory in IE
+ el = null;
+ }
+}
+
+/**
+ * Adds the same handler for all of the specified attrs
+ * @param {String} attrs Pipe-separated list of attributes
+ * @param {Function} handler The method that will be applied
+ */
+function addHandle( attrs, handler ) {
+ var arr = attrs.split( "|" ),
+ i = arr.length;
+
+ while ( i-- ) {
+ Expr.attrHandle[ arr[ i ] ] = handler;
+ }
+}
+
+/**
+ * Checks document order of two siblings
+ * @param {Element} a
+ * @param {Element} b
+ * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
+ */
+function siblingCheck( a, b ) {
+ var cur = b && a,
+ diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
+ a.sourceIndex - b.sourceIndex;
+
+ // Use IE sourceIndex if available on both nodes
+ if ( diff ) {
+ return diff;
+ }
+
+ // Check if b follows a
+ if ( cur ) {
+ while ( ( cur = cur.nextSibling ) ) {
+ if ( cur === b ) {
+ return -1;
+ }
+ }
+ }
+
+ return a ? 1 : -1;
+}
+
+/**
+ * Returns a function to use in pseudos for input types
+ * @param {String} type
+ */
+function createInputPseudo( type ) {
+ return function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return name === "input" && elem.type === type;
+ };
+}
+
+/**
+ * Returns a function to use in pseudos for buttons
+ * @param {String} type
+ */
+function createButtonPseudo( type ) {
+ return function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return ( name === "input" || name === "button" ) && elem.type === type;
+ };
+}
+
+/**
+ * Returns a function to use in pseudos for :enabled/:disabled
+ * @param {Boolean} disabled true for :disabled; false for :enabled
+ */
+function createDisabledPseudo( disabled ) {
+
+ // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable
+ return function( elem ) {
+
+ // Only certain elements can match :enabled or :disabled
+ // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled
+ // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled
+ if ( "form" in elem ) {
+
+ // Check for inherited disabledness on relevant non-disabled elements:
+ // * listed form-associated elements in a disabled fieldset
+ // https://html.spec.whatwg.org/multipage/forms.html#category-listed
+ // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled
+ // * option elements in a disabled optgroup
+ // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled
+ // All such elements have a "form" property.
+ if ( elem.parentNode && elem.disabled === false ) {
+
+ // Option elements defer to a parent optgroup if present
+ if ( "label" in elem ) {
+ if ( "label" in elem.parentNode ) {
+ return elem.parentNode.disabled === disabled;
+ } else {
+ return elem.disabled === disabled;
+ }
+ }
+
+ // Support: IE 6 - 11
+ // Use the isDisabled shortcut property to check for disabled fieldset ancestors
+ return elem.isDisabled === disabled ||
+
+ // Where there is no isDisabled, check manually
+ /* jshint -W018 */
+ elem.isDisabled !== !disabled &&
+ inDisabledFieldset( elem ) === disabled;
+ }
+
+ return elem.disabled === disabled;
+
+ // Try to winnow out elements that can't be disabled before trusting the disabled property.
+ // Some victims get caught in our net (label, legend, menu, track), but it shouldn't
+ // even exist on them, let alone have a boolean value.
+ } else if ( "label" in elem ) {
+ return elem.disabled === disabled;
+ }
+
+ // Remaining elements are neither :enabled nor :disabled
+ return false;
+ };
+}
+
+/**
+ * Returns a function to use in pseudos for positionals
+ * @param {Function} fn
+ */
+function createPositionalPseudo( fn ) {
+ return markFunction( function( argument ) {
+ argument = +argument;
+ return markFunction( function( seed, matches ) {
+ var j,
+ matchIndexes = fn( [], seed.length, argument ),
+ i = matchIndexes.length;
+
+ // Match elements found at the specified indexes
+ while ( i-- ) {
+ if ( seed[ ( j = matchIndexes[ i ] ) ] ) {
+ seed[ j ] = !( matches[ j ] = seed[ j ] );
+ }
+ }
+ } );
+ } );
+}
+
+/**
+ * Checks a node for validity as a Sizzle context
+ * @param {Element|Object=} context
+ * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
+ */
+function testContext( context ) {
+ return context && typeof context.getElementsByTagName !== "undefined" && context;
+}
+
+// Expose support vars for convenience
+support = Sizzle.support = {};
+
+/**
+ * Detects XML nodes
+ * @param {Element|Object} elem An element or a document
+ * @returns {Boolean} True iff elem is a non-HTML XML node
+ */
+isXML = Sizzle.isXML = function( elem ) {
+ var namespace = elem.namespaceURI,
+ docElem = ( elem.ownerDocument || elem ).documentElement;
+
+ // Support: IE <=8
+ // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes
+ // https://bugs.jquery.com/ticket/4833
+ return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" );
+};
+
+/**
+ * Sets document-related variables once based on the current document
+ * @param {Element|Object} [doc] An element or document object to use to set the document
+ * @returns {Object} Returns the current document
+ */
+setDocument = Sizzle.setDocument = function( node ) {
+ var hasCompare, subWindow,
+ doc = node ? node.ownerDocument || node : preferredDoc;
+
+ // Return early if doc is invalid or already selected
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) {
+ return document;
+ }
+
+ // Update global variables
+ document = doc;
+ docElem = document.documentElement;
+ documentIsHTML = !isXML( document );
+
+ // Support: IE 9 - 11+, Edge 12 - 18+
+ // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936)
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ if ( preferredDoc != document &&
+ ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {
+
+ // Support: IE 11, Edge
+ if ( subWindow.addEventListener ) {
+ subWindow.addEventListener( "unload", unloadHandler, false );
+
+ // Support: IE 9 - 10 only
+ } else if ( subWindow.attachEvent ) {
+ subWindow.attachEvent( "onunload", unloadHandler );
+ }
+ }
+
+ // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only,
+ // Safari 4 - 5 only, Opera <=11.6 - 12.x only
+ // IE/Edge & older browsers don't support the :scope pseudo-class.
+ // Support: Safari 6.0 only
+ // Safari 6.0 supports :scope but it's an alias of :root there.
+ support.scope = assert( function( el ) {
+ docElem.appendChild( el ).appendChild( document.createElement( "div" ) );
+ return typeof el.querySelectorAll !== "undefined" &&
+ !el.querySelectorAll( ":scope fieldset div" ).length;
+ } );
+
+ /* Attributes
+ ---------------------------------------------------------------------- */
+
+ // Support: IE<8
+ // Verify that getAttribute really returns attributes and not properties
+ // (excepting IE8 booleans)
+ support.attributes = assert( function( el ) {
+ el.className = "i";
+ return !el.getAttribute( "className" );
+ } );
+
+ /* getElement(s)By*
+ ---------------------------------------------------------------------- */
+
+ // Check if getElementsByTagName("*") returns only elements
+ support.getElementsByTagName = assert( function( el ) {
+ el.appendChild( document.createComment( "" ) );
+ return !el.getElementsByTagName( "*" ).length;
+ } );
+
+ // Support: IE<9
+ support.getElementsByClassName = rnative.test( document.getElementsByClassName );
+
+ // Support: IE<10
+ // Check if getElementById returns elements by name
+ // The broken getElementById methods don't pick up programmatically-set names,
+ // so use a roundabout getElementsByName test
+ support.getById = assert( function( el ) {
+ docElem.appendChild( el ).id = expando;
+ return !document.getElementsByName || !document.getElementsByName( expando ).length;
+ } );
+
+ // ID filter and find
+ if ( support.getById ) {
+ Expr.filter[ "ID" ] = function( id ) {
+ var attrId = id.replace( runescape, funescape );
+ return function( elem ) {
+ return elem.getAttribute( "id" ) === attrId;
+ };
+ };
+ Expr.find[ "ID" ] = function( id, context ) {
+ if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
+ var elem = context.getElementById( id );
+ return elem ? [ elem ] : [];
+ }
+ };
+ } else {
+ Expr.filter[ "ID" ] = function( id ) {
+ var attrId = id.replace( runescape, funescape );
+ return function( elem ) {
+ var node = typeof elem.getAttributeNode !== "undefined" &&
+ elem.getAttributeNode( "id" );
+ return node && node.value === attrId;
+ };
+ };
+
+ // Support: IE 6 - 7 only
+ // getElementById is not reliable as a find shortcut
+ Expr.find[ "ID" ] = function( id, context ) {
+ if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
+ var node, i, elems,
+ elem = context.getElementById( id );
+
+ if ( elem ) {
+
+ // Verify the id attribute
+ node = elem.getAttributeNode( "id" );
+ if ( node && node.value === id ) {
+ return [ elem ];
+ }
+
+ // Fall back on getElementsByName
+ elems = context.getElementsByName( id );
+ i = 0;
+ while ( ( elem = elems[ i++ ] ) ) {
+ node = elem.getAttributeNode( "id" );
+ if ( node && node.value === id ) {
+ return [ elem ];
+ }
+ }
+ }
+
+ return [];
+ }
+ };
+ }
+
+ // Tag
+ Expr.find[ "TAG" ] = support.getElementsByTagName ?
+ function( tag, context ) {
+ if ( typeof context.getElementsByTagName !== "undefined" ) {
+ return context.getElementsByTagName( tag );
+
+ // DocumentFragment nodes don't have gEBTN
+ } else if ( support.qsa ) {
+ return context.querySelectorAll( tag );
+ }
+ } :
+
+ function( tag, context ) {
+ var elem,
+ tmp = [],
+ i = 0,
+
+ // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too
+ results = context.getElementsByTagName( tag );
+
+ // Filter out possible comments
+ if ( tag === "*" ) {
+ while ( ( elem = results[ i++ ] ) ) {
+ if ( elem.nodeType === 1 ) {
+ tmp.push( elem );
+ }
+ }
+
+ return tmp;
+ }
+ return results;
+ };
+
+ // Class
+ Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) {
+ if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) {
+ return context.getElementsByClassName( className );
+ }
+ };
+
+ /* QSA/matchesSelector
+ ---------------------------------------------------------------------- */
+
+ // QSA and matchesSelector support
+
+ // matchesSelector(:active) reports false when true (IE9/Opera 11.5)
+ rbuggyMatches = [];
+
+ // qSa(:focus) reports false when true (Chrome 21)
+ // We allow this because of a bug in IE8/9 that throws an error
+ // whenever `document.activeElement` is accessed on an iframe
+ // So, we allow :focus to pass through QSA all the time to avoid the IE error
+ // See https://bugs.jquery.com/ticket/13378
+ rbuggyQSA = [];
+
+ if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) {
+
+ // Build QSA regex
+ // Regex strategy adopted from Diego Perini
+ assert( function( el ) {
+
+ var input;
+
+ // Select is set to empty string on purpose
+ // This is to test IE's treatment of not explicitly
+ // setting a boolean content attribute,
+ // since its presence should be enough
+ // https://bugs.jquery.com/ticket/12359
+ docElem.appendChild( el ).innerHTML = " " +
+ "" +
+ " ";
+
+ // Support: IE8, Opera 11-12.16
+ // Nothing should be selected when empty strings follow ^= or $= or *=
+ // The test attribute must be unknown in Opera but "safe" for WinRT
+ // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section
+ if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) {
+ rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );
+ }
+
+ // Support: IE8
+ // Boolean attributes and "value" are not treated correctly
+ if ( !el.querySelectorAll( "[selected]" ).length ) {
+ rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
+ }
+
+ // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+
+ if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) {
+ rbuggyQSA.push( "~=" );
+ }
+
+ // Support: IE 11+, Edge 15 - 18+
+ // IE 11/Edge don't find elements on a `[name='']` query in some cases.
+ // Adding a temporary attribute to the document before the selection works
+ // around the issue.
+ // Interestingly, IE 10 & older don't seem to have the issue.
+ input = document.createElement( "input" );
+ input.setAttribute( "name", "" );
+ el.appendChild( input );
+ if ( !el.querySelectorAll( "[name='']" ).length ) {
+ rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" +
+ whitespace + "*(?:''|\"\")" );
+ }
+
+ // Webkit/Opera - :checked should return selected option elements
+ // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+ // IE8 throws error here and will not see later tests
+ if ( !el.querySelectorAll( ":checked" ).length ) {
+ rbuggyQSA.push( ":checked" );
+ }
+
+ // Support: Safari 8+, iOS 8+
+ // https://bugs.webkit.org/show_bug.cgi?id=136851
+ // In-page `selector#id sibling-combinator selector` fails
+ if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) {
+ rbuggyQSA.push( ".#.+[+~]" );
+ }
+
+ // Support: Firefox <=3.6 - 5 only
+ // Old Firefox doesn't throw on a badly-escaped identifier.
+ el.querySelectorAll( "\\\f" );
+ rbuggyQSA.push( "[\\r\\n\\f]" );
+ } );
+
+ assert( function( el ) {
+ el.innerHTML = " " +
+ " ";
+
+ // Support: Windows 8 Native Apps
+ // The type and name attributes are restricted during .innerHTML assignment
+ var input = document.createElement( "input" );
+ input.setAttribute( "type", "hidden" );
+ el.appendChild( input ).setAttribute( "name", "D" );
+
+ // Support: IE8
+ // Enforce case-sensitivity of name attribute
+ if ( el.querySelectorAll( "[name=d]" ).length ) {
+ rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" );
+ }
+
+ // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
+ // IE8 throws error here and will not see later tests
+ if ( el.querySelectorAll( ":enabled" ).length !== 2 ) {
+ rbuggyQSA.push( ":enabled", ":disabled" );
+ }
+
+ // Support: IE9-11+
+ // IE's :disabled selector does not pick up the children of disabled fieldsets
+ docElem.appendChild( el ).disabled = true;
+ if ( el.querySelectorAll( ":disabled" ).length !== 2 ) {
+ rbuggyQSA.push( ":enabled", ":disabled" );
+ }
+
+ // Support: Opera 10 - 11 only
+ // Opera 10-11 does not throw on post-comma invalid pseudos
+ el.querySelectorAll( "*,:x" );
+ rbuggyQSA.push( ",.*:" );
+ } );
+ }
+
+ if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches ||
+ docElem.webkitMatchesSelector ||
+ docElem.mozMatchesSelector ||
+ docElem.oMatchesSelector ||
+ docElem.msMatchesSelector ) ) ) ) {
+
+ assert( function( el ) {
+
+ // Check to see if it's possible to do matchesSelector
+ // on a disconnected node (IE 9)
+ support.disconnectedMatch = matches.call( el, "*" );
+
+ // This should fail with an exception
+ // Gecko does not error, returns false instead
+ matches.call( el, "[s!='']:x" );
+ rbuggyMatches.push( "!=", pseudos );
+ } );
+ }
+
+ rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) );
+ rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) );
+
+ /* Contains
+ ---------------------------------------------------------------------- */
+ hasCompare = rnative.test( docElem.compareDocumentPosition );
+
+ // Element contains another
+ // Purposefully self-exclusive
+ // As in, an element does not contain itself
+ contains = hasCompare || rnative.test( docElem.contains ) ?
+ function( a, b ) {
+ var adown = a.nodeType === 9 ? a.documentElement : a,
+ bup = b && b.parentNode;
+ return a === bup || !!( bup && bup.nodeType === 1 && (
+ adown.contains ?
+ adown.contains( bup ) :
+ a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
+ ) );
+ } :
+ function( a, b ) {
+ if ( b ) {
+ while ( ( b = b.parentNode ) ) {
+ if ( b === a ) {
+ return true;
+ }
+ }
+ }
+ return false;
+ };
+
+ /* Sorting
+ ---------------------------------------------------------------------- */
+
+ // Document order sorting
+ sortOrder = hasCompare ?
+ function( a, b ) {
+
+ // Flag for duplicate removal
+ if ( a === b ) {
+ hasDuplicate = true;
+ return 0;
+ }
+
+ // Sort on method existence if only one input has compareDocumentPosition
+ var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
+ if ( compare ) {
+ return compare;
+ }
+
+ // Calculate position if both inputs belong to the same document
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ?
+ a.compareDocumentPosition( b ) :
+
+ // Otherwise we know they are disconnected
+ 1;
+
+ // Disconnected nodes
+ if ( compare & 1 ||
+ ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) {
+
+ // Choose the first element that is related to our preferred document
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ if ( a == document || a.ownerDocument == preferredDoc &&
+ contains( preferredDoc, a ) ) {
+ return -1;
+ }
+
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ if ( b == document || b.ownerDocument == preferredDoc &&
+ contains( preferredDoc, b ) ) {
+ return 1;
+ }
+
+ // Maintain original order
+ return sortInput ?
+ ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
+ 0;
+ }
+
+ return compare & 4 ? -1 : 1;
+ } :
+ function( a, b ) {
+
+ // Exit early if the nodes are identical
+ if ( a === b ) {
+ hasDuplicate = true;
+ return 0;
+ }
+
+ var cur,
+ i = 0,
+ aup = a.parentNode,
+ bup = b.parentNode,
+ ap = [ a ],
+ bp = [ b ];
+
+ // Parentless nodes are either documents or disconnected
+ if ( !aup || !bup ) {
+
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ /* eslint-disable eqeqeq */
+ return a == document ? -1 :
+ b == document ? 1 :
+ /* eslint-enable eqeqeq */
+ aup ? -1 :
+ bup ? 1 :
+ sortInput ?
+ ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
+ 0;
+
+ // If the nodes are siblings, we can do a quick check
+ } else if ( aup === bup ) {
+ return siblingCheck( a, b );
+ }
+
+ // Otherwise we need full lists of their ancestors for comparison
+ cur = a;
+ while ( ( cur = cur.parentNode ) ) {
+ ap.unshift( cur );
+ }
+ cur = b;
+ while ( ( cur = cur.parentNode ) ) {
+ bp.unshift( cur );
+ }
+
+ // Walk down the tree looking for a discrepancy
+ while ( ap[ i ] === bp[ i ] ) {
+ i++;
+ }
+
+ return i ?
+
+ // Do a sibling check if the nodes have a common ancestor
+ siblingCheck( ap[ i ], bp[ i ] ) :
+
+ // Otherwise nodes in our document sort first
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ /* eslint-disable eqeqeq */
+ ap[ i ] == preferredDoc ? -1 :
+ bp[ i ] == preferredDoc ? 1 :
+ /* eslint-enable eqeqeq */
+ 0;
+ };
+
+ return document;
+};
+
+Sizzle.matches = function( expr, elements ) {
+ return Sizzle( expr, null, null, elements );
+};
+
+Sizzle.matchesSelector = function( elem, expr ) {
+ setDocument( elem );
+
+ if ( support.matchesSelector && documentIsHTML &&
+ !nonnativeSelectorCache[ expr + " " ] &&
+ ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
+ ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {
+
+ try {
+ var ret = matches.call( elem, expr );
+
+ // IE 9's matchesSelector returns false on disconnected nodes
+ if ( ret || support.disconnectedMatch ||
+
+ // As well, disconnected nodes are said to be in a document
+ // fragment in IE 9
+ elem.document && elem.document.nodeType !== 11 ) {
+ return ret;
+ }
+ } catch ( e ) {
+ nonnativeSelectorCache( expr, true );
+ }
+ }
+
+ return Sizzle( expr, document, null, [ elem ] ).length > 0;
+};
+
+Sizzle.contains = function( context, elem ) {
+
+ // Set document vars if needed
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ if ( ( context.ownerDocument || context ) != document ) {
+ setDocument( context );
+ }
+ return contains( context, elem );
+};
+
+Sizzle.attr = function( elem, name ) {
+
+ // Set document vars if needed
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ if ( ( elem.ownerDocument || elem ) != document ) {
+ setDocument( elem );
+ }
+
+ var fn = Expr.attrHandle[ name.toLowerCase() ],
+
+ // Don't get fooled by Object.prototype properties (jQuery #13807)
+ val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?
+ fn( elem, name, !documentIsHTML ) :
+ undefined;
+
+ return val !== undefined ?
+ val :
+ support.attributes || !documentIsHTML ?
+ elem.getAttribute( name ) :
+ ( val = elem.getAttributeNode( name ) ) && val.specified ?
+ val.value :
+ null;
+};
+
+Sizzle.escape = function( sel ) {
+ return ( sel + "" ).replace( rcssescape, fcssescape );
+};
+
+Sizzle.error = function( msg ) {
+ throw new Error( "Syntax error, unrecognized expression: " + msg );
+};
+
+/**
+ * Document sorting and removing duplicates
+ * @param {ArrayLike} results
+ */
+Sizzle.uniqueSort = function( results ) {
+ var elem,
+ duplicates = [],
+ j = 0,
+ i = 0;
+
+ // Unless we *know* we can detect duplicates, assume their presence
+ hasDuplicate = !support.detectDuplicates;
+ sortInput = !support.sortStable && results.slice( 0 );
+ results.sort( sortOrder );
+
+ if ( hasDuplicate ) {
+ while ( ( elem = results[ i++ ] ) ) {
+ if ( elem === results[ i ] ) {
+ j = duplicates.push( i );
+ }
+ }
+ while ( j-- ) {
+ results.splice( duplicates[ j ], 1 );
+ }
+ }
+
+ // Clear input after sorting to release objects
+ // See https://github.com/jquery/sizzle/pull/225
+ sortInput = null;
+
+ return results;
+};
+
+/**
+ * Utility function for retrieving the text value of an array of DOM nodes
+ * @param {Array|Element} elem
+ */
+getText = Sizzle.getText = function( elem ) {
+ var node,
+ ret = "",
+ i = 0,
+ nodeType = elem.nodeType;
+
+ if ( !nodeType ) {
+
+ // If no nodeType, this is expected to be an array
+ while ( ( node = elem[ i++ ] ) ) {
+
+ // Do not traverse comment nodes
+ ret += getText( node );
+ }
+ } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
+
+ // Use textContent for elements
+ // innerText usage removed for consistency of new lines (jQuery #11153)
+ if ( typeof elem.textContent === "string" ) {
+ return elem.textContent;
+ } else {
+
+ // Traverse its children
+ for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
+ ret += getText( elem );
+ }
+ }
+ } else if ( nodeType === 3 || nodeType === 4 ) {
+ return elem.nodeValue;
+ }
+
+ // Do not include comment or processing instruction nodes
+
+ return ret;
+};
+
+Expr = Sizzle.selectors = {
+
+ // Can be adjusted by the user
+ cacheLength: 50,
+
+ createPseudo: markFunction,
+
+ match: matchExpr,
+
+ attrHandle: {},
+
+ find: {},
+
+ relative: {
+ ">": { dir: "parentNode", first: true },
+ " ": { dir: "parentNode" },
+ "+": { dir: "previousSibling", first: true },
+ "~": { dir: "previousSibling" }
+ },
+
+ preFilter: {
+ "ATTR": function( match ) {
+ match[ 1 ] = match[ 1 ].replace( runescape, funescape );
+
+ // Move the given value to match[3] whether quoted or unquoted
+ match[ 3 ] = ( match[ 3 ] || match[ 4 ] ||
+ match[ 5 ] || "" ).replace( runescape, funescape );
+
+ if ( match[ 2 ] === "~=" ) {
+ match[ 3 ] = " " + match[ 3 ] + " ";
+ }
+
+ return match.slice( 0, 4 );
+ },
+
+ "CHILD": function( match ) {
+
+ /* matches from matchExpr["CHILD"]
+ 1 type (only|nth|...)
+ 2 what (child|of-type)
+ 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
+ 4 xn-component of xn+y argument ([+-]?\d*n|)
+ 5 sign of xn-component
+ 6 x of xn-component
+ 7 sign of y-component
+ 8 y of y-component
+ */
+ match[ 1 ] = match[ 1 ].toLowerCase();
+
+ if ( match[ 1 ].slice( 0, 3 ) === "nth" ) {
+
+ // nth-* requires argument
+ if ( !match[ 3 ] ) {
+ Sizzle.error( match[ 0 ] );
+ }
+
+ // numeric x and y parameters for Expr.filter.CHILD
+ // remember that false/true cast respectively to 0/1
+ match[ 4 ] = +( match[ 4 ] ?
+ match[ 5 ] + ( match[ 6 ] || 1 ) :
+ 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) );
+ match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" );
+
+ // other types prohibit arguments
+ } else if ( match[ 3 ] ) {
+ Sizzle.error( match[ 0 ] );
+ }
+
+ return match;
+ },
+
+ "PSEUDO": function( match ) {
+ var excess,
+ unquoted = !match[ 6 ] && match[ 2 ];
+
+ if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) {
+ return null;
+ }
+
+ // Accept quoted arguments as-is
+ if ( match[ 3 ] ) {
+ match[ 2 ] = match[ 4 ] || match[ 5 ] || "";
+
+ // Strip excess characters from unquoted arguments
+ } else if ( unquoted && rpseudo.test( unquoted ) &&
+
+ // Get excess from tokenize (recursively)
+ ( excess = tokenize( unquoted, true ) ) &&
+
+ // advance to the next closing parenthesis
+ ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) {
+
+ // excess is a negative index
+ match[ 0 ] = match[ 0 ].slice( 0, excess );
+ match[ 2 ] = unquoted.slice( 0, excess );
+ }
+
+ // Return only captures needed by the pseudo filter method (type and argument)
+ return match.slice( 0, 3 );
+ }
+ },
+
+ filter: {
+
+ "TAG": function( nodeNameSelector ) {
+ var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();
+ return nodeNameSelector === "*" ?
+ function() {
+ return true;
+ } :
+ function( elem ) {
+ return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
+ };
+ },
+
+ "CLASS": function( className ) {
+ var pattern = classCache[ className + " " ];
+
+ return pattern ||
+ ( pattern = new RegExp( "(^|" + whitespace +
+ ")" + className + "(" + whitespace + "|$)" ) ) && classCache(
+ className, function( elem ) {
+ return pattern.test(
+ typeof elem.className === "string" && elem.className ||
+ typeof elem.getAttribute !== "undefined" &&
+ elem.getAttribute( "class" ) ||
+ ""
+ );
+ } );
+ },
+
+ "ATTR": function( name, operator, check ) {
+ return function( elem ) {
+ var result = Sizzle.attr( elem, name );
+
+ if ( result == null ) {
+ return operator === "!=";
+ }
+ if ( !operator ) {
+ return true;
+ }
+
+ result += "";
+
+ /* eslint-disable max-len */
+
+ return operator === "=" ? result === check :
+ operator === "!=" ? result !== check :
+ operator === "^=" ? check && result.indexOf( check ) === 0 :
+ operator === "*=" ? check && result.indexOf( check ) > -1 :
+ operator === "$=" ? check && result.slice( -check.length ) === check :
+ operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 :
+ operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :
+ false;
+ /* eslint-enable max-len */
+
+ };
+ },
+
+ "CHILD": function( type, what, _argument, first, last ) {
+ var simple = type.slice( 0, 3 ) !== "nth",
+ forward = type.slice( -4 ) !== "last",
+ ofType = what === "of-type";
+
+ return first === 1 && last === 0 ?
+
+ // Shortcut for :nth-*(n)
+ function( elem ) {
+ return !!elem.parentNode;
+ } :
+
+ function( elem, _context, xml ) {
+ var cache, uniqueCache, outerCache, node, nodeIndex, start,
+ dir = simple !== forward ? "nextSibling" : "previousSibling",
+ parent = elem.parentNode,
+ name = ofType && elem.nodeName.toLowerCase(),
+ useCache = !xml && !ofType,
+ diff = false;
+
+ if ( parent ) {
+
+ // :(first|last|only)-(child|of-type)
+ if ( simple ) {
+ while ( dir ) {
+ node = elem;
+ while ( ( node = node[ dir ] ) ) {
+ if ( ofType ?
+ node.nodeName.toLowerCase() === name :
+ node.nodeType === 1 ) {
+
+ return false;
+ }
+ }
+
+ // Reverse direction for :only-* (if we haven't yet done so)
+ start = dir = type === "only" && !start && "nextSibling";
+ }
+ return true;
+ }
+
+ start = [ forward ? parent.firstChild : parent.lastChild ];
+
+ // non-xml :nth-child(...) stores cache data on `parent`
+ if ( forward && useCache ) {
+
+ // Seek `elem` from a previously-cached index
+
+ // ...in a gzip-friendly way
+ node = parent;
+ outerCache = node[ expando ] || ( node[ expando ] = {} );
+
+ // Support: IE <9 only
+ // Defend against cloned attroperties (jQuery gh-1709)
+ uniqueCache = outerCache[ node.uniqueID ] ||
+ ( outerCache[ node.uniqueID ] = {} );
+
+ cache = uniqueCache[ type ] || [];
+ nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
+ diff = nodeIndex && cache[ 2 ];
+ node = nodeIndex && parent.childNodes[ nodeIndex ];
+
+ while ( ( node = ++nodeIndex && node && node[ dir ] ||
+
+ // Fallback to seeking `elem` from the start
+ ( diff = nodeIndex = 0 ) || start.pop() ) ) {
+
+ // When found, cache indexes on `parent` and break
+ if ( node.nodeType === 1 && ++diff && node === elem ) {
+ uniqueCache[ type ] = [ dirruns, nodeIndex, diff ];
+ break;
+ }
+ }
+
+ } else {
+
+ // Use previously-cached element index if available
+ if ( useCache ) {
+
+ // ...in a gzip-friendly way
+ node = elem;
+ outerCache = node[ expando ] || ( node[ expando ] = {} );
+
+ // Support: IE <9 only
+ // Defend against cloned attroperties (jQuery gh-1709)
+ uniqueCache = outerCache[ node.uniqueID ] ||
+ ( outerCache[ node.uniqueID ] = {} );
+
+ cache = uniqueCache[ type ] || [];
+ nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
+ diff = nodeIndex;
+ }
+
+ // xml :nth-child(...)
+ // or :nth-last-child(...) or :nth(-last)?-of-type(...)
+ if ( diff === false ) {
+
+ // Use the same loop as above to seek `elem` from the start
+ while ( ( node = ++nodeIndex && node && node[ dir ] ||
+ ( diff = nodeIndex = 0 ) || start.pop() ) ) {
+
+ if ( ( ofType ?
+ node.nodeName.toLowerCase() === name :
+ node.nodeType === 1 ) &&
+ ++diff ) {
+
+ // Cache the index of each encountered element
+ if ( useCache ) {
+ outerCache = node[ expando ] ||
+ ( node[ expando ] = {} );
+
+ // Support: IE <9 only
+ // Defend against cloned attroperties (jQuery gh-1709)
+ uniqueCache = outerCache[ node.uniqueID ] ||
+ ( outerCache[ node.uniqueID ] = {} );
+
+ uniqueCache[ type ] = [ dirruns, diff ];
+ }
+
+ if ( node === elem ) {
+ break;
+ }
+ }
+ }
+ }
+ }
+
+ // Incorporate the offset, then check against cycle size
+ diff -= last;
+ return diff === first || ( diff % first === 0 && diff / first >= 0 );
+ }
+ };
+ },
+
+ "PSEUDO": function( pseudo, argument ) {
+
+ // pseudo-class names are case-insensitive
+ // http://www.w3.org/TR/selectors/#pseudo-classes
+ // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
+ // Remember that setFilters inherits from pseudos
+ var args,
+ fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||
+ Sizzle.error( "unsupported pseudo: " + pseudo );
+
+ // The user may use createPseudo to indicate that
+ // arguments are needed to create the filter function
+ // just as Sizzle does
+ if ( fn[ expando ] ) {
+ return fn( argument );
+ }
+
+ // But maintain support for old signatures
+ if ( fn.length > 1 ) {
+ args = [ pseudo, pseudo, "", argument ];
+ return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?
+ markFunction( function( seed, matches ) {
+ var idx,
+ matched = fn( seed, argument ),
+ i = matched.length;
+ while ( i-- ) {
+ idx = indexOf( seed, matched[ i ] );
+ seed[ idx ] = !( matches[ idx ] = matched[ i ] );
+ }
+ } ) :
+ function( elem ) {
+ return fn( elem, 0, args );
+ };
+ }
+
+ return fn;
+ }
+ },
+
+ pseudos: {
+
+ // Potentially complex pseudos
+ "not": markFunction( function( selector ) {
+
+ // Trim the selector passed to compile
+ // to avoid treating leading and trailing
+ // spaces as combinators
+ var input = [],
+ results = [],
+ matcher = compile( selector.replace( rtrim, "$1" ) );
+
+ return matcher[ expando ] ?
+ markFunction( function( seed, matches, _context, xml ) {
+ var elem,
+ unmatched = matcher( seed, null, xml, [] ),
+ i = seed.length;
+
+ // Match elements unmatched by `matcher`
+ while ( i-- ) {
+ if ( ( elem = unmatched[ i ] ) ) {
+ seed[ i ] = !( matches[ i ] = elem );
+ }
+ }
+ } ) :
+ function( elem, _context, xml ) {
+ input[ 0 ] = elem;
+ matcher( input, null, xml, results );
+
+ // Don't keep the element (issue #299)
+ input[ 0 ] = null;
+ return !results.pop();
+ };
+ } ),
+
+ "has": markFunction( function( selector ) {
+ return function( elem ) {
+ return Sizzle( selector, elem ).length > 0;
+ };
+ } ),
+
+ "contains": markFunction( function( text ) {
+ text = text.replace( runescape, funescape );
+ return function( elem ) {
+ return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1;
+ };
+ } ),
+
+ // "Whether an element is represented by a :lang() selector
+ // is based solely on the element's language value
+ // being equal to the identifier C,
+ // or beginning with the identifier C immediately followed by "-".
+ // The matching of C against the element's language value is performed case-insensitively.
+ // The identifier C does not have to be a valid language name."
+ // http://www.w3.org/TR/selectors/#lang-pseudo
+ "lang": markFunction( function( lang ) {
+
+ // lang value must be a valid identifier
+ if ( !ridentifier.test( lang || "" ) ) {
+ Sizzle.error( "unsupported lang: " + lang );
+ }
+ lang = lang.replace( runescape, funescape ).toLowerCase();
+ return function( elem ) {
+ var elemLang;
+ do {
+ if ( ( elemLang = documentIsHTML ?
+ elem.lang :
+ elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) {
+
+ elemLang = elemLang.toLowerCase();
+ return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0;
+ }
+ } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 );
+ return false;
+ };
+ } ),
+
+ // Miscellaneous
+ "target": function( elem ) {
+ var hash = window.location && window.location.hash;
+ return hash && hash.slice( 1 ) === elem.id;
+ },
+
+ "root": function( elem ) {
+ return elem === docElem;
+ },
+
+ "focus": function( elem ) {
+ return elem === document.activeElement &&
+ ( !document.hasFocus || document.hasFocus() ) &&
+ !!( elem.type || elem.href || ~elem.tabIndex );
+ },
+
+ // Boolean properties
+ "enabled": createDisabledPseudo( false ),
+ "disabled": createDisabledPseudo( true ),
+
+ "checked": function( elem ) {
+
+ // In CSS3, :checked should return both checked and selected elements
+ // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+ var nodeName = elem.nodeName.toLowerCase();
+ return ( nodeName === "input" && !!elem.checked ) ||
+ ( nodeName === "option" && !!elem.selected );
+ },
+
+ "selected": function( elem ) {
+
+ // Accessing this property makes selected-by-default
+ // options in Safari work properly
+ if ( elem.parentNode ) {
+ // eslint-disable-next-line no-unused-expressions
+ elem.parentNode.selectedIndex;
+ }
+
+ return elem.selected === true;
+ },
+
+ // Contents
+ "empty": function( elem ) {
+
+ // http://www.w3.org/TR/selectors/#empty-pseudo
+ // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
+ // but not by others (comment: 8; processing instruction: 7; etc.)
+ // nodeType < 6 works because attributes (2) do not appear as children
+ for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
+ if ( elem.nodeType < 6 ) {
+ return false;
+ }
+ }
+ return true;
+ },
+
+ "parent": function( elem ) {
+ return !Expr.pseudos[ "empty" ]( elem );
+ },
+
+ // Element/input types
+ "header": function( elem ) {
+ return rheader.test( elem.nodeName );
+ },
+
+ "input": function( elem ) {
+ return rinputs.test( elem.nodeName );
+ },
+
+ "button": function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return name === "input" && elem.type === "button" || name === "button";
+ },
+
+ "text": function( elem ) {
+ var attr;
+ return elem.nodeName.toLowerCase() === "input" &&
+ elem.type === "text" &&
+
+ // Support: IE<8
+ // New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
+ ( ( attr = elem.getAttribute( "type" ) ) == null ||
+ attr.toLowerCase() === "text" );
+ },
+
+ // Position-in-collection
+ "first": createPositionalPseudo( function() {
+ return [ 0 ];
+ } ),
+
+ "last": createPositionalPseudo( function( _matchIndexes, length ) {
+ return [ length - 1 ];
+ } ),
+
+ "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) {
+ return [ argument < 0 ? argument + length : argument ];
+ } ),
+
+ "even": createPositionalPseudo( function( matchIndexes, length ) {
+ var i = 0;
+ for ( ; i < length; i += 2 ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ } ),
+
+ "odd": createPositionalPseudo( function( matchIndexes, length ) {
+ var i = 1;
+ for ( ; i < length; i += 2 ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ } ),
+
+ "lt": createPositionalPseudo( function( matchIndexes, length, argument ) {
+ var i = argument < 0 ?
+ argument + length :
+ argument > length ?
+ length :
+ argument;
+ for ( ; --i >= 0; ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ } ),
+
+ "gt": createPositionalPseudo( function( matchIndexes, length, argument ) {
+ var i = argument < 0 ? argument + length : argument;
+ for ( ; ++i < length; ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ } )
+ }
+};
+
+Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ];
+
+// Add button/input type pseudos
+for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {
+ Expr.pseudos[ i ] = createInputPseudo( i );
+}
+for ( i in { submit: true, reset: true } ) {
+ Expr.pseudos[ i ] = createButtonPseudo( i );
+}
+
+// Easy API for creating new setFilters
+function setFilters() {}
+setFilters.prototype = Expr.filters = Expr.pseudos;
+Expr.setFilters = new setFilters();
+
+tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
+ var matched, match, tokens, type,
+ soFar, groups, preFilters,
+ cached = tokenCache[ selector + " " ];
+
+ if ( cached ) {
+ return parseOnly ? 0 : cached.slice( 0 );
+ }
+
+ soFar = selector;
+ groups = [];
+ preFilters = Expr.preFilter;
+
+ while ( soFar ) {
+
+ // Comma and first run
+ if ( !matched || ( match = rcomma.exec( soFar ) ) ) {
+ if ( match ) {
+
+ // Don't consume trailing commas as valid
+ soFar = soFar.slice( match[ 0 ].length ) || soFar;
+ }
+ groups.push( ( tokens = [] ) );
+ }
+
+ matched = false;
+
+ // Combinators
+ if ( ( match = rcombinators.exec( soFar ) ) ) {
+ matched = match.shift();
+ tokens.push( {
+ value: matched,
+
+ // Cast descendant combinators to space
+ type: match[ 0 ].replace( rtrim, " " )
+ } );
+ soFar = soFar.slice( matched.length );
+ }
+
+ // Filters
+ for ( type in Expr.filter ) {
+ if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] ||
+ ( match = preFilters[ type ]( match ) ) ) ) {
+ matched = match.shift();
+ tokens.push( {
+ value: matched,
+ type: type,
+ matches: match
+ } );
+ soFar = soFar.slice( matched.length );
+ }
+ }
+
+ if ( !matched ) {
+ break;
+ }
+ }
+
+ // Return the length of the invalid excess
+ // if we're just parsing
+ // Otherwise, throw an error or return tokens
+ return parseOnly ?
+ soFar.length :
+ soFar ?
+ Sizzle.error( selector ) :
+
+ // Cache the tokens
+ tokenCache( selector, groups ).slice( 0 );
+};
+
+function toSelector( tokens ) {
+ var i = 0,
+ len = tokens.length,
+ selector = "";
+ for ( ; i < len; i++ ) {
+ selector += tokens[ i ].value;
+ }
+ return selector;
+}
+
+function addCombinator( matcher, combinator, base ) {
+ var dir = combinator.dir,
+ skip = combinator.next,
+ key = skip || dir,
+ checkNonElements = base && key === "parentNode",
+ doneName = done++;
+
+ return combinator.first ?
+
+ // Check against closest ancestor/preceding element
+ function( elem, context, xml ) {
+ while ( ( elem = elem[ dir ] ) ) {
+ if ( elem.nodeType === 1 || checkNonElements ) {
+ return matcher( elem, context, xml );
+ }
+ }
+ return false;
+ } :
+
+ // Check against all ancestor/preceding elements
+ function( elem, context, xml ) {
+ var oldCache, uniqueCache, outerCache,
+ newCache = [ dirruns, doneName ];
+
+ // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching
+ if ( xml ) {
+ while ( ( elem = elem[ dir ] ) ) {
+ if ( elem.nodeType === 1 || checkNonElements ) {
+ if ( matcher( elem, context, xml ) ) {
+ return true;
+ }
+ }
+ }
+ } else {
+ while ( ( elem = elem[ dir ] ) ) {
+ if ( elem.nodeType === 1 || checkNonElements ) {
+ outerCache = elem[ expando ] || ( elem[ expando ] = {} );
+
+ // Support: IE <9 only
+ // Defend against cloned attroperties (jQuery gh-1709)
+ uniqueCache = outerCache[ elem.uniqueID ] ||
+ ( outerCache[ elem.uniqueID ] = {} );
+
+ if ( skip && skip === elem.nodeName.toLowerCase() ) {
+ elem = elem[ dir ] || elem;
+ } else if ( ( oldCache = uniqueCache[ key ] ) &&
+ oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {
+
+ // Assign to newCache so results back-propagate to previous elements
+ return ( newCache[ 2 ] = oldCache[ 2 ] );
+ } else {
+
+ // Reuse newcache so results back-propagate to previous elements
+ uniqueCache[ key ] = newCache;
+
+ // A match means we're done; a fail means we have to keep checking
+ if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) {
+ return true;
+ }
+ }
+ }
+ }
+ }
+ return false;
+ };
+}
+
+function elementMatcher( matchers ) {
+ return matchers.length > 1 ?
+ function( elem, context, xml ) {
+ var i = matchers.length;
+ while ( i-- ) {
+ if ( !matchers[ i ]( elem, context, xml ) ) {
+ return false;
+ }
+ }
+ return true;
+ } :
+ matchers[ 0 ];
+}
+
+function multipleContexts( selector, contexts, results ) {
+ var i = 0,
+ len = contexts.length;
+ for ( ; i < len; i++ ) {
+ Sizzle( selector, contexts[ i ], results );
+ }
+ return results;
+}
+
+function condense( unmatched, map, filter, context, xml ) {
+ var elem,
+ newUnmatched = [],
+ i = 0,
+ len = unmatched.length,
+ mapped = map != null;
+
+ for ( ; i < len; i++ ) {
+ if ( ( elem = unmatched[ i ] ) ) {
+ if ( !filter || filter( elem, context, xml ) ) {
+ newUnmatched.push( elem );
+ if ( mapped ) {
+ map.push( i );
+ }
+ }
+ }
+ }
+
+ return newUnmatched;
+}
+
+function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
+ if ( postFilter && !postFilter[ expando ] ) {
+ postFilter = setMatcher( postFilter );
+ }
+ if ( postFinder && !postFinder[ expando ] ) {
+ postFinder = setMatcher( postFinder, postSelector );
+ }
+ return markFunction( function( seed, results, context, xml ) {
+ var temp, i, elem,
+ preMap = [],
+ postMap = [],
+ preexisting = results.length,
+
+ // Get initial elements from seed or context
+ elems = seed || multipleContexts(
+ selector || "*",
+ context.nodeType ? [ context ] : context,
+ []
+ ),
+
+ // Prefilter to get matcher input, preserving a map for seed-results synchronization
+ matcherIn = preFilter && ( seed || !selector ) ?
+ condense( elems, preMap, preFilter, context, xml ) :
+ elems,
+
+ matcherOut = matcher ?
+
+ // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
+ postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
+
+ // ...intermediate processing is necessary
+ [] :
+
+ // ...otherwise use results directly
+ results :
+ matcherIn;
+
+ // Find primary matches
+ if ( matcher ) {
+ matcher( matcherIn, matcherOut, context, xml );
+ }
+
+ // Apply postFilter
+ if ( postFilter ) {
+ temp = condense( matcherOut, postMap );
+ postFilter( temp, [], context, xml );
+
+ // Un-match failing elements by moving them back to matcherIn
+ i = temp.length;
+ while ( i-- ) {
+ if ( ( elem = temp[ i ] ) ) {
+ matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem );
+ }
+ }
+ }
+
+ if ( seed ) {
+ if ( postFinder || preFilter ) {
+ if ( postFinder ) {
+
+ // Get the final matcherOut by condensing this intermediate into postFinder contexts
+ temp = [];
+ i = matcherOut.length;
+ while ( i-- ) {
+ if ( ( elem = matcherOut[ i ] ) ) {
+
+ // Restore matcherIn since elem is not yet a final match
+ temp.push( ( matcherIn[ i ] = elem ) );
+ }
+ }
+ postFinder( null, ( matcherOut = [] ), temp, xml );
+ }
+
+ // Move matched elements from seed to results to keep them synchronized
+ i = matcherOut.length;
+ while ( i-- ) {
+ if ( ( elem = matcherOut[ i ] ) &&
+ ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) {
+
+ seed[ temp ] = !( results[ temp ] = elem );
+ }
+ }
+ }
+
+ // Add elements to results, through postFinder if defined
+ } else {
+ matcherOut = condense(
+ matcherOut === results ?
+ matcherOut.splice( preexisting, matcherOut.length ) :
+ matcherOut
+ );
+ if ( postFinder ) {
+ postFinder( null, results, matcherOut, xml );
+ } else {
+ push.apply( results, matcherOut );
+ }
+ }
+ } );
+}
+
+function matcherFromTokens( tokens ) {
+ var checkContext, matcher, j,
+ len = tokens.length,
+ leadingRelative = Expr.relative[ tokens[ 0 ].type ],
+ implicitRelative = leadingRelative || Expr.relative[ " " ],
+ i = leadingRelative ? 1 : 0,
+
+ // The foundational matcher ensures that elements are reachable from top-level context(s)
+ matchContext = addCombinator( function( elem ) {
+ return elem === checkContext;
+ }, implicitRelative, true ),
+ matchAnyContext = addCombinator( function( elem ) {
+ return indexOf( checkContext, elem ) > -1;
+ }, implicitRelative, true ),
+ matchers = [ function( elem, context, xml ) {
+ var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
+ ( checkContext = context ).nodeType ?
+ matchContext( elem, context, xml ) :
+ matchAnyContext( elem, context, xml ) );
+
+ // Avoid hanging onto element (issue #299)
+ checkContext = null;
+ return ret;
+ } ];
+
+ for ( ; i < len; i++ ) {
+ if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) {
+ matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ];
+ } else {
+ matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches );
+
+ // Return special upon seeing a positional matcher
+ if ( matcher[ expando ] ) {
+
+ // Find the next relative operator (if any) for proper handling
+ j = ++i;
+ for ( ; j < len; j++ ) {
+ if ( Expr.relative[ tokens[ j ].type ] ) {
+ break;
+ }
+ }
+ return setMatcher(
+ i > 1 && elementMatcher( matchers ),
+ i > 1 && toSelector(
+
+ // If the preceding token was a descendant combinator, insert an implicit any-element `*`
+ tokens
+ .slice( 0, i - 1 )
+ .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } )
+ ).replace( rtrim, "$1" ),
+ matcher,
+ i < j && matcherFromTokens( tokens.slice( i, j ) ),
+ j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ),
+ j < len && toSelector( tokens )
+ );
+ }
+ matchers.push( matcher );
+ }
+ }
+
+ return elementMatcher( matchers );
+}
+
+function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
+ var bySet = setMatchers.length > 0,
+ byElement = elementMatchers.length > 0,
+ superMatcher = function( seed, context, xml, results, outermost ) {
+ var elem, j, matcher,
+ matchedCount = 0,
+ i = "0",
+ unmatched = seed && [],
+ setMatched = [],
+ contextBackup = outermostContext,
+
+ // We must always have either seed elements or outermost context
+ elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ),
+
+ // Use integer dirruns iff this is the outermost matcher
+ dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ),
+ len = elems.length;
+
+ if ( outermost ) {
+
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ outermostContext = context == document || context || outermost;
+ }
+
+ // Add elements passing elementMatchers directly to results
+ // Support: IE<9, Safari
+ // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id
+ for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) {
+ if ( byElement && elem ) {
+ j = 0;
+
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ if ( !context && elem.ownerDocument != document ) {
+ setDocument( elem );
+ xml = !documentIsHTML;
+ }
+ while ( ( matcher = elementMatchers[ j++ ] ) ) {
+ if ( matcher( elem, context || document, xml ) ) {
+ results.push( elem );
+ break;
+ }
+ }
+ if ( outermost ) {
+ dirruns = dirrunsUnique;
+ }
+ }
+
+ // Track unmatched elements for set filters
+ if ( bySet ) {
+
+ // They will have gone through all possible matchers
+ if ( ( elem = !matcher && elem ) ) {
+ matchedCount--;
+ }
+
+ // Lengthen the array for every element, matched or not
+ if ( seed ) {
+ unmatched.push( elem );
+ }
+ }
+ }
+
+ // `i` is now the count of elements visited above, and adding it to `matchedCount`
+ // makes the latter nonnegative.
+ matchedCount += i;
+
+ // Apply set filters to unmatched elements
+ // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`
+ // equals `i`), unless we didn't visit _any_ elements in the above loop because we have
+ // no element matchers and no seed.
+ // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that
+ // case, which will result in a "00" `matchedCount` that differs from `i` but is also
+ // numerically zero.
+ if ( bySet && i !== matchedCount ) {
+ j = 0;
+ while ( ( matcher = setMatchers[ j++ ] ) ) {
+ matcher( unmatched, setMatched, context, xml );
+ }
+
+ if ( seed ) {
+
+ // Reintegrate element matches to eliminate the need for sorting
+ if ( matchedCount > 0 ) {
+ while ( i-- ) {
+ if ( !( unmatched[ i ] || setMatched[ i ] ) ) {
+ setMatched[ i ] = pop.call( results );
+ }
+ }
+ }
+
+ // Discard index placeholder values to get only actual matches
+ setMatched = condense( setMatched );
+ }
+
+ // Add matches to results
+ push.apply( results, setMatched );
+
+ // Seedless set matches succeeding multiple successful matchers stipulate sorting
+ if ( outermost && !seed && setMatched.length > 0 &&
+ ( matchedCount + setMatchers.length ) > 1 ) {
+
+ Sizzle.uniqueSort( results );
+ }
+ }
+
+ // Override manipulation of globals by nested matchers
+ if ( outermost ) {
+ dirruns = dirrunsUnique;
+ outermostContext = contextBackup;
+ }
+
+ return unmatched;
+ };
+
+ return bySet ?
+ markFunction( superMatcher ) :
+ superMatcher;
+}
+
+compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {
+ var i,
+ setMatchers = [],
+ elementMatchers = [],
+ cached = compilerCache[ selector + " " ];
+
+ if ( !cached ) {
+
+ // Generate a function of recursive functions that can be used to check each element
+ if ( !match ) {
+ match = tokenize( selector );
+ }
+ i = match.length;
+ while ( i-- ) {
+ cached = matcherFromTokens( match[ i ] );
+ if ( cached[ expando ] ) {
+ setMatchers.push( cached );
+ } else {
+ elementMatchers.push( cached );
+ }
+ }
+
+ // Cache the compiled function
+ cached = compilerCache(
+ selector,
+ matcherFromGroupMatchers( elementMatchers, setMatchers )
+ );
+
+ // Save selector and tokenization
+ cached.selector = selector;
+ }
+ return cached;
+};
+
+/**
+ * A low-level selection function that works with Sizzle's compiled
+ * selector functions
+ * @param {String|Function} selector A selector or a pre-compiled
+ * selector function built with Sizzle.compile
+ * @param {Element} context
+ * @param {Array} [results]
+ * @param {Array} [seed] A set of elements to match against
+ */
+select = Sizzle.select = function( selector, context, results, seed ) {
+ var i, tokens, token, type, find,
+ compiled = typeof selector === "function" && selector,
+ match = !seed && tokenize( ( selector = compiled.selector || selector ) );
+
+ results = results || [];
+
+ // Try to minimize operations if there is only one selector in the list and no seed
+ // (the latter of which guarantees us context)
+ if ( match.length === 1 ) {
+
+ // Reduce context if the leading compound selector is an ID
+ tokens = match[ 0 ] = match[ 0 ].slice( 0 );
+ if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" &&
+ context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {
+
+ context = ( Expr.find[ "ID" ]( token.matches[ 0 ]
+ .replace( runescape, funescape ), context ) || [] )[ 0 ];
+ if ( !context ) {
+ return results;
+
+ // Precompiled matchers will still verify ancestry, so step up a level
+ } else if ( compiled ) {
+ context = context.parentNode;
+ }
+
+ selector = selector.slice( tokens.shift().value.length );
+ }
+
+ // Fetch a seed set for right-to-left matching
+ i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length;
+ while ( i-- ) {
+ token = tokens[ i ];
+
+ // Abort if we hit a combinator
+ if ( Expr.relative[ ( type = token.type ) ] ) {
+ break;
+ }
+ if ( ( find = Expr.find[ type ] ) ) {
+
+ // Search, expanding context for leading sibling combinators
+ if ( ( seed = find(
+ token.matches[ 0 ].replace( runescape, funescape ),
+ rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) ||
+ context
+ ) ) ) {
+
+ // If seed is empty or no tokens remain, we can return early
+ tokens.splice( i, 1 );
+ selector = seed.length && toSelector( tokens );
+ if ( !selector ) {
+ push.apply( results, seed );
+ return results;
+ }
+
+ break;
+ }
+ }
+ }
+ }
+
+ // Compile and execute a filtering function if one is not provided
+ // Provide `match` to avoid retokenization if we modified the selector above
+ ( compiled || compile( selector, match ) )(
+ seed,
+ context,
+ !documentIsHTML,
+ results,
+ !context || rsibling.test( selector ) && testContext( context.parentNode ) || context
+ );
+ return results;
+};
+
+// One-time assignments
+
+// Sort stability
+support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando;
+
+// Support: Chrome 14-35+
+// Always assume duplicates if they aren't passed to the comparison function
+support.detectDuplicates = !!hasDuplicate;
+
+// Initialize against the default document
+setDocument();
+
+// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
+// Detached nodes confoundingly follow *each other*
+support.sortDetached = assert( function( el ) {
+
+ // Should return 1, but returns 4 (following)
+ return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1;
+} );
+
+// Support: IE<8
+// Prevent attribute/property "interpolation"
+// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
+if ( !assert( function( el ) {
+ el.innerHTML = " ";
+ return el.firstChild.getAttribute( "href" ) === "#";
+} ) ) {
+ addHandle( "type|href|height|width", function( elem, name, isXML ) {
+ if ( !isXML ) {
+ return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 );
+ }
+ } );
+}
+
+// Support: IE<9
+// Use defaultValue in place of getAttribute("value")
+if ( !support.attributes || !assert( function( el ) {
+ el.innerHTML = " ";
+ el.firstChild.setAttribute( "value", "" );
+ return el.firstChild.getAttribute( "value" ) === "";
+} ) ) {
+ addHandle( "value", function( elem, _name, isXML ) {
+ if ( !isXML && elem.nodeName.toLowerCase() === "input" ) {
+ return elem.defaultValue;
+ }
+ } );
+}
+
+// Support: IE<9
+// Use getAttributeNode to fetch booleans when getAttribute lies
+if ( !assert( function( el ) {
+ return el.getAttribute( "disabled" ) == null;
+} ) ) {
+ addHandle( booleans, function( elem, name, isXML ) {
+ var val;
+ if ( !isXML ) {
+ return elem[ name ] === true ? name.toLowerCase() :
+ ( val = elem.getAttributeNode( name ) ) && val.specified ?
+ val.value :
+ null;
+ }
+ } );
+}
+
+return Sizzle;
+
+} )( window );
+
+
+
+jQuery.find = Sizzle;
+jQuery.expr = Sizzle.selectors;
+
+// Deprecated
+jQuery.expr[ ":" ] = jQuery.expr.pseudos;
+jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;
+jQuery.text = Sizzle.getText;
+jQuery.isXMLDoc = Sizzle.isXML;
+jQuery.contains = Sizzle.contains;
+jQuery.escapeSelector = Sizzle.escape;
+
+
+
+
+var dir = function( elem, dir, until ) {
+ var matched = [],
+ truncate = until !== undefined;
+
+ while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {
+ if ( elem.nodeType === 1 ) {
+ if ( truncate && jQuery( elem ).is( until ) ) {
+ break;
+ }
+ matched.push( elem );
+ }
+ }
+ return matched;
+};
+
+
+var siblings = function( n, elem ) {
+ var matched = [];
+
+ for ( ; n; n = n.nextSibling ) {
+ if ( n.nodeType === 1 && n !== elem ) {
+ matched.push( n );
+ }
+ }
+
+ return matched;
+};
+
+
+var rneedsContext = jQuery.expr.match.needsContext;
+
+
+
+function nodeName( elem, name ) {
+
+ return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
+
+};
+var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i );
+
+
+
+// Implement the identical functionality for filter and not
+function winnow( elements, qualifier, not ) {
+ if ( isFunction( qualifier ) ) {
+ return jQuery.grep( elements, function( elem, i ) {
+ return !!qualifier.call( elem, i, elem ) !== not;
+ } );
+ }
+
+ // Single element
+ if ( qualifier.nodeType ) {
+ return jQuery.grep( elements, function( elem ) {
+ return ( elem === qualifier ) !== not;
+ } );
+ }
+
+ // Arraylike of elements (jQuery, arguments, Array)
+ if ( typeof qualifier !== "string" ) {
+ return jQuery.grep( elements, function( elem ) {
+ return ( indexOf.call( qualifier, elem ) > -1 ) !== not;
+ } );
+ }
+
+ // Filtered directly for both simple and complex selectors
+ return jQuery.filter( qualifier, elements, not );
+}
+
+jQuery.filter = function( expr, elems, not ) {
+ var elem = elems[ 0 ];
+
+ if ( not ) {
+ expr = ":not(" + expr + ")";
+ }
+
+ if ( elems.length === 1 && elem.nodeType === 1 ) {
+ return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];
+ }
+
+ return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {
+ return elem.nodeType === 1;
+ } ) );
+};
+
+jQuery.fn.extend( {
+ find: function( selector ) {
+ var i, ret,
+ len = this.length,
+ self = this;
+
+ if ( typeof selector !== "string" ) {
+ return this.pushStack( jQuery( selector ).filter( function() {
+ for ( i = 0; i < len; i++ ) {
+ if ( jQuery.contains( self[ i ], this ) ) {
+ return true;
+ }
+ }
+ } ) );
+ }
+
+ ret = this.pushStack( [] );
+
+ for ( i = 0; i < len; i++ ) {
+ jQuery.find( selector, self[ i ], ret );
+ }
+
+ return len > 1 ? jQuery.uniqueSort( ret ) : ret;
+ },
+ filter: function( selector ) {
+ return this.pushStack( winnow( this, selector || [], false ) );
+ },
+ not: function( selector ) {
+ return this.pushStack( winnow( this, selector || [], true ) );
+ },
+ is: function( selector ) {
+ return !!winnow(
+ this,
+
+ // If this is a positional/relative selector, check membership in the returned set
+ // so $("p:first").is("p:last") won't return true for a doc with two "p".
+ typeof selector === "string" && rneedsContext.test( selector ) ?
+ jQuery( selector ) :
+ selector || [],
+ false
+ ).length;
+ }
+} );
+
+
+// Initialize a jQuery object
+
+
+// A central reference to the root jQuery(document)
+var rootjQuery,
+
+ // A simple way to check for HTML strings
+ // Prioritize #id over to avoid XSS via location.hash (#9521)
+ // Strict HTML recognition (#11290: must start with <)
+ // Shortcut simple #id case for speed
+ rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,
+
+ init = jQuery.fn.init = function( selector, context, root ) {
+ var match, elem;
+
+ // HANDLE: $(""), $(null), $(undefined), $(false)
+ if ( !selector ) {
+ return this;
+ }
+
+ // Method init() accepts an alternate rootjQuery
+ // so migrate can support jQuery.sub (gh-2101)
+ root = root || rootjQuery;
+
+ // Handle HTML strings
+ if ( typeof selector === "string" ) {
+ if ( selector[ 0 ] === "<" &&
+ selector[ selector.length - 1 ] === ">" &&
+ selector.length >= 3 ) {
+
+ // Assume that strings that start and end with <> are HTML and skip the regex check
+ match = [ null, selector, null ];
+
+ } else {
+ match = rquickExpr.exec( selector );
+ }
+
+ // Match html or make sure no context is specified for #id
+ if ( match && ( match[ 1 ] || !context ) ) {
+
+ // HANDLE: $(html) -> $(array)
+ if ( match[ 1 ] ) {
+ context = context instanceof jQuery ? context[ 0 ] : context;
+
+ // Option to run scripts is true for back-compat
+ // Intentionally let the error be thrown if parseHTML is not present
+ jQuery.merge( this, jQuery.parseHTML(
+ match[ 1 ],
+ context && context.nodeType ? context.ownerDocument || context : document,
+ true
+ ) );
+
+ // HANDLE: $(html, props)
+ if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {
+ for ( match in context ) {
+
+ // Properties of context are called as methods if possible
+ if ( isFunction( this[ match ] ) ) {
+ this[ match ]( context[ match ] );
+
+ // ...and otherwise set as attributes
+ } else {
+ this.attr( match, context[ match ] );
+ }
+ }
+ }
+
+ return this;
+
+ // HANDLE: $(#id)
+ } else {
+ elem = document.getElementById( match[ 2 ] );
+
+ if ( elem ) {
+
+ // Inject the element directly into the jQuery object
+ this[ 0 ] = elem;
+ this.length = 1;
+ }
+ return this;
+ }
+
+ // HANDLE: $(expr, $(...))
+ } else if ( !context || context.jquery ) {
+ return ( context || root ).find( selector );
+
+ // HANDLE: $(expr, context)
+ // (which is just equivalent to: $(context).find(expr)
+ } else {
+ return this.constructor( context ).find( selector );
+ }
+
+ // HANDLE: $(DOMElement)
+ } else if ( selector.nodeType ) {
+ this[ 0 ] = selector;
+ this.length = 1;
+ return this;
+
+ // HANDLE: $(function)
+ // Shortcut for document ready
+ } else if ( isFunction( selector ) ) {
+ return root.ready !== undefined ?
+ root.ready( selector ) :
+
+ // Execute immediately if ready is not present
+ selector( jQuery );
+ }
+
+ return jQuery.makeArray( selector, this );
+ };
+
+// Give the init function the jQuery prototype for later instantiation
+init.prototype = jQuery.fn;
+
+// Initialize central reference
+rootjQuery = jQuery( document );
+
+
+var rparentsprev = /^(?:parents|prev(?:Until|All))/,
+
+ // Methods guaranteed to produce a unique set when starting from a unique set
+ guaranteedUnique = {
+ children: true,
+ contents: true,
+ next: true,
+ prev: true
+ };
+
+jQuery.fn.extend( {
+ has: function( target ) {
+ var targets = jQuery( target, this ),
+ l = targets.length;
+
+ return this.filter( function() {
+ var i = 0;
+ for ( ; i < l; i++ ) {
+ if ( jQuery.contains( this, targets[ i ] ) ) {
+ return true;
+ }
+ }
+ } );
+ },
+
+ closest: function( selectors, context ) {
+ var cur,
+ i = 0,
+ l = this.length,
+ matched = [],
+ targets = typeof selectors !== "string" && jQuery( selectors );
+
+ // Positional selectors never match, since there's no _selection_ context
+ if ( !rneedsContext.test( selectors ) ) {
+ for ( ; i < l; i++ ) {
+ for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {
+
+ // Always skip document fragments
+ if ( cur.nodeType < 11 && ( targets ?
+ targets.index( cur ) > -1 :
+
+ // Don't pass non-elements to Sizzle
+ cur.nodeType === 1 &&
+ jQuery.find.matchesSelector( cur, selectors ) ) ) {
+
+ matched.push( cur );
+ break;
+ }
+ }
+ }
+ }
+
+ return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );
+ },
+
+ // Determine the position of an element within the set
+ index: function( elem ) {
+
+ // No argument, return index in parent
+ if ( !elem ) {
+ return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;
+ }
+
+ // Index in selector
+ if ( typeof elem === "string" ) {
+ return indexOf.call( jQuery( elem ), this[ 0 ] );
+ }
+
+ // Locate the position of the desired element
+ return indexOf.call( this,
+
+ // If it receives a jQuery object, the first element is used
+ elem.jquery ? elem[ 0 ] : elem
+ );
+ },
+
+ add: function( selector, context ) {
+ return this.pushStack(
+ jQuery.uniqueSort(
+ jQuery.merge( this.get(), jQuery( selector, context ) )
+ )
+ );
+ },
+
+ addBack: function( selector ) {
+ return this.add( selector == null ?
+ this.prevObject : this.prevObject.filter( selector )
+ );
+ }
+} );
+
+function sibling( cur, dir ) {
+ while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}
+ return cur;
+}
+
+jQuery.each( {
+ parent: function( elem ) {
+ var parent = elem.parentNode;
+ return parent && parent.nodeType !== 11 ? parent : null;
+ },
+ parents: function( elem ) {
+ return dir( elem, "parentNode" );
+ },
+ parentsUntil: function( elem, _i, until ) {
+ return dir( elem, "parentNode", until );
+ },
+ next: function( elem ) {
+ return sibling( elem, "nextSibling" );
+ },
+ prev: function( elem ) {
+ return sibling( elem, "previousSibling" );
+ },
+ nextAll: function( elem ) {
+ return dir( elem, "nextSibling" );
+ },
+ prevAll: function( elem ) {
+ return dir( elem, "previousSibling" );
+ },
+ nextUntil: function( elem, _i, until ) {
+ return dir( elem, "nextSibling", until );
+ },
+ prevUntil: function( elem, _i, until ) {
+ return dir( elem, "previousSibling", until );
+ },
+ siblings: function( elem ) {
+ return siblings( ( elem.parentNode || {} ).firstChild, elem );
+ },
+ children: function( elem ) {
+ return siblings( elem.firstChild );
+ },
+ contents: function( elem ) {
+ if ( elem.contentDocument != null &&
+
+ // Support: IE 11+
+ // elements with no `data` attribute has an object
+ // `contentDocument` with a `null` prototype.
+ getProto( elem.contentDocument ) ) {
+
+ return elem.contentDocument;
+ }
+
+ // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only
+ // Treat the template element as a regular one in browsers that
+ // don't support it.
+ if ( nodeName( elem, "template" ) ) {
+ elem = elem.content || elem;
+ }
+
+ return jQuery.merge( [], elem.childNodes );
+ }
+}, function( name, fn ) {
+ jQuery.fn[ name ] = function( until, selector ) {
+ var matched = jQuery.map( this, fn, until );
+
+ if ( name.slice( -5 ) !== "Until" ) {
+ selector = until;
+ }
+
+ if ( selector && typeof selector === "string" ) {
+ matched = jQuery.filter( selector, matched );
+ }
+
+ if ( this.length > 1 ) {
+
+ // Remove duplicates
+ if ( !guaranteedUnique[ name ] ) {
+ jQuery.uniqueSort( matched );
+ }
+
+ // Reverse order for parents* and prev-derivatives
+ if ( rparentsprev.test( name ) ) {
+ matched.reverse();
+ }
+ }
+
+ return this.pushStack( matched );
+ };
+} );
+var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g );
+
+
+
+// Convert String-formatted options into Object-formatted ones
+function createOptions( options ) {
+ var object = {};
+ jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {
+ object[ flag ] = true;
+ } );
+ return object;
+}
+
+/*
+ * Create a callback list using the following parameters:
+ *
+ * options: an optional list of space-separated options that will change how
+ * the callback list behaves or a more traditional option object
+ *
+ * By default a callback list will act like an event callback list and can be
+ * "fired" multiple times.
+ *
+ * Possible options:
+ *
+ * once: will ensure the callback list can only be fired once (like a Deferred)
+ *
+ * memory: will keep track of previous values and will call any callback added
+ * after the list has been fired right away with the latest "memorized"
+ * values (like a Deferred)
+ *
+ * unique: will ensure a callback can only be added once (no duplicate in the list)
+ *
+ * stopOnFalse: interrupt callings when a callback returns false
+ *
+ */
+jQuery.Callbacks = function( options ) {
+
+ // Convert options from String-formatted to Object-formatted if needed
+ // (we check in cache first)
+ options = typeof options === "string" ?
+ createOptions( options ) :
+ jQuery.extend( {}, options );
+
+ var // Flag to know if list is currently firing
+ firing,
+
+ // Last fire value for non-forgettable lists
+ memory,
+
+ // Flag to know if list was already fired
+ fired,
+
+ // Flag to prevent firing
+ locked,
+
+ // Actual callback list
+ list = [],
+
+ // Queue of execution data for repeatable lists
+ queue = [],
+
+ // Index of currently firing callback (modified by add/remove as needed)
+ firingIndex = -1,
+
+ // Fire callbacks
+ fire = function() {
+
+ // Enforce single-firing
+ locked = locked || options.once;
+
+ // Execute callbacks for all pending executions,
+ // respecting firingIndex overrides and runtime changes
+ fired = firing = true;
+ for ( ; queue.length; firingIndex = -1 ) {
+ memory = queue.shift();
+ while ( ++firingIndex < list.length ) {
+
+ // Run callback and check for early termination
+ if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&
+ options.stopOnFalse ) {
+
+ // Jump to end and forget the data so .add doesn't re-fire
+ firingIndex = list.length;
+ memory = false;
+ }
+ }
+ }
+
+ // Forget the data if we're done with it
+ if ( !options.memory ) {
+ memory = false;
+ }
+
+ firing = false;
+
+ // Clean up if we're done firing for good
+ if ( locked ) {
+
+ // Keep an empty list if we have data for future add calls
+ if ( memory ) {
+ list = [];
+
+ // Otherwise, this object is spent
+ } else {
+ list = "";
+ }
+ }
+ },
+
+ // Actual Callbacks object
+ self = {
+
+ // Add a callback or a collection of callbacks to the list
+ add: function() {
+ if ( list ) {
+
+ // If we have memory from a past run, we should fire after adding
+ if ( memory && !firing ) {
+ firingIndex = list.length - 1;
+ queue.push( memory );
+ }
+
+ ( function add( args ) {
+ jQuery.each( args, function( _, arg ) {
+ if ( isFunction( arg ) ) {
+ if ( !options.unique || !self.has( arg ) ) {
+ list.push( arg );
+ }
+ } else if ( arg && arg.length && toType( arg ) !== "string" ) {
+
+ // Inspect recursively
+ add( arg );
+ }
+ } );
+ } )( arguments );
+
+ if ( memory && !firing ) {
+ fire();
+ }
+ }
+ return this;
+ },
+
+ // Remove a callback from the list
+ remove: function() {
+ jQuery.each( arguments, function( _, arg ) {
+ var index;
+ while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {
+ list.splice( index, 1 );
+
+ // Handle firing indexes
+ if ( index <= firingIndex ) {
+ firingIndex--;
+ }
+ }
+ } );
+ return this;
+ },
+
+ // Check if a given callback is in the list.
+ // If no argument is given, return whether or not list has callbacks attached.
+ has: function( fn ) {
+ return fn ?
+ jQuery.inArray( fn, list ) > -1 :
+ list.length > 0;
+ },
+
+ // Remove all callbacks from the list
+ empty: function() {
+ if ( list ) {
+ list = [];
+ }
+ return this;
+ },
+
+ // Disable .fire and .add
+ // Abort any current/pending executions
+ // Clear all callbacks and values
+ disable: function() {
+ locked = queue = [];
+ list = memory = "";
+ return this;
+ },
+ disabled: function() {
+ return !list;
+ },
+
+ // Disable .fire
+ // Also disable .add unless we have memory (since it would have no effect)
+ // Abort any pending executions
+ lock: function() {
+ locked = queue = [];
+ if ( !memory && !firing ) {
+ list = memory = "";
+ }
+ return this;
+ },
+ locked: function() {
+ return !!locked;
+ },
+
+ // Call all callbacks with the given context and arguments
+ fireWith: function( context, args ) {
+ if ( !locked ) {
+ args = args || [];
+ args = [ context, args.slice ? args.slice() : args ];
+ queue.push( args );
+ if ( !firing ) {
+ fire();
+ }
+ }
+ return this;
+ },
+
+ // Call all the callbacks with the given arguments
+ fire: function() {
+ self.fireWith( this, arguments );
+ return this;
+ },
+
+ // To know if the callbacks have already been called at least once
+ fired: function() {
+ return !!fired;
+ }
+ };
+
+ return self;
+};
+
+
+function Identity( v ) {
+ return v;
+}
+function Thrower( ex ) {
+ throw ex;
+}
+
+function adoptValue( value, resolve, reject, noValue ) {
+ var method;
+
+ try {
+
+ // Check for promise aspect first to privilege synchronous behavior
+ if ( value && isFunction( ( method = value.promise ) ) ) {
+ method.call( value ).done( resolve ).fail( reject );
+
+ // Other thenables
+ } else if ( value && isFunction( ( method = value.then ) ) ) {
+ method.call( value, resolve, reject );
+
+ // Other non-thenables
+ } else {
+
+ // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:
+ // * false: [ value ].slice( 0 ) => resolve( value )
+ // * true: [ value ].slice( 1 ) => resolve()
+ resolve.apply( undefined, [ value ].slice( noValue ) );
+ }
+
+ // For Promises/A+, convert exceptions into rejections
+ // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in
+ // Deferred#then to conditionally suppress rejection.
+ } catch ( value ) {
+
+ // Support: Android 4.0 only
+ // Strict mode functions invoked without .call/.apply get global-object context
+ reject.apply( undefined, [ value ] );
+ }
+}
+
+jQuery.extend( {
+
+ Deferred: function( func ) {
+ var tuples = [
+
+ // action, add listener, callbacks,
+ // ... .then handlers, argument index, [final state]
+ [ "notify", "progress", jQuery.Callbacks( "memory" ),
+ jQuery.Callbacks( "memory" ), 2 ],
+ [ "resolve", "done", jQuery.Callbacks( "once memory" ),
+ jQuery.Callbacks( "once memory" ), 0, "resolved" ],
+ [ "reject", "fail", jQuery.Callbacks( "once memory" ),
+ jQuery.Callbacks( "once memory" ), 1, "rejected" ]
+ ],
+ state = "pending",
+ promise = {
+ state: function() {
+ return state;
+ },
+ always: function() {
+ deferred.done( arguments ).fail( arguments );
+ return this;
+ },
+ "catch": function( fn ) {
+ return promise.then( null, fn );
+ },
+
+ // Keep pipe for back-compat
+ pipe: function( /* fnDone, fnFail, fnProgress */ ) {
+ var fns = arguments;
+
+ return jQuery.Deferred( function( newDefer ) {
+ jQuery.each( tuples, function( _i, tuple ) {
+
+ // Map tuples (progress, done, fail) to arguments (done, fail, progress)
+ var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];
+
+ // deferred.progress(function() { bind to newDefer or newDefer.notify })
+ // deferred.done(function() { bind to newDefer or newDefer.resolve })
+ // deferred.fail(function() { bind to newDefer or newDefer.reject })
+ deferred[ tuple[ 1 ] ]( function() {
+ var returned = fn && fn.apply( this, arguments );
+ if ( returned && isFunction( returned.promise ) ) {
+ returned.promise()
+ .progress( newDefer.notify )
+ .done( newDefer.resolve )
+ .fail( newDefer.reject );
+ } else {
+ newDefer[ tuple[ 0 ] + "With" ](
+ this,
+ fn ? [ returned ] : arguments
+ );
+ }
+ } );
+ } );
+ fns = null;
+ } ).promise();
+ },
+ then: function( onFulfilled, onRejected, onProgress ) {
+ var maxDepth = 0;
+ function resolve( depth, deferred, handler, special ) {
+ return function() {
+ var that = this,
+ args = arguments,
+ mightThrow = function() {
+ var returned, then;
+
+ // Support: Promises/A+ section 2.3.3.3.3
+ // https://promisesaplus.com/#point-59
+ // Ignore double-resolution attempts
+ if ( depth < maxDepth ) {
+ return;
+ }
+
+ returned = handler.apply( that, args );
+
+ // Support: Promises/A+ section 2.3.1
+ // https://promisesaplus.com/#point-48
+ if ( returned === deferred.promise() ) {
+ throw new TypeError( "Thenable self-resolution" );
+ }
+
+ // Support: Promises/A+ sections 2.3.3.1, 3.5
+ // https://promisesaplus.com/#point-54
+ // https://promisesaplus.com/#point-75
+ // Retrieve `then` only once
+ then = returned &&
+
+ // Support: Promises/A+ section 2.3.4
+ // https://promisesaplus.com/#point-64
+ // Only check objects and functions for thenability
+ ( typeof returned === "object" ||
+ typeof returned === "function" ) &&
+ returned.then;
+
+ // Handle a returned thenable
+ if ( isFunction( then ) ) {
+
+ // Special processors (notify) just wait for resolution
+ if ( special ) {
+ then.call(
+ returned,
+ resolve( maxDepth, deferred, Identity, special ),
+ resolve( maxDepth, deferred, Thrower, special )
+ );
+
+ // Normal processors (resolve) also hook into progress
+ } else {
+
+ // ...and disregard older resolution values
+ maxDepth++;
+
+ then.call(
+ returned,
+ resolve( maxDepth, deferred, Identity, special ),
+ resolve( maxDepth, deferred, Thrower, special ),
+ resolve( maxDepth, deferred, Identity,
+ deferred.notifyWith )
+ );
+ }
+
+ // Handle all other returned values
+ } else {
+
+ // Only substitute handlers pass on context
+ // and multiple values (non-spec behavior)
+ if ( handler !== Identity ) {
+ that = undefined;
+ args = [ returned ];
+ }
+
+ // Process the value(s)
+ // Default process is resolve
+ ( special || deferred.resolveWith )( that, args );
+ }
+ },
+
+ // Only normal processors (resolve) catch and reject exceptions
+ process = special ?
+ mightThrow :
+ function() {
+ try {
+ mightThrow();
+ } catch ( e ) {
+
+ if ( jQuery.Deferred.exceptionHook ) {
+ jQuery.Deferred.exceptionHook( e,
+ process.stackTrace );
+ }
+
+ // Support: Promises/A+ section 2.3.3.3.4.1
+ // https://promisesaplus.com/#point-61
+ // Ignore post-resolution exceptions
+ if ( depth + 1 >= maxDepth ) {
+
+ // Only substitute handlers pass on context
+ // and multiple values (non-spec behavior)
+ if ( handler !== Thrower ) {
+ that = undefined;
+ args = [ e ];
+ }
+
+ deferred.rejectWith( that, args );
+ }
+ }
+ };
+
+ // Support: Promises/A+ section 2.3.3.3.1
+ // https://promisesaplus.com/#point-57
+ // Re-resolve promises immediately to dodge false rejection from
+ // subsequent errors
+ if ( depth ) {
+ process();
+ } else {
+
+ // Call an optional hook to record the stack, in case of exception
+ // since it's otherwise lost when execution goes async
+ if ( jQuery.Deferred.getStackHook ) {
+ process.stackTrace = jQuery.Deferred.getStackHook();
+ }
+ window.setTimeout( process );
+ }
+ };
+ }
+
+ return jQuery.Deferred( function( newDefer ) {
+
+ // progress_handlers.add( ... )
+ tuples[ 0 ][ 3 ].add(
+ resolve(
+ 0,
+ newDefer,
+ isFunction( onProgress ) ?
+ onProgress :
+ Identity,
+ newDefer.notifyWith
+ )
+ );
+
+ // fulfilled_handlers.add( ... )
+ tuples[ 1 ][ 3 ].add(
+ resolve(
+ 0,
+ newDefer,
+ isFunction( onFulfilled ) ?
+ onFulfilled :
+ Identity
+ )
+ );
+
+ // rejected_handlers.add( ... )
+ tuples[ 2 ][ 3 ].add(
+ resolve(
+ 0,
+ newDefer,
+ isFunction( onRejected ) ?
+ onRejected :
+ Thrower
+ )
+ );
+ } ).promise();
+ },
+
+ // Get a promise for this deferred
+ // If obj is provided, the promise aspect is added to the object
+ promise: function( obj ) {
+ return obj != null ? jQuery.extend( obj, promise ) : promise;
+ }
+ },
+ deferred = {};
+
+ // Add list-specific methods
+ jQuery.each( tuples, function( i, tuple ) {
+ var list = tuple[ 2 ],
+ stateString = tuple[ 5 ];
+
+ // promise.progress = list.add
+ // promise.done = list.add
+ // promise.fail = list.add
+ promise[ tuple[ 1 ] ] = list.add;
+
+ // Handle state
+ if ( stateString ) {
+ list.add(
+ function() {
+
+ // state = "resolved" (i.e., fulfilled)
+ // state = "rejected"
+ state = stateString;
+ },
+
+ // rejected_callbacks.disable
+ // fulfilled_callbacks.disable
+ tuples[ 3 - i ][ 2 ].disable,
+
+ // rejected_handlers.disable
+ // fulfilled_handlers.disable
+ tuples[ 3 - i ][ 3 ].disable,
+
+ // progress_callbacks.lock
+ tuples[ 0 ][ 2 ].lock,
+
+ // progress_handlers.lock
+ tuples[ 0 ][ 3 ].lock
+ );
+ }
+
+ // progress_handlers.fire
+ // fulfilled_handlers.fire
+ // rejected_handlers.fire
+ list.add( tuple[ 3 ].fire );
+
+ // deferred.notify = function() { deferred.notifyWith(...) }
+ // deferred.resolve = function() { deferred.resolveWith(...) }
+ // deferred.reject = function() { deferred.rejectWith(...) }
+ deferred[ tuple[ 0 ] ] = function() {
+ deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments );
+ return this;
+ };
+
+ // deferred.notifyWith = list.fireWith
+ // deferred.resolveWith = list.fireWith
+ // deferred.rejectWith = list.fireWith
+ deferred[ tuple[ 0 ] + "With" ] = list.fireWith;
+ } );
+
+ // Make the deferred a promise
+ promise.promise( deferred );
+
+ // Call given func if any
+ if ( func ) {
+ func.call( deferred, deferred );
+ }
+
+ // All done!
+ return deferred;
+ },
+
+ // Deferred helper
+ when: function( singleValue ) {
+ var
+
+ // count of uncompleted subordinates
+ remaining = arguments.length,
+
+ // count of unprocessed arguments
+ i = remaining,
+
+ // subordinate fulfillment data
+ resolveContexts = Array( i ),
+ resolveValues = slice.call( arguments ),
+
+ // the master Deferred
+ master = jQuery.Deferred(),
+
+ // subordinate callback factory
+ updateFunc = function( i ) {
+ return function( value ) {
+ resolveContexts[ i ] = this;
+ resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
+ if ( !( --remaining ) ) {
+ master.resolveWith( resolveContexts, resolveValues );
+ }
+ };
+ };
+
+ // Single- and empty arguments are adopted like Promise.resolve
+ if ( remaining <= 1 ) {
+ adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject,
+ !remaining );
+
+ // Use .then() to unwrap secondary thenables (cf. gh-3000)
+ if ( master.state() === "pending" ||
+ isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {
+
+ return master.then();
+ }
+ }
+
+ // Multiple arguments are aggregated like Promise.all array elements
+ while ( i-- ) {
+ adoptValue( resolveValues[ i ], updateFunc( i ), master.reject );
+ }
+
+ return master.promise();
+ }
+} );
+
+
+// These usually indicate a programmer mistake during development,
+// warn about them ASAP rather than swallowing them by default.
+var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
+
+jQuery.Deferred.exceptionHook = function( error, stack ) {
+
+ // Support: IE 8 - 9 only
+ // Console exists when dev tools are open, which can happen at any time
+ if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {
+ window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack );
+ }
+};
+
+
+
+
+jQuery.readyException = function( error ) {
+ window.setTimeout( function() {
+ throw error;
+ } );
+};
+
+
+
+
+// The deferred used on DOM ready
+var readyList = jQuery.Deferred();
+
+jQuery.fn.ready = function( fn ) {
+
+ readyList
+ .then( fn )
+
+ // Wrap jQuery.readyException in a function so that the lookup
+ // happens at the time of error handling instead of callback
+ // registration.
+ .catch( function( error ) {
+ jQuery.readyException( error );
+ } );
+
+ return this;
+};
+
+jQuery.extend( {
+
+ // Is the DOM ready to be used? Set to true once it occurs.
+ isReady: false,
+
+ // A counter to track how many items to wait for before
+ // the ready event fires. See #6781
+ readyWait: 1,
+
+ // Handle when the DOM is ready
+ ready: function( wait ) {
+
+ // Abort if there are pending holds or we're already ready
+ if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {
+ return;
+ }
+
+ // Remember that the DOM is ready
+ jQuery.isReady = true;
+
+ // If a normal DOM Ready event fired, decrement, and wait if need be
+ if ( wait !== true && --jQuery.readyWait > 0 ) {
+ return;
+ }
+
+ // If there are functions bound, to execute
+ readyList.resolveWith( document, [ jQuery ] );
+ }
+} );
+
+jQuery.ready.then = readyList.then;
+
+// The ready event handler and self cleanup method
+function completed() {
+ document.removeEventListener( "DOMContentLoaded", completed );
+ window.removeEventListener( "load", completed );
+ jQuery.ready();
+}
+
+// Catch cases where $(document).ready() is called
+// after the browser event has already occurred.
+// Support: IE <=9 - 10 only
+// Older IE sometimes signals "interactive" too soon
+if ( document.readyState === "complete" ||
+ ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) {
+
+ // Handle it asynchronously to allow scripts the opportunity to delay ready
+ window.setTimeout( jQuery.ready );
+
+} else {
+
+ // Use the handy event callback
+ document.addEventListener( "DOMContentLoaded", completed );
+
+ // A fallback to window.onload, that will always work
+ window.addEventListener( "load", completed );
+}
+
+
+
+
+// Multifunctional method to get and set values of a collection
+// The value/s can optionally be executed if it's a function
+var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
+ var i = 0,
+ len = elems.length,
+ bulk = key == null;
+
+ // Sets many values
+ if ( toType( key ) === "object" ) {
+ chainable = true;
+ for ( i in key ) {
+ access( elems, fn, i, key[ i ], true, emptyGet, raw );
+ }
+
+ // Sets one value
+ } else if ( value !== undefined ) {
+ chainable = true;
+
+ if ( !isFunction( value ) ) {
+ raw = true;
+ }
+
+ if ( bulk ) {
+
+ // Bulk operations run against the entire set
+ if ( raw ) {
+ fn.call( elems, value );
+ fn = null;
+
+ // ...except when executing function values
+ } else {
+ bulk = fn;
+ fn = function( elem, _key, value ) {
+ return bulk.call( jQuery( elem ), value );
+ };
+ }
+ }
+
+ if ( fn ) {
+ for ( ; i < len; i++ ) {
+ fn(
+ elems[ i ], key, raw ?
+ value :
+ value.call( elems[ i ], i, fn( elems[ i ], key ) )
+ );
+ }
+ }
+ }
+
+ if ( chainable ) {
+ return elems;
+ }
+
+ // Gets
+ if ( bulk ) {
+ return fn.call( elems );
+ }
+
+ return len ? fn( elems[ 0 ], key ) : emptyGet;
+};
+
+
+// Matches dashed string for camelizing
+var rmsPrefix = /^-ms-/,
+ rdashAlpha = /-([a-z])/g;
+
+// Used by camelCase as callback to replace()
+function fcamelCase( _all, letter ) {
+ return letter.toUpperCase();
+}
+
+// Convert dashed to camelCase; used by the css and data modules
+// Support: IE <=9 - 11, Edge 12 - 15
+// Microsoft forgot to hump their vendor prefix (#9572)
+function camelCase( string ) {
+ return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
+}
+var acceptData = function( owner ) {
+
+ // Accepts only:
+ // - Node
+ // - Node.ELEMENT_NODE
+ // - Node.DOCUMENT_NODE
+ // - Object
+ // - Any
+ return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
+};
+
+
+
+
+function Data() {
+ this.expando = jQuery.expando + Data.uid++;
+}
+
+Data.uid = 1;
+
+Data.prototype = {
+
+ cache: function( owner ) {
+
+ // Check if the owner object already has a cache
+ var value = owner[ this.expando ];
+
+ // If not, create one
+ if ( !value ) {
+ value = {};
+
+ // We can accept data for non-element nodes in modern browsers,
+ // but we should not, see #8335.
+ // Always return an empty object.
+ if ( acceptData( owner ) ) {
+
+ // If it is a node unlikely to be stringify-ed or looped over
+ // use plain assignment
+ if ( owner.nodeType ) {
+ owner[ this.expando ] = value;
+
+ // Otherwise secure it in a non-enumerable property
+ // configurable must be true to allow the property to be
+ // deleted when data is removed
+ } else {
+ Object.defineProperty( owner, this.expando, {
+ value: value,
+ configurable: true
+ } );
+ }
+ }
+ }
+
+ return value;
+ },
+ set: function( owner, data, value ) {
+ var prop,
+ cache = this.cache( owner );
+
+ // Handle: [ owner, key, value ] args
+ // Always use camelCase key (gh-2257)
+ if ( typeof data === "string" ) {
+ cache[ camelCase( data ) ] = value;
+
+ // Handle: [ owner, { properties } ] args
+ } else {
+
+ // Copy the properties one-by-one to the cache object
+ for ( prop in data ) {
+ cache[ camelCase( prop ) ] = data[ prop ];
+ }
+ }
+ return cache;
+ },
+ get: function( owner, key ) {
+ return key === undefined ?
+ this.cache( owner ) :
+
+ // Always use camelCase key (gh-2257)
+ owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];
+ },
+ access: function( owner, key, value ) {
+
+ // In cases where either:
+ //
+ // 1. No key was specified
+ // 2. A string key was specified, but no value provided
+ //
+ // Take the "read" path and allow the get method to determine
+ // which value to return, respectively either:
+ //
+ // 1. The entire cache object
+ // 2. The data stored at the key
+ //
+ if ( key === undefined ||
+ ( ( key && typeof key === "string" ) && value === undefined ) ) {
+
+ return this.get( owner, key );
+ }
+
+ // When the key is not a string, or both a key and value
+ // are specified, set or extend (existing objects) with either:
+ //
+ // 1. An object of properties
+ // 2. A key and value
+ //
+ this.set( owner, key, value );
+
+ // Since the "set" path can have two possible entry points
+ // return the expected data based on which path was taken[*]
+ return value !== undefined ? value : key;
+ },
+ remove: function( owner, key ) {
+ var i,
+ cache = owner[ this.expando ];
+
+ if ( cache === undefined ) {
+ return;
+ }
+
+ if ( key !== undefined ) {
+
+ // Support array or space separated string of keys
+ if ( Array.isArray( key ) ) {
+
+ // If key is an array of keys...
+ // We always set camelCase keys, so remove that.
+ key = key.map( camelCase );
+ } else {
+ key = camelCase( key );
+
+ // If a key with the spaces exists, use it.
+ // Otherwise, create an array by matching non-whitespace
+ key = key in cache ?
+ [ key ] :
+ ( key.match( rnothtmlwhite ) || [] );
+ }
+
+ i = key.length;
+
+ while ( i-- ) {
+ delete cache[ key[ i ] ];
+ }
+ }
+
+ // Remove the expando if there's no more data
+ if ( key === undefined || jQuery.isEmptyObject( cache ) ) {
+
+ // Support: Chrome <=35 - 45
+ // Webkit & Blink performance suffers when deleting properties
+ // from DOM nodes, so set to undefined instead
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)
+ if ( owner.nodeType ) {
+ owner[ this.expando ] = undefined;
+ } else {
+ delete owner[ this.expando ];
+ }
+ }
+ },
+ hasData: function( owner ) {
+ var cache = owner[ this.expando ];
+ return cache !== undefined && !jQuery.isEmptyObject( cache );
+ }
+};
+var dataPriv = new Data();
+
+var dataUser = new Data();
+
+
+
+// Implementation Summary
+//
+// 1. Enforce API surface and semantic compatibility with 1.9.x branch
+// 2. Improve the module's maintainability by reducing the storage
+// paths to a single mechanism.
+// 3. Use the same single mechanism to support "private" and "user" data.
+// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData)
+// 5. Avoid exposing implementation details on user objects (eg. expando properties)
+// 6. Provide a clear path for implementation upgrade to WeakMap in 2014
+
+var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
+ rmultiDash = /[A-Z]/g;
+
+function getData( data ) {
+ if ( data === "true" ) {
+ return true;
+ }
+
+ if ( data === "false" ) {
+ return false;
+ }
+
+ if ( data === "null" ) {
+ return null;
+ }
+
+ // Only convert to a number if it doesn't change the string
+ if ( data === +data + "" ) {
+ return +data;
+ }
+
+ if ( rbrace.test( data ) ) {
+ return JSON.parse( data );
+ }
+
+ return data;
+}
+
+function dataAttr( elem, key, data ) {
+ var name;
+
+ // If nothing was found internally, try to fetch any
+ // data from the HTML5 data-* attribute
+ if ( data === undefined && elem.nodeType === 1 ) {
+ name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase();
+ data = elem.getAttribute( name );
+
+ if ( typeof data === "string" ) {
+ try {
+ data = getData( data );
+ } catch ( e ) {}
+
+ // Make sure we set the data so it isn't changed later
+ dataUser.set( elem, key, data );
+ } else {
+ data = undefined;
+ }
+ }
+ return data;
+}
+
+jQuery.extend( {
+ hasData: function( elem ) {
+ return dataUser.hasData( elem ) || dataPriv.hasData( elem );
+ },
+
+ data: function( elem, name, data ) {
+ return dataUser.access( elem, name, data );
+ },
+
+ removeData: function( elem, name ) {
+ dataUser.remove( elem, name );
+ },
+
+ // TODO: Now that all calls to _data and _removeData have been replaced
+ // with direct calls to dataPriv methods, these can be deprecated.
+ _data: function( elem, name, data ) {
+ return dataPriv.access( elem, name, data );
+ },
+
+ _removeData: function( elem, name ) {
+ dataPriv.remove( elem, name );
+ }
+} );
+
+jQuery.fn.extend( {
+ data: function( key, value ) {
+ var i, name, data,
+ elem = this[ 0 ],
+ attrs = elem && elem.attributes;
+
+ // Gets all values
+ if ( key === undefined ) {
+ if ( this.length ) {
+ data = dataUser.get( elem );
+
+ if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) {
+ i = attrs.length;
+ while ( i-- ) {
+
+ // Support: IE 11 only
+ // The attrs elements can be null (#14894)
+ if ( attrs[ i ] ) {
+ name = attrs[ i ].name;
+ if ( name.indexOf( "data-" ) === 0 ) {
+ name = camelCase( name.slice( 5 ) );
+ dataAttr( elem, name, data[ name ] );
+ }
+ }
+ }
+ dataPriv.set( elem, "hasDataAttrs", true );
+ }
+ }
+
+ return data;
+ }
+
+ // Sets multiple values
+ if ( typeof key === "object" ) {
+ return this.each( function() {
+ dataUser.set( this, key );
+ } );
+ }
+
+ return access( this, function( value ) {
+ var data;
+
+ // The calling jQuery object (element matches) is not empty
+ // (and therefore has an element appears at this[ 0 ]) and the
+ // `value` parameter was not undefined. An empty jQuery object
+ // will result in `undefined` for elem = this[ 0 ] which will
+ // throw an exception if an attempt to read a data cache is made.
+ if ( elem && value === undefined ) {
+
+ // Attempt to get data from the cache
+ // The key will always be camelCased in Data
+ data = dataUser.get( elem, key );
+ if ( data !== undefined ) {
+ return data;
+ }
+
+ // Attempt to "discover" the data in
+ // HTML5 custom data-* attrs
+ data = dataAttr( elem, key );
+ if ( data !== undefined ) {
+ return data;
+ }
+
+ // We tried really hard, but the data doesn't exist.
+ return;
+ }
+
+ // Set the data...
+ this.each( function() {
+
+ // We always store the camelCased key
+ dataUser.set( this, key, value );
+ } );
+ }, null, value, arguments.length > 1, null, true );
+ },
+
+ removeData: function( key ) {
+ return this.each( function() {
+ dataUser.remove( this, key );
+ } );
+ }
+} );
+
+
+jQuery.extend( {
+ queue: function( elem, type, data ) {
+ var queue;
+
+ if ( elem ) {
+ type = ( type || "fx" ) + "queue";
+ queue = dataPriv.get( elem, type );
+
+ // Speed up dequeue by getting out quickly if this is just a lookup
+ if ( data ) {
+ if ( !queue || Array.isArray( data ) ) {
+ queue = dataPriv.access( elem, type, jQuery.makeArray( data ) );
+ } else {
+ queue.push( data );
+ }
+ }
+ return queue || [];
+ }
+ },
+
+ dequeue: function( elem, type ) {
+ type = type || "fx";
+
+ var queue = jQuery.queue( elem, type ),
+ startLength = queue.length,
+ fn = queue.shift(),
+ hooks = jQuery._queueHooks( elem, type ),
+ next = function() {
+ jQuery.dequeue( elem, type );
+ };
+
+ // If the fx queue is dequeued, always remove the progress sentinel
+ if ( fn === "inprogress" ) {
+ fn = queue.shift();
+ startLength--;
+ }
+
+ if ( fn ) {
+
+ // Add a progress sentinel to prevent the fx queue from being
+ // automatically dequeued
+ if ( type === "fx" ) {
+ queue.unshift( "inprogress" );
+ }
+
+ // Clear up the last queue stop function
+ delete hooks.stop;
+ fn.call( elem, next, hooks );
+ }
+
+ if ( !startLength && hooks ) {
+ hooks.empty.fire();
+ }
+ },
+
+ // Not public - generate a queueHooks object, or return the current one
+ _queueHooks: function( elem, type ) {
+ var key = type + "queueHooks";
+ return dataPriv.get( elem, key ) || dataPriv.access( elem, key, {
+ empty: jQuery.Callbacks( "once memory" ).add( function() {
+ dataPriv.remove( elem, [ type + "queue", key ] );
+ } )
+ } );
+ }
+} );
+
+jQuery.fn.extend( {
+ queue: function( type, data ) {
+ var setter = 2;
+
+ if ( typeof type !== "string" ) {
+ data = type;
+ type = "fx";
+ setter--;
+ }
+
+ if ( arguments.length < setter ) {
+ return jQuery.queue( this[ 0 ], type );
+ }
+
+ return data === undefined ?
+ this :
+ this.each( function() {
+ var queue = jQuery.queue( this, type, data );
+
+ // Ensure a hooks for this queue
+ jQuery._queueHooks( this, type );
+
+ if ( type === "fx" && queue[ 0 ] !== "inprogress" ) {
+ jQuery.dequeue( this, type );
+ }
+ } );
+ },
+ dequeue: function( type ) {
+ return this.each( function() {
+ jQuery.dequeue( this, type );
+ } );
+ },
+ clearQueue: function( type ) {
+ return this.queue( type || "fx", [] );
+ },
+
+ // Get a promise resolved when queues of a certain type
+ // are emptied (fx is the type by default)
+ promise: function( type, obj ) {
+ var tmp,
+ count = 1,
+ defer = jQuery.Deferred(),
+ elements = this,
+ i = this.length,
+ resolve = function() {
+ if ( !( --count ) ) {
+ defer.resolveWith( elements, [ elements ] );
+ }
+ };
+
+ if ( typeof type !== "string" ) {
+ obj = type;
+ type = undefined;
+ }
+ type = type || "fx";
+
+ while ( i-- ) {
+ tmp = dataPriv.get( elements[ i ], type + "queueHooks" );
+ if ( tmp && tmp.empty ) {
+ count++;
+ tmp.empty.add( resolve );
+ }
+ }
+ resolve();
+ return defer.promise( obj );
+ }
+} );
+var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source;
+
+var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" );
+
+
+var cssExpand = [ "Top", "Right", "Bottom", "Left" ];
+
+var documentElement = document.documentElement;
+
+
+
+ var isAttached = function( elem ) {
+ return jQuery.contains( elem.ownerDocument, elem );
+ },
+ composed = { composed: true };
+
+ // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only
+ // Check attachment across shadow DOM boundaries when possible (gh-3504)
+ // Support: iOS 10.0-10.2 only
+ // Early iOS 10 versions support `attachShadow` but not `getRootNode`,
+ // leading to errors. We need to check for `getRootNode`.
+ if ( documentElement.getRootNode ) {
+ isAttached = function( elem ) {
+ return jQuery.contains( elem.ownerDocument, elem ) ||
+ elem.getRootNode( composed ) === elem.ownerDocument;
+ };
+ }
+var isHiddenWithinTree = function( elem, el ) {
+
+ // isHiddenWithinTree might be called from jQuery#filter function;
+ // in that case, element will be second argument
+ elem = el || elem;
+
+ // Inline style trumps all
+ return elem.style.display === "none" ||
+ elem.style.display === "" &&
+
+ // Otherwise, check computed style
+ // Support: Firefox <=43 - 45
+ // Disconnected elements can have computed display: none, so first confirm that elem is
+ // in the document.
+ isAttached( elem ) &&
+
+ jQuery.css( elem, "display" ) === "none";
+ };
+
+
+
+function adjustCSS( elem, prop, valueParts, tween ) {
+ var adjusted, scale,
+ maxIterations = 20,
+ currentValue = tween ?
+ function() {
+ return tween.cur();
+ } :
+ function() {
+ return jQuery.css( elem, prop, "" );
+ },
+ initial = currentValue(),
+ unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
+
+ // Starting value computation is required for potential unit mismatches
+ initialInUnit = elem.nodeType &&
+ ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) &&
+ rcssNum.exec( jQuery.css( elem, prop ) );
+
+ if ( initialInUnit && initialInUnit[ 3 ] !== unit ) {
+
+ // Support: Firefox <=54
+ // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)
+ initial = initial / 2;
+
+ // Trust units reported by jQuery.css
+ unit = unit || initialInUnit[ 3 ];
+
+ // Iteratively approximate from a nonzero starting point
+ initialInUnit = +initial || 1;
+
+ while ( maxIterations-- ) {
+
+ // Evaluate and update our best guess (doubling guesses that zero out).
+ // Finish if the scale equals or crosses 1 (making the old*new product non-positive).
+ jQuery.style( elem, prop, initialInUnit + unit );
+ if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) {
+ maxIterations = 0;
+ }
+ initialInUnit = initialInUnit / scale;
+
+ }
+
+ initialInUnit = initialInUnit * 2;
+ jQuery.style( elem, prop, initialInUnit + unit );
+
+ // Make sure we update the tween properties later on
+ valueParts = valueParts || [];
+ }
+
+ if ( valueParts ) {
+ initialInUnit = +initialInUnit || +initial || 0;
+
+ // Apply relative offset (+=/-=) if specified
+ adjusted = valueParts[ 1 ] ?
+ initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :
+ +valueParts[ 2 ];
+ if ( tween ) {
+ tween.unit = unit;
+ tween.start = initialInUnit;
+ tween.end = adjusted;
+ }
+ }
+ return adjusted;
+}
+
+
+var defaultDisplayMap = {};
+
+function getDefaultDisplay( elem ) {
+ var temp,
+ doc = elem.ownerDocument,
+ nodeName = elem.nodeName,
+ display = defaultDisplayMap[ nodeName ];
+
+ if ( display ) {
+ return display;
+ }
+
+ temp = doc.body.appendChild( doc.createElement( nodeName ) );
+ display = jQuery.css( temp, "display" );
+
+ temp.parentNode.removeChild( temp );
+
+ if ( display === "none" ) {
+ display = "block";
+ }
+ defaultDisplayMap[ nodeName ] = display;
+
+ return display;
+}
+
+function showHide( elements, show ) {
+ var display, elem,
+ values = [],
+ index = 0,
+ length = elements.length;
+
+ // Determine new display value for elements that need to change
+ for ( ; index < length; index++ ) {
+ elem = elements[ index ];
+ if ( !elem.style ) {
+ continue;
+ }
+
+ display = elem.style.display;
+ if ( show ) {
+
+ // Since we force visibility upon cascade-hidden elements, an immediate (and slow)
+ // check is required in this first loop unless we have a nonempty display value (either
+ // inline or about-to-be-restored)
+ if ( display === "none" ) {
+ values[ index ] = dataPriv.get( elem, "display" ) || null;
+ if ( !values[ index ] ) {
+ elem.style.display = "";
+ }
+ }
+ if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) {
+ values[ index ] = getDefaultDisplay( elem );
+ }
+ } else {
+ if ( display !== "none" ) {
+ values[ index ] = "none";
+
+ // Remember what we're overwriting
+ dataPriv.set( elem, "display", display );
+ }
+ }
+ }
+
+ // Set the display of the elements in a second loop to avoid constant reflow
+ for ( index = 0; index < length; index++ ) {
+ if ( values[ index ] != null ) {
+ elements[ index ].style.display = values[ index ];
+ }
+ }
+
+ return elements;
+}
+
+jQuery.fn.extend( {
+ show: function() {
+ return showHide( this, true );
+ },
+ hide: function() {
+ return showHide( this );
+ },
+ toggle: function( state ) {
+ if ( typeof state === "boolean" ) {
+ return state ? this.show() : this.hide();
+ }
+
+ return this.each( function() {
+ if ( isHiddenWithinTree( this ) ) {
+ jQuery( this ).show();
+ } else {
+ jQuery( this ).hide();
+ }
+ } );
+ }
+} );
+var rcheckableType = ( /^(?:checkbox|radio)$/i );
+
+var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i );
+
+var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i );
+
+
+
+( function() {
+ var fragment = document.createDocumentFragment(),
+ div = fragment.appendChild( document.createElement( "div" ) ),
+ input = document.createElement( "input" );
+
+ // Support: Android 4.0 - 4.3 only
+ // Check state lost if the name is set (#11217)
+ // Support: Windows Web Apps (WWA)
+ // `name` and `type` must use .setAttribute for WWA (#14901)
+ input.setAttribute( "type", "radio" );
+ input.setAttribute( "checked", "checked" );
+ input.setAttribute( "name", "t" );
+
+ div.appendChild( input );
+
+ // Support: Android <=4.1 only
+ // Older WebKit doesn't clone checked state correctly in fragments
+ support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;
+
+ // Support: IE <=11 only
+ // Make sure textarea (and checkbox) defaultValue is properly cloned
+ div.innerHTML = "";
+ support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;
+
+ // Support: IE <=9 only
+ // IE <=9 replaces tags with their contents when inserted outside of
+ // the select element.
+ div.innerHTML = " ";
+ support.option = !!div.lastChild;
+} )();
+
+
+// We have to close these tags to support XHTML (#13200)
+var wrapMap = {
+
+ // XHTML parsers do not magically insert elements in the
+ // same way that tag soup parsers do. So we cannot shorten
+ // this by omitting or other required elements.
+ thead: [ 1, "" ],
+ col: [ 2, "" ],
+ tr: [ 2, "" ],
+ td: [ 3, "" ],
+
+ _default: [ 0, "", "" ]
+};
+
+wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
+wrapMap.th = wrapMap.td;
+
+// Support: IE <=9 only
+if ( !support.option ) {
+ wrapMap.optgroup = wrapMap.option = [ 1, "", " " ];
+}
+
+
+function getAll( context, tag ) {
+
+ // Support: IE <=9 - 11 only
+ // Use typeof to avoid zero-argument method invocation on host objects (#15151)
+ var ret;
+
+ if ( typeof context.getElementsByTagName !== "undefined" ) {
+ ret = context.getElementsByTagName( tag || "*" );
+
+ } else if ( typeof context.querySelectorAll !== "undefined" ) {
+ ret = context.querySelectorAll( tag || "*" );
+
+ } else {
+ ret = [];
+ }
+
+ if ( tag === undefined || tag && nodeName( context, tag ) ) {
+ return jQuery.merge( [ context ], ret );
+ }
+
+ return ret;
+}
+
+
+// Mark scripts as having already been evaluated
+function setGlobalEval( elems, refElements ) {
+ var i = 0,
+ l = elems.length;
+
+ for ( ; i < l; i++ ) {
+ dataPriv.set(
+ elems[ i ],
+ "globalEval",
+ !refElements || dataPriv.get( refElements[ i ], "globalEval" )
+ );
+ }
+}
+
+
+var rhtml = /<|?\w+;/;
+
+function buildFragment( elems, context, scripts, selection, ignored ) {
+ var elem, tmp, tag, wrap, attached, j,
+ fragment = context.createDocumentFragment(),
+ nodes = [],
+ i = 0,
+ l = elems.length;
+
+ for ( ; i < l; i++ ) {
+ elem = elems[ i ];
+
+ if ( elem || elem === 0 ) {
+
+ // Add nodes directly
+ if ( toType( elem ) === "object" ) {
+
+ // Support: Android <=4.0 only, PhantomJS 1 only
+ // push.apply(_, arraylike) throws on ancient WebKit
+ jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );
+
+ // Convert non-html into a text node
+ } else if ( !rhtml.test( elem ) ) {
+ nodes.push( context.createTextNode( elem ) );
+
+ // Convert html into DOM nodes
+ } else {
+ tmp = tmp || fragment.appendChild( context.createElement( "div" ) );
+
+ // Deserialize a standard representation
+ tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase();
+ wrap = wrapMap[ tag ] || wrapMap._default;
+ tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];
+
+ // Descend through wrappers to the right content
+ j = wrap[ 0 ];
+ while ( j-- ) {
+ tmp = tmp.lastChild;
+ }
+
+ // Support: Android <=4.0 only, PhantomJS 1 only
+ // push.apply(_, arraylike) throws on ancient WebKit
+ jQuery.merge( nodes, tmp.childNodes );
+
+ // Remember the top-level container
+ tmp = fragment.firstChild;
+
+ // Ensure the created nodes are orphaned (#12392)
+ tmp.textContent = "";
+ }
+ }
+ }
+
+ // Remove wrapper from fragment
+ fragment.textContent = "";
+
+ i = 0;
+ while ( ( elem = nodes[ i++ ] ) ) {
+
+ // Skip elements already in the context collection (trac-4087)
+ if ( selection && jQuery.inArray( elem, selection ) > -1 ) {
+ if ( ignored ) {
+ ignored.push( elem );
+ }
+ continue;
+ }
+
+ attached = isAttached( elem );
+
+ // Append to fragment
+ tmp = getAll( fragment.appendChild( elem ), "script" );
+
+ // Preserve script evaluation history
+ if ( attached ) {
+ setGlobalEval( tmp );
+ }
+
+ // Capture executables
+ if ( scripts ) {
+ j = 0;
+ while ( ( elem = tmp[ j++ ] ) ) {
+ if ( rscriptType.test( elem.type || "" ) ) {
+ scripts.push( elem );
+ }
+ }
+ }
+ }
+
+ return fragment;
+}
+
+
+var
+ rkeyEvent = /^key/,
+ rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
+ rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
+
+function returnTrue() {
+ return true;
+}
+
+function returnFalse() {
+ return false;
+}
+
+// Support: IE <=9 - 11+
+// focus() and blur() are asynchronous, except when they are no-op.
+// So expect focus to be synchronous when the element is already active,
+// and blur to be synchronous when the element is not already active.
+// (focus and blur are always synchronous in other supported browsers,
+// this just defines when we can count on it).
+function expectSync( elem, type ) {
+ return ( elem === safeActiveElement() ) === ( type === "focus" );
+}
+
+// Support: IE <=9 only
+// Accessing document.activeElement can throw unexpectedly
+// https://bugs.jquery.com/ticket/13393
+function safeActiveElement() {
+ try {
+ return document.activeElement;
+ } catch ( err ) { }
+}
+
+function on( elem, types, selector, data, fn, one ) {
+ var origFn, type;
+
+ // Types can be a map of types/handlers
+ if ( typeof types === "object" ) {
+
+ // ( types-Object, selector, data )
+ if ( typeof selector !== "string" ) {
+
+ // ( types-Object, data )
+ data = data || selector;
+ selector = undefined;
+ }
+ for ( type in types ) {
+ on( elem, type, selector, data, types[ type ], one );
+ }
+ return elem;
+ }
+
+ if ( data == null && fn == null ) {
+
+ // ( types, fn )
+ fn = selector;
+ data = selector = undefined;
+ } else if ( fn == null ) {
+ if ( typeof selector === "string" ) {
+
+ // ( types, selector, fn )
+ fn = data;
+ data = undefined;
+ } else {
+
+ // ( types, data, fn )
+ fn = data;
+ data = selector;
+ selector = undefined;
+ }
+ }
+ if ( fn === false ) {
+ fn = returnFalse;
+ } else if ( !fn ) {
+ return elem;
+ }
+
+ if ( one === 1 ) {
+ origFn = fn;
+ fn = function( event ) {
+
+ // Can use an empty set, since event contains the info
+ jQuery().off( event );
+ return origFn.apply( this, arguments );
+ };
+
+ // Use same guid so caller can remove using origFn
+ fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
+ }
+ return elem.each( function() {
+ jQuery.event.add( this, types, fn, data, selector );
+ } );
+}
+
+/*
+ * Helper functions for managing events -- not part of the public interface.
+ * Props to Dean Edwards' addEvent library for many of the ideas.
+ */
+jQuery.event = {
+
+ global: {},
+
+ add: function( elem, types, handler, data, selector ) {
+
+ var handleObjIn, eventHandle, tmp,
+ events, t, handleObj,
+ special, handlers, type, namespaces, origType,
+ elemData = dataPriv.get( elem );
+
+ // Only attach events to objects that accept data
+ if ( !acceptData( elem ) ) {
+ return;
+ }
+
+ // Caller can pass in an object of custom data in lieu of the handler
+ if ( handler.handler ) {
+ handleObjIn = handler;
+ handler = handleObjIn.handler;
+ selector = handleObjIn.selector;
+ }
+
+ // Ensure that invalid selectors throw exceptions at attach time
+ // Evaluate against documentElement in case elem is a non-element node (e.g., document)
+ if ( selector ) {
+ jQuery.find.matchesSelector( documentElement, selector );
+ }
+
+ // Make sure that the handler has a unique ID, used to find/remove it later
+ if ( !handler.guid ) {
+ handler.guid = jQuery.guid++;
+ }
+
+ // Init the element's event structure and main handler, if this is the first
+ if ( !( events = elemData.events ) ) {
+ events = elemData.events = Object.create( null );
+ }
+ if ( !( eventHandle = elemData.handle ) ) {
+ eventHandle = elemData.handle = function( e ) {
+
+ // Discard the second event of a jQuery.event.trigger() and
+ // when an event is called after a page has unloaded
+ return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ?
+ jQuery.event.dispatch.apply( elem, arguments ) : undefined;
+ };
+ }
+
+ // Handle multiple events separated by a space
+ types = ( types || "" ).match( rnothtmlwhite ) || [ "" ];
+ t = types.length;
+ while ( t-- ) {
+ tmp = rtypenamespace.exec( types[ t ] ) || [];
+ type = origType = tmp[ 1 ];
+ namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort();
+
+ // There *must* be a type, no attaching namespace-only handlers
+ if ( !type ) {
+ continue;
+ }
+
+ // If event changes its type, use the special event handlers for the changed type
+ special = jQuery.event.special[ type ] || {};
+
+ // If selector defined, determine special event api type, otherwise given type
+ type = ( selector ? special.delegateType : special.bindType ) || type;
+
+ // Update special based on newly reset type
+ special = jQuery.event.special[ type ] || {};
+
+ // handleObj is passed to all event handlers
+ handleObj = jQuery.extend( {
+ type: type,
+ origType: origType,
+ data: data,
+ handler: handler,
+ guid: handler.guid,
+ selector: selector,
+ needsContext: selector && jQuery.expr.match.needsContext.test( selector ),
+ namespace: namespaces.join( "." )
+ }, handleObjIn );
+
+ // Init the event handler queue if we're the first
+ if ( !( handlers = events[ type ] ) ) {
+ handlers = events[ type ] = [];
+ handlers.delegateCount = 0;
+
+ // Only use addEventListener if the special events handler returns false
+ if ( !special.setup ||
+ special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
+
+ if ( elem.addEventListener ) {
+ elem.addEventListener( type, eventHandle );
+ }
+ }
+ }
+
+ if ( special.add ) {
+ special.add.call( elem, handleObj );
+
+ if ( !handleObj.handler.guid ) {
+ handleObj.handler.guid = handler.guid;
+ }
+ }
+
+ // Add to the element's handler list, delegates in front
+ if ( selector ) {
+ handlers.splice( handlers.delegateCount++, 0, handleObj );
+ } else {
+ handlers.push( handleObj );
+ }
+
+ // Keep track of which events have ever been used, for event optimization
+ jQuery.event.global[ type ] = true;
+ }
+
+ },
+
+ // Detach an event or set of events from an element
+ remove: function( elem, types, handler, selector, mappedTypes ) {
+
+ var j, origCount, tmp,
+ events, t, handleObj,
+ special, handlers, type, namespaces, origType,
+ elemData = dataPriv.hasData( elem ) && dataPriv.get( elem );
+
+ if ( !elemData || !( events = elemData.events ) ) {
+ return;
+ }
+
+ // Once for each type.namespace in types; type may be omitted
+ types = ( types || "" ).match( rnothtmlwhite ) || [ "" ];
+ t = types.length;
+ while ( t-- ) {
+ tmp = rtypenamespace.exec( types[ t ] ) || [];
+ type = origType = tmp[ 1 ];
+ namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort();
+
+ // Unbind all events (on this namespace, if provided) for the element
+ if ( !type ) {
+ for ( type in events ) {
+ jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
+ }
+ continue;
+ }
+
+ special = jQuery.event.special[ type ] || {};
+ type = ( selector ? special.delegateType : special.bindType ) || type;
+ handlers = events[ type ] || [];
+ tmp = tmp[ 2 ] &&
+ new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" );
+
+ // Remove matching events
+ origCount = j = handlers.length;
+ while ( j-- ) {
+ handleObj = handlers[ j ];
+
+ if ( ( mappedTypes || origType === handleObj.origType ) &&
+ ( !handler || handler.guid === handleObj.guid ) &&
+ ( !tmp || tmp.test( handleObj.namespace ) ) &&
+ ( !selector || selector === handleObj.selector ||
+ selector === "**" && handleObj.selector ) ) {
+ handlers.splice( j, 1 );
+
+ if ( handleObj.selector ) {
+ handlers.delegateCount--;
+ }
+ if ( special.remove ) {
+ special.remove.call( elem, handleObj );
+ }
+ }
+ }
+
+ // Remove generic event handler if we removed something and no more handlers exist
+ // (avoids potential for endless recursion during removal of special event handlers)
+ if ( origCount && !handlers.length ) {
+ if ( !special.teardown ||
+ special.teardown.call( elem, namespaces, elemData.handle ) === false ) {
+
+ jQuery.removeEvent( elem, type, elemData.handle );
+ }
+
+ delete events[ type ];
+ }
+ }
+
+ // Remove data and the expando if it's no longer used
+ if ( jQuery.isEmptyObject( events ) ) {
+ dataPriv.remove( elem, "handle events" );
+ }
+ },
+
+ dispatch: function( nativeEvent ) {
+
+ var i, j, ret, matched, handleObj, handlerQueue,
+ args = new Array( arguments.length ),
+
+ // Make a writable jQuery.Event from the native event object
+ event = jQuery.event.fix( nativeEvent ),
+
+ handlers = (
+ dataPriv.get( this, "events" ) || Object.create( null )
+ )[ event.type ] || [],
+ special = jQuery.event.special[ event.type ] || {};
+
+ // Use the fix-ed jQuery.Event rather than the (read-only) native event
+ args[ 0 ] = event;
+
+ for ( i = 1; i < arguments.length; i++ ) {
+ args[ i ] = arguments[ i ];
+ }
+
+ event.delegateTarget = this;
+
+ // Call the preDispatch hook for the mapped type, and let it bail if desired
+ if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {
+ return;
+ }
+
+ // Determine handlers
+ handlerQueue = jQuery.event.handlers.call( this, event, handlers );
+
+ // Run delegates first; they may want to stop propagation beneath us
+ i = 0;
+ while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {
+ event.currentTarget = matched.elem;
+
+ j = 0;
+ while ( ( handleObj = matched.handlers[ j++ ] ) &&
+ !event.isImmediatePropagationStopped() ) {
+
+ // If the event is namespaced, then each handler is only invoked if it is
+ // specially universal or its namespaces are a superset of the event's.
+ if ( !event.rnamespace || handleObj.namespace === false ||
+ event.rnamespace.test( handleObj.namespace ) ) {
+
+ event.handleObj = handleObj;
+ event.data = handleObj.data;
+
+ ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||
+ handleObj.handler ).apply( matched.elem, args );
+
+ if ( ret !== undefined ) {
+ if ( ( event.result = ret ) === false ) {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ }
+ }
+ }
+ }
+
+ // Call the postDispatch hook for the mapped type
+ if ( special.postDispatch ) {
+ special.postDispatch.call( this, event );
+ }
+
+ return event.result;
+ },
+
+ handlers: function( event, handlers ) {
+ var i, handleObj, sel, matchedHandlers, matchedSelectors,
+ handlerQueue = [],
+ delegateCount = handlers.delegateCount,
+ cur = event.target;
+
+ // Find delegate handlers
+ if ( delegateCount &&
+
+ // Support: IE <=9
+ // Black-hole SVG instance trees (trac-13180)
+ cur.nodeType &&
+
+ // Support: Firefox <=42
+ // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)
+ // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click
+ // Support: IE 11 only
+ // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343)
+ !( event.type === "click" && event.button >= 1 ) ) {
+
+ for ( ; cur !== this; cur = cur.parentNode || this ) {
+
+ // Don't check non-elements (#13208)
+ // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
+ if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) {
+ matchedHandlers = [];
+ matchedSelectors = {};
+ for ( i = 0; i < delegateCount; i++ ) {
+ handleObj = handlers[ i ];
+
+ // Don't conflict with Object.prototype properties (#13203)
+ sel = handleObj.selector + " ";
+
+ if ( matchedSelectors[ sel ] === undefined ) {
+ matchedSelectors[ sel ] = handleObj.needsContext ?
+ jQuery( sel, this ).index( cur ) > -1 :
+ jQuery.find( sel, this, null, [ cur ] ).length;
+ }
+ if ( matchedSelectors[ sel ] ) {
+ matchedHandlers.push( handleObj );
+ }
+ }
+ if ( matchedHandlers.length ) {
+ handlerQueue.push( { elem: cur, handlers: matchedHandlers } );
+ }
+ }
+ }
+ }
+
+ // Add the remaining (directly-bound) handlers
+ cur = this;
+ if ( delegateCount < handlers.length ) {
+ handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );
+ }
+
+ return handlerQueue;
+ },
+
+ addProp: function( name, hook ) {
+ Object.defineProperty( jQuery.Event.prototype, name, {
+ enumerable: true,
+ configurable: true,
+
+ get: isFunction( hook ) ?
+ function() {
+ if ( this.originalEvent ) {
+ return hook( this.originalEvent );
+ }
+ } :
+ function() {
+ if ( this.originalEvent ) {
+ return this.originalEvent[ name ];
+ }
+ },
+
+ set: function( value ) {
+ Object.defineProperty( this, name, {
+ enumerable: true,
+ configurable: true,
+ writable: true,
+ value: value
+ } );
+ }
+ } );
+ },
+
+ fix: function( originalEvent ) {
+ return originalEvent[ jQuery.expando ] ?
+ originalEvent :
+ new jQuery.Event( originalEvent );
+ },
+
+ special: {
+ load: {
+
+ // Prevent triggered image.load events from bubbling to window.load
+ noBubble: true
+ },
+ click: {
+
+ // Utilize native event to ensure correct state for checkable inputs
+ setup: function( data ) {
+
+ // For mutual compressibility with _default, replace `this` access with a local var.
+ // `|| data` is dead code meant only to preserve the variable through minification.
+ var el = this || data;
+
+ // Claim the first handler
+ if ( rcheckableType.test( el.type ) &&
+ el.click && nodeName( el, "input" ) ) {
+
+ // dataPriv.set( el, "click", ... )
+ leverageNative( el, "click", returnTrue );
+ }
+
+ // Return false to allow normal processing in the caller
+ return false;
+ },
+ trigger: function( data ) {
+
+ // For mutual compressibility with _default, replace `this` access with a local var.
+ // `|| data` is dead code meant only to preserve the variable through minification.
+ var el = this || data;
+
+ // Force setup before triggering a click
+ if ( rcheckableType.test( el.type ) &&
+ el.click && nodeName( el, "input" ) ) {
+
+ leverageNative( el, "click" );
+ }
+
+ // Return non-false to allow normal event-path propagation
+ return true;
+ },
+
+ // For cross-browser consistency, suppress native .click() on links
+ // Also prevent it if we're currently inside a leveraged native-event stack
+ _default: function( event ) {
+ var target = event.target;
+ return rcheckableType.test( target.type ) &&
+ target.click && nodeName( target, "input" ) &&
+ dataPriv.get( target, "click" ) ||
+ nodeName( target, "a" );
+ }
+ },
+
+ beforeunload: {
+ postDispatch: function( event ) {
+
+ // Support: Firefox 20+
+ // Firefox doesn't alert if the returnValue field is not set.
+ if ( event.result !== undefined && event.originalEvent ) {
+ event.originalEvent.returnValue = event.result;
+ }
+ }
+ }
+ }
+};
+
+// Ensure the presence of an event listener that handles manually-triggered
+// synthetic events by interrupting progress until reinvoked in response to
+// *native* events that it fires directly, ensuring that state changes have
+// already occurred before other listeners are invoked.
+function leverageNative( el, type, expectSync ) {
+
+ // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add
+ if ( !expectSync ) {
+ if ( dataPriv.get( el, type ) === undefined ) {
+ jQuery.event.add( el, type, returnTrue );
+ }
+ return;
+ }
+
+ // Register the controller as a special universal handler for all event namespaces
+ dataPriv.set( el, type, false );
+ jQuery.event.add( el, type, {
+ namespace: false,
+ handler: function( event ) {
+ var notAsync, result,
+ saved = dataPriv.get( this, type );
+
+ if ( ( event.isTrigger & 1 ) && this[ type ] ) {
+
+ // Interrupt processing of the outer synthetic .trigger()ed event
+ // Saved data should be false in such cases, but might be a leftover capture object
+ // from an async native handler (gh-4350)
+ if ( !saved.length ) {
+
+ // Store arguments for use when handling the inner native event
+ // There will always be at least one argument (an event object), so this array
+ // will not be confused with a leftover capture object.
+ saved = slice.call( arguments );
+ dataPriv.set( this, type, saved );
+
+ // Trigger the native event and capture its result
+ // Support: IE <=9 - 11+
+ // focus() and blur() are asynchronous
+ notAsync = expectSync( this, type );
+ this[ type ]();
+ result = dataPriv.get( this, type );
+ if ( saved !== result || notAsync ) {
+ dataPriv.set( this, type, false );
+ } else {
+ result = {};
+ }
+ if ( saved !== result ) {
+
+ // Cancel the outer synthetic event
+ event.stopImmediatePropagation();
+ event.preventDefault();
+ return result.value;
+ }
+
+ // If this is an inner synthetic event for an event with a bubbling surrogate
+ // (focus or blur), assume that the surrogate already propagated from triggering the
+ // native event and prevent that from happening again here.
+ // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the
+ // bubbling surrogate propagates *after* the non-bubbling base), but that seems
+ // less bad than duplication.
+ } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) {
+ event.stopPropagation();
+ }
+
+ // If this is a native event triggered above, everything is now in order
+ // Fire an inner synthetic event with the original arguments
+ } else if ( saved.length ) {
+
+ // ...and capture the result
+ dataPriv.set( this, type, {
+ value: jQuery.event.trigger(
+
+ // Support: IE <=9 - 11+
+ // Extend with the prototype to reset the above stopImmediatePropagation()
+ jQuery.extend( saved[ 0 ], jQuery.Event.prototype ),
+ saved.slice( 1 ),
+ this
+ )
+ } );
+
+ // Abort handling of the native event
+ event.stopImmediatePropagation();
+ }
+ }
+ } );
+}
+
+jQuery.removeEvent = function( elem, type, handle ) {
+
+ // This "if" is needed for plain objects
+ if ( elem.removeEventListener ) {
+ elem.removeEventListener( type, handle );
+ }
+};
+
+jQuery.Event = function( src, props ) {
+
+ // Allow instantiation without the 'new' keyword
+ if ( !( this instanceof jQuery.Event ) ) {
+ return new jQuery.Event( src, props );
+ }
+
+ // Event object
+ if ( src && src.type ) {
+ this.originalEvent = src;
+ this.type = src.type;
+
+ // Events bubbling up the document may have been marked as prevented
+ // by a handler lower down the tree; reflect the correct value.
+ this.isDefaultPrevented = src.defaultPrevented ||
+ src.defaultPrevented === undefined &&
+
+ // Support: Android <=2.3 only
+ src.returnValue === false ?
+ returnTrue :
+ returnFalse;
+
+ // Create target properties
+ // Support: Safari <=6 - 7 only
+ // Target should not be a text node (#504, #13143)
+ this.target = ( src.target && src.target.nodeType === 3 ) ?
+ src.target.parentNode :
+ src.target;
+
+ this.currentTarget = src.currentTarget;
+ this.relatedTarget = src.relatedTarget;
+
+ // Event type
+ } else {
+ this.type = src;
+ }
+
+ // Put explicitly provided properties onto the event object
+ if ( props ) {
+ jQuery.extend( this, props );
+ }
+
+ // Create a timestamp if incoming event doesn't have one
+ this.timeStamp = src && src.timeStamp || Date.now();
+
+ // Mark it as fixed
+ this[ jQuery.expando ] = true;
+};
+
+// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
+// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
+jQuery.Event.prototype = {
+ constructor: jQuery.Event,
+ isDefaultPrevented: returnFalse,
+ isPropagationStopped: returnFalse,
+ isImmediatePropagationStopped: returnFalse,
+ isSimulated: false,
+
+ preventDefault: function() {
+ var e = this.originalEvent;
+
+ this.isDefaultPrevented = returnTrue;
+
+ if ( e && !this.isSimulated ) {
+ e.preventDefault();
+ }
+ },
+ stopPropagation: function() {
+ var e = this.originalEvent;
+
+ this.isPropagationStopped = returnTrue;
+
+ if ( e && !this.isSimulated ) {
+ e.stopPropagation();
+ }
+ },
+ stopImmediatePropagation: function() {
+ var e = this.originalEvent;
+
+ this.isImmediatePropagationStopped = returnTrue;
+
+ if ( e && !this.isSimulated ) {
+ e.stopImmediatePropagation();
+ }
+
+ this.stopPropagation();
+ }
+};
+
+// Includes all common event props including KeyEvent and MouseEvent specific props
+jQuery.each( {
+ altKey: true,
+ bubbles: true,
+ cancelable: true,
+ changedTouches: true,
+ ctrlKey: true,
+ detail: true,
+ eventPhase: true,
+ metaKey: true,
+ pageX: true,
+ pageY: true,
+ shiftKey: true,
+ view: true,
+ "char": true,
+ code: true,
+ charCode: true,
+ key: true,
+ keyCode: true,
+ button: true,
+ buttons: true,
+ clientX: true,
+ clientY: true,
+ offsetX: true,
+ offsetY: true,
+ pointerId: true,
+ pointerType: true,
+ screenX: true,
+ screenY: true,
+ targetTouches: true,
+ toElement: true,
+ touches: true,
+
+ which: function( event ) {
+ var button = event.button;
+
+ // Add which for key events
+ if ( event.which == null && rkeyEvent.test( event.type ) ) {
+ return event.charCode != null ? event.charCode : event.keyCode;
+ }
+
+ // Add which for click: 1 === left; 2 === middle; 3 === right
+ if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) {
+ if ( button & 1 ) {
+ return 1;
+ }
+
+ if ( button & 2 ) {
+ return 3;
+ }
+
+ if ( button & 4 ) {
+ return 2;
+ }
+
+ return 0;
+ }
+
+ return event.which;
+ }
+}, jQuery.event.addProp );
+
+jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) {
+ jQuery.event.special[ type ] = {
+
+ // Utilize native event if possible so blur/focus sequence is correct
+ setup: function() {
+
+ // Claim the first handler
+ // dataPriv.set( this, "focus", ... )
+ // dataPriv.set( this, "blur", ... )
+ leverageNative( this, type, expectSync );
+
+ // Return false to allow normal processing in the caller
+ return false;
+ },
+ trigger: function() {
+
+ // Force setup before trigger
+ leverageNative( this, type );
+
+ // Return non-false to allow normal event-path propagation
+ return true;
+ },
+
+ delegateType: delegateType
+ };
+} );
+
+// Create mouseenter/leave events using mouseover/out and event-time checks
+// so that event delegation works in jQuery.
+// Do the same for pointerenter/pointerleave and pointerover/pointerout
+//
+// Support: Safari 7 only
+// Safari sends mouseenter too often; see:
+// https://bugs.chromium.org/p/chromium/issues/detail?id=470258
+// for the description of the bug (it existed in older Chrome versions as well).
+jQuery.each( {
+ mouseenter: "mouseover",
+ mouseleave: "mouseout",
+ pointerenter: "pointerover",
+ pointerleave: "pointerout"
+}, function( orig, fix ) {
+ jQuery.event.special[ orig ] = {
+ delegateType: fix,
+ bindType: fix,
+
+ handle: function( event ) {
+ var ret,
+ target = this,
+ related = event.relatedTarget,
+ handleObj = event.handleObj;
+
+ // For mouseenter/leave call the handler if related is outside the target.
+ // NB: No relatedTarget if the mouse left/entered the browser window
+ if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {
+ event.type = handleObj.origType;
+ ret = handleObj.handler.apply( this, arguments );
+ event.type = fix;
+ }
+ return ret;
+ }
+ };
+} );
+
+jQuery.fn.extend( {
+
+ on: function( types, selector, data, fn ) {
+ return on( this, types, selector, data, fn );
+ },
+ one: function( types, selector, data, fn ) {
+ return on( this, types, selector, data, fn, 1 );
+ },
+ off: function( types, selector, fn ) {
+ var handleObj, type;
+ if ( types && types.preventDefault && types.handleObj ) {
+
+ // ( event ) dispatched jQuery.Event
+ handleObj = types.handleObj;
+ jQuery( types.delegateTarget ).off(
+ handleObj.namespace ?
+ handleObj.origType + "." + handleObj.namespace :
+ handleObj.origType,
+ handleObj.selector,
+ handleObj.handler
+ );
+ return this;
+ }
+ if ( typeof types === "object" ) {
+
+ // ( types-object [, selector] )
+ for ( type in types ) {
+ this.off( type, selector, types[ type ] );
+ }
+ return this;
+ }
+ if ( selector === false || typeof selector === "function" ) {
+
+ // ( types [, fn] )
+ fn = selector;
+ selector = undefined;
+ }
+ if ( fn === false ) {
+ fn = returnFalse;
+ }
+ return this.each( function() {
+ jQuery.event.remove( this, types, fn, selector );
+ } );
+ }
+} );
+
+
+var
+
+ // Support: IE <=10 - 11, Edge 12 - 13 only
+ // In IE/Edge using regex groups here causes severe slowdowns.
+ // See https://connect.microsoft.com/IE/feedback/details/1736512/
+ rnoInnerhtml = /
-
+
+
@@ -35,9 +38,9 @@
@@ -78,7 +82,7 @@
-
+
Dynamic Bindings
CFFI ABI dynamic bindings avoid the need to compile a C extension module. They now been moved to a separate module:
python3 - m pip install raylib_dynamic
@@ -92,7 +96,7 @@ so you don’t even know something has gone wrong and you don’t get proper sta
Therefore I personally recommend the static ones.
But the dynamic bindings have the advantage that you don’t need to compile anything to install. You just need a Raylib DLL.
-
API is exactly the same as the static one documented here. (Therefore you can’t have both modules installed at once.) The only difference is you can’t do:
+
The API is exactly the same as the static one documented here. (Therefore you can’t have both modules installed at once.) The only difference is you can’t do:
@@ -107,12 +111,16 @@ But the dynamic bindings have the advantage that you don’t need to compile any
Tip
If you access functions via import pyray
then there is no difference at all, but be warned this hasn’t been tested much.
+
+
Note
+
Standard Raylib DLLs do not include additional libraries like Raygui, Physac, etc. So these functions won’t work.
+
Important
If your system already has the Raylib library installed, you can set the environment variable USE_EXTERNAL_RAYLIB
and it will
always be used instead of the bundled DLLs.
-
+
diff --git a/docs/genindex.html b/docs/genindex.html
index c54d071..cd22be9 100644
--- a/docs/genindex.html
+++ b/docs/genindex.html
@@ -3,13 +3,15 @@
-
Index — Raylib Python documentation
-
+
Index — Raylib Python documentation
+
+
-
+
+
@@ -33,9 +35,9 @@
@@ -118,14 +121,18 @@
(pyray.GuiScrollBarProperty attribute)
-
-
+
-
+
+
-
draw_triangle_fan() (in module pyray)
draw_triangle_lines() (in module pyray)
@@ -931,6 +938,8 @@
DrawText() (in module raylib)
DrawTextCodepoint() (in module raylib)
+
+ DrawTextCodepoints() (in module raylib)
DrawTextEx() (in module raylib)
@@ -966,10 +975,10 @@
DrawTriangleStrip3D() (in module raylib)
- DROPDOWN_ITEMS_PADDING (in module raylib)
+ DROPDOWN_ITEMS_SPACING (in module raylib)
DROPDOWNBOX (in module raylib)
@@ -985,8 +994,12 @@
-
+
@@ -1146,6 +1179,22 @@
(pyray.ConfigFlags attribute)
+ float16 (class in pyray)
+
+
+ float3 (class in pyray)
+
+
+ float_equals() (in module pyray)
+
+ FloatEquals() (in module raylib)
+
Font (class in pyray)
+ get_application_directory() (in module pyray)
+
get_camera_matrix() (in module pyray)
get_camera_matrix_2d() (in module pyray)
@@ -1515,14 +1562,12 @@
get_color() (in module pyray)
get_current_monitor() (in module pyray)
-
- get_directory_files() (in module pyray)
get_directory_path() (in module pyray)
-
- get_dropped_files() (in module pyray)
get_file_extension() (in module pyray)
+
+ get_file_length() (in module pyray)
get_file_mod_time() (in module pyray)
@@ -1595,6 +1640,8 @@
get_mouse_ray() (in module pyray)
get_mouse_wheel_move() (in module pyray)
+
+ get_mouse_wheel_move_v() (in module pyray)
get_mouse_x() (in module pyray)
@@ -1625,14 +1672,16 @@
get_ray_collision_box() (in module pyray)
get_ray_collision_mesh() (in module pyray)
-
- get_ray_collision_model() (in module pyray)
get_ray_collision_quad() (in module pyray)
get_ray_collision_sphere() (in module pyray)
get_ray_collision_triangle() (in module pyray)
+
+ get_render_height() (in module pyray)
+
+ get_render_width() (in module pyray)
get_screen_height() (in module pyray)
@@ -1671,6 +1720,8 @@
get_world_to_screen_2d() (in module pyray)
get_world_to_screen_ex() (in module pyray)
+
+ GetApplicationDirectory() (in module raylib)
GetCameraMatrix() (in module raylib)
@@ -1689,19 +1740,19 @@
GetColor() (in module raylib)
GetCurrentMonitor() (in module raylib)
-
- GetDirectoryFiles() (in module raylib)
GetDirectoryPath() (in module raylib)
-
- GetDroppedFiles() (in module raylib)
GetFileExtension() (in module raylib)
+
+ GetFileLength() (in module raylib)
GetFileModTime() (in module raylib)
GetFileName() (in module raylib)
+
+
-
GetGamepadButtonPressed() (in module raylib)
GetGamepadName() (in module raylib)
@@ -1771,6 +1820,8 @@
GetMouseRay() (in module raylib)
GetMouseWheelMove() (in module raylib)
+
+ GetMouseWheelMoveV() (in module raylib)
GetMouseX() (in module raylib)
@@ -1801,14 +1852,16 @@
GetRayCollisionBox() (in module raylib)
GetRayCollisionMesh() (in module raylib)
-
- GetRayCollisionModel() (in module raylib)
GetRayCollisionQuad() (in module raylib)
GetRayCollisionSphere() (in module raylib)
GetRayCollisionTriangle() (in module raylib)
+
+ GetRenderHeight() (in module raylib)
+
+ GetRenderWidth() (in module raylib)
GetScreenHeight() (in module raylib)
@@ -1929,8 +1982,6 @@
gui_panel() (in module pyray)
gui_progress_bar() (in module pyray)
-
- gui_scroll_bar() (in module pyray)
gui_scroll_panel() (in module pyray)
@@ -1939,6 +1990,8 @@
gui_set_icon_data() (in module pyray)
gui_set_icon_pixel() (in module pyray)
+
+ gui_set_icon_scale() (in module pyray)
gui_set_state() (in module pyray)
@@ -1950,50 +2003,8 @@
gui_spinner() (in module pyray)
- GUI_STATE_DISABLED (in module raylib)
-
-
- GUI_STATE_FOCUSED (in module raylib)
-
-
- GUI_STATE_NORMAL (in module raylib)
-
-
- GUI_STATE_PRESSED (in module raylib)
-
-
gui_status_bar() (in module pyray)
- GUI_TEXT_ALIGN_CENTER (in module raylib)
-
-
- GUI_TEXT_ALIGN_LEFT (in module raylib)
-
-
- GUI_TEXT_ALIGN_RIGHT (in module raylib)
-
-
gui_text_box() (in module pyray)
gui_text_box_multi() (in module pyray)
@@ -2056,12 +2067,6 @@
- GuiControlState (class in pyray)
-
-
GuiDefaultProperty (class in pyray)
@@ -2102,8 +2107,12 @@
GuiGroupBox() (in module raylib)
- guiIconName (class in pyray)
+ GuiIconName (class in pyray)
+
+
GuiIconText() (in module raylib)
GuiIsLocked() (in module raylib)
@@ -2142,18 +2151,10 @@
(in module raylib)
- GuiScrollBar() (in module raylib)
-
GuiScrollBarProperty (class in pyray)
- GuiScrollBarSide (class in pyray)
-
-
GuiScrollPanel() (in module raylib)
@@ -2163,6 +2164,8 @@
GuiSetIconData() (in module raylib)
GuiSetIconPixel() (in module raylib)
+
+ GuiSetIconScale() (in module raylib)
GuiSetState() (in module raylib)
@@ -2184,6 +2187,12 @@
+ GuiState (class in pyray)
+
+
GuiStatusBar() (in module raylib)
@@ -2270,6 +2279,1544 @@
I
+
-
+ lerp() (in module pyray)
+
+ Lerp() (in module raylib)
+
LINE_COLOR (in module raylib)
- LIST_ITEMS_PADDING (in module raylib)
+ LIST_ITEMS_SPACING (in module raylib)
LISTVIEW (in module raylib)
@@ -3291,6 +4844,12 @@
load_audio_stream() (in module pyray)
load_codepoints() (in module pyray)
+
+ load_directory_files() (in module pyray)
+
+ load_directory_files_ex() (in module pyray)
+
+ load_dropped_files() (in module pyray)
load_file_data() (in module pyray)
@@ -3345,8 +4904,6 @@
load_sound() (in module pyray)
load_sound_from_wave() (in module pyray)
-
- load_storage_value() (in module pyray)
load_texture() (in module pyray)
@@ -3365,11 +4922,17 @@
LoadAudioStream() (in module raylib)
LoadCodepoints() (in module raylib)
-
- LoadFileData() (in module raylib)
+ matrix_add() (in module pyray)
+
+ matrix_determinant() (in module pyray)
+
+ matrix_frustum() (in module pyray)
+
+ matrix_identity() (in module pyray)
+
+ matrix_invert() (in module pyray)
+
+ matrix_look_at() (in module pyray)
+
+ matrix_multiply() (in module pyray)
+
+ matrix_ortho() (in module pyray)
+
+ matrix_perspective() (in module pyray)
+
+ matrix_rotate() (in module pyray)
+
+ matrix_rotate_x() (in module pyray)
+
+ matrix_rotate_xyz() (in module pyray)
+
+ matrix_rotate_y() (in module pyray)
+
+ matrix_rotate_z() (in module pyray)
+
+ matrix_rotate_zyx() (in module pyray)
+
+ matrix_scale() (in module pyray)
+
+ matrix_subtract() (in module pyray)
+
+ matrix_to_float_v() (in module pyray)
+
+ matrix_trace() (in module pyray)
+
+ matrix_translate() (in module pyray)
+
+ matrix_transpose() (in module pyray)
+
+ MatrixAdd() (in module raylib)
+
+ MatrixDeterminant() (in module raylib)
+
+ MatrixFrustum() (in module raylib)
+
+ MatrixIdentity() (in module raylib)
+
+ MatrixInvert() (in module raylib)
+
+ MatrixLookAt() (in module raylib)
+
+ MatrixMultiply() (in module raylib)
+
+ MatrixOrtho() (in module raylib)
+
+ MatrixPerspective() (in module raylib)
+
+ MatrixRotate() (in module raylib)
+
+ MatrixRotateX() (in module raylib)
+
+ MatrixRotateXYZ() (in module raylib)
+
+ MatrixRotateY() (in module raylib)
+
+ MatrixRotateZ() (in module raylib)
+
+ MatrixRotateZYX() (in module raylib)
+
+ MatrixScale() (in module raylib)
+
+
+
-
Model (class in pyray)
@@ -3777,6 +5422,10 @@
N
@@ -4085,6 +5828,8 @@
+ remap() (in module pyray)
+
+ Remap() (in module raylib)
+
RenderTexture (class in pyray)
rl_disable_vertex_buffer_element() (in module pyray)
-
-
+
RL_SHADER_LOC_MAP_CUBEMAP (in module raylib)
RL_SHADER_LOC_MAP_EMISSION (in module raylib)
@@ -5124,6 +6367,8 @@
rl_update_texture() (in module pyray)
rl_update_vertex_buffer() (in module pyray)
+
+ rl_update_vertex_buffer_elements() (in module pyray)
rl_vertex2f() (in module pyray)
@@ -5197,8 +6442,12 @@
rlDisableWireMode() (in module raylib)
- rlDrawCall (in module raylib)
+ rlDrawCall (class in pyray)
+
+
rlDrawRenderBatch() (in module raylib)
rlDrawRenderBatchActive() (in module raylib)
@@ -5355,8 +6604,12 @@
rlReadTexturePixels() (in module raylib)
- rlRenderBatch (in module raylib)
+ rlRenderBatch (class in pyray)
+
+
rlRotatef() (in module raylib)
rlScalef() (in module raylib)
@@ -5366,6 +6619,10 @@
rlSetBlendFactors() (in module raylib)
rlSetBlendMode() (in module raylib)
+
+ rlSetFramebufferHeight() (in module raylib)
+
+ rlSetFramebufferWidth() (in module raylib)
rlSetLineWidth() (in module raylib)
@@ -5430,6 +6687,8 @@
rlUpdateTexture() (in module raylib)
rlUpdateVertexBuffer() (in module raylib)
+
+ rlUpdateVertexBufferElements() (in module raylib)
rlVertex2f() (in module raylib)
@@ -5437,8 +6696,12 @@
rlVertex3f() (in module raylib)
- rlVertexBuffer (in module raylib)
+ rlVertexBuffer (class in pyray)
+
+
rlViewport() (in module raylib)
@@ -5450,14 +6713,10 @@
save_file_data() (in module pyray)
save_file_text() (in module pyray)
-
- save_storage_value() (in module pyray)
SaveFileData() (in module raylib)
SaveFileText() (in module raylib)
-
- SaveStorageValue() (in module raylib)
SCROLL_PADDING (in module raylib)
@@ -5487,18 +6746,6 @@
- SCROLLBAR_LEFT_SIDE (in module raylib)
-
-
- SCROLLBAR_RIGHT_SIDE (in module raylib)
-
-
SCROLLBAR_SIDE (in module raylib)
@@ -5518,6 +6765,10 @@
SeekMusicStream() (in module raylib)
set_audio_stream_buffer_size_default() (in module pyray)
+
+ set_audio_stream_callback() (in module pyray)
+
+ set_audio_stream_pan() (in module pyray)
set_audio_stream_pitch() (in module pyray)
@@ -5560,6 +6811,8 @@
set_mouse_position() (in module pyray)
set_mouse_scale() (in module pyray)
+
+ set_music_pan() (in module pyray)
set_music_pitch() (in module pyray)
@@ -5588,6 +6841,8 @@
set_shader_value_v() (in module pyray)
set_shapes_texture() (in module pyray)
+
+ set_sound_pan() (in module pyray)
set_sound_pitch() (in module pyray)
@@ -5608,6 +6863,8 @@
set_window_min_size() (in module pyray)
set_window_monitor() (in module pyray)
+
+ set_window_opacity() (in module pyray)
set_window_position() (in module pyray)
@@ -5618,6 +6875,10 @@
set_window_title() (in module pyray)
SetAudioStreamBufferSizeDefault() (in module raylib)
+
+ SetAudioStreamCallback() (in module raylib)
+
+ SetAudioStreamPan() (in module raylib)
SetAudioStreamPitch() (in module raylib)
@@ -5660,6 +6921,8 @@
SetMousePosition() (in module raylib)
SetMouseScale() (in module raylib)
+
+ SetMusicPan() (in module raylib)
SetMusicPitch() (in module raylib)
@@ -5688,6 +6951,8 @@
SetShaderValueV() (in module raylib)
SetShapesTexture() (in module raylib)
+
+ SetSoundPan() (in module raylib)
SetSoundPitch() (in module raylib)
@@ -5705,12 +6970,14 @@
SetWindowIcon() (in module raylib)
-
-
+
- SPIN_BUTTON_PADDING (in module raylib)
+ SPIN_BUTTON_SPACING (in module raylib)
SPIN_BUTTON_WIDTH (in module raylib)
@@ -6021,6 +7288,30 @@
+ STATE_DISABLED (in module raylib)
+
+
+ STATE_FOCUSED (in module raylib)
+
+
+ STATE_NORMAL (in module raylib)
+
+
+ STATE_PRESSED (in module raylib)
+
+
STATUSBAR (in module raylib)
@@ -6061,6 +7352,24 @@
TakeScreenshot() (in module raylib)
+ TEXT_ALIGN_CENTER (in module raylib)
+
+
+ TEXT_ALIGN_LEFT (in module raylib)
+
+
+ TEXT_ALIGN_RIGHT (in module raylib)
+
+
TEXT_ALIGNMENT (in module raylib)
text_length() (in module pyray)
- TEXT_LINES_PADDING (in module raylib)
+ TEXT_LINES_SPACING (in module raylib)
TEXT_PADDING (in module raylib)
@@ -6169,14 +7478,14 @@
TextFormat() (in module raylib)
+
+
-
+
-
+ vector2_add() (in module pyray)
+
+ vector2_add_value() (in module pyray)
+
+ vector2_angle() (in module pyray)
+
+ vector2_clamp() (in module pyray)
+
+ vector2_clamp_value() (in module pyray)
+
+ vector2_equals() (in module pyray)
+
+ vector2_invert() (in module pyray)
+
+ vector2_length() (in module pyray)
+
+ vector2_length_sqr() (in module pyray)
+
+ vector2_lerp() (in module pyray)
+
+ vector2_move_towards() (in module pyray)
+
+ vector2_multiply() (in module pyray)
+
+ vector2_negate() (in module pyray)
+
+ vector2_normalize() (in module pyray)
+
+ vector2_one() (in module pyray)
+
+ vector2_reflect() (in module pyray)
+
+ vector2_rotate() (in module pyray)
+
+ vector2_scale() (in module pyray)
+
+ vector2_subtract() (in module pyray)
+
+ vector2_subtract_value() (in module pyray)
+
+ vector2_transform() (in module pyray)
+
+ vector2_zero() (in module pyray)
+
+ Vector2Add() (in module raylib)
+
+ Vector2AddValue() (in module raylib)
+
+ Vector2Angle() (in module raylib)
+
+ Vector2Clamp() (in module raylib)
+
+ Vector2ClampValue() (in module raylib)
+
+ Vector2Distance() (in module raylib)
+
+ Vector2DistanceSqr() (in module raylib)
+
+ Vector2Divide() (in module raylib)
+
+ Vector2DotProduct() (in module raylib)
+
+ Vector2Equals() (in module raylib)
+
+ Vector2Invert() (in module raylib)
+
+ Vector2Length() (in module raylib)
+
+ Vector2LengthSqr() (in module raylib)
+
+ Vector2Lerp() (in module raylib)
+
+ Vector2MoveTowards() (in module raylib)
+
+ Vector2Multiply() (in module raylib)
+
+ Vector2Negate() (in module raylib)
+
+ Vector2Normalize() (in module raylib)
+
+ Vector2One() (in module raylib)
+
+ Vector2Reflect() (in module raylib)
+
+ Vector2Rotate() (in module raylib)
+
+ Vector2Scale() (in module raylib)
+
+ Vector2Subtract() (in module raylib)
+
+ Vector2SubtractValue() (in module raylib)
+
+ Vector2Transform() (in module raylib)
+
+ Vector2Zero() (in module raylib)
+
Vector3 (class in pyray)
+ vector3_add() (in module pyray)
+
+ vector3_add_value() (in module pyray)
+
+ vector3_angle() (in module pyray)
+
+ vector3_barycenter() (in module pyray)
+
+ vector3_clamp() (in module pyray)
+
+ vector3_clamp_value() (in module pyray)
+
+ vector3_cross_product() (in module pyray)
+
+ vector3_equals() (in module pyray)
+
+ vector3_invert() (in module pyray)
+
+ vector3_length() (in module pyray)
+
+ vector3_length_sqr() (in module pyray)
+
+ vector3_lerp() (in module pyray)
+
+ vector3_max() (in module pyray)
+
-
+
diff --git a/docs/index.html b/docs/index.html
index e054cf0..cb23f2a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1,22 +1,25 @@
-
+
+
- Raylib Python — Raylib Python documentation
-
+ Raylib Python — Raylib Python documentation
+
+
-
+
+
-
+
@@ -34,9 +37,9 @@
@@ -77,12 +81,12 @@
diff --git a/docs/objects.inv b/docs/objects.inv
index 88ee158..8ee25f3 100644
Binary files a/docs/objects.inv and b/docs/objects.inv differ
diff --git a/docs/py-modindex.html b/docs/py-modindex.html
index 0f8603b..fab76d9 100644
--- a/docs/py-modindex.html
+++ b/docs/py-modindex.html
@@ -3,13 +3,15 @@
- Python Module Index — Raylib Python documentation
-
+ Python Module Index — Raylib Python documentation
+
+
-
+
+
@@ -40,9 +42,9 @@
diff --git a/docs/pyray.html b/docs/pyray.html
index 64119ac..c31f5d2 100644
--- a/docs/pyray.html
+++ b/docs/pyray.html
@@ -1,15 +1,18 @@
-
+
+
- Python API — Raylib Python documentation
-
+ Python API — Raylib Python documentation
+
+
-
+
+
@@ -17,7 +20,7 @@
-
+
@@ -35,9 +38,9 @@
@@ -1564,15 +1699,23 @@
-
+
Python API
This is a wrapper around the C API with some syntactic sugar.
-The API is still the same as Raylib , so you should still reply on the official Raylib docs , except:
+The API is still the same as Raylib , so you should still reply on:
+
+The differences are:
the function names are in snake_case .
Some string and pointer conversions are handled automatically.
There are some helper functions to create structures.
+
+Examples
Example program:
import pyray as pr
@@ -1604,8026 +1747,8935 @@
...
-You don’t need to use the PyRay() class anymore.
+(You don’t need to use the PyRay() class anymore.)
-
See also https://github.com/electronstudio/raylib-python-cffi/blob/master/tests/test_pyray.py
-
+
See all examples here
+
+
API reference
-
-class pyray.
AudioStream
( buffer , sampleRate , sampleSize , channels )
+
+class pyray. AudioStream ( buffer , processor , sampleRate , sampleSize , channels )
struct
-
-class pyray.
BlendMode
+
+class pyray. BlendMode
Enum where members are also (and must be) ints
-
-BLEND_ADDITIVE
= 1
+
+BLEND_ADDITIVE = 1
-
-BLEND_ADD_COLORS
= 3
+
+BLEND_ADD_COLORS = 3
-
-BLEND_ALPHA
= 0
+
+BLEND_ALPHA = 0
-
-BLEND_CUSTOM
= 5
+
+BLEND_ALPHA_PREMULTIPLY = 5
-
-BLEND_MULTIPLIED
= 2
+
+BLEND_CUSTOM = 6
-
-BLEND_SUBTRACT_COLORS
= 4
+
+BLEND_MULTIPLIED = 2
+
+
+
+
+BLEND_SUBTRACT_COLORS = 4
-
-class pyray.
BoneInfo
( name , parent )
+
+class pyray. BoneInfo ( name , parent )
struct
-
-class pyray.
BoundingBox
( min , max )
+
+class pyray. BoundingBox ( min , max )
struct
-
-class pyray.
Camera
( position , target , up , fovy , projection )
+
+class pyray. Camera ( position , target , up , fovy , projection )
struct
-
-class pyray.
Camera2D
( offset , target , rotation , zoom )
+
+class pyray. Camera2D ( offset , target , rotation , zoom )
struct
-
-class pyray.
Camera3D
( position , target , up , fovy , projection )
+
+class pyray. Camera3D ( position , target , up , fovy , projection )
struct
-
-class pyray.
CameraMode
+
+class pyray. CameraMode
Enum where members are also (and must be) ints
-
-CAMERA_CUSTOM
= 0
+
+CAMERA_CUSTOM = 0
-
-CAMERA_FIRST_PERSON
= 3
+
+CAMERA_FIRST_PERSON = 3
-
-CAMERA_FREE
= 1
+
+CAMERA_FREE = 1
-
-CAMERA_ORBITAL
= 2
+
+CAMERA_ORBITAL = 2
-
-CAMERA_THIRD_PERSON
= 4
+
+CAMERA_THIRD_PERSON = 4
-
-class pyray.
CameraProjection
+
+class pyray. CameraProjection
Enum where members are also (and must be) ints
-
-CAMERA_ORTHOGRAPHIC
= 1
+
+CAMERA_ORTHOGRAPHIC = 1
-
-CAMERA_PERSPECTIVE
= 0
+
+CAMERA_PERSPECTIVE = 0
-
-class pyray.
Color
( r , g , b , a )
+
+class pyray. Color ( r , g , b , a )
struct
-
-class pyray.
ConfigFlags
+
+class pyray. ConfigFlags
Enum where members are also (and must be) ints
-
-FLAG_FULLSCREEN_MODE
= 2
+
+FLAG_FULLSCREEN_MODE = 2
-
-FLAG_INTERLACED_HINT
= 65536
+
+FLAG_INTERLACED_HINT = 65536
-
-FLAG_MSAA_4X_HINT
= 32
+
+FLAG_MSAA_4X_HINT = 32
-
-FLAG_VSYNC_HINT
= 64
+
+FLAG_VSYNC_HINT = 64
-
-FLAG_WINDOW_ALWAYS_RUN
= 256
+
+FLAG_WINDOW_ALWAYS_RUN = 256
-
-FLAG_WINDOW_HIDDEN
= 128
+
+FLAG_WINDOW_HIDDEN = 128
-
-FLAG_WINDOW_HIGHDPI
= 8192
+
+FLAG_WINDOW_HIGHDPI = 8192
-
-FLAG_WINDOW_MAXIMIZED
= 1024
+
+FLAG_WINDOW_MAXIMIZED = 1024
-
-FLAG_WINDOW_MINIMIZED
= 512
+
+FLAG_WINDOW_MINIMIZED = 512
-
-FLAG_WINDOW_RESIZABLE
= 4
+
+FLAG_WINDOW_MOUSE_PASSTHROUGH = 16384
-
-FLAG_WINDOW_TOPMOST
= 4096
+
+FLAG_WINDOW_RESIZABLE = 4
-
-FLAG_WINDOW_TRANSPARENT
= 16
+
+FLAG_WINDOW_TOPMOST = 4096
-
-FLAG_WINDOW_UNDECORATED
= 8
+
+FLAG_WINDOW_TRANSPARENT = 16
-
-FLAG_WINDOW_UNFOCUSED
= 2048
+
+FLAG_WINDOW_UNDECORATED = 8
+
+
+
+
+FLAG_WINDOW_UNFOCUSED = 2048
-
-class pyray.
CubemapLayout
+
+class pyray. CubemapLayout
Enum where members are also (and must be) ints
-
-CUBEMAP_LAYOUT_AUTO_DETECT
= 0
+
+CUBEMAP_LAYOUT_AUTO_DETECT = 0
-
-CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE
= 4
+
+CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE = 4
-
-CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR
= 3
+
+CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR = 3
-
-CUBEMAP_LAYOUT_LINE_HORIZONTAL
= 2
+
+CUBEMAP_LAYOUT_LINE_HORIZONTAL = 2
-
-CUBEMAP_LAYOUT_LINE_VERTICAL
= 1
+
+CUBEMAP_LAYOUT_LINE_VERTICAL = 1
-
-CUBEMAP_LAYOUT_PANORAMA
= 5
+
+CUBEMAP_LAYOUT_PANORAMA = 5
-
-class pyray.
Font
( baseSize , glyphCount , glyphPadding , texture , recs , glyphs )
+
+class pyray. FilePathList ( capacity , count , paths )
struct
-
-class pyray.
FontType
-Enum where members are also (and must be) ints
-
-
-FONT_BITMAP
= 1
-
-
-
-
-FONT_DEFAULT
= 0
-
-
-
-
-FONT_SDF
= 2
-
-
-
-
-
-
-class pyray.
GamepadAxis
-Enum where members are also (and must be) ints
-
-
-GAMEPAD_AXIS_LEFT_TRIGGER
= 4
-
-
-
-
-GAMEPAD_AXIS_LEFT_X
= 0
-
-
-
-
-GAMEPAD_AXIS_LEFT_Y
= 1
-
-
-
-
-GAMEPAD_AXIS_RIGHT_TRIGGER
= 5
-
-
-
-
-GAMEPAD_AXIS_RIGHT_X
= 2
-
-
-
-
-GAMEPAD_AXIS_RIGHT_Y
= 3
-
-
-
-
-
-
-class pyray.
GamepadButton
-Enum where members are also (and must be) ints
-
-
-GAMEPAD_BUTTON_LEFT_FACE_DOWN
= 3
-
-
-
-
-GAMEPAD_BUTTON_LEFT_FACE_LEFT
= 4
-
-
-
-
-GAMEPAD_BUTTON_LEFT_FACE_RIGHT
= 2
-
-
-
-
-GAMEPAD_BUTTON_LEFT_FACE_UP
= 1
-
-
-
-
-GAMEPAD_BUTTON_LEFT_THUMB
= 16
-
-
-
-
-GAMEPAD_BUTTON_LEFT_TRIGGER_1
= 9
-
-
-
-
-GAMEPAD_BUTTON_LEFT_TRIGGER_2
= 10
-
-
-
-
-GAMEPAD_BUTTON_MIDDLE
= 14
-
-
-
-
-GAMEPAD_BUTTON_MIDDLE_LEFT
= 13
-
-
-
-
-GAMEPAD_BUTTON_MIDDLE_RIGHT
= 15
-
-
-
-
-GAMEPAD_BUTTON_RIGHT_FACE_DOWN
= 7
-
-
-
-
-GAMEPAD_BUTTON_RIGHT_FACE_LEFT
= 8
-
-
-
-
-GAMEPAD_BUTTON_RIGHT_FACE_RIGHT
= 6
-
-
-
-
-GAMEPAD_BUTTON_RIGHT_FACE_UP
= 5
-
-
-
-
-GAMEPAD_BUTTON_RIGHT_THUMB
= 17
-
-
-
-
-GAMEPAD_BUTTON_RIGHT_TRIGGER_1
= 11
-
-
-
-
-GAMEPAD_BUTTON_RIGHT_TRIGGER_2
= 12
-
-
-
-
-GAMEPAD_BUTTON_UNKNOWN
= 0
-
-
-
-
-
-
-class pyray.
Gesture
-Enum where members are also (and must be) ints
-
-
-GESTURE_DOUBLETAP
= 2
-
-
-
-
-GESTURE_DRAG
= 8
-
-
-
-
-GESTURE_HOLD
= 4
-
-
-
-
-GESTURE_NONE
= 0
-
-
-
-
-GESTURE_PINCH_IN
= 256
-
-
-
-
-GESTURE_PINCH_OUT
= 512
-
-
-
-
-GESTURE_SWIPE_DOWN
= 128
-
-
-
-
-GESTURE_SWIPE_LEFT
= 32
-
-
-
-
-GESTURE_SWIPE_RIGHT
= 16
-
-
-
-
-GESTURE_SWIPE_UP
= 64
-
-
-
-
-GESTURE_TAP
= 1
-
-
-
-
-
-
-class pyray.
GlyphInfo
( value , offsetX , offsetY , advanceX , image )
+
+class pyray. Font ( baseSize , glyphCount , glyphPadding , texture , recs , glyphs )
struct
-
-class pyray.
GuiCheckBoxProperty
+
+class pyray. FontType
Enum where members are also (and must be) ints
-
-CHECK_PADDING
= 16
+
+FONT_BITMAP = 1
+
+
+
+
+FONT_DEFAULT = 0
+
+
+
+
+FONT_SDF = 2
-
-class pyray.
GuiColorPickerProperty
+
+class pyray. GamepadAxis
Enum where members are also (and must be) ints
-
-COLOR_SELECTOR_SIZE
= 16
+
+GAMEPAD_AXIS_LEFT_TRIGGER = 4
-
-HUEBAR_PADDING
= 18
+
+GAMEPAD_AXIS_LEFT_X = 0
-
-HUEBAR_SELECTOR_HEIGHT
= 19
+
+GAMEPAD_AXIS_LEFT_Y = 1
-
-HUEBAR_SELECTOR_OVERFLOW
= 20
+
+GAMEPAD_AXIS_RIGHT_TRIGGER = 5
-
-HUEBAR_WIDTH
= 17
+
+GAMEPAD_AXIS_RIGHT_X = 2
+
+
+
+
+GAMEPAD_AXIS_RIGHT_Y = 3
-
-class pyray.
GuiComboBoxProperty
+
+class pyray. GamepadButton
Enum where members are also (and must be) ints
-
-COMBO_BUTTON_PADDING
= 17
+
+GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3
-
-COMBO_BUTTON_WIDTH
= 16
+
+GAMEPAD_BUTTON_LEFT_FACE_LEFT = 4
+
+
+
+
+GAMEPAD_BUTTON_LEFT_FACE_RIGHT = 2
+
+
+
+
+GAMEPAD_BUTTON_LEFT_FACE_UP = 1
+
+
+
+
+GAMEPAD_BUTTON_LEFT_THUMB = 16
+
+
+
+
+GAMEPAD_BUTTON_LEFT_TRIGGER_1 = 9
+
+
+
+
+GAMEPAD_BUTTON_LEFT_TRIGGER_2 = 10
+
+
+
+
+GAMEPAD_BUTTON_MIDDLE = 14
+
+
+
+
+GAMEPAD_BUTTON_MIDDLE_LEFT = 13
+
+
+
+
+GAMEPAD_BUTTON_MIDDLE_RIGHT = 15
+
+
+
+
+GAMEPAD_BUTTON_RIGHT_FACE_DOWN = 7
+
+
+
+
+GAMEPAD_BUTTON_RIGHT_FACE_LEFT = 8
+
+
+
+
+GAMEPAD_BUTTON_RIGHT_FACE_RIGHT = 6
+
+
+
+
+GAMEPAD_BUTTON_RIGHT_FACE_UP = 5
+
+
+
+
+GAMEPAD_BUTTON_RIGHT_THUMB = 17
+
+
+
+
+GAMEPAD_BUTTON_RIGHT_TRIGGER_1 = 11
+
+
+
+
+GAMEPAD_BUTTON_RIGHT_TRIGGER_2 = 12
+
+
+
+
+GAMEPAD_BUTTON_UNKNOWN = 0
-
-class pyray.
GuiControl
+
+class pyray. Gesture
Enum where members are also (and must be) ints
-
-BUTTON
= 2
+
+GESTURE_DOUBLETAP = 2
-
-CHECKBOX
= 6
+
+GESTURE_DRAG = 8
-
-COLORPICKER
= 13
+
+GESTURE_HOLD = 4
-
-COMBOBOX
= 7
+
+GESTURE_NONE = 0
-
-DEFAULT
= 0
+
+GESTURE_PINCH_IN = 256
-
-DROPDOWNBOX
= 8
+
+GESTURE_PINCH_OUT = 512
-
-LABEL
= 1
+
+GESTURE_SWIPE_DOWN = 128
-
-LISTVIEW
= 12
+
+GESTURE_SWIPE_LEFT = 32
-
-PROGRESSBAR
= 5
+
+GESTURE_SWIPE_RIGHT = 16
-
-SCROLLBAR
= 14
+
+GESTURE_SWIPE_UP = 64
-
-SLIDER
= 4
-
-
-
-
-SPINNER
= 11
-
-
-
-
-STATUSBAR
= 15
-
-
-
-
-TEXTBOX
= 9
-
-
-
-
-TOGGLE
= 3
-
-
-
-
-VALUEBOX
= 10
+
+GESTURE_TAP = 1
-
-class pyray.
GuiControlProperty
+
+class pyray. GlyphInfo ( value , offsetX , offsetY , advanceX , image )
+struct
+
+
+
+
+class pyray. GuiCheckBoxProperty
Enum where members are also (and must be) ints
-
-BASE_COLOR_DISABLED
= 10
-
-
-
-
-BASE_COLOR_FOCUSED
= 4
-
-
-
-
-BASE_COLOR_NORMAL
= 1
-
-
-
-
-BASE_COLOR_PRESSED
= 7
-
-
-
-
-BORDER_COLOR_DISABLED
= 9
-
-
-
-
-BORDER_COLOR_FOCUSED
= 3
-
-
-
-
-BORDER_COLOR_NORMAL
= 0
-
-
-
-
-BORDER_COLOR_PRESSED
= 6
-
-
-
-
-BORDER_WIDTH
= 12
-
-
-
-
-RESERVED
= 15
-
-
-
-
-TEXT_ALIGNMENT
= 14
-
-
-
-
-TEXT_COLOR_DISABLED
= 11
-
-
-
-
-TEXT_COLOR_FOCUSED
= 5
-
-
-
-
-TEXT_COLOR_NORMAL
= 2
-
-
-
-
-TEXT_COLOR_PRESSED
= 8
-
-
-
-
-TEXT_PADDING
= 13
+
+CHECK_PADDING = 16
-
-class pyray.
GuiControlState
+
+class pyray. GuiColorPickerProperty
Enum where members are also (and must be) ints
-
-GUI_STATE_DISABLED
= 3
+
+COLOR_SELECTOR_SIZE = 16
-
-GUI_STATE_FOCUSED
= 1
+
+HUEBAR_PADDING = 18
-
-GUI_STATE_NORMAL
= 0
+
+HUEBAR_SELECTOR_HEIGHT = 19
-
-GUI_STATE_PRESSED
= 2
+
+HUEBAR_SELECTOR_OVERFLOW = 20
+
+
+
+
+HUEBAR_WIDTH = 17
-
-class pyray.
GuiDefaultProperty
+
+class pyray. GuiComboBoxProperty
Enum where members are also (and must be) ints
-
-BACKGROUND_COLOR
= 19
+
+COMBO_BUTTON_SPACING = 17
-
-LINE_COLOR
= 18
-
-
-
-
-TEXT_SIZE
= 16
-
-
-
-
-TEXT_SPACING
= 17
+
+COMBO_BUTTON_WIDTH = 16
-
-class pyray.
GuiDropdownBoxProperty
+
+class pyray. GuiControl
Enum where members are also (and must be) ints
-
-ARROW_PADDING
= 16
+
+BUTTON = 2
-
-DROPDOWN_ITEMS_PADDING
= 17
+
+CHECKBOX = 6
+
+
+
+
+COLORPICKER = 13
+
+
+
+
+COMBOBOX = 7
+
+
+
+
+DEFAULT = 0
+
+
+
+
+DROPDOWNBOX = 8
+
+
+
+
+LABEL = 1
+
+
+
+
+LISTVIEW = 12
+
+
+
+
+PROGRESSBAR = 5
+
+
+
+
+SCROLLBAR = 14
+
+
+
+
+SLIDER = 4
+
+
+
+
+SPINNER = 11
+
+
+
+
+STATUSBAR = 15
+
+
+
+
+TEXTBOX = 9
+
+
+
+
+TOGGLE = 3
+
+
+
+
+VALUEBOX = 10
-
-class pyray.
GuiListViewProperty
+
+class pyray. GuiControlProperty
Enum where members are also (and must be) ints
-
-LIST_ITEMS_HEIGHT
= 16
+
+BASE_COLOR_DISABLED = 10
-
-LIST_ITEMS_PADDING
= 17
+
+BASE_COLOR_FOCUSED = 4
-
-SCROLLBAR_SIDE
= 19
+
+BASE_COLOR_NORMAL = 1
-
-SCROLLBAR_WIDTH
= 18
+
+BASE_COLOR_PRESSED = 7
+
+
+
+
+BORDER_COLOR_DISABLED = 9
+
+
+
+
+BORDER_COLOR_FOCUSED = 3
+
+
+
+
+BORDER_COLOR_NORMAL = 0
+
+
+
+
+BORDER_COLOR_PRESSED = 6
+
+
+
+
+BORDER_WIDTH = 12
+
+
+
+
+RESERVED = 15
+
+
+
+
+TEXT_ALIGNMENT = 14
+
+
+
+
+TEXT_COLOR_DISABLED = 11
+
+
+
+
+TEXT_COLOR_FOCUSED = 5
+
+
+
+
+TEXT_COLOR_NORMAL = 2
+
+
+
+
+TEXT_COLOR_PRESSED = 8
+
+
+
+
+TEXT_PADDING = 13
-
-class pyray.
GuiProgressBarProperty
+
+class pyray. GuiDefaultProperty
Enum where members are also (and must be) ints
-
-PROGRESS_PADDING
= 16
+
+BACKGROUND_COLOR = 19
+
+
+
+
+LINE_COLOR = 18
+
+
+
+
+TEXT_SIZE = 16
+
+
+
+
+TEXT_SPACING = 17
-
-class pyray.
GuiScrollBarProperty
+
+class pyray. GuiDropdownBoxProperty
Enum where members are also (and must be) ints
-
-ARROWS_SIZE
= 16
+
+ARROW_PADDING = 16
-
-ARROWS_VISIBLE
= 17
-
-
-
-
-SCROLL_PADDING
= 20
-
-
-
-
-SCROLL_SLIDER_PADDING
= 18
-
-
-
-
-SCROLL_SLIDER_SIZE
= 19
-
-
-
-
-SCROLL_SPEED
= 21
+
+DROPDOWN_ITEMS_SPACING = 17
-
-class pyray.
GuiScrollBarSide
+
+class pyray. GuiIconName
Enum where members are also (and must be) ints
-
-SCROLLBAR_LEFT_SIDE
= 0
+
+ICON_1UP = 148
-
-SCROLLBAR_RIGHT_SIDE
= 1
+
+ICON_206 = 206
+
+
+
+
+ICON_207 = 207
+
+
+
+
+ICON_208 = 208
+
+
+
+
+ICON_209 = 209
+
+
+
+
+ICON_210 = 210
+
+
+
+
+ICON_211 = 211
+
+
+
+
+ICON_212 = 212
+
+
+
+
+ICON_213 = 213
+
+
+
+
+ICON_214 = 214
+
+
+
+
+ICON_215 = 215
+
+
+
+
+ICON_216 = 216
+
+
+
+
+ICON_217 = 217
+
+
+
+
+ICON_218 = 218
+
+
+
+
+ICON_219 = 219
+
+
+
+
+ICON_220 = 220
+
+
+
+
+ICON_221 = 221
+
+
+
+
+ICON_222 = 222
+
+
+
+
+ICON_223 = 223
+
+
+
+
+ICON_224 = 224
+
+
+
+
+ICON_225 = 225
+
+
+
+
+ICON_226 = 226
+
+
+
+
+ICON_227 = 227
+
+
+
+
+ICON_228 = 228
+
+
+
+
+ICON_229 = 229
+
+
+
+
+ICON_230 = 230
+
+
+
+
+ICON_231 = 231
+
+
+
+
+ICON_232 = 232
+
+
+
+
+ICON_233 = 233
+
+
+
+
+ICON_234 = 234
+
+
+
+
+ICON_235 = 235
+
+
+
+
+ICON_236 = 236
+
+
+
+
+ICON_237 = 237
+
+
+
+
+ICON_238 = 238
+
+
+
+
+ICON_239 = 239
+
+
+
+
+ICON_240 = 240
+
+
+
+
+ICON_241 = 241
+
+
+
+
+ICON_242 = 242
+
+
+
+
+ICON_243 = 243
+
+
+
+
+ICON_244 = 244
+
+
+
+
+ICON_245 = 245
+
+
+
+
+ICON_246 = 246
+
+
+
+
+ICON_247 = 247
+
+
+
+
+ICON_248 = 248
+
+
+
+
+ICON_249 = 249
+
+
+
+
+ICON_250 = 250
+
+
+
+
+ICON_251 = 251
+
+
+
+
+ICON_252 = 252
+
+
+
+
+ICON_253 = 253
+
+
+
+
+ICON_254 = 254
+
+
+
+
+ICON_255 = 255
+
+
+
+
+ICON_ALARM = 205
+
+
+
+
+ICON_ALPHA_CLEAR = 93
+
+
+
+
+ICON_ALPHA_MULTIPLY = 92
+
+
+
+
+ICON_ARROW_DOWN = 116
+
+
+
+
+ICON_ARROW_DOWN_FILL = 120
+
+
+
+
+ICON_ARROW_LEFT = 114
+
+
+
+
+ICON_ARROW_LEFT_FILL = 118
+
+
+
+
+ICON_ARROW_RIGHT = 115
+
+
+
+
+ICON_ARROW_RIGHT_FILL = 119
+
+
+
+
+ICON_ARROW_UP = 117
+
+
+
+
+ICON_ARROW_UP_FILL = 121
+
+
+
+
+ICON_AUDIO = 122
+
+
+
+
+ICON_BIN = 143
+
+
+
+
+ICON_BOX = 80
+
+
+
+
+ICON_BOX_BOTTOM = 85
+
+
+
+
+ICON_BOX_BOTTOM_LEFT = 86
+
+
+
+
+ICON_BOX_BOTTOM_RIGHT = 84
+
+
+
+
+ICON_BOX_CENTER = 89
+
+
+
+
+ICON_BOX_CIRCLE_MASK = 90
+
+
+
+
+ICON_BOX_CONCENTRIC = 110
+
+
+
+
+ICON_BOX_CORNERS_BIG = 99
+
+
+
+
+ICON_BOX_CORNERS_SMALL = 98
+
+
+
+
+ICON_BOX_DOTS_BIG = 109
+
+
+
+
+ICON_BOX_DOTS_SMALL = 108
+
+
+
+
+ICON_BOX_GRID = 96
+
+
+
+
+ICON_BOX_GRID_BIG = 111
+
+
+
+
+ICON_BOX_LEFT = 87
+
+
+
+
+ICON_BOX_MULTISIZE = 102
+
+
+
+
+ICON_BOX_RIGHT = 83
+
+
+
+
+ICON_BOX_TOP = 81
+
+
+
+
+ICON_BOX_TOP_LEFT = 88
+
+
+
+
+ICON_BOX_TOP_RIGHT = 82
+
+
+
+
+ICON_BRUSH_CLASSIC = 24
+
+
+
+
+ICON_BRUSH_PAINTER = 25
+
+
+
+
+ICON_CAMERA = 169
+
+
+
+
+ICON_CLOCK = 139
+
+
+
+
+ICON_COIN = 146
+
+
+
+
+ICON_COLOR_BUCKET = 29
+
+
+
+
+ICON_COLOR_PICKER = 27
+
+
+
+
+ICON_CORNER = 187
+
+
+
+
+ICON_CRACK = 155
+
+
+
+
+ICON_CRACK_POINTS = 156
+
+
+
+
+ICON_CROP = 36
+
+
+
+
+ICON_CROP_ALPHA = 37
+
+
+
+
+ICON_CROSS = 113
+
+
+
+
+ICON_CROSSLINE = 192
+
+
+
+
+ICON_CROSS_SMALL = 128
+
+
+
+
+ICON_CUBE = 162
+
+
+
+
+ICON_CUBE_FACE_BACK = 168
+
+
+
+
+ICON_CUBE_FACE_BOTTOM = 166
+
+
+
+
+ICON_CUBE_FACE_FRONT = 165
+
+
+
+
+ICON_CUBE_FACE_LEFT = 164
+
+
+
+
+ICON_CUBE_FACE_RIGHT = 167
+
+
+
+
+ICON_CUBE_FACE_TOP = 163
+
+
+
+
+ICON_CURSOR_CLASSIC = 21
+
+
+
+
+ICON_CURSOR_HAND = 19
+
+
+
+
+ICON_CURSOR_MOVE = 52
+
+
+
+
+ICON_CURSOR_MOVE_FILL = 68
+
+
+
+
+ICON_CURSOR_POINTER = 20
+
+
+
+
+ICON_CURSOR_SCALE = 53
+
+
+
+
+ICON_CURSOR_SCALE_FILL = 69
+
+
+
+
+ICON_CURSOR_SCALE_LEFT = 55
+
+
+
+
+ICON_CURSOR_SCALE_LEFT_FILL = 71
+
+
+
+
+ICON_CURSOR_SCALE_RIGHT = 54
+
+
+
+
+ICON_CURSOR_SCALE_RIGHT_FILL = 70
+
+
+
+
+ICON_DEMON = 152
+
+
+
+
+ICON_DITHERING = 94
+
+
+
+
+ICON_DOOR = 158
+
+
+
+
+ICON_EMPTYBOX = 63
+
+
+
+
+ICON_EMPTYBOX_SMALL = 79
+
+
+
+
+ICON_EXIT = 159
+
+
+
+
+ICON_EXPLOSION = 147
+
+
+
+
+ICON_EYE_OFF = 45
+
+
+
+
+ICON_EYE_ON = 44
+
+
+
+
+ICON_FILETYPE_ALPHA = 194
+
+
+
+
+ICON_FILETYPE_AUDIO = 11
+
+
+
+
+ICON_FILETYPE_BINARY = 200
+
+
+
+
+ICON_FILETYPE_HOME = 195
+
+
+
+
+ICON_FILETYPE_IMAGE = 12
+
+
+
+
+ICON_FILETYPE_INFO = 15
+
+
+
+
+ICON_FILETYPE_PLAY = 13
+
+
+
+
+ICON_FILETYPE_TEXT = 10
+
+
+
+
+ICON_FILETYPE_VIDEO = 14
+
+
+
+
+ICON_FILE_ADD = 8
+
+
+
+
+ICON_FILE_COPY = 16
+
+
+
+
+ICON_FILE_CUT = 17
+
+
+
+
+ICON_FILE_DELETE = 9
+
+
+
+
+ICON_FILE_EXPORT = 7
+
+
+
+
+ICON_FILE_NEW = 203
+
+
+
+
+ICON_FILE_OPEN = 5
+
+
+
+
+ICON_FILE_PASTE = 18
+
+
+
+
+ICON_FILE_SAVE = 6
+
+
+
+
+ICON_FILE_SAVE_CLASSIC = 2
+
+
+
+
+ICON_FILTER = 47
+
+
+
+
+ICON_FILTER_BILINEAR = 35
+
+
+
+
+ICON_FILTER_POINT = 34
+
+
+
+
+ICON_FILTER_TOP = 46
+
+
+
+
+ICON_FOLDER_ADD = 204
+
+
+
+
+ICON_FOLDER_FILE_OPEN = 1
+
+
+
+
+ICON_FOLDER_OPEN = 3
+
+
+
+
+ICON_FOLDER_SAVE = 4
+
+
+
+
+ICON_FOUR_BOXES = 100
+
+
+
+
+ICON_FX = 123
+
+
+
+
+ICON_GEAR = 141
+
+
+
+
+ICON_GEAR_BIG = 142
+
+
+
+
+ICON_GEAR_EX = 154
+
+
+
+
+ICON_GRID = 97
+
+
+
+
+ICON_GRID_FILL = 101
+
+
+
+
+ICON_HAND_POINTER = 144
+
+
+
+
+ICON_HEART = 186
+
+
+
+
+ICON_HELP = 193
+
+
+
+
+ICON_HEX = 201
+
+
+
+
+ICON_HIDPI = 199
+
+
+
+
+ICON_HOUSE = 185
+
+
+
+
+ICON_INFO = 191
+
+
+
+
+ICON_KEY = 151
+
+
+
+
+ICON_LASER = 145
+
+
+
+
+ICON_LAYERS = 197
+
+
+
+
+ICON_LAYERS_VISIBLE = 196
+
+
+
+
+ICON_LENS = 42
+
+
+
+
+ICON_LENS_BIG = 43
+
+
+
+
+ICON_LIFE_BARS = 190
+
+
+
+
+ICON_LINK = 174
+
+
+
+
+ICON_LINK_BOXES = 172
+
+
+
+
+ICON_LINK_BROKE = 175
+
+
+
+
+ICON_LINK_MULTI = 173
+
+
+
+
+ICON_LINK_NET = 171
+
+
+
+
+ICON_LOCK_CLOSE = 137
+
+
+
+
+ICON_LOCK_OPEN = 138
+
+
+
+
+ICON_MAGNET = 136
+
+
+
+
+ICON_MAILBOX = 180
+
+
+
+
+ICON_MIPMAPS = 95
+
+
+
+
+ICON_MODE_2D = 160
+
+
+
+
+ICON_MODE_3D = 161
+
+
+
+
+ICON_MONITOR = 181
+
+
+
+
+ICON_MUTATE = 59
+
+
+
+
+ICON_MUTATE_FILL = 75
+
+
+
+
+ICON_NONE = 0
+
+
+
+
+ICON_NOTEBOOK = 177
+
+
+
+
+ICON_OK_TICK = 112
+
+
+
+
+ICON_PENCIL = 22
+
+
+
+
+ICON_PENCIL_BIG = 23
+
+
+
+
+ICON_PHOTO_CAMERA = 183
+
+
+
+
+ICON_PHOTO_CAMERA_FLASH = 184
+
+
+
+
+ICON_PLAYER = 149
+
+
+
+
+ICON_PLAYER_JUMP = 150
+
+
+
+
+ICON_PLAYER_NEXT = 134
+
+
+
+
+ICON_PLAYER_PAUSE = 132
+
+
+
+
+ICON_PLAYER_PLAY = 131
+
+
+
+
+ICON_PLAYER_PLAY_BACK = 130
+
+
+
+
+ICON_PLAYER_PREVIOUS = 129
+
+
+
+
+ICON_PLAYER_RECORD = 135
+
+
+
+
+ICON_PLAYER_STOP = 133
+
+
+
+
+ICON_POT = 91
+
+
+
+
+ICON_PRINTER = 182
+
+
+
+
+ICON_REDO = 57
+
+
+
+
+ICON_REDO_FILL = 73
+
+
+
+
+ICON_REPEAT = 61
+
+
+
+
+ICON_REPEAT_FILL = 77
+
+
+
+
+ICON_REREDO = 58
+
+
+
+
+ICON_REREDO_FILL = 74
+
+
+
+
+ICON_RESIZE = 33
+
+
+
+
+ICON_ROTATE = 60
+
+
+
+
+ICON_ROTATE_FILL = 76
+
+
+
+
+ICON_RUBBER = 28
+
+
+
+
+ICON_SCALE = 32
+
+
+
+
+ICON_SHIELD = 202
+
+
+
+
+ICON_SHUFFLE = 62
+
+
+
+
+ICON_SHUFFLE_FILL = 78
+
+
+
+
+ICON_SPECIAL = 170
+
+
+
+
+ICON_SQUARE_TOGGLE = 38
+
+
+
+
+ICON_STAR = 157
+
+
+
+
+ICON_SUITCASE = 178
+
+
+
+
+ICON_SUITCASE_ZIP = 179
+
+
+
+
+ICON_SYMMETRY = 39
+
+
+
+
+ICON_SYMMETRY_HORIZONTAL = 40
+
+
+
+
+ICON_SYMMETRY_VERTICAL = 41
+
+
+
+
+ICON_TARGET = 64
+
+
+
+
+ICON_TARGET_BIG = 50
+
+
+
+
+ICON_TARGET_BIG_FILL = 66
+
+
+
+
+ICON_TARGET_MOVE = 51
+
+
+
+
+ICON_TARGET_MOVE_FILL = 67
+
+
+
+
+ICON_TARGET_POINT = 48
+
+
+
+
+ICON_TARGET_SMALL = 49
+
+
+
+
+ICON_TARGET_SMALL_FILL = 65
+
+
+
+
+ICON_TEXT_A = 31
+
+
+
+
+ICON_TEXT_NOTES = 176
+
+
+
+
+
+
+
+
+ICON_TEXT_T = 30
+
+
+
+
+ICON_TOOLS = 140
+
+
+
+
+ICON_UNDO = 56
+
+
+
+
+ICON_UNDO_FILL = 72
+
+
+
+
+ICON_VERTICAL_BARS = 188
+
+
+
+
+ICON_VERTICAL_BARS_FILL = 189
+
+
+
+
+ICON_WATER_DROP = 26
+
+
+
+
+ICON_WAVE = 124
+
+
+
+
+ICON_WAVE_SINUS = 125
+
+
+
+
+ICON_WAVE_SQUARE = 126
+
+
+
+
+ICON_WAVE_TRIANGULAR = 127
+
+
+
+
+ICON_WINDOW = 198
+
+
+
+
+ICON_ZOOM_ALL = 106
+
+
+
+
+ICON_ZOOM_BIG = 105
+
+
+
+
+ICON_ZOOM_CENTER = 107
+
+
+
+
+ICON_ZOOM_MEDIUM = 104
+
+
+
+
+ICON_ZOOM_SMALL = 103
-
-class pyray.
GuiSliderProperty
+
+class pyray. GuiListViewProperty
Enum where members are also (and must be) ints
-
-SLIDER_PADDING
= 17
+
+LIST_ITEMS_HEIGHT = 16
-
-SLIDER_WIDTH
= 16
+
+LIST_ITEMS_SPACING = 17
+
+
+
+
+SCROLLBAR_SIDE = 19
+
+
+
+
+SCROLLBAR_WIDTH = 18
-
-class pyray.
GuiSpinnerProperty
+
+class pyray. GuiProgressBarProperty
Enum where members are also (and must be) ints
-
-SPIN_BUTTON_PADDING
= 17
-
-
-
-
-SPIN_BUTTON_WIDTH
= 16
+
+PROGRESS_PADDING = 16
-
-class pyray.
GuiStyleProp
( controlId , propertyId , propertyValue )
-struct
-
-
-
-
-class pyray.
GuiTextAlignment
+
+class pyray. GuiScrollBarProperty
Enum where members are also (and must be) ints
-
-GUI_TEXT_ALIGN_CENTER
= 1
+
+ARROWS_SIZE = 16
-
-GUI_TEXT_ALIGN_LEFT
= 0
+
+ARROWS_VISIBLE = 17
-
-GUI_TEXT_ALIGN_RIGHT
= 2
+
+SCROLL_PADDING = 20
+
+
+
+
+SCROLL_SLIDER_PADDING = 18
+
+
+
+
+SCROLL_SLIDER_SIZE = 19
+
+
+
+
+SCROLL_SPEED = 21
-
-class pyray.
GuiTextBoxProperty
+
+class pyray. GuiSliderProperty
Enum where members are also (and must be) ints
-
-COLOR_SELECTED_BG
= 19
+
+SLIDER_PADDING = 17
-
-COLOR_SELECTED_FG
= 18
-
-
-
-
-TEXT_INNER_PADDING
= 16
-
-
-
-
-TEXT_LINES_PADDING
= 17
+
+SLIDER_WIDTH = 16
-
-class pyray.
GuiToggleProperty
+
+class pyray. GuiSpinnerProperty
Enum where members are also (and must be) ints
-
-GROUP_PADDING
= 16
+
+SPIN_BUTTON_SPACING = 17
+
+
+
+
+SPIN_BUTTON_WIDTH = 16
-
-class pyray.
Image
( data , width , height , mipmaps , format )
-struct
-
-
-
-
-class pyray.
KeyboardKey
+
+class pyray. GuiState
Enum where members are also (and must be) ints
-
-KEY_A
= 65
+
+STATE_DISABLED = 3
-
-KEY_APOSTROPHE
= 39
+
+STATE_FOCUSED = 1
-
-KEY_B
= 66
+
+STATE_NORMAL = 0
-
-KEY_BACK
= 4
-
-
-
-
-KEY_BACKSLASH
= 92
-
-
-
-
-KEY_BACKSPACE
= 259
-
-
-
-
-KEY_C
= 67
-
-
-
-
-KEY_CAPS_LOCK
= 280
-
-
-
-
-KEY_COMMA
= 44
-
-
-
-
-KEY_D
= 68
-
-
-
-
-KEY_DELETE
= 261
-
-
-
-
-KEY_DOWN
= 264
-
-
-
-
-KEY_E
= 69
-
-
-
-
-KEY_EIGHT
= 56
-
-
-
-
-KEY_END
= 269
-
-
-
-
-KEY_ENTER
= 257
-
-
-
-
-KEY_EQUAL
= 61
-
-
-
-
-KEY_ESCAPE
= 256
-
-
-
-
-KEY_F
= 70
-
-
-
-
-KEY_F1
= 290
-
-
-
-
-KEY_F10
= 299
-
-
-
-
-KEY_F11
= 300
-
-
-
-
-KEY_F12
= 301
-
-
-
-
-KEY_F2
= 291
-
-
-
-
-KEY_F3
= 292
-
-
-
-
-KEY_F4
= 293
-
-
-
-
-KEY_F5
= 294
-
-
-
-
-KEY_F6
= 295
-
-
-
-
-KEY_F7
= 296
-
-
-
-
-KEY_F8
= 297
-
-
-
-
-KEY_F9
= 298
-
-
-
-
-KEY_FIVE
= 53
-
-
-
-
-KEY_FOUR
= 52
-
-
-
-
-KEY_G
= 71
-
-
-
-
-KEY_GRAVE
= 96
-
-
-
-
-KEY_H
= 72
-
-
-
-
-KEY_HOME
= 268
-
-
-
-
-KEY_I
= 73
-
-
-
-
-KEY_INSERT
= 260
-
-
-
-
-KEY_J
= 74
-
-
-
-
-KEY_K
= 75
-
-
-
-
-
-
-
-
-KEY_KP_0
= 320
-
-
-
-
-KEY_KP_1
= 321
-
-
-
-
-KEY_KP_2
= 322
-
-
-
-
-KEY_KP_3
= 323
-
-
-
-
-KEY_KP_4
= 324
-
-
-
-
-KEY_KP_5
= 325
-
-
-
-
-KEY_KP_6
= 326
-
-
-
-
-KEY_KP_7
= 327
-
-
-
-
-KEY_KP_8
= 328
-
-
-
-
-KEY_KP_9
= 329
-
-
-
-
-KEY_KP_ADD
= 334
-
-
-
-
-KEY_KP_DECIMAL
= 330
-
-
-
-
-KEY_KP_DIVIDE
= 331
-
-
-
-
-KEY_KP_ENTER
= 335
-
-
-
-
-KEY_KP_EQUAL
= 336
-
-
-
-
-KEY_KP_MULTIPLY
= 332
-
-
-
-
-KEY_KP_SUBTRACT
= 333
-
-
-
-
-KEY_L
= 76
-
-
-
-
-KEY_LEFT
= 263
-
-
-
-
-KEY_LEFT_ALT
= 342
-
-
-
-
-KEY_LEFT_BRACKET
= 91
-
-
-
-
-KEY_LEFT_CONTROL
= 341
-
-
-
-
-KEY_LEFT_SHIFT
= 340
-
-
-
-
-KEY_LEFT_SUPER
= 343
-
-
-
-
-KEY_M
= 77
-
-
-
-
-
-
-
-
-KEY_MINUS
= 45
-
-
-
-
-KEY_N
= 78
-
-
-
-
-KEY_NINE
= 57
-
-
-
-
-KEY_NULL
= 0
-
-
-
-
-KEY_NUM_LOCK
= 282
-
-
-
-
-KEY_O
= 79
-
-
-
-
-KEY_ONE
= 49
-
-
-
-
-KEY_P
= 80
-
-
-
-
-KEY_PAGE_DOWN
= 267
-
-
-
-
-KEY_PAGE_UP
= 266
-
-
-
-
-KEY_PAUSE
= 284
-
-
-
-
-KEY_PERIOD
= 46
-
-
-
-
-KEY_PRINT_SCREEN
= 283
-
-
-
-
-KEY_Q
= 81
-
-
-
-
-KEY_R
= 82
-
-
-
-
-KEY_RIGHT
= 262
-
-
-
-
-KEY_RIGHT_ALT
= 346
-
-
-
-
-KEY_RIGHT_BRACKET
= 93
-
-
-
-
-KEY_RIGHT_CONTROL
= 345
-
-
-
-
-KEY_RIGHT_SHIFT
= 344
-
-
-
-
-KEY_RIGHT_SUPER
= 347
-
-
-
-
-KEY_S
= 83
-
-
-
-
-KEY_SCROLL_LOCK
= 281
-
-
-
-
-KEY_SEMICOLON
= 59
-
-
-
-
-KEY_SEVEN
= 55
-
-
-
-
-KEY_SIX
= 54
-
-
-
-
-KEY_SLASH
= 47
-
-
-
-
-KEY_SPACE
= 32
-
-
-
-
-KEY_T
= 84
-
-
-
-
-KEY_TAB
= 258
-
-
-
-
-KEY_THREE
= 51
-
-
-
-
-KEY_TWO
= 50
-
-
-
-
-KEY_U
= 85
-
-
-
-
-KEY_UP
= 265
-
-
-
-
-KEY_V
= 86
-
-
-
-
-KEY_VOLUME_DOWN
= 25
-
-
-
-
-KEY_VOLUME_UP
= 24
-
-
-
-
-KEY_W
= 87
-
-
-
-
-KEY_X
= 88
-
-
-
-
-KEY_Y
= 89
-
-
-
-
-KEY_Z
= 90
-
-
-
-
-KEY_ZERO
= 48
+
+STATE_PRESSED = 2
-
-class pyray.
Material
( shader , maps , params )
+
+class pyray. GuiStyleProp ( controlId , propertyId , propertyValue )
struct
-
-class pyray.
MaterialMap
( texture , color , value )
-struct
-
-
-
-
-class pyray.
MaterialMapIndex
+
+class pyray. GuiTextAlignment
Enum where members are also (and must be) ints
-
-MATERIAL_MAP_ALBEDO
= 0
+
+TEXT_ALIGN_CENTER = 1
-
-MATERIAL_MAP_BRDF
= 10
+
+TEXT_ALIGN_LEFT = 0
-
-MATERIAL_MAP_CUBEMAP
= 7
-
-
-
-
-MATERIAL_MAP_EMISSION
= 5
-
-
-
-
-MATERIAL_MAP_HEIGHT
= 6
-
-
-
-
-MATERIAL_MAP_IRRADIANCE
= 8
-
-
-
-
-MATERIAL_MAP_METALNESS
= 1
-
-
-
-
-MATERIAL_MAP_NORMAL
= 2
-
-
-
-
-MATERIAL_MAP_OCCLUSION
= 4
-
-
-
-
-MATERIAL_MAP_PREFILTER
= 9
-
-
-
-
-MATERIAL_MAP_ROUGHNESS
= 3
+
+TEXT_ALIGN_RIGHT = 2
-
-class pyray.
Matrix
( m0 , m4 , m8 , m12 , m1 , m5 , m9 , m13 , m2 , m6 , m10 , m14 , m3 , m7 , m11 , m15 )
-struct
-
-
-
-
-class pyray.
Matrix2x2
( m00 , m01 , m10 , m11 )
-struct
-
-
-
-
-class pyray.
Mesh
( vertexCount , triangleCount , vertices , texcoords , texcoords2 , normals , tangents , colors , indices , animVertices , animNormals , boneIds , boneWeights , vaoId , vboId )
-struct
-
-
-
-
-class pyray.
Model
( transform , meshCount , materialCount , meshes , materials , meshMaterial , boneCount , bones , bindPose )
-struct
-
-
-
-
-class pyray.
ModelAnimation
( boneCount , frameCount , bones , framePoses )
-struct
-
-
-
-
-class pyray.
MouseButton
+
+class pyray. GuiTextBoxProperty
Enum where members are also (and must be) ints
-
-MOUSE_BUTTON_BACK
= 6
+
+TEXT_INNER_PADDING = 16
-
-
-
-
-
-MOUSE_BUTTON_FORWARD
= 5
-
-
-
-
-MOUSE_BUTTON_LEFT
= 0
-
-
-
-
-MOUSE_BUTTON_MIDDLE
= 2
-
-
-
-
-MOUSE_BUTTON_RIGHT
= 1
-
-
-
-
-MOUSE_BUTTON_SIDE
= 3
+
+TEXT_LINES_SPACING = 17
-
-class pyray.
MouseCursor
+
+class pyray. GuiToggleProperty
Enum where members are also (and must be) ints
-
-MOUSE_CURSOR_ARROW
= 1
-
-
-
-
-MOUSE_CURSOR_CROSSHAIR
= 3
-
-
-
-
-MOUSE_CURSOR_DEFAULT
= 0
-
-
-
-
-MOUSE_CURSOR_IBEAM
= 2
-
-
-
-
-MOUSE_CURSOR_NOT_ALLOWED
= 10
-
-
-
-
-MOUSE_CURSOR_POINTING_HAND
= 4
-
-
-
-
-MOUSE_CURSOR_RESIZE_ALL
= 9
-
-
-
-
-MOUSE_CURSOR_RESIZE_EW
= 5
-
-
-
-
-MOUSE_CURSOR_RESIZE_NESW
= 8
-
-
-
-
-MOUSE_CURSOR_RESIZE_NS
= 6
-
-
-
-
-MOUSE_CURSOR_RESIZE_NWSE
= 7
+
+GROUP_PADDING = 16
-
-class pyray.
Music
( stream , frameCount , looping , ctxType , ctxData )
+
+class pyray. Image ( data , width , height , mipmaps , format )
struct
-
-class pyray.
NPatchInfo
( source , left , top , right , bottom , layout )
-struct
-
-
-
-
-class pyray.
NPatchLayout
+
+class pyray. KeyboardKey
Enum where members are also (and must be) ints
-
-NPATCH_NINE_PATCH
= 0
+
+KEY_A = 65
-
-NPATCH_THREE_PATCH_HORIZONTAL
= 2
+
+KEY_APOSTROPHE = 39
-
-NPATCH_THREE_PATCH_VERTICAL
= 1
+
+KEY_B = 66
+
+
+
+
+KEY_BACK = 4
+
+
+
+
+KEY_BACKSLASH = 92
+
+
+
+
+KEY_BACKSPACE = 259
+
+
+
+
+KEY_C = 67
+
+
+
+
+KEY_CAPS_LOCK = 280
+
+
+
+
+KEY_COMMA = 44
+
+
+
+
+KEY_D = 68
+
+
+
+
+KEY_DELETE = 261
+
+
+
+
+KEY_DOWN = 264
+
+
+
+
+KEY_E = 69
+
+
+
+
+KEY_EIGHT = 56
+
+
+
+
+KEY_END = 269
+
+
+
+
+KEY_ENTER = 257
+
+
+
+
+KEY_EQUAL = 61
+
+
+
+
+KEY_ESCAPE = 256
+
+
+
+
+KEY_F = 70
+
+
+
+
+KEY_F1 = 290
+
+
+
+
+KEY_F10 = 299
+
+
+
+
+KEY_F11 = 300
+
+
+
+
+KEY_F12 = 301
+
+
+
+
+KEY_F2 = 291
+
+
+
+
+KEY_F3 = 292
+
+
+
+
+KEY_F4 = 293
+
+
+
+
+KEY_F5 = 294
+
+
+
+
+KEY_F6 = 295
+
+
+
+
+KEY_F7 = 296
+
+
+
+
+KEY_F8 = 297
+
+
+
+
+KEY_F9 = 298
+
+
+
+
+KEY_FIVE = 53
+
+
+
+
+KEY_FOUR = 52
+
+
+
+
+KEY_G = 71
+
+
+
+
+KEY_GRAVE = 96
+
+
+
+
+KEY_H = 72
+
+
+
+
+KEY_HOME = 268
+
+
+
+
+KEY_I = 73
+
+
+
+
+KEY_INSERT = 260
+
+
+
+
+KEY_J = 74
+
+
+
+
+KEY_K = 75
+
+
+
+
+
+
+
+
+KEY_KP_0 = 320
+
+
+
+
+KEY_KP_1 = 321
+
+
+
+
+KEY_KP_2 = 322
+
+
+
+
+KEY_KP_3 = 323
+
+
+
+
+KEY_KP_4 = 324
+
+
+
+
+KEY_KP_5 = 325
+
+
+
+
+KEY_KP_6 = 326
+
+
+
+
+KEY_KP_7 = 327
+
+
+
+
+KEY_KP_8 = 328
+
+
+
+
+KEY_KP_9 = 329
+
+
+
+
+KEY_KP_ADD = 334
+
+
+
+
+KEY_KP_DECIMAL = 330
+
+
+
+
+KEY_KP_DIVIDE = 331
+
+
+
+
+KEY_KP_ENTER = 335
+
+
+
+
+KEY_KP_EQUAL = 336
+
+
+
+
+KEY_KP_MULTIPLY = 332
+
+
+
+
+KEY_KP_SUBTRACT = 333
+
+
+
+
+KEY_L = 76
+
+
+
+
+KEY_LEFT = 263
+
+
+
+
+KEY_LEFT_ALT = 342
+
+
+
+
+KEY_LEFT_BRACKET = 91
+
+
+
+
+KEY_LEFT_CONTROL = 341
+
+
+
+
+KEY_LEFT_SHIFT = 340
+
+
+
+
+KEY_LEFT_SUPER = 343
+
+
+
+
+KEY_M = 77
+
+
+
+
+
+
+
+
+KEY_MINUS = 45
+
+
+
+
+KEY_N = 78
+
+
+
+
+KEY_NINE = 57
+
+
+
+
+KEY_NULL = 0
+
+
+
+
+KEY_NUM_LOCK = 282
+
+
+
+
+KEY_O = 79
+
+
+
+
+KEY_ONE = 49
+
+
+
+
+KEY_P = 80
+
+
+
+
+KEY_PAGE_DOWN = 267
+
+
+
+
+KEY_PAGE_UP = 266
+
+
+
+
+KEY_PAUSE = 284
+
+
+
+
+KEY_PERIOD = 46
+
+
+
+
+KEY_PRINT_SCREEN = 283
+
+
+
+
+KEY_Q = 81
+
+
+
+
+KEY_R = 82
+
+
+
+
+KEY_RIGHT = 262
+
+
+
+
+KEY_RIGHT_ALT = 346
+
+
+
+
+KEY_RIGHT_BRACKET = 93
+
+
+
+
+KEY_RIGHT_CONTROL = 345
+
+
+
+
+KEY_RIGHT_SHIFT = 344
+
+
+
+
+KEY_RIGHT_SUPER = 347
+
+
+
+
+KEY_S = 83
+
+
+
+
+KEY_SCROLL_LOCK = 281
+
+
+
+
+KEY_SEMICOLON = 59
+
+
+
+
+KEY_SEVEN = 55
+
+
+
+
+KEY_SIX = 54
+
+
+
+
+KEY_SLASH = 47
+
+
+
+
+KEY_SPACE = 32
+
+
+
+
+KEY_T = 84
+
+
+
+
+KEY_TAB = 258
+
+
+
+
+KEY_THREE = 51
+
+
+
+
+KEY_TWO = 50
+
+
+
+
+KEY_U = 85
+
+
+
+
+KEY_UP = 265
+
+
+
+
+KEY_V = 86
+
+
+
+
+KEY_VOLUME_DOWN = 25
+
+
+
+
+KEY_VOLUME_UP = 24
+
+
+
+
+KEY_W = 87
+
+
+
+
+KEY_X = 88
+
+
+
+
+KEY_Y = 89
+
+
+
+
+KEY_Z = 90
+
+
+
+
+KEY_ZERO = 48
-
-class pyray.
PhysicsBodyData
( id , enabled , position , velocity , force , angularVelocity , torque , orient , inertia , inverseInertia , mass , inverseMass , staticFriction , dynamicFriction , restitution , useGravity , isGrounded , freezeOrient , shape )
+
+class pyray. Material ( shader , maps , params )
struct
-
-class pyray.
PhysicsManifoldData
( id , bodyA , bodyB , penetration , normal , contacts , contactsCount , restitution , dynamicFriction , staticFriction )
+
+class pyray. MaterialMap ( texture , color , value )
struct
-
-class pyray.
PhysicsShape
( type , body , vertexData , radius , transform )
-struct
-
-
-
-
-class pyray.
PhysicsVertexData
( vertexCount , positions , normals )
-struct
-
-
-
-
-class pyray.
PixelFormat
+
+class pyray. MaterialMapIndex
Enum where members are also (and must be) ints
-
-PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA
= 20
+
+MATERIAL_MAP_ALBEDO = 0
-
-PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA
= 21
+
+MATERIAL_MAP_BRDF = 10
-
-PIXELFORMAT_COMPRESSED_DXT1_RGB
= 11
+
+MATERIAL_MAP_CUBEMAP = 7
-
-PIXELFORMAT_COMPRESSED_DXT1_RGBA
= 12
+
+MATERIAL_MAP_EMISSION = 5
-
-PIXELFORMAT_COMPRESSED_DXT3_RGBA
= 13
+
+MATERIAL_MAP_HEIGHT = 6
-
-PIXELFORMAT_COMPRESSED_DXT5_RGBA
= 14
+
+MATERIAL_MAP_IRRADIANCE = 8
-
-PIXELFORMAT_COMPRESSED_ETC1_RGB
= 15
+
+MATERIAL_MAP_METALNESS = 1
-
-PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA
= 17
+
+MATERIAL_MAP_NORMAL = 2
-
-PIXELFORMAT_COMPRESSED_ETC2_RGB
= 16
+
+MATERIAL_MAP_OCCLUSION = 4
-
-PIXELFORMAT_COMPRESSED_PVRT_RGB
= 18
+
+MATERIAL_MAP_PREFILTER = 9
-
-PIXELFORMAT_COMPRESSED_PVRT_RGBA
= 19
-
-
-
-
-PIXELFORMAT_UNCOMPRESSED_GRAYSCALE
= 1
-
-
-
-
-PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA
= 2
-
-
-
-
-PIXELFORMAT_UNCOMPRESSED_R32
= 8
-
-
-
-
-PIXELFORMAT_UNCOMPRESSED_R32G32B32
= 9
-
-
-
-
-PIXELFORMAT_UNCOMPRESSED_R32G32B32A32
= 10
-
-
-
-
-PIXELFORMAT_UNCOMPRESSED_R4G4B4A4
= 6
-
-
-
-
-PIXELFORMAT_UNCOMPRESSED_R5G5B5A1
= 5
-
-
-
-
-PIXELFORMAT_UNCOMPRESSED_R5G6B5
= 3
-
-
-
-
-PIXELFORMAT_UNCOMPRESSED_R8G8B8
= 4
-
-
-
-
-PIXELFORMAT_UNCOMPRESSED_R8G8B8A8
= 7
+
+MATERIAL_MAP_ROUGHNESS = 3
-
-class pyray.
Quaternion
( x , y , z , w )
+
+class pyray. Matrix ( m0 , m4 , m8 , m12 , m1 , m5 , m9 , m13 , m2 , m6 , m10 , m14 , m3 , m7 , m11 , m15 )
struct
-
-class pyray.
Ray
( position , direction )
+
+class pyray. Matrix2x2 ( m00 , m01 , m10 , m11 )
struct
-
-class pyray.
RayCollision
( hit , distance , point , normal )
+
+class pyray. Mesh ( vertexCount , triangleCount , vertices , texcoords , texcoords2 , normals , tangents , colors , indices , animVertices , animNormals , boneIds , boneWeights , vaoId , vboId )
struct
-
-class pyray.
Rectangle
( x , y , width , height )
+
+class pyray. Model ( transform , meshCount , materialCount , meshes , materials , meshMaterial , boneCount , bones , bindPose )
struct
-
-class pyray.
RenderTexture
( id , texture , depth )
+
+class pyray. ModelAnimation ( boneCount , frameCount , bones , framePoses )
struct
-
-class pyray.
RenderTexture2D
( id , texture , depth )
-struct
-
-
-
-
-class pyray.
Shader
( id , locs )
-struct
-
-
-
-
-class pyray.
ShaderAttributeDataType
+
+class pyray. MouseButton
Enum where members are also (and must be) ints
-
-SHADER_ATTRIB_FLOAT
= 0
+
+MOUSE_BUTTON_BACK = 6
-
-SHADER_ATTRIB_VEC2
= 1
+
-
-SHADER_ATTRIB_VEC3
= 2
+
+MOUSE_BUTTON_FORWARD = 5
-
-SHADER_ATTRIB_VEC4
= 3
+
+MOUSE_BUTTON_LEFT = 0
+
+
+
+
+MOUSE_BUTTON_MIDDLE = 2
+
+
+
+
+MOUSE_BUTTON_RIGHT = 1
+
+
+
+
+MOUSE_BUTTON_SIDE = 3
-
-class pyray.
ShaderLocationIndex
+
+class pyray. MouseCursor
Enum where members are also (and must be) ints
-
-SHADER_LOC_COLOR_AMBIENT
= 14
+
+MOUSE_CURSOR_ARROW = 1
-
-SHADER_LOC_COLOR_DIFFUSE
= 12
+
+MOUSE_CURSOR_CROSSHAIR = 3
-
-SHADER_LOC_COLOR_SPECULAR
= 13
+
+MOUSE_CURSOR_DEFAULT = 0
-
-SHADER_LOC_MAP_ALBEDO
= 15
+
+MOUSE_CURSOR_IBEAM = 2
-
-SHADER_LOC_MAP_BRDF
= 25
+
+MOUSE_CURSOR_NOT_ALLOWED = 10
-
-SHADER_LOC_MAP_CUBEMAP
= 22
+
+MOUSE_CURSOR_POINTING_HAND = 4
-
-SHADER_LOC_MAP_EMISSION
= 20
+
+MOUSE_CURSOR_RESIZE_ALL = 9
-
-SHADER_LOC_MAP_HEIGHT
= 21
+
+MOUSE_CURSOR_RESIZE_EW = 5
-
-SHADER_LOC_MAP_IRRADIANCE
= 23
+
+MOUSE_CURSOR_RESIZE_NESW = 8
-
-SHADER_LOC_MAP_METALNESS
= 16
+
+MOUSE_CURSOR_RESIZE_NS = 6
-
-SHADER_LOC_MAP_NORMAL
= 17
-
-
-
-
-SHADER_LOC_MAP_OCCLUSION
= 19
-
-
-
-
-SHADER_LOC_MAP_PREFILTER
= 24
-
-
-
-
-SHADER_LOC_MAP_ROUGHNESS
= 18
-
-
-
-
-SHADER_LOC_MATRIX_MODEL
= 9
-
-
-
-
-SHADER_LOC_MATRIX_MVP
= 6
-
-
-
-
-SHADER_LOC_MATRIX_NORMAL
= 10
-
-
-
-
-SHADER_LOC_MATRIX_PROJECTION
= 8
-
-
-
-
-SHADER_LOC_MATRIX_VIEW
= 7
-
-
-
-
-SHADER_LOC_VECTOR_VIEW
= 11
-
-
-
-
-SHADER_LOC_VERTEX_COLOR
= 5
-
-
-
-
-SHADER_LOC_VERTEX_NORMAL
= 3
-
-
-
-
-SHADER_LOC_VERTEX_POSITION
= 0
-
-
-
-
-SHADER_LOC_VERTEX_TANGENT
= 4
-
-
-
-
-SHADER_LOC_VERTEX_TEXCOORD01
= 1
-
-
-
-
-SHADER_LOC_VERTEX_TEXCOORD02
= 2
+
+MOUSE_CURSOR_RESIZE_NWSE = 7
-
-class pyray.
ShaderUniformDataType
+
+class pyray. Music ( stream , frameCount , looping , ctxType , ctxData )
+struct
+
+
+
+
+class pyray. NPatchInfo ( source , left , top , right , bottom , layout )
+struct
+
+
+
+
+class pyray. NPatchLayout
Enum where members are also (and must be) ints
-
-SHADER_UNIFORM_FLOAT
= 0
+
+NPATCH_NINE_PATCH = 0
-
-SHADER_UNIFORM_INT
= 4
+
+NPATCH_THREE_PATCH_HORIZONTAL = 2
-
-SHADER_UNIFORM_IVEC2
= 5
-
-
-
-
-SHADER_UNIFORM_IVEC3
= 6
-
-
-
-
-SHADER_UNIFORM_IVEC4
= 7
-
-
-
-
-SHADER_UNIFORM_SAMPLER2D
= 8
-
-
-
-
-SHADER_UNIFORM_VEC2
= 1
-
-
-
-
-SHADER_UNIFORM_VEC3
= 2
-
-
-
-
-SHADER_UNIFORM_VEC4
= 3
+
+NPATCH_THREE_PATCH_VERTICAL = 1
-
-class pyray.
Sound
( stream , frameCount )
+
+class pyray. PhysicsBodyData ( id , enabled , position , velocity , force , angularVelocity , torque , orient , inertia , inverseInertia , mass , inverseMass , staticFriction , dynamicFriction , restitution , useGravity , isGrounded , freezeOrient , shape )
struct
-
-class pyray.
Texture
( id , width , height , mipmaps , format )
+
+class pyray. PhysicsManifoldData ( id , bodyA , bodyB , penetration , normal , contacts , contactsCount , restitution , dynamicFriction , staticFriction )
struct
-
-class pyray.
Texture2D
( id , width , height , mipmaps , format )
+
+class pyray. PhysicsShape ( type , body , vertexData , radius , transform )
struct
-
-class pyray.
TextureCubemap
( id , width , height , mipmaps , format )
+
+class pyray. PhysicsVertexData ( vertexCount , positions , normals )
struct
-
-class pyray.
TextureFilter
+
+class pyray. PixelFormat
Enum where members are also (and must be) ints
-
-TEXTURE_FILTER_ANISOTROPIC_16X
= 5
+
+PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 20
-
-TEXTURE_FILTER_ANISOTROPIC_4X
= 3
+
+PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA = 21
-
-TEXTURE_FILTER_ANISOTROPIC_8X
= 4
+
+PIXELFORMAT_COMPRESSED_DXT1_RGB = 11
-
-TEXTURE_FILTER_BILINEAR
= 1
+
+PIXELFORMAT_COMPRESSED_DXT1_RGBA = 12
-
-TEXTURE_FILTER_POINT
= 0
+
+PIXELFORMAT_COMPRESSED_DXT3_RGBA = 13
-
-TEXTURE_FILTER_TRILINEAR
= 2
+
+PIXELFORMAT_COMPRESSED_DXT5_RGBA = 14
+
+
+
+
+PIXELFORMAT_COMPRESSED_ETC1_RGB = 15
+
+
+
+
+PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA = 17
+
+
+
+
+PIXELFORMAT_COMPRESSED_ETC2_RGB = 16
+
+
+
+
+PIXELFORMAT_COMPRESSED_PVRT_RGB = 18
+
+
+
+
+PIXELFORMAT_COMPRESSED_PVRT_RGBA = 19
+
+
+
+
+PIXELFORMAT_UNCOMPRESSED_GRAYSCALE = 1
+
+
+
+
+PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA = 2
+
+
+
+
+PIXELFORMAT_UNCOMPRESSED_R32 = 8
+
+
+
+
+PIXELFORMAT_UNCOMPRESSED_R32G32B32 = 9
+
+
+
+
+PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 = 10
+
+
+
+
+PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 = 6
+
+
+
+
+PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 = 5
+
+
+
+
+PIXELFORMAT_UNCOMPRESSED_R5G6B5 = 3
+
+
+
+
+PIXELFORMAT_UNCOMPRESSED_R8G8B8 = 4
+
+
+
+
+PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 = 7
-
-class pyray.
TextureWrap
+
+class pyray. Quaternion ( x , y , z , w )
+struct
+
+
+
+
+class pyray. Ray ( position , direction )
+struct
+
+
+
+
+class pyray. RayCollision ( hit , distance , point , normal )
+struct
+
+
+
+
+class pyray. Rectangle ( x , y , width , height )
+struct
+
+
+
+
+class pyray. RenderTexture ( id , texture , depth )
+struct
+
+
+
+
+class pyray. RenderTexture2D ( id , texture , depth )
+struct
+
+
+
+
+class pyray. Shader ( id , locs )
+struct
+
+
+
+
+class pyray. ShaderAttributeDataType
Enum where members are also (and must be) ints
-
-TEXTURE_WRAP_CLAMP
= 1
+
+SHADER_ATTRIB_FLOAT = 0
-
-TEXTURE_WRAP_MIRROR_CLAMP
= 3
+
+SHADER_ATTRIB_VEC2 = 1
-
-TEXTURE_WRAP_MIRROR_REPEAT
= 2
+
+SHADER_ATTRIB_VEC3 = 2
-
-TEXTURE_WRAP_REPEAT
= 0
+
+SHADER_ATTRIB_VEC4 = 3
-
-class pyray.
TraceLogLevel
+
+class pyray. ShaderLocationIndex
Enum where members are also (and must be) ints
-
-LOG_ALL
= 0
+
+SHADER_LOC_COLOR_AMBIENT = 14
-
-LOG_DEBUG
= 2
+
+SHADER_LOC_COLOR_DIFFUSE = 12
-
-LOG_ERROR
= 5
+
+SHADER_LOC_COLOR_SPECULAR = 13
-
-LOG_FATAL
= 6
+
+SHADER_LOC_MAP_ALBEDO = 15
-
-LOG_INFO
= 3
+
+SHADER_LOC_MAP_BRDF = 25
-
-LOG_NONE
= 7
+
+SHADER_LOC_MAP_CUBEMAP = 22
-
-LOG_TRACE
= 1
+
+SHADER_LOC_MAP_EMISSION = 20
-
-LOG_WARNING
= 4
+
+SHADER_LOC_MAP_HEIGHT = 21
+
+
+
+
+SHADER_LOC_MAP_IRRADIANCE = 23
+
+
+
+
+SHADER_LOC_MAP_METALNESS = 16
+
+
+
+
+SHADER_LOC_MAP_NORMAL = 17
+
+
+
+
+SHADER_LOC_MAP_OCCLUSION = 19
+
+
+
+
+SHADER_LOC_MAP_PREFILTER = 24
+
+
+
+
+SHADER_LOC_MAP_ROUGHNESS = 18
+
+
+
+
+SHADER_LOC_MATRIX_MODEL = 9
+
+
+
+
+SHADER_LOC_MATRIX_MVP = 6
+
+
+
+
+SHADER_LOC_MATRIX_NORMAL = 10
+
+
+
+
+SHADER_LOC_MATRIX_PROJECTION = 8
+
+
+
+
+SHADER_LOC_MATRIX_VIEW = 7
+
+
+
+
+SHADER_LOC_VECTOR_VIEW = 11
+
+
+
+
+SHADER_LOC_VERTEX_COLOR = 5
+
+
+
+
+SHADER_LOC_VERTEX_NORMAL = 3
+
+
+
+
+SHADER_LOC_VERTEX_POSITION = 0
+
+
+
+
+SHADER_LOC_VERTEX_TANGENT = 4
+
+
+
+
+SHADER_LOC_VERTEX_TEXCOORD01 = 1
+
+
+
+
+SHADER_LOC_VERTEX_TEXCOORD02 = 2
-
-class pyray.
Transform
( translation , rotation , scale )
+
+class pyray. ShaderUniformDataType
+Enum where members are also (and must be) ints
+
+
+SHADER_UNIFORM_FLOAT = 0
+
+
+
+
+SHADER_UNIFORM_INT = 4
+
+
+
+
+SHADER_UNIFORM_IVEC2 = 5
+
+
+
+
+SHADER_UNIFORM_IVEC3 = 6
+
+
+
+
+SHADER_UNIFORM_IVEC4 = 7
+
+
+
+
+SHADER_UNIFORM_SAMPLER2D = 8
+
+
+
+
+SHADER_UNIFORM_VEC2 = 1
+
+
+
+
+SHADER_UNIFORM_VEC3 = 2
+
+
+
+
+SHADER_UNIFORM_VEC4 = 3
+
+
+
+
+
+
+class pyray. Sound ( stream , frameCount )
struct
-
-class pyray.
Vector2
( x , y )
+
+class pyray. Texture ( id , width , height , mipmaps , format )
struct
-
-class pyray.
Vector3
( x , y , z )
+
+class pyray. Texture2D ( id , width , height , mipmaps , format )
struct
-
-class pyray.
Vector4
( x , y , z , w )
+
+class pyray. TextureCubemap ( id , width , height , mipmaps , format )
struct
-
-class pyray.
VrDeviceInfo
( hResolution , vResolution , hScreenSize , vScreenSize , vScreenCenter , eyeToScreenDistance , lensSeparationDistance , interpupillaryDistance , lensDistortionValues , chromaAbCorrection )
+
+class pyray. TextureFilter
+Enum where members are also (and must be) ints
+
+
+TEXTURE_FILTER_ANISOTROPIC_16X = 5
+
+
+
+
+TEXTURE_FILTER_ANISOTROPIC_4X = 3
+
+
+
+
+TEXTURE_FILTER_ANISOTROPIC_8X = 4
+
+
+
+
+TEXTURE_FILTER_BILINEAR = 1
+
+
+
+
+TEXTURE_FILTER_POINT = 0
+
+
+
+
+TEXTURE_FILTER_TRILINEAR = 2
+
+
+
+
+
+
+class pyray. TextureWrap
+Enum where members are also (and must be) ints
+
+
+TEXTURE_WRAP_CLAMP = 1
+
+
+
+
+TEXTURE_WRAP_MIRROR_CLAMP = 3
+
+
+
+
+TEXTURE_WRAP_MIRROR_REPEAT = 2
+
+
+
+
+TEXTURE_WRAP_REPEAT = 0
+
+
+
+
+
+
+class pyray. TraceLogLevel
+Enum where members are also (and must be) ints
+
+
+LOG_ALL = 0
+
+
+
+
+LOG_DEBUG = 2
+
+
+
+
+LOG_ERROR = 5
+
+
+
+
+LOG_FATAL = 6
+
+
+
+
+LOG_INFO = 3
+
+
+
+
+LOG_NONE = 7
+
+
+
+
+LOG_TRACE = 1
+
+
+
+
+LOG_WARNING = 4
+
+
+
+
+
+
+class pyray. Transform ( translation , rotation , scale )
struct
-
-class pyray.
VrStereoConfig
( projection , viewOffset , leftLensCenter , rightLensCenter , leftScreenCenter , rightScreenCenter , scale , scaleIn )
+
+class pyray. Vector2 ( x , y )
struct
-
-class pyray.
Wave
( frameCount , sampleRate , sampleSize , channels , data )
+
+class pyray. Vector3 ( x , y , z )
+struct
+
+
+
+
+class pyray. Vector4 ( x , y , z , w )
+struct
+
+
+
+
+class pyray. VrDeviceInfo ( hResolution , vResolution , hScreenSize , vScreenSize , vScreenCenter , eyeToScreenDistance , lensSeparationDistance , interpupillaryDistance , lensDistortionValues , chromaAbCorrection )
+struct
+
+
+
+
+class pyray. VrStereoConfig ( projection , viewOffset , leftLensCenter , rightLensCenter , leftScreenCenter , rightScreenCenter , scale , scaleIn )
+struct
+
+
+
+
+class pyray. Wave ( frameCount , sampleRate , sampleSize , channels , data )
struct
-
-pyray.
begin_blend_mode
( mode : int )
+
+pyray. attach_audio_stream_processor ( stream : AudioStream , processor : Any )
+Attach audio stream processor to stream
+
+
+
+
+pyray. begin_blend_mode ( mode : int )
Begin blending mode (alpha, additive, multiplied, subtract, custom)
-
-pyray.
begin_drawing
( )
+
+pyray. begin_drawing ( )
Setup canvas (framebuffer) to start drawing
-
-pyray.
begin_mode_2d
( camera : Camera2D )
+
+pyray. begin_mode_2d ( camera : Camera2D )
Begin 2D mode with custom camera (2D)
-
-pyray.
begin_mode_3d
( camera : Camera3D )
+
+pyray. begin_mode_3d ( camera : Camera3D )
Begin 3D mode with custom camera (3D)
-
-pyray.
begin_scissor_mode
( x : int , y : int , width : int , height : int )
+
+pyray. begin_scissor_mode ( x : int , y : int , width : int , height : int )
Begin scissor mode (define screen area for following drawing)
-
-pyray.
begin_shader_mode
( shader : Shader )
+
+pyray. begin_shader_mode ( shader : Shader )
Begin custom shader drawing
-
-pyray.
begin_texture_mode
( target : RenderTexture )
+
+pyray. begin_texture_mode ( target : RenderTexture )
Begin drawing to render texture
-
-pyray.
begin_vr_stereo_mode
( config : VrStereoConfig )
+
+pyray. begin_vr_stereo_mode ( config : VrStereoConfig )
Begin stereo rendering (requires VR simulator)
-
-pyray.
change_directory
( dir : str )
+
+pyray. change_directory ( dir : str )
Change working directory, return true on success
-
-pyray.
check_collision_box_sphere
( box : BoundingBox , center : Vector3 , radius : float )
+
+pyray. check_collision_box_sphere ( box : BoundingBox , center : Vector3 , radius : float )
Check collision between box and sphere
-
-pyray.
check_collision_boxes
( box1 : BoundingBox , box2 : BoundingBox )
+
+pyray. check_collision_boxes ( box1 : BoundingBox , box2 : BoundingBox )
Check collision between two bounding boxes
-
-pyray.
check_collision_circle_rec
( center : Vector2 , radius : float , rec : Rectangle )
+
+pyray. check_collision_circle_rec ( center : Vector2 , radius : float , rec : Rectangle )
Check collision between circle and rectangle
-
-pyray.
check_collision_circles
( center1 : Vector2 , radius1 : float , center2 : Vector2 , radius2 : float )
+
+pyray. check_collision_circles ( center1 : Vector2 , radius1 : float , center2 : Vector2 , radius2 : float )
Check collision between two circles
-
-pyray.
check_collision_lines
( startPos1 : Vector2 , endPos1 : Vector2 , startPos2 : Vector2 , endPos2 : Vector2 , collisionPoint : Any )
+
+pyray. check_collision_lines ( startPos1 : Vector2 , endPos1 : Vector2 , startPos2 : Vector2 , endPos2 : Vector2 , collisionPoint : Any )
Check the collision between two lines defined by two points each, returns collision point by reference
-
-pyray.
check_collision_point_circle
( point : Vector2 , center : Vector2 , radius : float )
+
+pyray. check_collision_point_circle ( point : Vector2 , center : Vector2 , radius : float )
Check if point is inside circle
-
-pyray.
check_collision_point_line
( point : Vector2 , p1 : Vector2 , p2 : Vector2 , threshold : int )
+
+pyray. check_collision_point_line ( point : Vector2 , p1 : Vector2 , p2 : Vector2 , threshold : int )
Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]
-
-pyray.
check_collision_point_rec
( point : Vector2 , rec : Rectangle )
+
+pyray. check_collision_point_rec ( point : Vector2 , rec : Rectangle )
Check if point is inside rectangle
-
-pyray.
check_collision_point_triangle
( point : Vector2 , p1 : Vector2 , p2 : Vector2 , p3 : Vector2 )
+
+pyray. check_collision_point_triangle ( point : Vector2 , p1 : Vector2 , p2 : Vector2 , p3 : Vector2 )
Check if point is inside a triangle
-
-pyray.
check_collision_recs
( rec1 : Rectangle , rec2 : Rectangle )
+
+pyray. check_collision_recs ( rec1 : Rectangle , rec2 : Rectangle )
Check collision between two rectangles
-
-pyray.
check_collision_spheres
( center1 : Vector3 , radius1 : float , center2 : Vector3 , radius2 : float )
+
+pyray. check_collision_spheres ( center1 : Vector3 , radius1 : float , center2 : Vector3 , radius2 : float )
Check collision between two spheres
-
-pyray.
clear_background
( color : Color )
+
+pyray. clamp ( float_0 : float , float_1 : float , float_2 : float )
+float Clamp(float, float, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. clear_background ( color : Color )
Set background color (framebuffer clear color)
-
-pyray.
clear_directory_files
( )
-Clear directory files paths buffers (free memory)
-
-
-
-
-pyray.
clear_dropped_files
( )
-Clear dropped files paths buffer (free memory)
-
-
-
-
-pyray.
clear_window_state
( flags : int )
+
+pyray. clear_window_state ( flags : int )
Clear window configuration state flags
-
-pyray.
close_audio_device
( )
+
+pyray. close_audio_device ( )
Close the audio device and context
-
-pyray.
close_physics
( )
+
+pyray. close_physics ( )
void ClosePhysics();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
close_window
( )
+
+pyray. close_window ( )
Close window and unload OpenGL context
-
-pyray.
codepoint_to_utf8
( codepoint : int , byteSize : Any )
+
+pyray. codepoint_to_utf8 ( codepoint : int , byteSize : Any )
Encode one codepoint into UTF-8 byte array (array length returned as parameter)
-
-pyray.
color_alpha
( color : Color , alpha : float )
+
+pyray. color_alpha ( color : Color , alpha : float )
Get color with alpha applied, alpha goes from 0.0f to 1.0f
-
-pyray.
color_alpha_blend
( dst : Color , src : Color , tint : Color )
+
+pyray. color_alpha_blend ( dst : Color , src : Color , tint : Color )
Get src alpha-blended into dst color with tint
-
-pyray.
color_from_hsv
( hue : float , saturation : float , value : float )
+
+pyray. color_from_hsv ( hue : float , saturation : float , value : float )
Get a Color from HSV values, hue [0..360], saturation/value [0..1]
-
-pyray.
color_from_normalized
( normalized : Vector4 )
+
+pyray. color_from_normalized ( normalized : Vector4 )
Get Color from normalized values [0..1]
-
-pyray.
color_normalize
( color : Color )
+
+pyray. color_normalize ( color : Color )
Get Color normalized as float [0..1]
-
-pyray.
color_to_hsv
( color : Color )
+
+pyray. color_to_hsv ( color : Color )
Get HSV values for a Color, hue [0..360], saturation/value [0..1]
-
-pyray.
color_to_int
( color : Color )
+
+pyray. color_to_int ( color : Color )
Get hexadecimal value for a Color
-
-pyray.
compress_data
( data : str , dataLength : int , compDataLength : Any )
-Compress data (DEFLATE algorithm)
+
+pyray. compress_data ( data : str , dataSize : int , compDataSize : Any )
+Compress data (DEFLATE algorithm), memory must be MemFree()
-
-pyray.
create_physics_body_circle
( Vector2_0 : Vector2 , float_1 : float , float_2 : float )
+
+pyray. create_physics_body_circle ( Vector2_0 : Vector2 , float_1 : float , float_2 : float )
struct PhysicsBodyData * CreatePhysicsBodyCircle(struct Vector2, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
create_physics_body_polygon
( Vector2_0 : Vector2 , float_1 : float , int_2 : int , float_3 : float )
+
+pyray. create_physics_body_polygon ( Vector2_0 : Vector2 , float_1 : float , int_2 : int , float_3 : float )
struct PhysicsBodyData * CreatePhysicsBodyPolygon(struct Vector2, float, int, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
create_physics_body_rectangle
( Vector2_0 : Vector2 , float_1 : float , float_2 : float , float_3 : float )
+
+pyray. create_physics_body_rectangle ( Vector2_0 : Vector2 , float_1 : float , float_2 : float , float_3 : float )
struct PhysicsBodyData * CreatePhysicsBodyRectangle(struct Vector2, float, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
decode_data_base64
( data : str , outputLength : Any )
-Decode Base64 string data
+
+pyray. decode_data_base64 ( data : str , outputSize : Any )
+Decode Base64 string data, memory must be MemFree()
-
-pyray.
decompress_data
( compData : str , compDataLength : int , dataLength : Any )
-Decompress data (DEFLATE algorithm)
+
+pyray. decompress_data ( compData : str , compDataSize : int , dataSize : Any )
+Decompress data (DEFLATE algorithm), memory must be MemFree()
-
-pyray.
destroy_physics_body
( PhysicsBodyData_pointer_0 : Any )
+
+pyray. destroy_physics_body ( PhysicsBodyData_pointer_0 : Any )
void DestroyPhysicsBody(struct PhysicsBodyData * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
directory_exists
( dirPath : str )
+
+pyray. detach_audio_stream_processor ( stream : AudioStream , processor : Any )
+Detach audio stream processor from stream
+
+
+
+
+pyray. directory_exists ( dirPath : str )
Check if a directory path exists
-
-pyray.
disable_cursor
( )
+
+pyray. disable_cursor ( )
Disables cursor (lock cursor)
-
-pyray.
draw_billboard
( camera : Camera3D , texture : Texture , position : Vector3 , size : float , tint : Color )
+
+pyray. disable_event_waiting ( )
+Disable waiting for events on EndDrawing(), automatic events polling
+
+
+
+
+pyray. draw_billboard ( camera : Camera3D , texture : Texture , position : Vector3 , size : float , tint : Color )
Draw a billboard texture
-
-pyray.
draw_billboard_pro
( camera : Camera3D , texture : Texture , source : Rectangle , position : Vector3 , up : Vector3 , size : Vector2 , origin : Vector2 , rotation : float , tint : Color )
+
+pyray. draw_billboard_pro ( camera : Camera3D , texture : Texture , source : Rectangle , position : Vector3 , up : Vector3 , size : Vector2 , origin : Vector2 , rotation : float , tint : Color )
Draw a billboard texture defined by source and rotation
-
-pyray.
draw_billboard_rec
( camera : Camera3D , texture : Texture , source : Rectangle , position : Vector3 , size : Vector2 , tint : Color )
+
+pyray. draw_billboard_rec ( camera : Camera3D , texture : Texture , source : Rectangle , position : Vector3 , size : Vector2 , tint : Color )
Draw a billboard texture defined by source
-
-pyray.
draw_bounding_box
( box : BoundingBox , color : Color )
+
+pyray. draw_bounding_box ( box : BoundingBox , color : Color )
Draw bounding box (wires)
-
-pyray.
draw_circle
( centerX : int , centerY : int , radius : float , color : Color )
+
+pyray. draw_circle ( centerX : int , centerY : int , radius : float , color : Color )
Draw a color-filled circle
-
-pyray.
draw_circle_3d
( center : Vector3 , radius : float , rotationAxis : Vector3 , rotationAngle : float , color : Color )
+
+pyray. draw_circle_3d ( center : Vector3 , radius : float , rotationAxis : Vector3 , rotationAngle : float , color : Color )
Draw a circle in 3D world space
-
-pyray.
draw_circle_gradient
( centerX : int , centerY : int , radius : float , color1 : Color , color2 : Color )
+
+pyray. draw_circle_gradient ( centerX : int , centerY : int , radius : float , color1 : Color , color2 : Color )
Draw a gradient-filled circle
-
-pyray.
draw_circle_lines
( centerX : int , centerY : int , radius : float , color : Color )
+
+pyray. draw_circle_lines ( centerX : int , centerY : int , radius : float , color : Color )
Draw circle outline
-
-pyray.
draw_circle_sector
( center : Vector2 , radius : float , startAngle : float , endAngle : float , segments : int , color : Color )
+
+pyray. draw_circle_sector ( center : Vector2 , radius : float , startAngle : float , endAngle : float , segments : int , color : Color )
Draw a piece of a circle
-
-pyray.
draw_circle_sector_lines
( center : Vector2 , radius : float , startAngle : float , endAngle : float , segments : int , color : Color )
+
+pyray. draw_circle_sector_lines ( center : Vector2 , radius : float , startAngle : float , endAngle : float , segments : int , color : Color )
Draw circle sector outline
-
-pyray.
draw_circle_v
( center : Vector2 , radius : float , color : Color )
+
+pyray. draw_circle_v ( center : Vector2 , radius : float , color : Color )
Draw a color-filled circle (Vector version)
-
-pyray.
draw_cube
( position : Vector3 , width : float , height : float , length : float , color : Color )
+
+pyray. draw_cube ( position : Vector3 , width : float , height : float , length : float , color : Color )
Draw cube
-
-pyray.
draw_cube_texture
( texture : Texture , position : Vector3 , width : float , height : float , length : float , color : Color )
+
+pyray. draw_cube_texture ( texture : Texture , position : Vector3 , width : float , height : float , length : float , color : Color )
Draw cube textured
-
-pyray.
draw_cube_texture_rec
( texture : Texture , source : Rectangle , position : Vector3 , width : float , height : float , length : float , color : Color )
+
+pyray. draw_cube_texture_rec ( texture : Texture , source : Rectangle , position : Vector3 , width : float , height : float , length : float , color : Color )
Draw cube with a region of a texture
-
-pyray.
draw_cube_v
( position : Vector3 , size : Vector3 , color : Color )
+
+pyray. draw_cube_v ( position : Vector3 , size : Vector3 , color : Color )
Draw cube (Vector version)
-
-pyray.
draw_cube_wires
( position : Vector3 , width : float , height : float , length : float , color : Color )
+
+pyray. draw_cube_wires ( position : Vector3 , width : float , height : float , length : float , color : Color )
Draw cube wires
-
-pyray.
draw_cube_wires_v
( position : Vector3 , size : Vector3 , color : Color )
+
+pyray. draw_cube_wires_v ( position : Vector3 , size : Vector3 , color : Color )
Draw cube wires (Vector version)
-
-pyray.
draw_cylinder
( position : Vector3 , radiusTop : float , radiusBottom : float , height : float , slices : int , color : Color )
+
+pyray. draw_cylinder ( position : Vector3 , radiusTop : float , radiusBottom : float , height : float , slices : int , color : Color )
Draw a cylinder/cone
-
-pyray.
draw_cylinder_ex
( startPos : Vector3 , endPos : Vector3 , startRadius : float , endRadius : float , sides : int , color : Color )
+
+pyray. draw_cylinder_ex ( startPos : Vector3 , endPos : Vector3 , startRadius : float , endRadius : float , sides : int , color : Color )
Draw a cylinder with base at startPos and top at endPos
-
-pyray.
draw_cylinder_wires
( position : Vector3 , radiusTop : float , radiusBottom : float , height : float , slices : int , color : Color )
+
+pyray. draw_cylinder_wires ( position : Vector3 , radiusTop : float , radiusBottom : float , height : float , slices : int , color : Color )
Draw a cylinder/cone wires
-
-pyray.
draw_cylinder_wires_ex
( startPos : Vector3 , endPos : Vector3 , startRadius : float , endRadius : float , sides : int , color : Color )
+
+pyray. draw_cylinder_wires_ex ( startPos : Vector3 , endPos : Vector3 , startRadius : float , endRadius : float , sides : int , color : Color )
Draw a cylinder wires with base at startPos and top at endPos
-
-pyray.
draw_ellipse
( centerX : int , centerY : int , radiusH : float , radiusV : float , color : Color )
+
+pyray. draw_ellipse ( centerX : int , centerY : int , radiusH : float , radiusV : float , color : Color )
Draw ellipse
-
-pyray.
draw_ellipse_lines
( centerX : int , centerY : int , radiusH : float , radiusV : float , color : Color )
+
+pyray. draw_ellipse_lines ( centerX : int , centerY : int , radiusH : float , radiusV : float , color : Color )
Draw ellipse outline
-
-pyray.
draw_fps
( posX : int , posY : int )
+
+pyray. draw_fps ( posX : int , posY : int )
Draw current FPS
-
-pyray.
draw_grid
( slices : int , spacing : float )
+
+pyray. draw_grid ( slices : int , spacing : float )
Draw a grid (centered at (0, 0, 0))
-
-pyray.
draw_line
( startPosX : int , startPosY : int , endPosX : int , endPosY : int , color : Color )
+
+pyray. draw_line ( startPosX : int , startPosY : int , endPosX : int , endPosY : int , color : Color )
Draw a line
-
-pyray.
draw_line_3d
( startPos : Vector3 , endPos : Vector3 , color : Color )
+
+pyray. draw_line_3d ( startPos : Vector3 , endPos : Vector3 , color : Color )
Draw a line in 3D world space
-
-pyray.
draw_line_bezier
( startPos : Vector2 , endPos : Vector2 , thick : float , color : Color )
+
+pyray. draw_line_bezier ( startPos : Vector2 , endPos : Vector2 , thick : float , color : Color )
Draw a line using cubic-bezier curves in-out
-
-pyray.
draw_line_bezier_cubic
( startPos : Vector2 , endPos : Vector2 , startControlPos : Vector2 , endControlPos : Vector2 , thick : float , color : Color )
+
+pyray. draw_line_bezier_cubic ( startPos : Vector2 , endPos : Vector2 , startControlPos : Vector2 , endControlPos : Vector2 , thick : float , color : Color )
Draw line using cubic bezier curves with 2 control points
-
-pyray.
draw_line_bezier_quad
( startPos : Vector2 , endPos : Vector2 , controlPos : Vector2 , thick : float , color : Color )
+
+pyray. draw_line_bezier_quad ( startPos : Vector2 , endPos : Vector2 , controlPos : Vector2 , thick : float , color : Color )
Draw line using quadratic bezier curves with a control point
-
-pyray.
draw_line_ex
( startPos : Vector2 , endPos : Vector2 , thick : float , color : Color )
+
+pyray. draw_line_ex ( startPos : Vector2 , endPos : Vector2 , thick : float , color : Color )
Draw a line defining thickness
-
-pyray.
draw_line_strip
( points : Any , pointCount : int , color : Color )
+
+pyray. draw_line_strip ( points : Any , pointCount : int , color : Color )
Draw lines sequence
-
-pyray.
draw_line_v
( startPos : Vector2 , endPos : Vector2 , color : Color )
+
+pyray. draw_line_v ( startPos : Vector2 , endPos : Vector2 , color : Color )
Draw a line (Vector version)
-
-pyray.
draw_mesh
( mesh : Mesh , material : Material , transform : Matrix )
+
+pyray. draw_mesh ( mesh : Mesh , material : Material , transform : Matrix )
Draw a 3d mesh with material and transform
-
-pyray.
draw_mesh_instanced
( mesh : Mesh , material : Material , transforms : Any , instances : int )
+
+pyray. draw_mesh_instanced ( mesh : Mesh , material : Material , transforms : Any , instances : int )
Draw multiple mesh instances with material and different transforms
-
-pyray.
draw_model
( model : Model , position : Vector3 , scale : float , tint : Color )
+
+pyray. draw_model ( model : Model , position : Vector3 , scale : float , tint : Color )
Draw a model (with texture if set)
-
-pyray.
draw_model_ex
( model : Model , position : Vector3 , rotationAxis : Vector3 , rotationAngle : float , scale : Vector3 , tint : Color )
+
+pyray. draw_model_ex ( model : Model , position : Vector3 , rotationAxis : Vector3 , rotationAngle : float , scale : Vector3 , tint : Color )
Draw a model with extended parameters
-
-pyray.
draw_model_wires
( model : Model , position : Vector3 , scale : float , tint : Color )
+
+pyray. draw_model_wires ( model : Model , position : Vector3 , scale : float , tint : Color )
Draw a model wires (with texture if set)
-
-pyray.
draw_model_wires_ex
( model : Model , position : Vector3 , rotationAxis : Vector3 , rotationAngle : float , scale : Vector3 , tint : Color )
+
+pyray. draw_model_wires_ex ( model : Model , position : Vector3 , rotationAxis : Vector3 , rotationAngle : float , scale : Vector3 , tint : Color )
Draw a model wires (with texture if set) with extended parameters
-
-pyray.
draw_pixel
( posX : int , posY : int , color : Color )
+
+pyray. draw_pixel ( posX : int , posY : int , color : Color )
Draw a pixel
-
-pyray.
draw_pixel_v
( position : Vector2 , color : Color )
+
+pyray. draw_pixel_v ( position : Vector2 , color : Color )
Draw a pixel (Vector version)
-
-pyray.
draw_plane
( centerPos : Vector3 , size : Vector2 , color : Color )
+
+pyray. draw_plane ( centerPos : Vector3 , size : Vector2 , color : Color )
Draw a plane XZ
-
-pyray.
draw_point_3d
( position : Vector3 , color : Color )
+
+pyray. draw_point_3d ( position : Vector3 , color : Color )
Draw a point in 3D space, actually a small line
-
-pyray.
draw_poly
( center : Vector2 , sides : int , radius : float , rotation : float , color : Color )
+
+pyray. draw_poly ( center : Vector2 , sides : int , radius : float , rotation : float , color : Color )
Draw a regular polygon (Vector version)
-
-pyray.
draw_poly_lines
( center : Vector2 , sides : int , radius : float , rotation : float , color : Color )
+
+pyray. draw_poly_lines ( center : Vector2 , sides : int , radius : float , rotation : float , color : Color )
Draw a polygon outline of n sides
-
-pyray.
draw_poly_lines_ex
( center : Vector2 , sides : int , radius : float , rotation : float , lineThick : float , color : Color )
+
+pyray. draw_poly_lines_ex ( center : Vector2 , sides : int , radius : float , rotation : float , lineThick : float , color : Color )
Draw a polygon outline of n sides with extended parameters
-
-pyray.
draw_ray
( ray : Ray , color : Color )
+
+pyray. draw_ray ( ray : Ray , color : Color )
Draw a ray line
-
-pyray.
draw_rectangle
( posX : int , posY : int , width : int , height : int , color : Color )
+
+pyray. draw_rectangle ( posX : int , posY : int , width : int , height : int , color : Color )
Draw a color-filled rectangle
-
-pyray.
draw_rectangle_gradient_ex
( rec : Rectangle , col1 : Color , col2 : Color , col3 : Color , col4 : Color )
+
+pyray. draw_rectangle_gradient_ex ( rec : Rectangle , col1 : Color , col2 : Color , col3 : Color , col4 : Color )
Draw a gradient-filled rectangle with custom vertex colors
-
-pyray.
draw_rectangle_gradient_h
( posX : int , posY : int , width : int , height : int , color1 : Color , color2 : Color )
+
+pyray. draw_rectangle_gradient_h ( posX : int , posY : int , width : int , height : int , color1 : Color , color2 : Color )
Draw a horizontal-gradient-filled rectangle
-
-pyray.
draw_rectangle_gradient_v
( posX : int , posY : int , width : int , height : int , color1 : Color , color2 : Color )
+
+pyray. draw_rectangle_gradient_v ( posX : int , posY : int , width : int , height : int , color1 : Color , color2 : Color )
Draw a vertical-gradient-filled rectangle
-
-pyray.
draw_rectangle_lines
( posX : int , posY : int , width : int , height : int , color : Color )
+
+pyray. draw_rectangle_lines ( posX : int , posY : int , width : int , height : int , color : Color )
Draw rectangle outline
-
-pyray.
draw_rectangle_lines_ex
( rec : Rectangle , lineThick : float , color : Color )
+
+pyray. draw_rectangle_lines_ex ( rec : Rectangle , lineThick : float , color : Color )
Draw rectangle outline with extended parameters
-
-pyray.
draw_rectangle_pro
( rec : Rectangle , origin : Vector2 , rotation : float , color : Color )
+
+pyray. draw_rectangle_pro ( rec : Rectangle , origin : Vector2 , rotation : float , color : Color )
Draw a color-filled rectangle with pro parameters
-
-pyray.
draw_rectangle_rec
( rec : Rectangle , color : Color )
+
+pyray. draw_rectangle_rec ( rec : Rectangle , color : Color )
Draw a color-filled rectangle
-
-pyray.
draw_rectangle_rounded
( rec : Rectangle , roundness : float , segments : int , color : Color )
+
+pyray. draw_rectangle_rounded ( rec : Rectangle , roundness : float , segments : int , color : Color )
Draw rectangle with rounded edges
-
-pyray.
draw_rectangle_rounded_lines
( rec : Rectangle , roundness : float , segments : int , lineThick : float , color : Color )
+
+pyray. draw_rectangle_rounded_lines ( rec : Rectangle , roundness : float , segments : int , lineThick : float , color : Color )
Draw rectangle with rounded edges outline
-
-pyray.
draw_rectangle_v
( position : Vector2 , size : Vector2 , color : Color )
+
+pyray. draw_rectangle_v ( position : Vector2 , size : Vector2 , color : Color )
Draw a color-filled rectangle (Vector version)
-
-pyray.
draw_ring
( center : Vector2 , innerRadius : float , outerRadius : float , startAngle : float , endAngle : float , segments : int , color : Color )
+
+pyray. draw_ring ( center : Vector2 , innerRadius : float , outerRadius : float , startAngle : float , endAngle : float , segments : int , color : Color )
Draw ring
-
-pyray.
draw_ring_lines
( center : Vector2 , innerRadius : float , outerRadius : float , startAngle : float , endAngle : float , segments : int , color : Color )
+
+pyray. draw_ring_lines ( center : Vector2 , innerRadius : float , outerRadius : float , startAngle : float , endAngle : float , segments : int , color : Color )
Draw ring outline
-
-pyray.
draw_sphere
( centerPos : Vector3 , radius : float , color : Color )
+
+pyray. draw_sphere ( centerPos : Vector3 , radius : float , color : Color )
Draw sphere
-
-pyray.
draw_sphere_ex
( centerPos : Vector3 , radius : float , rings : int , slices : int , color : Color )
+
+pyray. draw_sphere_ex ( centerPos : Vector3 , radius : float , rings : int , slices : int , color : Color )
Draw sphere with extended parameters
-
-pyray.
draw_sphere_wires
( centerPos : Vector3 , radius : float , rings : int , slices : int , color : Color )
+
+pyray. draw_sphere_wires ( centerPos : Vector3 , radius : float , rings : int , slices : int , color : Color )
Draw sphere wires
-
-pyray.
draw_text
( text : str , posX : int , posY : int , fontSize : int , color : Color )
+
+pyray. draw_text ( text : str , posX : int , posY : int , fontSize : int , color : Color )
Draw text (using default font)
-
-pyray.
draw_text_codepoint
( font : Font , codepoint : int , position : Vector2 , fontSize : float , tint : Color )
+
+pyray. draw_text_codepoint ( font : Font , codepoint : int , position : Vector2 , fontSize : float , tint : Color )
Draw one character (codepoint)
-
-pyray.
draw_text_ex
( font : Font , text : str , position : Vector2 , fontSize : float , spacing : float , tint : Color )
+
+pyray. draw_text_codepoints ( font : Font , codepoints : Any , count : int , position : Vector2 , fontSize : float , spacing : float , tint : Color )
+Draw multiple character (codepoint)
+
+
+
+
+pyray. draw_text_ex ( font : Font , text : str , position : Vector2 , fontSize : float , spacing : float , tint : Color )
Draw text using font and additional parameters
-
-pyray.
draw_text_pro
( font : Font , text : str , position : Vector2 , origin : Vector2 , rotation : float , fontSize : float , spacing : float , tint : Color )
+
+pyray. draw_text_pro ( font : Font , text : str , position : Vector2 , origin : Vector2 , rotation : float , fontSize : float , spacing : float , tint : Color )
Draw text using Font and pro parameters (rotation)
-
-pyray.
draw_texture
( texture : Texture , posX : int , posY : int , tint : Color )
+
+pyray. draw_texture ( texture : Texture , posX : int , posY : int , tint : Color )
Draw a Texture2D
-
-pyray.
draw_texture_ex
( texture : Texture , position : Vector2 , rotation : float , scale : float , tint : Color )
+
+pyray. draw_texture_ex ( texture : Texture , position : Vector2 , rotation : float , scale : float , tint : Color )
Draw a Texture2D with extended parameters
-
-pyray.
draw_texture_n_patch
( texture : Texture , nPatchInfo : NPatchInfo , dest : Rectangle , origin : Vector2 , rotation : float , tint : Color )
+
+pyray. draw_texture_n_patch ( texture : Texture , nPatchInfo : NPatchInfo , dest : Rectangle , origin : Vector2 , rotation : float , tint : Color )
Draws a texture (or part of it) that stretches or shrinks nicely
-
-pyray.
draw_texture_poly
( texture : Texture , center : Vector2 , points : Any , texcoords : Any , pointCount : int , tint : Color )
+
+pyray. draw_texture_poly ( texture : Texture , center : Vector2 , points : Any , texcoords : Any , pointCount : int , tint : Color )
Draw a textured polygon
-
-pyray.
draw_texture_pro
( texture : Texture , source : Rectangle , dest : Rectangle , origin : Vector2 , rotation : float , tint : Color )
+
+pyray. draw_texture_pro ( texture : Texture , source : Rectangle , dest : Rectangle , origin : Vector2 , rotation : float , tint : Color )
Draw a part of a texture defined by a rectangle with ‘pro’ parameters
-
-pyray.
draw_texture_quad
( texture : Texture , tiling : Vector2 , offset : Vector2 , quad : Rectangle , tint : Color )
+
+pyray. draw_texture_quad ( texture : Texture , tiling : Vector2 , offset : Vector2 , quad : Rectangle , tint : Color )
Draw texture quad with tiling and offset parameters
-
-pyray.
draw_texture_rec
( texture : Texture , source : Rectangle , position : Vector2 , tint : Color )
+
+pyray. draw_texture_rec ( texture : Texture , source : Rectangle , position : Vector2 , tint : Color )
Draw a part of a texture defined by a rectangle
-
-pyray.
draw_texture_tiled
( texture : Texture , source : Rectangle , dest : Rectangle , origin : Vector2 , rotation : float , scale : float , tint : Color )
+
+pyray. draw_texture_tiled ( texture : Texture , source : Rectangle , dest : Rectangle , origin : Vector2 , rotation : float , scale : float , tint : Color )
Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.
-
-pyray.
draw_texture_v
( texture : Texture , position : Vector2 , tint : Color )
+
+pyray. draw_texture_v ( texture : Texture , position : Vector2 , tint : Color )
Draw a Texture2D with position defined as Vector2
-
-pyray.
draw_triangle
( v1 : Vector2 , v2 : Vector2 , v3 : Vector2 , color : Color )
+
+pyray. draw_triangle ( v1 : Vector2 , v2 : Vector2 , v3 : Vector2 , color : Color )
Draw a color-filled triangle (vertex in counter-clockwise order!)
-
-pyray.
draw_triangle_3d
( v1 : Vector3 , v2 : Vector3 , v3 : Vector3 , color : Color )
+
+pyray. draw_triangle_3d ( v1 : Vector3 , v2 : Vector3 , v3 : Vector3 , color : Color )
Draw a color-filled triangle (vertex in counter-clockwise order!)
-
-pyray.
draw_triangle_fan
( points : Any , pointCount : int , color : Color )
+
+pyray. draw_triangle_fan ( points : Any , pointCount : int , color : Color )
Draw a triangle fan defined by points (first vertex is the center)
-
-pyray.
draw_triangle_lines
( v1 : Vector2 , v2 : Vector2 , v3 : Vector2 , color : Color )
+
+pyray. draw_triangle_lines ( v1 : Vector2 , v2 : Vector2 , v3 : Vector2 , color : Color )
Draw triangle outline (vertex in counter-clockwise order!)
-
-pyray.
draw_triangle_strip
( points : Any , pointCount : int , color : Color )
+
+pyray. draw_triangle_strip ( points : Any , pointCount : int , color : Color )
Draw a triangle strip defined by points
-
-pyray.
draw_triangle_strip_3d
( points : Any , pointCount : int , color : Color )
+
+pyray. draw_triangle_strip_3d ( points : Any , pointCount : int , color : Color )
Draw a triangle strip defined by points
-
-pyray.
enable_cursor
( )
+
+pyray. enable_cursor ( )
Enables cursor (unlock cursor)
-
-pyray.
encode_data_base64
( data : str , dataLength : int , outputLength : Any )
-Encode data to Base64 string
+
+pyray. enable_event_waiting ( )
+Enable waiting for events on EndDrawing(), no automatic event polling
-
-pyray.
end_blend_mode
( )
+
+pyray. encode_data_base64 ( data : str , dataSize : int , outputSize : Any )
+Encode data to Base64 string, memory must be MemFree()
+
+
+
+
+pyray. end_blend_mode ( )
End blending mode (reset to default: alpha blending)
-
-pyray.
end_drawing
( )
+
+pyray. end_drawing ( )
End canvas drawing and swap buffers (double buffering)
-
-pyray.
end_mode_2d
( )
+
+pyray. end_mode_2d ( )
Ends 2D mode with custom camera
-
-pyray.
end_mode_3d
( )
+
+pyray. end_mode_3d ( )
Ends 3D mode and returns to default 2D orthographic mode
-
-pyray.
end_scissor_mode
( )
+
+pyray. end_scissor_mode ( )
End scissor mode
-
-pyray.
end_shader_mode
( )
+
+pyray. end_shader_mode ( )
End custom shader drawing (use default shader)
-
-pyray.
end_texture_mode
( )
+
+pyray. end_texture_mode ( )
Ends drawing to render texture
-
-pyray.
end_vr_stereo_mode
( )
+
+pyray. end_vr_stereo_mode ( )
End stereo rendering (requires VR simulator)
-
-pyray.
export_image
( image : Image , fileName : str )
+
+pyray. export_data_as_code ( data : str , size : int , fileName : str )
+Export data to code (.h), returns true on success
+
+
+
+
+pyray. export_font_as_code ( font : Font , fileName : str )
+Export font as code file, returns true on success
+
+
+
+
+pyray. export_image ( image : Image , fileName : str )
Export image data to file, returns true on success
-
-pyray.
export_image_as_code
( image : Image , fileName : str )
+
+pyray. export_image_as_code ( image : Image , fileName : str )
Export image as code file defining an array of bytes, returns true on success
-
-pyray.
export_mesh
( mesh : Mesh , fileName : str )
+
+pyray. export_mesh ( mesh : Mesh , fileName : str )
Export mesh data to file, returns true on success
-
-pyray.
export_wave
( wave : Wave , fileName : str )
+
+pyray. export_wave ( wave : Wave , fileName : str )
Export wave data to file, returns true on success
-
-pyray.
export_wave_as_code
( wave : Wave , fileName : str )
+
+pyray. export_wave_as_code ( wave : Wave , fileName : str )
Export wave sample data to code (.h), returns true on success
-
-pyray.
fade
( color : Color , alpha : float )
+
+pyray. fade ( color : Color , alpha : float )
Get color with alpha applied, alpha goes from 0.0f to 1.0f
-
-pyray.
file_exists
( fileName : str )
+
+pyray. file_exists ( fileName : str )
Check if file exists
+
+
+class pyray. float16 ( v )
+struct
+
+
+
+
+class pyray. float3 ( v )
+struct
+
+
-
-pyray.
gen_image_cellular
( width : int , height : int , tileSize : int )
+
+pyray. float_equals ( float_0 : float , float_1 : float )
+int FloatEquals(float, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. gen_image_cellular ( width : int , height : int , tileSize : int )
Generate image: cellular algorithm, bigger tileSize means bigger cells
-
-pyray.
gen_image_checked
( width : int , height : int , checksX : int , checksY : int , col1 : Color , col2 : Color )
+
+pyray. gen_image_checked ( width : int , height : int , checksX : int , checksY : int , col1 : Color , col2 : Color )
Generate image: checked
-
-pyray.
gen_image_color
( width : int , height : int , color : Color )
+
+pyray. gen_image_color ( width : int , height : int , color : Color )
Generate image: plain color
-
-pyray.
gen_image_font_atlas
( chars : Any , recs : Any , glyphCount : int , fontSize : int , padding : int , packMethod : int )
+
+pyray. gen_image_font_atlas ( chars : Any , recs : Any , glyphCount : int , fontSize : int , padding : int , packMethod : int )
Generate image font atlas using chars info
-
-pyray.
gen_image_gradient_h
( width : int , height : int , left : Color , right : Color )
+
+pyray. gen_image_gradient_h ( width : int , height : int , left : Color , right : Color )
Generate image: horizontal gradient
-
-pyray.
gen_image_gradient_radial
( width : int , height : int , density : float , inner : Color , outer : Color )
+
+pyray. gen_image_gradient_radial ( width : int , height : int , density : float , inner : Color , outer : Color )
Generate image: radial gradient
-
-pyray.
gen_image_gradient_v
( width : int , height : int , top : Color , bottom : Color )
+
+pyray. gen_image_gradient_v ( width : int , height : int , top : Color , bottom : Color )
Generate image: vertical gradient
-
-pyray.
gen_image_white_noise
( width : int , height : int , factor : float )
+
+pyray. gen_image_white_noise ( width : int , height : int , factor : float )
Generate image: white noise
-
-pyray.
gen_mesh_binormals
( mesh : Any )
-Compute mesh binormals
-
-
-
-
-pyray.
gen_mesh_cone
( radius : float , height : float , slices : int )
+
+pyray. gen_mesh_cone ( radius : float , height : float , slices : int )
Generate cone/pyramid mesh
-
-pyray.
gen_mesh_cube
( width : float , height : float , length : float )
+
+pyray. gen_mesh_cube ( width : float , height : float , length : float )
Generate cuboid mesh
-
-pyray.
gen_mesh_cubicmap
( cubicmap : Image , cubeSize : Vector3 )
+
+pyray. gen_mesh_cubicmap ( cubicmap : Image , cubeSize : Vector3 )
Generate cubes-based map mesh from image data
-
-pyray.
gen_mesh_cylinder
( radius : float , height : float , slices : int )
+
+pyray. gen_mesh_cylinder ( radius : float , height : float , slices : int )
Generate cylinder mesh
-
-pyray.
gen_mesh_heightmap
( heightmap : Image , size : Vector3 )
+
+pyray. gen_mesh_heightmap ( heightmap : Image , size : Vector3 )
Generate heightmap mesh from image data
-
-pyray.
gen_mesh_hemi_sphere
( radius : float , rings : int , slices : int )
+
+pyray. gen_mesh_hemi_sphere ( radius : float , rings : int , slices : int )
Generate half-sphere mesh (no bottom cap)
-
-pyray.
gen_mesh_knot
( radius : float , size : float , radSeg : int , sides : int )
+
+pyray. gen_mesh_knot ( radius : float , size : float , radSeg : int , sides : int )
Generate trefoil knot mesh
-
-pyray.
gen_mesh_plane
( width : float , length : float , resX : int , resZ : int )
+
+pyray. gen_mesh_plane ( width : float , length : float , resX : int , resZ : int )
Generate plane mesh (with subdivisions)
-
-pyray.
gen_mesh_poly
( sides : int , radius : float )
+
+pyray. gen_mesh_poly ( sides : int , radius : float )
Generate polygonal mesh
-
-pyray.
gen_mesh_sphere
( radius : float , rings : int , slices : int )
+
+pyray. gen_mesh_sphere ( radius : float , rings : int , slices : int )
Generate sphere mesh (standard sphere)
-
-pyray.
gen_mesh_tangents
( mesh : Any )
+
+pyray. gen_mesh_tangents ( mesh : Any )
Compute mesh tangents
-
-pyray.
gen_mesh_torus
( radius : float , size : float , radSeg : int , sides : int )
+
+pyray. gen_mesh_torus ( radius : float , size : float , radSeg : int , sides : int )
Generate torus mesh
-
-pyray.
gen_texture_mipmaps
( texture : Any )
+
+pyray. gen_texture_mipmaps ( texture : Any )
Generate GPU mipmaps for a texture
-
-pyray.
get_camera_matrix
( camera : Camera3D )
+
+pyray. get_application_directory ( )
+Get the directory if the running application (uses static string)
+
+
+
+
+pyray. get_camera_matrix ( camera : Camera3D )
Get camera transform matrix (view matrix)
-
-pyray.
get_camera_matrix_2d
( camera : Camera2D )
+
+pyray. get_camera_matrix_2d ( camera : Camera2D )
Get camera 2d transform matrix
-
-pyray.
get_char_pressed
( )
+
+pyray. get_char_pressed ( )
Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
-
-pyray.
get_clipboard_text
( )
+
+pyray. get_clipboard_text ( )
Get clipboard text content
-
-pyray.
get_codepoint
( text : str , bytesProcessed : Any )
+
+pyray. get_codepoint ( text : str , bytesProcessed : Any )
Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure
-
-pyray.
get_codepoint_count
( text : str )
+
+pyray. get_codepoint_count ( text : str )
Get total number of codepoints in a UTF-8 encoded string
-
-pyray.
get_collision_rec
( rec1 : Rectangle , rec2 : Rectangle )
+
+pyray. get_collision_rec ( rec1 : Rectangle , rec2 : Rectangle )
Get collision rectangle for two rectangles collision
-
-pyray.
get_color
( hexValue : int )
+
+pyray. get_color ( hexValue : int )
Get Color structure from hexadecimal value
-
-pyray.
get_current_monitor
( )
+
+pyray. get_current_monitor ( )
Get current connected monitor
-
-pyray.
get_directory_files
( dirPath : str , count : Any )
-Get filenames in a directory path (memory should be freed)
-
-
-
-
-pyray.
get_directory_path
( filePath : str )
+
+pyray. get_directory_path ( filePath : str )
Get full path for a given fileName with path (uses static string)
-
-pyray.
get_dropped_files
( count : Any )
-Get dropped files names (memory should be freed)
-
-
-
-
-pyray.
get_file_extension
( fileName : str )
+
+pyray. get_file_extension ( fileName : str )
Get pointer to extension for a filename string (includes dot: ‘.png’)
-
-pyray.
get_file_mod_time
( fileName : str )
+
+pyray. get_file_length ( fileName : str )
+Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)
+
+
+
+
+pyray. get_file_mod_time ( fileName : str )
Get file modification time (last write time)
-
-pyray.
get_file_name
( filePath : str )
+
+pyray. get_file_name ( filePath : str )
Get pointer to filename for a path string
-
-pyray.
get_file_name_without_ext
( filePath : str )
+
+pyray. get_file_name_without_ext ( filePath : str )
Get filename string without extension (uses static string)
-
-pyray.
get_font_default
( )
+
+pyray. get_font_default ( )
Get the default Font
-
-pyray.
get_fps
( )
+
+pyray. get_fps ( )
Get current FPS
-
-pyray.
get_frame_time
( )
+
+pyray. get_frame_time ( )
Get time in seconds for last frame drawn (delta time)
-
-pyray.
get_gamepad_axis_count
( gamepad : int )
+
+pyray. get_gamepad_axis_count ( gamepad : int )
Get gamepad axis count for a gamepad
-
-pyray.
get_gamepad_axis_movement
( gamepad : int , axis : int )
+
+pyray. get_gamepad_axis_movement ( gamepad : int , axis : int )
Get axis movement value for a gamepad axis
-
-pyray.
get_gamepad_button_pressed
( )
+
+pyray. get_gamepad_button_pressed ( )
Get the last gamepad button pressed
-
-pyray.
get_gamepad_name
( gamepad : int )
+
+pyray. get_gamepad_name ( gamepad : int )
Get gamepad internal name id
-
-pyray.
get_gesture_detected
( )
+
+pyray. get_gesture_detected ( )
Get latest detected gesture
-
-pyray.
get_gesture_drag_angle
( )
+
+pyray. get_gesture_drag_angle ( )
Get gesture drag angle
-
-pyray.
get_gesture_drag_vector
( )
+
+pyray. get_gesture_drag_vector ( )
Get gesture drag vector
-
-pyray.
get_gesture_hold_duration
( )
+
+pyray. get_gesture_hold_duration ( )
Get gesture hold time in milliseconds
-
-pyray.
get_gesture_pinch_angle
( )
+
+pyray. get_gesture_pinch_angle ( )
Get gesture pinch angle
-
-pyray.
get_gesture_pinch_vector
( )
+
+pyray. get_gesture_pinch_vector ( )
Get gesture pinch delta
-
-pyray.
get_glyph_atlas_rec
( font : Font , codepoint : int )
+
+pyray. get_glyph_atlas_rec ( font : Font , codepoint : int )
Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to ‘?’ if not found
-
-pyray.
get_glyph_index
( font : Font , codepoint : int )
+
+pyray. get_glyph_index ( font : Font , codepoint : int )
Get glyph index position in font for a codepoint (unicode character), fallback to ‘?’ if not found
-
-pyray.
get_glyph_info
( font : Font , codepoint : int )
+
+pyray. get_glyph_info ( font : Font , codepoint : int )
Get glyph font info data for a codepoint (unicode character), fallback to ‘?’ if not found
-
-pyray.
get_image_alpha_border
( image : Image , threshold : float )
+
+pyray. get_image_alpha_border ( image : Image , threshold : float )
Get image alpha border rectangle
-
-pyray.
get_image_color
( image : Image , x : int , y : int )
+
+pyray. get_image_color ( image : Image , x : int , y : int )
Get image pixel color at (x, y) position
-
-pyray.
get_key_pressed
( )
+
+pyray. get_key_pressed ( )
Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty
-
-pyray.
get_mesh_bounding_box
( mesh : Mesh )
+
+pyray. get_mesh_bounding_box ( mesh : Mesh )
Compute mesh bounding box limits
-
-pyray.
get_model_bounding_box
( model : Model )
+
+pyray. get_model_bounding_box ( model : Model )
Compute model bounding box limits (considers all meshes)
-
-pyray.
get_monitor_count
( )
+
+pyray. get_monitor_count ( )
Get number of connected monitors
-
-pyray.
get_monitor_height
( monitor : int )
-Get specified monitor height (max available by monitor)
+
+pyray. get_monitor_height ( monitor : int )
+Get specified monitor height (current video mode used by monitor)
-
-pyray.
get_monitor_name
( monitor : int )
+
+pyray. get_monitor_name ( monitor : int )
Get the human-readable, UTF-8 encoded name of the primary monitor
-
-pyray.
get_monitor_physical_height
( monitor : int )
+
+pyray. get_monitor_physical_height ( monitor : int )
Get specified monitor physical height in millimetres
-
-pyray.
get_monitor_physical_width
( monitor : int )
+
+pyray. get_monitor_physical_width ( monitor : int )
Get specified monitor physical width in millimetres
-
-pyray.
get_monitor_position
( monitor : int )
+
+pyray. get_monitor_position ( monitor : int )
Get specified monitor position
-
-pyray.
get_monitor_refresh_rate
( monitor : int )
+
+pyray. get_monitor_refresh_rate ( monitor : int )
Get specified monitor refresh rate
-
-pyray.
get_monitor_width
( monitor : int )
-Get specified monitor width (max available by monitor)
+
+pyray. get_monitor_width ( monitor : int )
+Get specified monitor width (current video mode used by monitor)
-
-pyray.
get_mouse_delta
( )
+
+pyray. get_mouse_delta ( )
Get mouse delta between frames
-
-pyray.
get_mouse_position
( )
+
+pyray. get_mouse_position ( )
Get mouse position XY
-
-pyray.
get_mouse_ray
( mousePosition : Vector2 , camera : Camera3D )
+
+pyray. get_mouse_ray ( mousePosition : Vector2 , camera : Camera3D )
Get a ray trace from mouse position
-
-pyray.
get_mouse_wheel_move
( )
-Get mouse wheel movement Y
+
+pyray. get_mouse_wheel_move ( )
+Get mouse wheel movement for X or Y, whichever is larger
-
-pyray.
get_mouse_x
( )
+
+pyray. get_mouse_wheel_move_v ( )
+Get mouse wheel movement for both X and Y
+
+
+
+
+pyray. get_mouse_x ( )
Get mouse position X
-
-pyray.
get_mouse_y
( )
+
+pyray. get_mouse_y ( )
Get mouse position Y
-
-pyray.
get_music_time_length
( music : Music )
+
+pyray. get_music_time_length ( music : Music )
Get music time length (in seconds)
-
-pyray.
get_music_time_played
( music : Music )
+
+pyray. get_music_time_played ( music : Music )
Get current music time played (in seconds)
-
-pyray.
get_physics_bodies_count
( )
+
+pyray. get_physics_bodies_count ( )
int GetPhysicsBodiesCount();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
get_physics_body
( int_0 : int )
+
+pyray. get_physics_body ( int_0 : int )
struct PhysicsBodyData * GetPhysicsBody(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
get_physics_shape_type
( int_0 : int )
+
+pyray. get_physics_shape_type ( int_0 : int )
int GetPhysicsShapeType(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
get_physics_shape_vertex
( PhysicsBodyData_pointer_0 : Any , int_1 : int )
+
+pyray. get_physics_shape_vertex ( PhysicsBodyData_pointer_0 : Any , int_1 : int )
struct Vector2 GetPhysicsShapeVertex(struct PhysicsBodyData * , int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
get_physics_shape_vertices_count
( int_0 : int )
+
+pyray. get_physics_shape_vertices_count ( int_0 : int )
int GetPhysicsShapeVerticesCount(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
get_pixel_color
( srcPtr : Any , format : int )
+
+pyray. get_pixel_color ( srcPtr : Any , format : int )
Get Color from a source pixel pointer of certain format
-
-pyray.
get_pixel_data_size
( width : int , height : int , format : int )
+
+pyray. get_pixel_data_size ( width : int , height : int , format : int )
Get pixel data size in bytes for certain format
-
-pyray.
get_prev_directory_path
( dirPath : str )
+
+pyray. get_prev_directory_path ( dirPath : str )
Get previous directory path for a given path (uses static string)
-
-pyray.
get_random_value
( min : int , max : int )
+
+pyray. get_random_value ( min : int , max : int )
Get a random value between min and max (both included)
-
-pyray.
get_ray_collision_box
( ray : Ray , box : BoundingBox )
+
+pyray. get_ray_collision_box ( ray : Ray , box : BoundingBox )
Get collision info between ray and box
-
-pyray.
get_ray_collision_mesh
( ray : Ray , mesh : Mesh , transform : Matrix )
+
+pyray. get_ray_collision_mesh ( ray : Ray , mesh : Mesh , transform : Matrix )
Get collision info between ray and mesh
-
-pyray.
get_ray_collision_model
( ray : Ray , model : Model )
-Get collision info between ray and model
-
-
-
-
-pyray.
get_ray_collision_quad
( ray : Ray , p1 : Vector3 , p2 : Vector3 , p3 : Vector3 , p4 : Vector3 )
+
+pyray. get_ray_collision_quad ( ray : Ray , p1 : Vector3 , p2 : Vector3 , p3 : Vector3 , p4 : Vector3 )
Get collision info between ray and quad
-
-pyray.
get_ray_collision_sphere
( ray : Ray , center : Vector3 , radius : float )
+
+pyray. get_ray_collision_sphere ( ray : Ray , center : Vector3 , radius : float )
Get collision info between ray and sphere
-
-pyray.
get_ray_collision_triangle
( ray : Ray , p1 : Vector3 , p2 : Vector3 , p3 : Vector3 )
+
+pyray. get_ray_collision_triangle ( ray : Ray , p1 : Vector3 , p2 : Vector3 , p3 : Vector3 )
Get collision info between ray and triangle
-
-pyray.
get_screen_height
( )
+
+pyray. get_render_height ( )
+Get current render height (it considers HiDPI)
+
+
+
+
+pyray. get_render_width ( )
+Get current render width (it considers HiDPI)
+
+
+
+
+pyray. get_screen_height ( )
Get current screen height
-
-pyray.
get_screen_to_world_2d
( position : Vector2 , camera : Camera2D )
+
+pyray. get_screen_to_world_2d ( position : Vector2 , camera : Camera2D )
Get the world space position for a 2d camera screen space position
-
-pyray.
get_screen_width
( )
+
+pyray. get_screen_width ( )
Get current screen width
-
-pyray.
get_shader_location
( shader : Shader , uniformName : str )
+
+pyray. get_shader_location ( shader : Shader , uniformName : str )
Get shader uniform location
-
-pyray.
get_shader_location_attrib
( shader : Shader , attribName : str )
+
+pyray. get_shader_location_attrib ( shader : Shader , attribName : str )
Get shader attribute location
-
-pyray.
get_sounds_playing
( )
+
+pyray. get_sounds_playing ( )
Get number of sounds playing in the multichannel
-
-pyray.
get_time
( )
+
+pyray. get_time ( )
Get elapsed time in seconds since InitWindow()
-
-pyray.
get_touch_point_count
( )
+
+pyray. get_touch_point_count ( )
Get number of touch points
-
-pyray.
get_touch_point_id
( index : int )
+
+pyray. get_touch_point_id ( index : int )
Get touch point identifier for given index
-
-pyray.
get_touch_position
( index : int )
+
+pyray. get_touch_position ( index : int )
Get touch position XY for a touch point index (relative to screen size)
-
-pyray.
get_touch_x
( )
+
+pyray. get_touch_x ( )
Get touch position X for touch point 0 (relative to screen size)
-
-pyray.
get_touch_y
( )
+
+pyray. get_touch_y ( )
Get touch position Y for touch point 0 (relative to screen size)
-
-pyray.
get_window_handle
( )
+
+pyray. get_window_handle ( )
Get native window handle
-
-pyray.
get_window_position
( )
+
+pyray. get_window_position ( )
Get window position XY on monitor
-
-pyray.
get_window_scale_dpi
( )
+
+pyray. get_window_scale_dpi ( )
Get window scale DPI factor
-
-pyray.
get_working_directory
( )
+
+pyray. get_working_directory ( )
Get current working directory (uses static string)
-
-pyray.
get_world_to_screen
( position : Vector3 , camera : Camera3D )
+
+pyray. get_world_to_screen ( position : Vector3 , camera : Camera3D )
Get the screen space position for a 3d world space position
-
-pyray.
get_world_to_screen_2d
( position : Vector2 , camera : Camera2D )
+
+pyray. get_world_to_screen_2d ( position : Vector2 , camera : Camera2D )
Get the screen space position for a 2d camera world space position
-
-pyray.
get_world_to_screen_ex
( position : Vector3 , camera : Camera3D , width : int , height : int )
+
+pyray. get_world_to_screen_ex ( position : Vector3 , camera : Camera3D , width : int , height : int )
Get size position for a 3d world space position
-
-
-class pyray.
guiIconName
-Enum where members are also (and must be) ints
-
-
-RICON_1UP
= 148
-
-
-
-
-RICON_200
= 200
-
-
-
-
-RICON_201
= 201
-
-
-
-
-RICON_202
= 202
-
-
-
-
-RICON_203
= 203
-
-
-
-
-RICON_204
= 204
-
-
-
-
-RICON_205
= 205
-
-
-
-
-RICON_206
= 206
-
-
-
-
-RICON_207
= 207
-
-
-
-
-RICON_208
= 208
-
-
-
-
-RICON_209
= 209
-
-
-
-
-RICON_210
= 210
-
-
-
-
-RICON_211
= 211
-
-
-
-
-RICON_212
= 212
-
-
-
-
-RICON_213
= 213
-
-
-
-
-RICON_214
= 214
-
-
-
-
-RICON_215
= 215
-
-
-
-
-RICON_216
= 216
-
-
-
-
-RICON_217
= 217
-
-
-
-
-RICON_218
= 218
-
-
-
-
-RICON_219
= 219
-
-
-
-
-RICON_220
= 220
-
-
-
-
-RICON_221
= 221
-
-
-
-
-RICON_222
= 222
-
-
-
-
-RICON_223
= 223
-
-
-
-
-RICON_224
= 224
-
-
-
-
-RICON_225
= 225
-
-
-
-
-RICON_226
= 226
-
-
-
-
-RICON_227
= 227
-
-
-
-
-RICON_228
= 228
-
-
-
-
-RICON_229
= 229
-
-
-
-
-RICON_230
= 230
-
-
-
-
-RICON_231
= 231
-
-
-
-
-RICON_232
= 232
-
-
-
-
-RICON_233
= 233
-
-
-
-
-RICON_234
= 234
-
-
-
-
-RICON_235
= 235
-
-
-
-
-RICON_236
= 236
-
-
-
-
-RICON_237
= 237
-
-
-
-
-RICON_238
= 238
-
-
-
-
-RICON_239
= 239
-
-
-
-
-RICON_240
= 240
-
-
-
-
-RICON_241
= 241
-
-
-
-
-RICON_242
= 242
-
-
-
-
-RICON_243
= 243
-
-
-
-
-RICON_244
= 244
-
-
-
-
-RICON_245
= 245
-
-
-
-
-RICON_246
= 246
-
-
-
-
-RICON_247
= 247
-
-
-
-
-RICON_248
= 248
-
-
-
-
-RICON_249
= 249
-
-
-
-
-RICON_250
= 250
-
-
-
-
-RICON_251
= 251
-
-
-
-
-RICON_252
= 252
-
-
-
-
-RICON_253
= 253
-
-
-
-
-RICON_254
= 254
-
-
-
-
-RICON_255
= 255
-
-
-
-
-RICON_ALPHA_CLEAR
= 93
-
-
-
-
-RICON_ALPHA_MULTIPLY
= 92
-
-
-
-
-RICON_ARROW_DOWN
= 116
-
-
-
-
-RICON_ARROW_DOWN_FILL
= 120
-
-
-
-
-RICON_ARROW_LEFT
= 114
-
-
-
-
-RICON_ARROW_LEFT_FILL
= 118
-
-
-
-
-RICON_ARROW_RIGHT
= 115
-
-
-
-
-RICON_ARROW_RIGHT_FILL
= 119
-
-
-
-
-RICON_ARROW_UP
= 117
-
-
-
-
-RICON_ARROW_UP_FILL
= 121
-
-
-
-
-RICON_AUDIO
= 122
-
-
-
-
-RICON_BIN
= 143
-
-
-
-
-RICON_BOX
= 80
-
-
-
-
-RICON_BOX_BOTTOM
= 85
-
-
-
-
-RICON_BOX_BOTTOM_LEFT
= 86
-
-
-
-
-RICON_BOX_BOTTOM_RIGHT
= 84
-
-
-
-
-RICON_BOX_CENTER
= 89
-
-
-
-
-RICON_BOX_CIRCLE_MASK
= 90
-
-
-
-
-RICON_BOX_CONCENTRIC
= 110
-
-
-
-
-RICON_BOX_CORNERS_BIG
= 99
-
-
-
-
-RICON_BOX_CORNERS_SMALL
= 98
-
-
-
-
-RICON_BOX_DOTS_BIG
= 109
-
-
-
-
-RICON_BOX_DOTS_SMALL
= 108
-
-
-
-
-RICON_BOX_GRID
= 96
-
-
-
-
-RICON_BOX_GRID_BIG
= 111
-
-
-
-
-RICON_BOX_LEFT
= 87
-
-
-
-
-RICON_BOX_MULTISIZE
= 102
-
-
-
-
-RICON_BOX_RIGHT
= 83
-
-
-
-
-RICON_BOX_TOP
= 81
-
-
-
-
-RICON_BOX_TOP_LEFT
= 88
-
-
-
-
-RICON_BOX_TOP_RIGHT
= 82
-
-
-
-
-RICON_BRUSH_CLASSIC
= 24
-
-
-
-
-RICON_BRUSH_PAINTER
= 25
-
-
-
-
-RICON_CAMERA
= 169
-
-
-
-
-RICON_CLOCK
= 139
-
-
-
-
-RICON_COIN
= 146
-
-
-
-
-RICON_COLOR_BUCKET
= 29
-
-
-
-
-RICON_COLOR_PICKER
= 27
-
-
-
-
-RICON_CORNER
= 187
-
-
-
-
-RICON_CRACK
= 155
-
-
-
-
-RICON_CRACK_POINTS
= 156
-
-
-
-
-RICON_CROP
= 36
-
-
-
-
-RICON_CROP_ALPHA
= 37
-
-
-
-
-RICON_CROSS
= 113
-
-
-
-
-RICON_CROSSLINE
= 192
-
-
-
-
-RICON_CROSS_SMALL
= 128
-
-
-
-
-RICON_CUBE
= 162
-
-
-
-
-RICON_CUBE_FACE_BACK
= 168
-
-
-
-
-RICON_CUBE_FACE_BOTTOM
= 166
-
-
-
-
-RICON_CUBE_FACE_FRONT
= 165
-
-
-
-
-RICON_CUBE_FACE_LEFT
= 164
-
-
-
-
-RICON_CUBE_FACE_RIGHT
= 167
-
-
-
-
-RICON_CUBE_FACE_TOP
= 163
-
-
-
-
-RICON_CURSOR_CLASSIC
= 21
-
-
-
-
-RICON_CURSOR_HAND
= 19
-
-
-
-
-RICON_CURSOR_MOVE
= 52
-
-
-
-
-RICON_CURSOR_MOVE_FILL
= 68
-
-
-
-
-RICON_CURSOR_POINTER
= 20
-
-
-
-
-RICON_CURSOR_SCALE
= 53
-
-
-
-
-RICON_CURSOR_SCALE_FILL
= 69
-
-
-
-
-RICON_CURSOR_SCALE_LEFT
= 55
-
-
-
-
-RICON_CURSOR_SCALE_LEFT_FILL
= 71
-
-
-
-
-RICON_CURSOR_SCALE_RIGHT
= 54
-
-
-
-
-RICON_CURSOR_SCALE_RIGHT_FILL
= 70
-
-
-
-
-RICON_DEMON
= 152
-
-
-
-
-RICON_DITHERING
= 94
-
-
-
-
-RICON_DOOR
= 158
-
-
-
-
-RICON_EMPTYBOX
= 63
-
-
-
-
-RICON_EMPTYBOX_SMALL
= 79
-
-
-
-
-RICON_EXIT
= 159
-
-
-
-
-RICON_EXPLOSION
= 147
-
-
-
-
-RICON_EYE_OFF
= 45
-
-
-
-
-RICON_EYE_ON
= 44
-
-
-
-
-RICON_FILETYPE_ALPHA
= 194
-
-
-
-
-RICON_FILETYPE_AUDIO
= 11
-
-
-
-
-RICON_FILETYPE_HOME
= 195
-
-
-
-
-RICON_FILETYPE_IMAGE
= 12
-
-
-
-
-RICON_FILETYPE_INFO
= 15
-
-
-
-
-RICON_FILETYPE_PLAY
= 13
-
-
-
-
-RICON_FILETYPE_TEXT
= 10
-
-
-
-
-RICON_FILETYPE_VIDEO
= 14
-
-
-
-
-RICON_FILE_COPY
= 16
-
-
-
-
-RICON_FILE_CUT
= 17
-
-
-
-
-RICON_FILE_DELETE
= 9
-
-
-
-
-RICON_FILE_EXPORT
= 7
-
-
-
-
-RICON_FILE_NEW
= 8
-
-
-
-
-RICON_FILE_OPEN
= 5
-
-
-
-
-RICON_FILE_PASTE
= 18
-
-
-
-
-RICON_FILE_SAVE
= 6
-
-
-
-
-RICON_FILE_SAVE_CLASSIC
= 2
-
-
-
-
-RICON_FILTER
= 47
-
-
-
-
-RICON_FILTER_BILINEAR
= 35
-
-
-
-
-RICON_FILTER_POINT
= 34
-
-
-
-
-RICON_FILTER_TOP
= 46
-
-
-
-
-RICON_FOLDER_FILE_OPEN
= 1
-
-
-
-
-RICON_FOLDER_OPEN
= 3
-
-
-
-
-RICON_FOLDER_SAVE
= 4
-
-
-
-
-RICON_FOUR_BOXES
= 100
-
-
-
-
-RICON_FX
= 123
-
-
-
-
-RICON_GEAR
= 141
-
-
-
-
-RICON_GEAR_BIG
= 142
-
-
-
-
-RICON_GEAR_EX
= 154
-
-
-
-
-RICON_GRID
= 97
-
-
-
-
-RICON_GRID_FILL
= 101
-
-
-
-
-RICON_HAND_POINTER
= 144
-
-
-
-
-RICON_HEART
= 186
-
-
-
-
-RICON_HELP
= 193
-
-
-
-
-RICON_HIDPI
= 199
-
-
-
-
-RICON_HOUSE
= 185
-
-
-
-
-RICON_INFO
= 191
-
-
-
-
-RICON_KEY
= 151
-
-
-
-
-RICON_LASER
= 145
-
-
-
-
-RICON_LAYERS
= 197
-
-
-
-
-RICON_LAYERS_VISIBLE
= 196
-
-
-
-
-RICON_LENS
= 42
-
-
-
-
-RICON_LENS_BIG
= 43
-
-
-
-
-RICON_LIFE_BARS
= 190
-
-
-
-
-RICON_LINK
= 174
-
-
-
-
-RICON_LINK_BOXES
= 172
-
-
-
-
-RICON_LINK_BROKE
= 175
-
-
-
-
-RICON_LINK_MULTI
= 173
-
-
-
-
-RICON_LINK_NET
= 171
-
-
-
-
-RICON_LOCK_CLOSE
= 137
-
-
-
-
-RICON_LOCK_OPEN
= 138
-
-
-
-
-RICON_MAGNET
= 136
-
-
-
-
-RICON_MAILBOX
= 180
-
-
-
-
-RICON_MIPMAPS
= 95
-
-
-
-
-RICON_MODE_2D
= 160
-
-
-
-
-RICON_MODE_3D
= 161
-
-
-
-
-RICON_MONITOR
= 181
-
-
-
-
-RICON_MUTATE
= 59
-
-
-
-
-RICON_MUTATE_FILL
= 75
-
-
-
-
-RICON_NONE
= 0
-
-
-
-
-RICON_NOTEBOOK
= 177
-
-
-
-
-RICON_OK_TICK
= 112
-
-
-
-
-RICON_PENCIL
= 22
-
-
-
-
-RICON_PENCIL_BIG
= 23
-
-
-
-
-RICON_PHOTO_CAMERA
= 183
-
-
-
-
-RICON_PHOTO_CAMERA_FLASH
= 184
-
-
-
-
-RICON_PLAYER
= 149
-
-
-
-
-RICON_PLAYER_JUMP
= 150
-
-
-
-
-RICON_PLAYER_NEXT
= 134
-
-
-
-
-RICON_PLAYER_PAUSE
= 132
-
-
-
-
-RICON_PLAYER_PLAY
= 131
-
-
-
-
-RICON_PLAYER_PLAY_BACK
= 130
-
-
-
-
-RICON_PLAYER_PREVIOUS
= 129
-
-
-
-
-RICON_PLAYER_RECORD
= 135
-
-
-
-
-RICON_PLAYER_STOP
= 133
-
-
-
-
-RICON_POT
= 91
-
-
-
-
-RICON_PRINTER
= 182
-
-
-
-
-RICON_REDO
= 57
-
-
-
-
-RICON_REDO_FILL
= 73
-
-
-
-
-RICON_REPEAT
= 61
-
-
-
-
-RICON_REPEAT_FILL
= 77
-
-
-
-
-RICON_REREDO
= 58
-
-
-
-
-RICON_REREDO_FILL
= 74
-
-
-
-
-RICON_RESIZE
= 33
-
-
-
-
-RICON_ROTATE
= 60
-
-
-
-
-RICON_ROTATE_FILL
= 76
-
-
-
-
-RICON_RUBBER
= 28
-
-
-
-
-RICON_SCALE
= 32
-
-
-
-
-RICON_SHUFFLE
= 62
-
-
-
-
-RICON_SHUFFLE_FILL
= 78
-
-
-
-
-RICON_SPECIAL
= 170
-
-
-
-
-RICON_SQUARE_TOGGLE
= 38
-
-
-
-
-RICON_STAR
= 157
-
-
-
-
-RICON_SUITCASE
= 178
-
-
-
-
-RICON_SUITCASE_ZIP
= 179
-
-
-
-
-RICON_SYMMETRY
= 39
-
-
-
-
-RICON_SYMMETRY_HORIZONTAL
= 40
-
-
-
-
-RICON_SYMMETRY_VERTICAL
= 41
-
-
-
-
-RICON_TARGET
= 64
-
-
-
-
-RICON_TARGET_BIG
= 50
-
-
-
-
-RICON_TARGET_BIG_FILL
= 66
-
-
-
-
-RICON_TARGET_MOVE
= 51
-
-
-
-
-RICON_TARGET_MOVE_FILL
= 67
-
-
-
-
-RICON_TARGET_POINT
= 48
-
-
-
-
-RICON_TARGET_SMALL
= 49
-
-
-
-
-RICON_TARGET_SMALL_FILL
= 65
-
-
-
-
-RICON_TEXT_A
= 31
-
-
-
-
-RICON_TEXT_NOTES
= 176
-
-
-
-
-
-
-
-
-RICON_TEXT_T
= 30
-
-
-
-
-RICON_TOOLS
= 140
-
-
-
-
-RICON_UNDO
= 56
-
-
-
-
-RICON_UNDO_FILL
= 72
-
-
-
-
-RICON_VERTICAL_BARS
= 188
-
-
-
-
-RICON_VERTICAL_BARS_FILL
= 189
-
-
-
-
-RICON_WATER_DROP
= 26
-
-
-
-
-RICON_WAVE
= 124
-
-
-
-
-RICON_WAVE_SINUS
= 125
-
-
-
-
-RICON_WAVE_SQUARE
= 126
-
-
-
-
-RICON_WAVE_TRIANGULAR
= 127
-
-
-
-
-RICON_WINDOW
= 198
-
-
-
-
-RICON_ZOOM_ALL
= 106
-
-
-
-
-RICON_ZOOM_BIG
= 105
-
-
-
-
-RICON_ZOOM_CENTER
= 107
-
-
-
-
-RICON_ZOOM_MEDIUM
= 104
-
-
-
-
-RICON_ZOOM_SMALL
= 103
-
-
-
-
-
-pyray.
gui_button
( Rectangle_0 : Rectangle , str_1 : str )
+
+pyray. gui_button ( Rectangle_0 : Rectangle , str_1 : str )
_Bool GuiButton(struct Rectangle, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_check_box
( Rectangle_0 : Rectangle , str_1 : str , _Bool_2 : bool )
+
+pyray. gui_check_box ( Rectangle_0 : Rectangle , str_1 : str , _Bool_2 : bool )
_Bool GuiCheckBox(struct Rectangle, char * , _Bool);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_check_icon_pixel
( int_0 : int , int_1 : int , int_2 : int )
+
+pyray. gui_check_icon_pixel ( int_0 : int , int_1 : int , int_2 : int )
_Bool GuiCheckIconPixel(int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_clear_icon_pixel
( int_0 : int , int_1 : int , int_2 : int )
+
+pyray. gui_clear_icon_pixel ( int_0 : int , int_1 : int , int_2 : int )
void GuiClearIconPixel(int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_color_bar_alpha
( Rectangle_0 : Rectangle , float_1 : float )
-float GuiColorBarAlpha(struct Rectangle, float);
+
+pyray. gui_color_bar_alpha ( Rectangle_0 : Rectangle , str_1 : str , float_2 : float )
+float GuiColorBarAlpha(struct Rectangle, char * , float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_color_bar_hue
( Rectangle_0 : Rectangle , float_1 : float )
-float GuiColorBarHue(struct Rectangle, float);
+
+pyray. gui_color_bar_hue ( Rectangle_0 : Rectangle , str_1 : str , float_2 : float )
+float GuiColorBarHue(struct Rectangle, char * , float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_color_panel
( Rectangle_0 : Rectangle , Color_1 : Color )
-struct Color GuiColorPanel(struct Rectangle, struct Color);
+
+pyray. gui_color_panel ( Rectangle_0 : Rectangle , str_1 : str , Color_2 : Color )
+struct Color GuiColorPanel(struct Rectangle, char * , struct Color);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_color_picker
( Rectangle_0 : Rectangle , Color_1 : Color )
-struct Color GuiColorPicker(struct Rectangle, struct Color);
+
+pyray. gui_color_picker ( Rectangle_0 : Rectangle , str_1 : str , Color_2 : Color )
+struct Color GuiColorPicker(struct Rectangle, char * , struct Color);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_combo_box
( Rectangle_0 : Rectangle , str_1 : str , int_2 : int )
-int GuiComboBox(struct Rectangle, char * , int);
+
+pyray. gui_combo_box ( Rectangle_0 : Rectangle , str_1 : str , int_2 : int )
+int GuiComboBox(struct Rectangle, char * , int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_disable
( )
+
+pyray. gui_disable ( )
void GuiDisable();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_draw_icon
( int_0 : int , int_1 : int , int_2 : int , int_3 : int , Color_4 : Color )
+
+pyray. gui_draw_icon ( int_0 : int , int_1 : int , int_2 : int , int_3 : int , Color_4 : Color )
void GuiDrawIcon(int, int, int, int, struct Color);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_dropdown_box
( Rectangle_0 : Rectangle , str_1 : str , int_pointer_2 : Any , _Bool_3 : bool )
-_Bool GuiDropdownBox(struct Rectangle, char * , int * , _Bool);
+
+pyray. gui_dropdown_box ( Rectangle_0 : Rectangle , str_1 : str , int_pointer_2 : Any , _Bool_3 : bool )
+_Bool GuiDropdownBox(struct Rectangle, char * , int * , _Bool);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_dummy_rec
( Rectangle_0 : Rectangle , str_1 : str )
-void GuiDummyRec(struct Rectangle, char * );
+
+pyray. gui_dummy_rec ( Rectangle_0 : Rectangle , str_1 : str )
+void GuiDummyRec(struct Rectangle, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_enable
( )
+
+pyray. gui_enable ( )
void GuiEnable();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_fade
( float_0 : float )
+
+pyray. gui_fade ( float_0 : float )
void GuiFade(float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_get_font
( )
+
+pyray. gui_get_font ( )
struct Font GuiGetFont();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_get_icon_data
( int_0 : int )
-unsigned int * GuiGetIconData(int);
+
+pyray. gui_get_icon_data ( int_0 : int )
+unsigned int * GuiGetIconData(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_get_icons
( )
-unsigned int * GuiGetIcons();
+
+pyray. gui_get_icons ( )
+unsigned int * GuiGetIcons();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_get_state
( )
+
+pyray. gui_get_state ( )
int GuiGetState();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_get_style
( int_0 : int , int_1 : int )
+
+pyray. gui_get_style ( int_0 : int , int_1 : int )
int GuiGetStyle(int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_grid
( Rectangle_0 : Rectangle , float_1 : float , int_2 : int )
-struct Vector2 GuiGrid(struct Rectangle, float, int);
+
+pyray. gui_grid ( Rectangle_0 : Rectangle , str_1 : str , float_2 : float , int_3 : int )
+struct Vector2 GuiGrid(struct Rectangle, char * , float, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_group_box
( Rectangle_0 : Rectangle , str_1 : str )
-void GuiGroupBox(struct Rectangle, char * );
+
+pyray. gui_group_box ( Rectangle_0 : Rectangle , str_1 : str )
+void GuiGroupBox(struct Rectangle, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_icon_text
( int_0 : int , str_1 : str )
-char * GuiIconText(int, char * );
+
+pyray. gui_icon_text ( int_0 : int , str_1 : str )
+char * GuiIconText(int, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_is_locked
( )
+
+pyray. gui_is_locked ( )
_Bool GuiIsLocked();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_label
( Rectangle_0 : Rectangle , str_1 : str )
-void GuiLabel(struct Rectangle, char * );
+
+pyray. gui_label ( Rectangle_0 : Rectangle , str_1 : str )
+void GuiLabel(struct Rectangle, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_label_button
( Rectangle_0 : Rectangle , str_1 : str )
-_Bool GuiLabelButton(struct Rectangle, char * );
+
+pyray. gui_label_button ( Rectangle_0 : Rectangle , str_1 : str )
+_Bool GuiLabelButton(struct Rectangle, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_line
( Rectangle_0 : Rectangle , str_1 : str )
-void GuiLine(struct Rectangle, char * );
+
+pyray. gui_line ( Rectangle_0 : Rectangle , str_1 : str )
+void GuiLine(struct Rectangle, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_list_view
( Rectangle_0 : Rectangle , str_1 : str , int_pointer_2 : Any , int_3 : int )
-int GuiListView(struct Rectangle, char * , int * , int);
+
+pyray. gui_list_view ( Rectangle_0 : Rectangle , str_1 : str , int_pointer_2 : Any , int_3 : int )
+int GuiListView(struct Rectangle, char * , int * , int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_list_view_ex
( Rectangle_0 : Rectangle , str_pointer_1 : str , int_2 : int , int_pointer_3 : Any , int_pointer_4 : Any , int_5 : int )
-int GuiListViewEx(struct Rectangle, char * * , int, int * , int * , int);
+
+pyray. gui_list_view_ex ( Rectangle_0 : Rectangle , str_pointer_1 : str , int_2 : int , int_pointer_3 : Any , int_pointer_4 : Any , int_5 : int )
+int GuiListViewEx(struct Rectangle, char * * , int, int * , int * , int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_load_style
( str_0 : str )
-void GuiLoadStyle(char * );
+
+pyray. gui_load_style ( str_0 : str )
+void GuiLoadStyle(char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_load_style_default
( )
+
+pyray. gui_load_style_default ( )
void GuiLoadStyleDefault();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_lock
( )
+
+pyray. gui_lock ( )
void GuiLock();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_message_box
( Rectangle_0 : Rectangle , str_1 : str , str_2 : str , str_3 : str )
-int GuiMessageBox(struct Rectangle, char * , char * , char * );
+
+pyray. gui_message_box ( Rectangle_0 : Rectangle , str_1 : str , str_2 : str , str_3 : str )
+int GuiMessageBox(struct Rectangle, char * , char * , char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_panel
( Rectangle_0 : Rectangle )
-void GuiPanel(struct Rectangle);
+
+pyray. gui_panel ( Rectangle_0 : Rectangle , str_1 : str )
+void GuiPanel(struct Rectangle, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_progress_bar
( Rectangle_0 : Rectangle , str_1 : str , str_2 : str , float_3 : float , float_4 : float , float_5 : float )
-float GuiProgressBar(struct Rectangle, char * , char * , float, float, float);
+
+pyray. gui_progress_bar ( Rectangle_0 : Rectangle , str_1 : str , str_2 : str , float_3 : float , float_4 : float , float_5 : float )
+float GuiProgressBar(struct Rectangle, char * , char * , float, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_scroll_bar
( Rectangle_0 : Rectangle , int_1 : int , int_2 : int , int_3 : int )
-int GuiScrollBar(struct Rectangle, int, int, int);
+
+pyray. gui_scroll_panel ( Rectangle_0 : Rectangle , str_1 : str , Rectangle_2 : Rectangle , Vector2_pointer_3 : Any )
+struct Rectangle GuiScrollPanel(struct Rectangle, char * , struct Rectangle, struct Vector2 * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_scroll_panel
( Rectangle_0 : Rectangle , Rectangle_1 : Rectangle , Vector2_pointer_2 : Any )
-struct Rectangle GuiScrollPanel(struct Rectangle, struct Rectangle, struct Vector2 * );
-CFFI C function from raylib._raylib_cffi.lib
-
-
-
-
-pyray.
gui_set_font
( Font_0 : Font )
+
+pyray. gui_set_font ( Font_0 : Font )
void GuiSetFont(struct Font);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_set_icon_data
( int_0 : int , unsignedint_pointer_1 : Any )
-void GuiSetIconData(int, unsigned int * );
+
+pyray. gui_set_icon_data ( int_0 : int , unsignedint_pointer_1 : Any )
+void GuiSetIconData(int, unsigned int * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_set_icon_pixel
( int_0 : int , int_1 : int , int_2 : int )
+
+pyray. gui_set_icon_pixel ( int_0 : int , int_1 : int , int_2 : int )
void GuiSetIconPixel(int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_set_state
( int_0 : int )
+
+pyray. gui_set_icon_scale ( unsignedint_0 : int )
+void GuiSetIconScale(unsigned int);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. gui_set_state ( int_0 : int )
void GuiSetState(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_set_style
( int_0 : int , int_1 : int , int_2 : int )
+
+pyray. gui_set_style ( int_0 : int , int_1 : int , int_2 : int )
void GuiSetStyle(int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_slider
( Rectangle_0 : Rectangle , str_1 : str , str_2 : str , float_3 : float , float_4 : float , float_5 : float )
-float GuiSlider(struct Rectangle, char * , char * , float, float, float);
+
+pyray. gui_slider ( Rectangle_0 : Rectangle , str_1 : str , str_2 : str , float_3 : float , float_4 : float , float_5 : float )
+float GuiSlider(struct Rectangle, char * , char * , float, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_slider_bar
( Rectangle_0 : Rectangle , str_1 : str , str_2 : str , float_3 : float , float_4 : float , float_5 : float )
-float GuiSliderBar(struct Rectangle, char * , char * , float, float, float);
+
+pyray. gui_slider_bar ( Rectangle_0 : Rectangle , str_1 : str , str_2 : str , float_3 : float , float_4 : float , float_5 : float )
+float GuiSliderBar(struct Rectangle, char * , char * , float, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_spinner
( Rectangle_0 : Rectangle , str_1 : str , int_pointer_2 : Any , int_3 : int , int_4 : int , _Bool_5 : bool )
-_Bool GuiSpinner(struct Rectangle, char * , int * , int, int, _Bool);
+
+pyray. gui_spinner ( Rectangle_0 : Rectangle , str_1 : str , int_pointer_2 : Any , int_3 : int , int_4 : int , _Bool_5 : bool )
+_Bool GuiSpinner(struct Rectangle, char * , int * , int, int, _Bool);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_status_bar
( Rectangle_0 : Rectangle , str_1 : str )
-void GuiStatusBar(struct Rectangle, char * );
+
+pyray. gui_status_bar ( Rectangle_0 : Rectangle , str_1 : str )
+void GuiStatusBar(struct Rectangle, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_text_box
( Rectangle_0 : Rectangle , str_1 : str , int_2 : int , _Bool_3 : bool )
-_Bool GuiTextBox(struct Rectangle, char * , int, _Bool);
+
+pyray. gui_text_box ( Rectangle_0 : Rectangle , str_1 : str , int_2 : int , _Bool_3 : bool )
+_Bool GuiTextBox(struct Rectangle, char * , int, _Bool);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_text_box_multi
( Rectangle_0 : Rectangle , str_1 : str , int_2 : int , _Bool_3 : bool )
-_Bool GuiTextBoxMulti(struct Rectangle, char * , int, _Bool);
+
+pyray. gui_text_box_multi ( Rectangle_0 : Rectangle , str_1 : str , int_2 : int , _Bool_3 : bool )
+_Bool GuiTextBoxMulti(struct Rectangle, char * , int, _Bool);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_text_input_box
( Rectangle_0 : Rectangle , str_1 : str , str_2 : str , str_3 : str , str_4 : str )
-int GuiTextInputBox(struct Rectangle, char * , char * , char * , char * );
+
+pyray. gui_text_input_box ( Rectangle_0 : Rectangle , str_1 : str , str_2 : str , str_3 : str , str_4 : str , int_5 : int , int_pointer_6 : Any )
+int GuiTextInputBox(struct Rectangle, char * , char * , char * , char * , int, int * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_toggle
( Rectangle_0 : Rectangle , str_1 : str , _Bool_2 : bool )
-_Bool GuiToggle(struct Rectangle, char * , _Bool);
+
+pyray. gui_toggle ( Rectangle_0 : Rectangle , str_1 : str , _Bool_2 : bool )
+_Bool GuiToggle(struct Rectangle, char * , _Bool);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_toggle_group
( Rectangle_0 : Rectangle , str_1 : str , int_2 : int )
-int GuiToggleGroup(struct Rectangle, char * , int);
+
+pyray. gui_toggle_group ( Rectangle_0 : Rectangle , str_1 : str , int_2 : int )
+int GuiToggleGroup(struct Rectangle, char * , int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_unlock
( )
+
+pyray. gui_unlock ( )
void GuiUnlock();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_value_box
( Rectangle_0 : Rectangle , str_1 : str , int_pointer_2 : Any , int_3 : int , int_4 : int , _Bool_5 : bool )
-_Bool GuiValueBox(struct Rectangle, char * , int * , int, int, _Bool);
+
+pyray. gui_value_box ( Rectangle_0 : Rectangle , str_1 : str , int_pointer_2 : Any , int_3 : int , int_4 : int , _Bool_5 : bool )
+_Bool GuiValueBox(struct Rectangle, char * , int * , int, int, _Bool);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
gui_window_box
( Rectangle_0 : Rectangle , str_1 : str )
-_Bool GuiWindowBox(struct Rectangle, char * );
+
+pyray. gui_window_box ( Rectangle_0 : Rectangle , str_1 : str )
+_Bool GuiWindowBox(struct Rectangle, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
hide_cursor
( )
+
+pyray. hide_cursor ( )
Hides cursor
-
-pyray.
image_alpha_clear
( image : Any , color : Color , threshold : float )
+
+pyray. image_alpha_clear ( image : Any , color : Color , threshold : float )
Clear alpha channel to desired color
-
-pyray.
image_alpha_crop
( image : Any , threshold : float )
+
+pyray. image_alpha_crop ( image : Any , threshold : float )
Crop image depending on alpha value
-
-pyray.
image_alpha_mask
( image : Any , alphaMask : Image )
+
+pyray. image_alpha_mask ( image : Any , alphaMask : Image )
Apply alpha mask to image
-
-pyray.
image_alpha_premultiply
( image : Any )
+
+pyray. image_alpha_premultiply ( image : Any )
Premultiply alpha channel
-
-pyray.
image_clear_background
( dst : Any , color : Color )
+
+pyray. image_clear_background ( dst : Any , color : Color )
Clear image background with given color
-
-pyray.
image_color_brightness
( image : Any , brightness : int )
+
+pyray. image_color_brightness ( image : Any , brightness : int )
Modify image color: brightness (-255 to 255)
-
-pyray.
image_color_contrast
( image : Any , contrast : float )
+
+pyray. image_color_contrast ( image : Any , contrast : float )
Modify image color: contrast (-100 to 100)
-
-pyray.
image_color_grayscale
( image : Any )
+
+pyray. image_color_grayscale ( image : Any )
Modify image color: grayscale
-
-pyray.
image_color_invert
( image : Any )
+
+pyray. image_color_invert ( image : Any )
Modify image color: invert
-
-pyray.
image_color_replace
( image : Any , color : Color , replace : Color )
+
+pyray. image_color_replace ( image : Any , color : Color , replace : Color )
Modify image color: replace color
-
-pyray.
image_color_tint
( image : Any , color : Color )
+
+pyray. image_color_tint ( image : Any , color : Color )
Modify image color: tint
-
-pyray.
image_copy
( image : Image )
+
+pyray. image_copy ( image : Image )
Create an image duplicate (useful for transformations)
-
-pyray.
image_crop
( image : Any , crop : Rectangle )
+
+pyray. image_crop ( image : Any , crop : Rectangle )
Crop an image to a defined rectangle
-
-pyray.
image_dither
( image : Any , rBpp : int , gBpp : int , bBpp : int , aBpp : int )
+
+pyray. image_dither ( image : Any , rBpp : int , gBpp : int , bBpp : int , aBpp : int )
Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
-
-pyray.
image_draw
( dst : Any , src : Image , srcRec : Rectangle , dstRec : Rectangle , tint : Color )
+
+pyray. image_draw ( dst : Any , src : Image , srcRec : Rectangle , dstRec : Rectangle , tint : Color )
Draw a source image within a destination image (tint applied to source)
-
-pyray.
image_draw_circle
( dst : Any , centerX : int , centerY : int , radius : int , color : Color )
+
+pyray. image_draw_circle ( dst : Any , centerX : int , centerY : int , radius : int , color : Color )
Draw circle within an image
-
-pyray.
image_draw_circle_v
( dst : Any , center : Vector2 , radius : int , color : Color )
+
+pyray. image_draw_circle_v ( dst : Any , center : Vector2 , radius : int , color : Color )
Draw circle within an image (Vector version)
-
-pyray.
image_draw_line
( dst : Any , startPosX : int , startPosY : int , endPosX : int , endPosY : int , color : Color )
+
+pyray. image_draw_line ( dst : Any , startPosX : int , startPosY : int , endPosX : int , endPosY : int , color : Color )
Draw line within an image
-
-pyray.
image_draw_line_v
( dst : Any , start : Vector2 , end : Vector2 , color : Color )
+
+pyray. image_draw_line_v ( dst : Any , start : Vector2 , end : Vector2 , color : Color )
Draw line within an image (Vector version)
-
-pyray.
image_draw_pixel
( dst : Any , posX : int , posY : int , color : Color )
+
+pyray. image_draw_pixel ( dst : Any , posX : int , posY : int , color : Color )
Draw pixel within an image
-
-pyray.
image_draw_pixel_v
( dst : Any , position : Vector2 , color : Color )
+
+pyray. image_draw_pixel_v ( dst : Any , position : Vector2 , color : Color )
Draw pixel within an image (Vector version)
-
-pyray.
image_draw_rectangle
( dst : Any , posX : int , posY : int , width : int , height : int , color : Color )
+
+pyray. image_draw_rectangle ( dst : Any , posX : int , posY : int , width : int , height : int , color : Color )
Draw rectangle within an image
-
-pyray.
image_draw_rectangle_lines
( dst : Any , rec : Rectangle , thick : int , color : Color )
+
+pyray. image_draw_rectangle_lines ( dst : Any , rec : Rectangle , thick : int , color : Color )
Draw rectangle lines within an image
-
-pyray.
image_draw_rectangle_rec
( dst : Any , rec : Rectangle , color : Color )
+
+pyray. image_draw_rectangle_rec ( dst : Any , rec : Rectangle , color : Color )
Draw rectangle within an image
-
-pyray.
image_draw_rectangle_v
( dst : Any , position : Vector2 , size : Vector2 , color : Color )
+
+pyray. image_draw_rectangle_v ( dst : Any , position : Vector2 , size : Vector2 , color : Color )
Draw rectangle within an image (Vector version)
-
-pyray.
image_draw_text
( dst : Any , text : str , posX : int , posY : int , fontSize : int , color : Color )
+
+pyray. image_draw_text ( dst : Any , text : str , posX : int , posY : int , fontSize : int , color : Color )
Draw text (using default font) within an image (destination)
-
-pyray.
image_draw_text_ex
( dst : Any , font : Font , text : str , position : Vector2 , fontSize : float , spacing : float , tint : Color )
+
+pyray. image_draw_text_ex ( dst : Any , font : Font , text : str , position : Vector2 , fontSize : float , spacing : float , tint : Color )
Draw text (custom sprite font) within an image (destination)
-
-pyray.
image_flip_horizontal
( image : Any )
+
+pyray. image_flip_horizontal ( image : Any )
Flip image horizontally
-
-pyray.
image_flip_vertical
( image : Any )
+
+pyray. image_flip_vertical ( image : Any )
Flip image vertically
-
-pyray.
image_format
( image : Any , newFormat : int )
+
+pyray. image_format ( image : Any , newFormat : int )
Convert image data to desired format
-
-pyray.
image_from_image
( image : Image , rec : Rectangle )
+
+pyray. image_from_image ( image : Image , rec : Rectangle )
Create an image from another image piece
-
-pyray.
image_mipmaps
( image : Any )
+
+pyray. image_mipmaps ( image : Any )
Compute all mipmap levels for a provided image
-
-pyray.
image_resize
( image : Any , newWidth : int , newHeight : int )
+
+pyray. image_resize ( image : Any , newWidth : int , newHeight : int )
Resize image (Bicubic scaling algorithm)
-
-pyray.
image_resize_canvas
( image : Any , newWidth : int , newHeight : int , offsetX : int , offsetY : int , fill : Color )
+
+pyray. image_resize_canvas ( image : Any , newWidth : int , newHeight : int , offsetX : int , offsetY : int , fill : Color )
Resize canvas and fill with color
-
-pyray.
image_resize_nn
( image : Any , newWidth : int , newHeight : int )
+
+pyray. image_resize_nn ( image : Any , newWidth : int , newHeight : int )
Resize image (Nearest-Neighbor scaling algorithm)
-
-pyray.
image_rotate_ccw
( image : Any )
+
+pyray. image_rotate_ccw ( image : Any )
Rotate image counter-clockwise 90deg
-
-pyray.
image_rotate_cw
( image : Any )
+
+pyray. image_rotate_cw ( image : Any )
Rotate image clockwise 90deg
-
-pyray.
image_text
( text : str , fontSize : int , color : Color )
+
+pyray. image_text ( text : str , fontSize : int , color : Color )
Create an image from text (default font)
-
-pyray.
image_text_ex
( font : Font , text : str , fontSize : float , spacing : float , tint : Color )
+
+pyray. image_text_ex ( font : Font , text : str , fontSize : float , spacing : float , tint : Color )
Create an image from text (custom sprite font)
-
-pyray.
image_to_pot
( image : Any , fill : Color )
+
+pyray. image_to_pot ( image : Any , fill : Color )
Convert image to POT (power-of-two)
-
-pyray.
init_audio_device
( )
+
+pyray. init_audio_device ( )
Initialize audio device and context
-
-pyray.
init_physics
( )
+
+pyray. init_physics ( )
void InitPhysics();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
init_window
( width : int , height : int , title : str )
+
+pyray. init_window ( width : int , height : int , title : str )
Initialize window and OpenGL context
-
-pyray.
is_audio_device_ready
( )
+
+pyray. is_audio_device_ready ( )
Check if audio device has been initialized successfully
-
-pyray.
is_audio_stream_playing
( stream : AudioStream )
+
+pyray. is_audio_stream_playing ( stream : AudioStream )
Check if audio stream is playing
-
-pyray.
is_audio_stream_processed
( stream : AudioStream )
+
+pyray. is_audio_stream_processed ( stream : AudioStream )
Check if any audio stream buffers requires refill
-
-pyray.
is_cursor_hidden
( )
+
+pyray. is_cursor_hidden ( )
Check if cursor is not visible
-
-pyray.
is_cursor_on_screen
( )
+
+pyray. is_cursor_on_screen ( )
Check if cursor is on the screen
-
-pyray.
is_file_dropped
( )
+
+pyray. is_file_dropped ( )
Check if a file has been dropped into window
-
-pyray.
is_file_extension
( fileName : str , ext : str )
+
+pyray. is_file_extension ( fileName : str , ext : str )
Check file extension (including point: .png, .wav)
-
-pyray.
is_gamepad_available
( gamepad : int )
+
+pyray. is_gamepad_available ( gamepad : int )
Check if a gamepad is available
-
-pyray.
is_gamepad_button_down
( gamepad : int , button : int )
+
+pyray. is_gamepad_button_down ( gamepad : int , button : int )
Check if a gamepad button is being pressed
-
-pyray.
is_gamepad_button_pressed
( gamepad : int , button : int )
+
+pyray. is_gamepad_button_pressed ( gamepad : int , button : int )
Check if a gamepad button has been pressed once
-
-pyray.
is_gamepad_button_released
( gamepad : int , button : int )
+
+pyray. is_gamepad_button_released ( gamepad : int , button : int )
Check if a gamepad button has been released once
-
-pyray.
is_gamepad_button_up
( gamepad : int , button : int )
+
+pyray. is_gamepad_button_up ( gamepad : int , button : int )
Check if a gamepad button is NOT being pressed
-
-pyray.
is_gesture_detected
( gesture : int )
+
+pyray. is_gesture_detected ( gesture : int )
Check if a gesture have been detected
-
-pyray.
is_key_down
( key : int )
+
+pyray. is_key_down ( key : int )
Check if a key is being pressed
-
-pyray.
is_key_pressed
( key : int )
+
+pyray. is_key_pressed ( key : int )
Check if a key has been pressed once
-
-pyray.
is_key_released
( key : int )
+
+pyray. is_key_released ( key : int )
Check if a key has been released once
-
-pyray.
is_key_up
( key : int )
+
+pyray. is_key_up ( key : int )
Check if a key is NOT being pressed
-
-pyray.
is_model_animation_valid
( model : Model , anim : ModelAnimation )
+
+pyray. is_model_animation_valid ( model : Model , anim : ModelAnimation )
Check model animation skeleton match
-
-pyray.
is_mouse_button_down
( button : int )
+
+pyray. is_mouse_button_down ( button : int )
Check if a mouse button is being pressed
-
-pyray.
is_mouse_button_pressed
( button : int )
+
+pyray. is_mouse_button_pressed ( button : int )
Check if a mouse button has been pressed once
-
-pyray.
is_mouse_button_released
( button : int )
+
+pyray. is_mouse_button_released ( button : int )
Check if a mouse button has been released once
-
-pyray.
is_mouse_button_up
( button : int )
+
+pyray. is_mouse_button_up ( button : int )
Check if a mouse button is NOT being pressed
-
-pyray.
is_music_stream_playing
( music : Music )
+
+pyray. is_music_stream_playing ( music : Music )
Check if music is playing
-
-pyray.
is_sound_playing
( sound : Sound )
+
+pyray. is_path_file ( path : str )
+Check if a given path is a file or a directory
+
+
+
+
+pyray. is_sound_playing ( sound : Sound )
Check if a sound is currently playing
-
-pyray.
is_window_focused
( )
+
+pyray. is_window_focused ( )
Check if window is currently focused (only PLATFORM_DESKTOP)
-
-pyray.
is_window_fullscreen
( )
+
+pyray. is_window_fullscreen ( )
Check if window is currently fullscreen
-
-pyray.
is_window_hidden
( )
+
+pyray. is_window_hidden ( )
Check if window is currently hidden (only PLATFORM_DESKTOP)
-
-pyray.
is_window_maximized
( )
+
+pyray. is_window_maximized ( )
Check if window is currently maximized (only PLATFORM_DESKTOP)
-
-pyray.
is_window_minimized
( )
+
+pyray. is_window_minimized ( )
Check if window is currently minimized (only PLATFORM_DESKTOP)
-
-pyray.
is_window_ready
( )
+
+pyray. is_window_ready ( )
Check if window has been initialized successfully
-
-pyray.
is_window_resized
( )
+
+pyray. is_window_resized ( )
Check if window has been resized last frame
-
-pyray.
is_window_state
( flag : int )
+
+pyray. is_window_state ( flag : int )
Check if one specific window flag is enabled
-
-pyray.
load_audio_stream
( sampleRate : int , sampleSize : int , channels : int )
+
+pyray. lerp ( float_0 : float , float_1 : float , float_2 : float )
+float Lerp(float, float, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. load_audio_stream ( sampleRate : int , sampleSize : int , channels : int )
Load audio stream (to stream raw audio pcm data)
-
-pyray.
load_codepoints
( text : str , count : Any )
+
+pyray. load_codepoints ( text : str , count : Any )
Load all codepoints from a UTF-8 text string, codepoints count returned by parameter
-
-pyray.
load_file_data
( fileName : str , bytesRead : Any )
+
+pyray. load_directory_files ( dirPath : str )
+Load directory filepaths
+
+
+
+
+pyray. load_directory_files_ex ( basePath : str , filter : str , scanSubdirs : bool )
+Load directory filepaths with extension filtering and recursive directory scan
+
+
+
+
+pyray. load_dropped_files ( )
+Load dropped filepaths
+
+
+
+
+pyray. load_file_data ( fileName : str , bytesRead : Any )
Load file data as byte array (read)
-
-pyray.
load_file_text
( fileName : str )
-Load text data from file (read), returns a ‘ 0’ terminated string
+
+pyray. load_file_text ( fileName : str )
+Load text data from file (read), returns a ‘' terminated string
-
-pyray.
load_font
( fileName : str )
+
+pyray. load_font ( fileName : str )
Load font from file into GPU memory (VRAM)
-
-pyray.
load_font_data
( fileData : str , dataSize : int , fontSize : int , fontChars : Any , glyphCount : int , type : int )
+
+pyray. load_font_data ( fileData : str , dataSize : int , fontSize : int , fontChars : Any , glyphCount : int , type : int )
Load font data for further use
-
-pyray.
load_font_ex
( fileName : str , fontSize : int , fontChars : Any , glyphCount : int )
-Load font from file with extended parameters
+
+pyray. load_font_ex ( fileName : str , fontSize : int , fontChars : Any , glyphCount : int )
+Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set
-
-pyray.
load_font_from_image
( image : Image , key : Color , firstChar : int )
+
+pyray. load_font_from_image ( image : Image , key : Color , firstChar : int )
Load font from Image (XNA style)
-
-pyray.
load_font_from_memory
( fileType : str , fileData : str , dataSize : int , fontSize : int , fontChars : Any , glyphCount : int )
+
+pyray. load_font_from_memory ( fileType : str , fileData : str , dataSize : int , fontSize : int , fontChars : Any , glyphCount : int )
Load font from memory buffer, fileType refers to extension: i.e. ‘.ttf’
-
-pyray.
load_image
( fileName : str )
+
+pyray. load_image ( fileName : str )
Load image from file into CPU memory (RAM)
-
-pyray.
load_image_anim
( fileName : str , frames : Any )
+
+pyray. load_image_anim ( fileName : str , frames : Any )
Load image sequence from file (frames appended to image.data)
-
-pyray.
load_image_colors
( image : Image )
+
+pyray. load_image_colors ( image : Image )
Load color data from image as a Color array (RGBA - 32bit)
-
-pyray.
load_image_from_memory
( fileType : str , fileData : str , dataSize : int )
+
+pyray. load_image_from_memory ( fileType : str , fileData : str , dataSize : int )
Load image from memory buffer, fileType refers to extension: i.e. ‘.png’
-
-pyray.
load_image_from_screen
( )
+
+pyray. load_image_from_screen ( )
Load image from screen buffer and (screenshot)
-
-pyray.
load_image_from_texture
( texture : Texture )
+
+pyray. load_image_from_texture ( texture : Texture )
Load image from GPU texture data
-
-pyray.
load_image_palette
( image : Image , maxPaletteSize : int , colorCount : Any )
+
+pyray. load_image_palette ( image : Image , maxPaletteSize : int , colorCount : Any )
Load colors palette from image as a Color array (RGBA - 32bit)
-
-pyray.
load_image_raw
( fileName : str , width : int , height : int , format : int , headerSize : int )
+
+pyray. load_image_raw ( fileName : str , width : int , height : int , format : int , headerSize : int )
Load image from RAW file data
-
-pyray.
load_material_default
( )
+
+pyray. load_material_default ( )
Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
-
-pyray.
load_materials
( fileName : str , materialCount : Any )
+
+pyray. load_materials ( fileName : str , materialCount : Any )
Load materials from model file
-
-pyray.
load_model
( fileName : str )
+
+pyray. load_model ( fileName : str )
Load model from files (meshes and materials)
-
-pyray.
load_model_animations
( fileName : str , animCount : Any )
+
+pyray. load_model_animations ( fileName : str , animCount : Any )
Load model animations from file
-
-pyray.
load_model_from_mesh
( mesh : Mesh )
+
+pyray. load_model_from_mesh ( mesh : Mesh )
Load model from generated mesh (default material)
-
-pyray.
load_music_stream
( fileName : str )
+
+pyray. load_music_stream ( fileName : str )
Load music stream from file
-
-pyray.
load_music_stream_from_memory
( fileType : str , data : str , dataSize : int )
+
+pyray. load_music_stream_from_memory ( fileType : str , data : str , dataSize : int )
Load music stream from data
-
-pyray.
load_render_texture
( width : int , height : int )
+
+pyray. load_render_texture ( width : int , height : int )
Load texture for rendering (framebuffer)
-
-pyray.
load_shader
( vsFileName : str , fsFileName : str )
+
+pyray. load_shader ( vsFileName : str , fsFileName : str )
Load shader from files and bind default locations
-
-pyray.
load_shader_from_memory
( vsCode : str , fsCode : str )
+
+pyray. load_shader_from_memory ( vsCode : str , fsCode : str )
Load shader from code strings and bind default locations
-
-pyray.
load_sound
( fileName : str )
+
+pyray. load_sound ( fileName : str )
Load sound from file
-
-pyray.
load_sound_from_wave
( wave : Wave )
+
+pyray. load_sound_from_wave ( wave : Wave )
Load sound from wave data
-
-pyray.
load_storage_value
( position : int )
-Load integer value from storage file (from defined position)
-
-
-
-
-pyray.
load_texture
( fileName : str )
+
+pyray. load_texture ( fileName : str )
Load texture from file into GPU memory (VRAM)
-
-pyray.
load_texture_cubemap
( image : Image , layout : int )
+
+pyray. load_texture_cubemap ( image : Image , layout : int )
Load cubemap from image, multiple image cubemap layouts supported
-
-pyray.
load_texture_from_image
( image : Image )
+
+pyray. load_texture_from_image ( image : Image )
Load texture from image data
-
-pyray.
load_vr_stereo_config
( device : VrDeviceInfo )
+
+pyray. load_vr_stereo_config ( device : VrDeviceInfo )
Load VR stereo config for VR simulator device parameters
-
-pyray.
load_wave
( fileName : str )
+
+pyray. load_wave ( fileName : str )
Load wave data from file
-
-pyray.
load_wave_from_memory
( fileType : str , fileData : str , dataSize : int )
+
+pyray. load_wave_from_memory ( fileType : str , fileData : str , dataSize : int )
Load wave from memory buffer, fileType refers to extension: i.e. ‘.wav’
-
-pyray.
load_wave_samples
( wave : Wave )
-Load samples data from wave as a floats array
+
+pyray. load_wave_samples ( wave : Wave )
+Load samples data from wave as a 32bit float data array
-
-pyray.
maximize_window
( )
+
+pyray. matrix_add ( Matrix_0 : Matrix , Matrix_1 : Matrix )
+struct Matrix MatrixAdd(struct Matrix, struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_determinant ( Matrix_0 : Matrix )
+float MatrixDeterminant(struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_frustum ( double_0 : float , double_1 : float , double_2 : float , double_3 : float , double_4 : float , double_5 : float )
+struct Matrix MatrixFrustum(double, double, double, double, double, double);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_identity ( )
+struct Matrix MatrixIdentity();
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_invert ( Matrix_0 : Matrix )
+struct Matrix MatrixInvert(struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_look_at ( Vector3_0 : Vector3 , Vector3_1 : Vector3 , Vector3_2 : Vector3 )
+struct Matrix MatrixLookAt(struct Vector3, struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_multiply ( Matrix_0 : Matrix , Matrix_1 : Matrix )
+struct Matrix MatrixMultiply(struct Matrix, struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_ortho ( double_0 : float , double_1 : float , double_2 : float , double_3 : float , double_4 : float , double_5 : float )
+struct Matrix MatrixOrtho(double, double, double, double, double, double);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_perspective ( double_0 : float , double_1 : float , double_2 : float , double_3 : float )
+struct Matrix MatrixPerspective(double, double, double, double);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_rotate ( Vector3_0 : Vector3 , float_1 : float )
+struct Matrix MatrixRotate(struct Vector3, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_rotate_x ( float_0 : float )
+struct Matrix MatrixRotateX(float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_rotate_xyz ( Vector3_0 : Vector3 )
+struct Matrix MatrixRotateXYZ(struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_rotate_y ( float_0 : float )
+struct Matrix MatrixRotateY(float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_rotate_z ( float_0 : float )
+struct Matrix MatrixRotateZ(float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_rotate_zyx ( Vector3_0 : Vector3 )
+struct Matrix MatrixRotateZYX(struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_scale ( float_0 : float , float_1 : float , float_2 : float )
+struct Matrix MatrixScale(float, float, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_subtract ( Matrix_0 : Matrix , Matrix_1 : Matrix )
+struct Matrix MatrixSubtract(struct Matrix, struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_to_float_v ( Matrix_0 : Matrix )
+struct float16 MatrixToFloatV(struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_trace ( Matrix_0 : Matrix )
+float MatrixTrace(struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_translate ( float_0 : float , float_1 : float , float_2 : float )
+struct Matrix MatrixTranslate(float, float, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. matrix_transpose ( Matrix_0 : Matrix )
+struct Matrix MatrixTranspose(struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. maximize_window ( )
Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
-
-pyray.
measure_text
( text : str , fontSize : int )
+
+pyray. measure_text ( text : str , fontSize : int )
Measure string width for default font
-
-pyray.
measure_text_ex
( font : Font , text : str , fontSize : float , spacing : float )
+
+pyray. measure_text_ex ( font : Font , text : str , fontSize : float , spacing : float )
Measure string size for Font
-
-pyray.
mem_alloc
( size : int )
+
+pyray. mem_alloc ( size : int )
Internal memory allocator
-
-pyray.
mem_free
( ptr : Any )
+
+pyray. mem_free ( ptr : Any )
Internal memory free
-
-pyray.
mem_realloc
( ptr : Any , size : int )
+
+pyray. mem_realloc ( ptr : Any , size : int )
Internal memory reallocator
-
-pyray.
minimize_window
( )
+
+pyray. minimize_window ( )
Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
-
-pyray.
open_url
( url : str )
+
+pyray. normalize ( float_0 : float , float_1 : float , float_2 : float )
+float Normalize(float, float, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. open_url ( url : str )
Open URL with default system browser (if available)
-
-pyray.
pause_audio_stream
( stream : AudioStream )
+
+pyray. pause_audio_stream ( stream : AudioStream )
Pause audio stream
-
-pyray.
pause_music_stream
( music : Music )
+
+pyray. pause_music_stream ( music : Music )
Pause music playing
-
-pyray.
pause_sound
( sound : Sound )
+
+pyray. pause_sound ( sound : Sound )
Pause a sound
-
-pyray.
physics_add_force
( PhysicsBodyData_pointer_0 : Any , Vector2_1 : Vector2 )
-void PhysicsAddForce(struct PhysicsBodyData * , struct Vector2);
+
+pyray. physics_add_force ( PhysicsBodyData_pointer_0 : Any , Vector2_1 : Vector2 )
+void PhysicsAddForce(struct PhysicsBodyData * , struct Vector2);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
physics_add_torque
( PhysicsBodyData_pointer_0 : Any , float_1 : float )
-void PhysicsAddTorque(struct PhysicsBodyData * , float);
+
+pyray. physics_add_torque ( PhysicsBodyData_pointer_0 : Any , float_1 : float )
+void PhysicsAddTorque(struct PhysicsBodyData * , float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
physics_shatter
( PhysicsBodyData_pointer_0 : Any , Vector2_1 : Vector2 , float_2 : float )
-void PhysicsShatter(struct PhysicsBodyData * , struct Vector2, float);
+
+pyray. physics_shatter ( PhysicsBodyData_pointer_0 : Any , Vector2_1 : Vector2 , float_2 : float )
+void PhysicsShatter(struct PhysicsBodyData * , struct Vector2, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
play_audio_stream
( stream : AudioStream )
+
+pyray. play_audio_stream ( stream : AudioStream )
Play audio stream
-
-pyray.
play_music_stream
( music : Music )
+
+pyray. play_music_stream ( music : Music )
Start music playing
-
-pyray.
play_sound
( sound : Sound )
+
+pyray. play_sound ( sound : Sound )
Play a sound
-
-pyray.
play_sound_multi
( sound : Sound )
+
+pyray. play_sound_multi ( sound : Sound )
Play a sound (using multichannel buffer pool)
-
-pyray.
pointer
( struct )
+
+pyray. pointer ( struct )
-
-pyray.
poll_input_events
( )
+
+pyray. poll_input_events ( )
Register all input events
-
-pyray.
reset_physics
( )
+
+pyray. quaternion_add ( Vector4_0 : Vector4 , Vector4_1 : Vector4 )
+struct Vector4 QuaternionAdd(struct Vector4, struct Vector4);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_add_value ( Vector4_0 : Vector4 , float_1 : float )
+struct Vector4 QuaternionAddValue(struct Vector4, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_divide ( Vector4_0 : Vector4 , Vector4_1 : Vector4 )
+struct Vector4 QuaternionDivide(struct Vector4, struct Vector4);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_equals ( Vector4_0 : Vector4 , Vector4_1 : Vector4 )
+int QuaternionEquals(struct Vector4, struct Vector4);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_from_axis_angle ( Vector3_0 : Vector3 , float_1 : float )
+struct Vector4 QuaternionFromAxisAngle(struct Vector3, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_from_euler ( float_0 : float , float_1 : float , float_2 : float )
+struct Vector4 QuaternionFromEuler(float, float, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_from_matrix ( Matrix_0 : Matrix )
+struct Vector4 QuaternionFromMatrix(struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_from_vector3_to_vector3 ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+struct Vector4 QuaternionFromVector3ToVector3(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_identity ( )
+struct Vector4 QuaternionIdentity();
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_invert ( Vector4_0 : Vector4 )
+struct Vector4 QuaternionInvert(struct Vector4);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_length ( Vector4_0 : Vector4 )
+float QuaternionLength(struct Vector4);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_lerp ( Vector4_0 : Vector4 , Vector4_1 : Vector4 , float_2 : float )
+struct Vector4 QuaternionLerp(struct Vector4, struct Vector4, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_multiply ( Vector4_0 : Vector4 , Vector4_1 : Vector4 )
+struct Vector4 QuaternionMultiply(struct Vector4, struct Vector4);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_nlerp ( Vector4_0 : Vector4 , Vector4_1 : Vector4 , float_2 : float )
+struct Vector4 QuaternionNlerp(struct Vector4, struct Vector4, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_normalize ( Vector4_0 : Vector4 )
+struct Vector4 QuaternionNormalize(struct Vector4);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_scale ( Vector4_0 : Vector4 , float_1 : float )
+struct Vector4 QuaternionScale(struct Vector4, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_slerp ( Vector4_0 : Vector4 , Vector4_1 : Vector4 , float_2 : float )
+struct Vector4 QuaternionSlerp(struct Vector4, struct Vector4, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_subtract ( Vector4_0 : Vector4 , Vector4_1 : Vector4 )
+struct Vector4 QuaternionSubtract(struct Vector4, struct Vector4);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_subtract_value ( Vector4_0 : Vector4 , float_1 : float )
+struct Vector4 QuaternionSubtractValue(struct Vector4, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_to_axis_angle ( Vector4_0 : Vector4 , Vector3_pointer_1 : Any , float_pointer_2 : Any )
+void QuaternionToAxisAngle(struct Vector4, struct Vector3 * , float * );
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_to_euler ( Vector4_0 : Vector4 )
+struct Vector3 QuaternionToEuler(struct Vector4);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_to_matrix ( Vector4_0 : Vector4 )
+struct Matrix QuaternionToMatrix(struct Vector4);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. quaternion_transform ( Vector4_0 : Vector4 , Matrix_1 : Matrix )
+struct Vector4 QuaternionTransform(struct Vector4, struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. remap ( float_0 : float , float_1 : float , float_2 : float , float_3 : float , float_4 : float )
+float Remap(float, float, float, float, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. reset_physics ( )
void ResetPhysics();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
restore_window
( )
+
+pyray. restore_window ( )
Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
-
-pyray.
resume_audio_stream
( stream : AudioStream )
+
+pyray. resume_audio_stream ( stream : AudioStream )
Resume audio stream
-
-pyray.
resume_music_stream
( music : Music )
+
+pyray. resume_music_stream ( music : Music )
Resume playing paused music
-
-pyray.
resume_sound
( sound : Sound )
+
+pyray. resume_sound ( sound : Sound )
Resume a paused sound
+
+
+class pyray. rlDrawCall ( mode , vertexCount , vertexAlignment , textureId )
+struct
+
+
+
+
+class pyray. rlRenderBatch ( bufferCount , currentBuffer , vertexBuffer , draws , drawCounter , currentDepth )
+struct
+
+
+
+
+class pyray. rlVertexBuffer ( elementCount , vertices , texcoords , colors , indices , vaoId , vboId )
+struct
+
+
-
-pyray.
rl_active_draw_buffers
( int_0 : int )
+
+pyray. rl_active_draw_buffers ( int_0 : int )
void rlActiveDrawBuffers(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_active_texture_slot
( int_0 : int )
+
+pyray. rl_active_texture_slot ( int_0 : int )
void rlActiveTextureSlot(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_begin
( int_0 : int )
+
+pyray. rl_begin ( int_0 : int )
void rlBegin(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_bind_image_texture
( unsignedint_0 : int , unsignedint_1 : int , unsignedint_2 : int , int_3 : int )
+
+pyray. rl_bind_image_texture ( unsignedint_0 : int , unsignedint_1 : int , unsignedint_2 : int , int_3 : int )
void rlBindImageTexture(unsigned int, unsigned int, unsigned int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_bind_shader_buffer
( unsignedint_0 : int , unsignedint_1 : int )
+
+pyray. rl_bind_shader_buffer ( unsignedint_0 : int , unsignedint_1 : int )
void rlBindShaderBuffer(unsigned int, unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_check_errors
( )
+
+pyray. rl_check_errors ( )
void rlCheckErrors();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_check_render_batch_limit
( int_0 : int )
+
+pyray. rl_check_render_batch_limit ( int_0 : int )
_Bool rlCheckRenderBatchLimit(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_clear_color
( unsignedchar_0 : str , unsignedchar_1 : str , unsignedchar_2 : str , unsignedchar_3 : str )
+
+pyray. rl_clear_color ( unsignedchar_0 : str , unsignedchar_1 : str , unsignedchar_2 : str , unsignedchar_3 : str )
void rlClearColor(unsigned char, unsigned char, unsigned char, unsigned char);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_clear_screen_buffers
( )
+
+pyray. rl_clear_screen_buffers ( )
void rlClearScreenBuffers();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_color3f
( float_0 : float , float_1 : float , float_2 : float )
+
+pyray. rl_color3f ( float_0 : float , float_1 : float , float_2 : float )
void rlColor3f(float, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_color4f
( float_0 : float , float_1 : float , float_2 : float , float_3 : float )
+
+pyray. rl_color4f ( float_0 : float , float_1 : float , float_2 : float , float_3 : float )
void rlColor4f(float, float, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_color4ub
( unsignedchar_0 : str , unsignedchar_1 : str , unsignedchar_2 : str , unsignedchar_3 : str )
+
+pyray. rl_color4ub ( unsignedchar_0 : str , unsignedchar_1 : str , unsignedchar_2 : str , unsignedchar_3 : str )
void rlColor4ub(unsigned char, unsigned char, unsigned char, unsigned char);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_compile_shader
( str_0 : str , int_1 : int )
-unsigned int rlCompileShader(char * , int);
+
+pyray. rl_compile_shader ( str_0 : str , int_1 : int )
+unsigned int rlCompileShader(char * , int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_compute_shader_dispatch
( unsignedint_0 : int , unsignedint_1 : int , unsignedint_2 : int )
+
+pyray. rl_compute_shader_dispatch ( unsignedint_0 : int , unsignedint_1 : int , unsignedint_2 : int )
void rlComputeShaderDispatch(unsigned int, unsigned int, unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_copy_buffers_elements
( unsignedint_0 : int , unsignedint_1 : int , unsignedlonglong_2 : int , unsignedlonglong_3 : int , unsignedlonglong_4 : int )
+
+pyray. rl_copy_buffers_elements ( unsignedint_0 : int , unsignedint_1 : int , unsignedlonglong_2 : int , unsignedlonglong_3 : int , unsignedlonglong_4 : int )
void rlCopyBuffersElements(unsigned int, unsigned int, unsigned long long, unsigned long long, unsigned long long);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_backface_culling
( )
+
+pyray. rl_disable_backface_culling ( )
void rlDisableBackfaceCulling();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_color_blend
( )
+
+pyray. rl_disable_color_blend ( )
void rlDisableColorBlend();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_depth_mask
( )
+
+pyray. rl_disable_depth_mask ( )
void rlDisableDepthMask();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_depth_test
( )
+
+pyray. rl_disable_depth_test ( )
void rlDisableDepthTest();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_framebuffer
( )
+
+pyray. rl_disable_framebuffer ( )
void rlDisableFramebuffer();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_scissor_test
( )
+
+pyray. rl_disable_scissor_test ( )
void rlDisableScissorTest();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_shader
( )
+
+pyray. rl_disable_shader ( )
void rlDisableShader();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_smooth_lines
( )
+
+pyray. rl_disable_smooth_lines ( )
void rlDisableSmoothLines();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_stereo_render
( )
+
+pyray. rl_disable_stereo_render ( )
void rlDisableStereoRender();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_texture
( )
+
+pyray. rl_disable_texture ( )
void rlDisableTexture();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_texture_cubemap
( )
+
+pyray. rl_disable_texture_cubemap ( )
void rlDisableTextureCubemap();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_vertex_array
( )
+
+pyray. rl_disable_vertex_array ( )
void rlDisableVertexArray();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_vertex_attribute
( unsignedint_0 : int )
+
+pyray. rl_disable_vertex_attribute ( unsignedint_0 : int )
void rlDisableVertexAttribute(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_vertex_buffer
( )
+
+pyray. rl_disable_vertex_buffer ( )
void rlDisableVertexBuffer();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_vertex_buffer_element
( )
+
+pyray. rl_disable_vertex_buffer_element ( )
void rlDisableVertexBufferElement();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_disable_wire_mode
( )
+
+pyray. rl_disable_wire_mode ( )
void rlDisableWireMode();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_draw_render_batch
( rlRenderBatch_pointer_0 : Any )
-void rlDrawRenderBatch(struct rlRenderBatch * );
+
+pyray. rl_draw_render_batch ( rlRenderBatch_pointer_0 : Any )
+void rlDrawRenderBatch(struct rlRenderBatch * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_draw_render_batch_active
( )
+
+pyray. rl_draw_render_batch_active ( )
void rlDrawRenderBatchActive();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_draw_vertex_array
( int_0 : int , int_1 : int )
+
+pyray. rl_draw_vertex_array ( int_0 : int , int_1 : int )
void rlDrawVertexArray(int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_draw_vertex_array_elements
( int_0 : int , int_1 : int , void_pointer_2 : Any )
-void rlDrawVertexArrayElements(int, int, void * );
+
+pyray. rl_draw_vertex_array_elements ( int_0 : int , int_1 : int , void_pointer_2 : Any )
+void rlDrawVertexArrayElements(int, int, void * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_draw_vertex_array_elements_instanced
( int_0 : int , int_1 : int , void_pointer_2 : Any , int_3 : int )
-void rlDrawVertexArrayElementsInstanced(int, int, void * , int);
+
+pyray. rl_draw_vertex_array_elements_instanced ( int_0 : int , int_1 : int , void_pointer_2 : Any , int_3 : int )
+void rlDrawVertexArrayElementsInstanced(int, int, void * , int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_draw_vertex_array_instanced
( int_0 : int , int_1 : int , int_2 : int )
+
+pyray. rl_draw_vertex_array_instanced ( int_0 : int , int_1 : int , int_2 : int )
void rlDrawVertexArrayInstanced(int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_backface_culling
( )
+
+pyray. rl_enable_backface_culling ( )
void rlEnableBackfaceCulling();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_color_blend
( )
+
+pyray. rl_enable_color_blend ( )
void rlEnableColorBlend();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_depth_mask
( )
+
+pyray. rl_enable_depth_mask ( )
void rlEnableDepthMask();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_depth_test
( )
+
+pyray. rl_enable_depth_test ( )
void rlEnableDepthTest();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_framebuffer
( unsignedint_0 : int )
+
+pyray. rl_enable_framebuffer ( unsignedint_0 : int )
void rlEnableFramebuffer(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_scissor_test
( )
+
+pyray. rl_enable_scissor_test ( )
void rlEnableScissorTest();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_shader
( unsignedint_0 : int )
+
+pyray. rl_enable_shader ( unsignedint_0 : int )
void rlEnableShader(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_smooth_lines
( )
+
+pyray. rl_enable_smooth_lines ( )
void rlEnableSmoothLines();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_stereo_render
( )
+
+pyray. rl_enable_stereo_render ( )
void rlEnableStereoRender();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_texture
( unsignedint_0 : int )
+
+pyray. rl_enable_texture ( unsignedint_0 : int )
void rlEnableTexture(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_texture_cubemap
( unsignedint_0 : int )
+
+pyray. rl_enable_texture_cubemap ( unsignedint_0 : int )
void rlEnableTextureCubemap(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_vertex_array
( unsignedint_0 : int )
+
+pyray. rl_enable_vertex_array ( unsignedint_0 : int )
_Bool rlEnableVertexArray(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_vertex_attribute
( unsignedint_0 : int )
+
+pyray. rl_enable_vertex_attribute ( unsignedint_0 : int )
void rlEnableVertexAttribute(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_vertex_buffer
( unsignedint_0 : int )
+
+pyray. rl_enable_vertex_buffer ( unsignedint_0 : int )
void rlEnableVertexBuffer(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_vertex_buffer_element
( unsignedint_0 : int )
+
+pyray. rl_enable_vertex_buffer_element ( unsignedint_0 : int )
void rlEnableVertexBufferElement(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_enable_wire_mode
( )
+
+pyray. rl_enable_wire_mode ( )
void rlEnableWireMode();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_end
( )
+
+pyray. rl_end ( )
void rlEnd();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_framebuffer_attach
( unsignedint_0 : int , unsignedint_1 : int , int_2 : int , int_3 : int , int_4 : int )
+
+pyray. rl_framebuffer_attach ( unsignedint_0 : int , unsignedint_1 : int , int_2 : int , int_3 : int , int_4 : int )
void rlFramebufferAttach(unsigned int, unsigned int, int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_framebuffer_complete
( unsignedint_0 : int )
+
+pyray. rl_framebuffer_complete ( unsignedint_0 : int )
_Bool rlFramebufferComplete(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_frustum
( double_0 : float , double_1 : float , double_2 : float , double_3 : float , double_4 : float , double_5 : float )
+
+pyray. rl_frustum ( double_0 : float , double_1 : float , double_2 : float , double_3 : float , double_4 : float , double_5 : float )
void rlFrustum(double, double, double, double, double, double);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_gen_texture_mipmaps
( unsignedint_0 : int , int_1 : int , int_2 : int , int_3 : int , int_pointer_4 : Any )
-void rlGenTextureMipmaps(unsigned int, int, int, int, int * );
+
+pyray. rl_gen_texture_mipmaps ( unsignedint_0 : int , int_1 : int , int_2 : int , int_3 : int , int_pointer_4 : Any )
+void rlGenTextureMipmaps(unsigned int, int, int, int, int * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_framebuffer_height
( )
+
+pyray. rl_get_framebuffer_height ( )
int rlGetFramebufferHeight();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_framebuffer_width
( )
+
+pyray. rl_get_framebuffer_width ( )
int rlGetFramebufferWidth();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_gl_texture_formats
( int_0 : int , int_pointer_1 : Any , int_pointer_2 : Any , int_pointer_3 : Any )
-void rlGetGlTextureFormats(int, int * , int * , int * );
+
+pyray. rl_get_gl_texture_formats ( int_0 : int , unsignedint_pointer_1 : Any , unsignedint_pointer_2 : Any , unsignedint_pointer_3 : Any )
+void rlGetGlTextureFormats(int, unsigned int * , unsigned int * , unsigned int * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_line_width
( )
+
+pyray. rl_get_line_width ( )
float rlGetLineWidth();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_location_attrib
( unsignedint_0 : int , str_1 : str )
-int rlGetLocationAttrib(unsigned int, char * );
+
+pyray. rl_get_location_attrib ( unsignedint_0 : int , str_1 : str )
+int rlGetLocationAttrib(unsigned int, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_location_uniform
( unsignedint_0 : int , str_1 : str )
-int rlGetLocationUniform(unsigned int, char * );
+
+pyray. rl_get_location_uniform ( unsignedint_0 : int , str_1 : str )
+int rlGetLocationUniform(unsigned int, char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_matrix_modelview
( )
+
+pyray. rl_get_matrix_modelview ( )
struct Matrix rlGetMatrixModelview();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_matrix_projection
( )
+
+pyray. rl_get_matrix_projection ( )
struct Matrix rlGetMatrixProjection();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_matrix_projection_stereo
( int_0 : int )
+
+pyray. rl_get_matrix_projection_stereo ( int_0 : int )
struct Matrix rlGetMatrixProjectionStereo(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_matrix_transform
( )
+
+pyray. rl_get_matrix_transform ( )
struct Matrix rlGetMatrixTransform();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_matrix_view_offset_stereo
( int_0 : int )
+
+pyray. rl_get_matrix_view_offset_stereo ( int_0 : int )
struct Matrix rlGetMatrixViewOffsetStereo(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_pixel_format_name
( unsignedint_0 : int )
-char * rlGetPixelFormatName(unsigned int);
+
+pyray. rl_get_pixel_format_name ( unsignedint_0 : int )
+char * rlGetPixelFormatName(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_shader_buffer_size
( unsignedint_0 : int )
+
+pyray. rl_get_shader_buffer_size ( unsignedint_0 : int )
unsigned long long rlGetShaderBufferSize(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_shader_id_default
( )
+
+pyray. rl_get_shader_id_default ( )
unsigned int rlGetShaderIdDefault();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_shader_locs_default
( )
-int * rlGetShaderLocsDefault();
+
+pyray. rl_get_shader_locs_default ( )
+int * rlGetShaderLocsDefault();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_texture_id_default
( )
+
+pyray. rl_get_texture_id_default ( )
unsigned int rlGetTextureIdDefault();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_get_version
( )
+
+pyray. rl_get_version ( )
int rlGetVersion();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_is_stereo_render_enabled
( )
+
+pyray. rl_is_stereo_render_enabled ( )
_Bool rlIsStereoRenderEnabled();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_compute_shader_program
( unsignedint_0 : int )
+
+pyray. rl_load_compute_shader_program ( unsignedint_0 : int )
unsigned int rlLoadComputeShaderProgram(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_draw_cube
( )
+
+pyray. rl_load_draw_cube ( )
void rlLoadDrawCube();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_draw_quad
( )
+
+pyray. rl_load_draw_quad ( )
void rlLoadDrawQuad();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_extensions
( void_pointer_0 : Any )
-void rlLoadExtensions(void * );
+
+pyray. rl_load_extensions ( void_pointer_0 : Any )
+void rlLoadExtensions(void * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_framebuffer
( int_0 : int , int_1 : int )
+
+pyray. rl_load_framebuffer ( int_0 : int , int_1 : int )
unsigned int rlLoadFramebuffer(int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_identity
( )
+
+pyray. rl_load_identity ( )
void rlLoadIdentity();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_render_batch
( int_0 : int , int_1 : int )
+
+pyray. rl_load_render_batch ( int_0 : int , int_1 : int )
struct rlRenderBatch rlLoadRenderBatch(int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_shader_buffer
( unsignedlonglong_0 : int , void_pointer_1 : Any , int_2 : int )
-unsigned int rlLoadShaderBuffer(unsigned long long, void * , int);
+
+pyray. rl_load_shader_buffer ( unsignedlonglong_0 : int , void_pointer_1 : Any , int_2 : int )
+unsigned int rlLoadShaderBuffer(unsigned long long, void * , int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_shader_code
( str_0 : str , str_1 : str )
-unsigned int rlLoadShaderCode(char * , char * );
+
+pyray. rl_load_shader_code ( str_0 : str , str_1 : str )
+unsigned int rlLoadShaderCode(char * , char * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_shader_program
( unsignedint_0 : int , unsignedint_1 : int )
+
+pyray. rl_load_shader_program ( unsignedint_0 : int , unsignedint_1 : int )
unsigned int rlLoadShaderProgram(unsigned int, unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_texture
( void_pointer_0 : Any , int_1 : int , int_2 : int , int_3 : int , int_4 : int )
-unsigned int rlLoadTexture(void * , int, int, int, int);
+
+pyray. rl_load_texture ( void_pointer_0 : Any , int_1 : int , int_2 : int , int_3 : int , int_4 : int )
+unsigned int rlLoadTexture(void * , int, int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_texture_cubemap
( void_pointer_0 : Any , int_1 : int , int_2 : int )
-unsigned int rlLoadTextureCubemap(void * , int, int);
+
+pyray. rl_load_texture_cubemap ( void_pointer_0 : Any , int_1 : int , int_2 : int )
+unsigned int rlLoadTextureCubemap(void * , int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_texture_depth
( int_0 : int , int_1 : int , _Bool_2 : bool )
+
+pyray. rl_load_texture_depth ( int_0 : int , int_1 : int , _Bool_2 : bool )
unsigned int rlLoadTextureDepth(int, int, _Bool);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_vertex_array
( )
+
+pyray. rl_load_vertex_array ( )
unsigned int rlLoadVertexArray();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_vertex_buffer
( void_pointer_0 : Any , int_1 : int , _Bool_2 : bool )
-unsigned int rlLoadVertexBuffer(void * , int, _Bool);
+
+pyray. rl_load_vertex_buffer ( void_pointer_0 : Any , int_1 : int , _Bool_2 : bool )
+unsigned int rlLoadVertexBuffer(void * , int, _Bool);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_load_vertex_buffer_element
( void_pointer_0 : Any , int_1 : int , _Bool_2 : bool )
-unsigned int rlLoadVertexBufferElement(void * , int, _Bool);
+
+pyray. rl_load_vertex_buffer_element ( void_pointer_0 : Any , int_1 : int , _Bool_2 : bool )
+unsigned int rlLoadVertexBufferElement(void * , int, _Bool);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_matrix_mode
( int_0 : int )
+
+pyray. rl_matrix_mode ( int_0 : int )
void rlMatrixMode(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_mult_matrixf
( float_pointer_0 : Any )
-void rlMultMatrixf(float * );
+
+pyray. rl_mult_matrixf ( float_pointer_0 : Any )
+void rlMultMatrixf(float * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_normal3f
( float_0 : float , float_1 : float , float_2 : float )
+
+pyray. rl_normal3f ( float_0 : float , float_1 : float , float_2 : float )
void rlNormal3f(float, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_ortho
( double_0 : float , double_1 : float , double_2 : float , double_3 : float , double_4 : float , double_5 : float )
+
+pyray. rl_ortho ( double_0 : float , double_1 : float , double_2 : float , double_3 : float , double_4 : float , double_5 : float )
void rlOrtho(double, double, double, double, double, double);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_pop_matrix
( )
+
+pyray. rl_pop_matrix ( )
void rlPopMatrix();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_push_matrix
( )
+
+pyray. rl_push_matrix ( )
void rlPushMatrix();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_read_screen_pixels
( int_0 : int , int_1 : int )
-unsigned char * rlReadScreenPixels(int, int);
+
+pyray. rl_read_screen_pixels ( int_0 : int , int_1 : int )
+unsigned char * rlReadScreenPixels(int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_read_shader_buffer_elements
( unsignedint_0 : int , void_pointer_1 : Any , unsignedlonglong_2 : int , unsignedlonglong_3 : int )
-void rlReadShaderBufferElements(unsigned int, void * , unsigned long long, unsigned long long);
+
+pyray. rl_read_shader_buffer_elements ( unsignedint_0 : int , void_pointer_1 : Any , unsignedlonglong_2 : int , unsignedlonglong_3 : int )
+void rlReadShaderBufferElements(unsigned int, void * , unsigned long long, unsigned long long);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_read_texture_pixels
( unsignedint_0 : int , int_1 : int , int_2 : int , int_3 : int )
-void * rlReadTexturePixels(unsigned int, int, int, int);
+
+pyray. rl_read_texture_pixels ( unsignedint_0 : int , int_1 : int , int_2 : int , int_3 : int )
+void * rlReadTexturePixels(unsigned int, int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_rotatef
( float_0 : float , float_1 : float , float_2 : float , float_3 : float )
+
+pyray. rl_rotatef ( float_0 : float , float_1 : float , float_2 : float , float_3 : float )
void rlRotatef(float, float, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_scalef
( float_0 : float , float_1 : float , float_2 : float )
+
+pyray. rl_scalef ( float_0 : float , float_1 : float , float_2 : float )
void rlScalef(float, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_scissor
( int_0 : int , int_1 : int , int_2 : int , int_3 : int )
+
+pyray. rl_scissor ( int_0 : int , int_1 : int , int_2 : int , int_3 : int )
void rlScissor(int, int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_blend_factors
( int_0 : int , int_1 : int , int_2 : int )
+
+pyray. rl_set_blend_factors ( int_0 : int , int_1 : int , int_2 : int )
void rlSetBlendFactors(int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_blend_mode
( int_0 : int )
+
+pyray. rl_set_blend_mode ( int_0 : int )
void rlSetBlendMode(int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_line_width
( float_0 : float )
+
+pyray. rl_set_framebuffer_height ( int_0 : int )
+void rlSetFramebufferHeight(int);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. rl_set_framebuffer_width ( int_0 : int )
+void rlSetFramebufferWidth(int);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. rl_set_line_width ( float_0 : float )
void rlSetLineWidth(float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_matrix_modelview
( Matrix_0 : Matrix )
+
+pyray. rl_set_matrix_modelview ( Matrix_0 : Matrix )
void rlSetMatrixModelview(struct Matrix);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_matrix_projection
( Matrix_0 : Matrix )
+
+pyray. rl_set_matrix_projection ( Matrix_0 : Matrix )
void rlSetMatrixProjection(struct Matrix);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_matrix_projection_stereo
( Matrix_0 : Matrix , Matrix_1 : Matrix )
+
+pyray. rl_set_matrix_projection_stereo ( Matrix_0 : Matrix , Matrix_1 : Matrix )
void rlSetMatrixProjectionStereo(struct Matrix, struct Matrix);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_matrix_view_offset_stereo
( Matrix_0 : Matrix , Matrix_1 : Matrix )
+
+pyray. rl_set_matrix_view_offset_stereo ( Matrix_0 : Matrix , Matrix_1 : Matrix )
void rlSetMatrixViewOffsetStereo(struct Matrix, struct Matrix);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_render_batch_active
( rlRenderBatch_pointer_0 : Any )
-void rlSetRenderBatchActive(struct rlRenderBatch * );
+
+pyray. rl_set_render_batch_active ( rlRenderBatch_pointer_0 : Any )
+void rlSetRenderBatchActive(struct rlRenderBatch * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_shader
( unsignedint_0 : int , int_pointer_1 : Any )
-void rlSetShader(unsigned int, int * );
+
+pyray. rl_set_shader ( unsignedint_0 : int , int_pointer_1 : Any )
+void rlSetShader(unsigned int, int * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_texture
( unsignedint_0 : int )
+
+pyray. rl_set_texture ( unsignedint_0 : int )
void rlSetTexture(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_uniform
( int_0 : int , void_pointer_1 : Any , int_2 : int , int_3 : int )
-void rlSetUniform(int, void * , int, int);
+
+pyray. rl_set_uniform ( int_0 : int , void_pointer_1 : Any , int_2 : int , int_3 : int )
+void rlSetUniform(int, void * , int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_uniform_matrix
( int_0 : int , Matrix_1 : Matrix )
+
+pyray. rl_set_uniform_matrix ( int_0 : int , Matrix_1 : Matrix )
void rlSetUniformMatrix(int, struct Matrix);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_uniform_sampler
( int_0 : int , unsignedint_1 : int )
+
+pyray. rl_set_uniform_sampler ( int_0 : int , unsignedint_1 : int )
void rlSetUniformSampler(int, unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_vertex_attribute
( unsignedint_0 : int , int_1 : int , int_2 : int , _Bool_3 : bool , int_4 : int , void_pointer_5 : Any )
-void rlSetVertexAttribute(unsigned int, int, int, _Bool, int, void * );
+
+pyray. rl_set_vertex_attribute ( unsignedint_0 : int , int_1 : int , int_2 : int , _Bool_3 : bool , int_4 : int , void_pointer_5 : Any )
+void rlSetVertexAttribute(unsigned int, int, int, _Bool, int, void * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_vertex_attribute_default
( int_0 : int , void_pointer_1 : Any , int_2 : int , int_3 : int )
-void rlSetVertexAttributeDefault(int, void * , int, int);
+
+pyray. rl_set_vertex_attribute_default ( int_0 : int , void_pointer_1 : Any , int_2 : int , int_3 : int )
+void rlSetVertexAttributeDefault(int, void * , int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_set_vertex_attribute_divisor
( unsignedint_0 : int , int_1 : int )
+
+pyray. rl_set_vertex_attribute_divisor ( unsignedint_0 : int , int_1 : int )
void rlSetVertexAttributeDivisor(unsigned int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_tex_coord2f
( float_0 : float , float_1 : float )
+
+pyray. rl_tex_coord2f ( float_0 : float , float_1 : float )
void rlTexCoord2f(float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_texture_parameters
( unsignedint_0 : int , int_1 : int , int_2 : int )
+
+pyray. rl_texture_parameters ( unsignedint_0 : int , int_1 : int , int_2 : int )
void rlTextureParameters(unsigned int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_translatef
( float_0 : float , float_1 : float , float_2 : float )
+
+pyray. rl_translatef ( float_0 : float , float_1 : float , float_2 : float )
void rlTranslatef(float, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_unload_framebuffer
( unsignedint_0 : int )
+
+pyray. rl_unload_framebuffer ( unsignedint_0 : int )
void rlUnloadFramebuffer(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_unload_render_batch
( rlRenderBatch_0 : rlRenderBatch )
+
+pyray. rl_unload_render_batch ( rlRenderBatch_0 : rlRenderBatch )
void rlUnloadRenderBatch(struct rlRenderBatch);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_unload_shader_buffer
( unsignedint_0 : int )
+
+pyray. rl_unload_shader_buffer ( unsignedint_0 : int )
void rlUnloadShaderBuffer(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_unload_shader_program
( unsignedint_0 : int )
+
+pyray. rl_unload_shader_program ( unsignedint_0 : int )
void rlUnloadShaderProgram(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_unload_texture
( unsignedint_0 : int )
+
+pyray. rl_unload_texture ( unsignedint_0 : int )
void rlUnloadTexture(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_unload_vertex_array
( unsignedint_0 : int )
+
+pyray. rl_unload_vertex_array ( unsignedint_0 : int )
void rlUnloadVertexArray(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_unload_vertex_buffer
( unsignedint_0 : int )
+
+pyray. rl_unload_vertex_buffer ( unsignedint_0 : int )
void rlUnloadVertexBuffer(unsigned int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_update_shader_buffer_elements
( unsignedint_0 : int , void_pointer_1 : Any , unsignedlonglong_2 : int , unsignedlonglong_3 : int )
-void rlUpdateShaderBufferElements(unsigned int, void * , unsigned long long, unsigned long long);
+
+pyray. rl_update_shader_buffer_elements ( unsignedint_0 : int , void_pointer_1 : Any , unsignedlonglong_2 : int , unsignedlonglong_3 : int )
+void rlUpdateShaderBufferElements(unsigned int, void * , unsigned long long, unsigned long long);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_update_texture
( unsignedint_0 : int , int_1 : int , int_2 : int , int_3 : int , int_4 : int , int_5 : int , void_pointer_6 : Any )
-void rlUpdateTexture(unsigned int, int, int, int, int, int, void * );
+
+pyray. rl_update_texture ( unsignedint_0 : int , int_1 : int , int_2 : int , int_3 : int , int_4 : int , int_5 : int , void_pointer_6 : Any )
+void rlUpdateTexture(unsigned int, int, int, int, int, int, void * );
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_update_vertex_buffer
( unsignedint_0 : int , void_pointer_1 : Any , int_2 : int , int_3 : int )
-void rlUpdateVertexBuffer(unsigned int, void * , int, int);
+
+pyray. rl_update_vertex_buffer ( unsignedint_0 : int , void_pointer_1 : Any , int_2 : int , int_3 : int )
+void rlUpdateVertexBuffer(unsigned int, void * , int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_vertex2f
( float_0 : float , float_1 : float )
+
+pyray. rl_update_vertex_buffer_elements ( unsignedint_0 : int , void_pointer_1 : Any , int_2 : int , int_3 : int )
+void rlUpdateVertexBufferElements(unsigned int, void * , int, int);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. rl_vertex2f ( float_0 : float , float_1 : float )
void rlVertex2f(float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_vertex2i
( int_0 : int , int_1 : int )
+
+pyray. rl_vertex2i ( int_0 : int , int_1 : int )
void rlVertex2i(int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_vertex3f
( float_0 : float , float_1 : float , float_2 : float )
+
+pyray. rl_vertex3f ( float_0 : float , float_1 : float , float_2 : float )
void rlVertex3f(float, float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rl_viewport
( int_0 : int , int_1 : int , int_2 : int , int_3 : int )
+
+pyray. rl_viewport ( int_0 : int , int_1 : int , int_2 : int , int_3 : int )
void rlViewport(int, int, int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rlgl_close
( )
+
+pyray. rlgl_close ( )
void rlglClose();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
rlgl_init
( int_0 : int , int_1 : int )
+
+pyray. rlgl_init ( int_0 : int , int_1 : int )
void rlglInit(int, int);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
save_file_data
( fileName : str , data : Any , bytesToWrite : int )
+
+pyray. save_file_data ( fileName : str , data : Any , bytesToWrite : int )
Save data to file from byte array (write), returns true on success
-
-pyray.
save_file_text
( fileName : str , text : str )
-Save text data to file (write), string must be ‘ 0’ terminated, returns true on success
+
+pyray. save_file_text ( fileName : str , text : str )
+Save text data to file (write), string must be ‘' terminated, returns true on success
-
-pyray.
save_storage_value
( position : int , value : int )
-Save integer value to storage file (to defined position), returns true on success
-
-
-
-
-pyray.
seek_music_stream
( music : Music , position : float )
+
+pyray. seek_music_stream ( music : Music , position : float )
Seek music to a position (in seconds)
-
-pyray.
set_audio_stream_buffer_size_default
( size : int )
+
+pyray. set_audio_stream_buffer_size_default ( size : int )
Default size for new audio streams
-
-pyray.
set_audio_stream_pitch
( stream : AudioStream , pitch : float )
+
+pyray. set_audio_stream_callback ( stream : AudioStream , callback : Any )
+Audio thread callback to request new data
+
+
+
+
+pyray. set_audio_stream_pan ( stream : AudioStream , pan : float )
+Set pan for audio stream (0.5 is centered)
+
+
+
+
+pyray. set_audio_stream_pitch ( stream : AudioStream , pitch : float )
Set pitch for audio stream (1.0 is base level)
-
-pyray.
set_audio_stream_volume
( stream : AudioStream , volume : float )
+
+pyray. set_audio_stream_volume ( stream : AudioStream , volume : float )
Set volume for audio stream (1.0 is max level)
-
-pyray.
set_camera_alt_control
( keyAlt : int )
+
+pyray. set_camera_alt_control ( keyAlt : int )
Set camera alt key to combine with mouse movement (free camera)
-
-pyray.
set_camera_mode
( camera : Camera3D , mode : int )
+
+pyray. set_camera_mode ( camera : Camera3D , mode : int )
Set camera mode (multiple camera modes available)
-
-pyray.
set_camera_move_controls
( keyFront : int , keyBack : int , keyRight : int , keyLeft : int , keyUp : int , keyDown : int )
+
+pyray. set_camera_move_controls ( keyFront : int , keyBack : int , keyRight : int , keyLeft : int , keyUp : int , keyDown : int )
Set camera move controls (1st person and 3rd person cameras)
-
-pyray.
set_camera_pan_control
( keyPan : int )
+
+pyray. set_camera_pan_control ( keyPan : int )
Set camera pan key to combine with mouse movement (free camera)
-
-pyray.
set_camera_smooth_zoom_control
( keySmoothZoom : int )
+
+pyray. set_camera_smooth_zoom_control ( keySmoothZoom : int )
Set camera smooth zoom key to combine with mouse (free camera)
-
-pyray.
set_clipboard_text
( text : str )
+
+pyray. set_clipboard_text ( text : str )
Set clipboard text content
-
-pyray.
set_config_flags
( flags : int )
+
+pyray. set_config_flags ( flags : int )
Setup init configuration flags (view FLAGS)
-
-pyray.
set_exit_key
( key : int )
+
+pyray. set_exit_key ( key : int )
Set a custom key to exit program (default is ESC)
-
-pyray.
set_gamepad_mappings
( mappings : str )
+
+pyray. set_gamepad_mappings ( mappings : str )
Set internal gamepad mappings (SDL_GameControllerDB)
-
-pyray.
set_gestures_enabled
( flags : int )
+
+pyray. set_gestures_enabled ( flags : int )
Enable a set of gestures using flags
-
-pyray.
set_load_file_data_callback
( callback : str )
+
+pyray. set_load_file_data_callback ( callback : str )
Set custom file binary data loader
-
-pyray.
set_load_file_text_callback
( callback : str )
+
+pyray. set_load_file_text_callback ( callback : str )
Set custom file text data loader
-
-pyray.
set_master_volume
( volume : float )
+
+pyray. set_master_volume ( volume : float )
Set master volume (listener)
-
-pyray.
set_material_texture
( material : Any , mapType : int , texture : Texture )
+
+pyray. set_material_texture ( material : Any , mapType : int , texture : Texture )
Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR…)
-
-pyray.
set_model_mesh_material
( model : Any , meshId : int , materialId : int )
+
+pyray. set_model_mesh_material ( model : Any , meshId : int , materialId : int )
Set material for a mesh
-
-pyray.
set_mouse_cursor
( cursor : int )
+
+pyray. set_mouse_cursor ( cursor : int )
Set mouse cursor
-
-pyray.
set_mouse_offset
( offsetX : int , offsetY : int )
+
+pyray. set_mouse_offset ( offsetX : int , offsetY : int )
Set mouse offset
-
-pyray.
set_mouse_position
( x : int , y : int )
+
+pyray. set_mouse_position ( x : int , y : int )
Set mouse position XY
-
-pyray.
set_mouse_scale
( scaleX : float , scaleY : float )
+
+pyray. set_mouse_scale ( scaleX : float , scaleY : float )
Set mouse scaling
-
-pyray.
set_music_pitch
( music : Music , pitch : float )
+
+pyray. set_music_pan ( music : Music , pan : float )
+Set pan for a music (0.5 is center)
+
+
+
+
+pyray. set_music_pitch ( music : Music , pitch : float )
Set pitch for a music (1.0 is base level)
-
-pyray.
set_music_volume
( music : Music , volume : float )
+
+pyray. set_music_volume ( music : Music , volume : float )
Set volume for music (1.0 is max level)
-
-pyray.
set_physics_body_rotation
( PhysicsBodyData_pointer_0 : Any , float_1 : float )
-void SetPhysicsBodyRotation(struct PhysicsBodyData * , float);
+
+pyray. set_physics_body_rotation ( PhysicsBodyData_pointer_0 : Any , float_1 : float )
+void SetPhysicsBodyRotation(struct PhysicsBodyData * , float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
set_physics_gravity
( float_0 : float , float_1 : float )
+
+pyray. set_physics_gravity ( float_0 : float , float_1 : float )
void SetPhysicsGravity(float, float);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
set_physics_time_step
( double_0 : float )
+
+pyray. set_physics_time_step ( double_0 : float )
void SetPhysicsTimeStep(double);
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
set_pixel_color
( dstPtr : Any , color : Color , format : int )
+
+pyray. set_pixel_color ( dstPtr : Any , color : Color , format : int )
Set color formatted into destination pixel pointer
-
-pyray.
set_random_seed
( seed : int )
+
+pyray. set_random_seed ( seed : int )
Set the seed for the random number generator
-
-pyray.
set_save_file_data_callback
( callback : str )
+
+pyray. set_save_file_data_callback ( callback : str )
Set custom file binary data saver
-
-pyray.
set_save_file_text_callback
( callback : str )
+
+pyray. set_save_file_text_callback ( callback : str )
Set custom file text data saver
-
-pyray.
set_shader_value
( shader : Shader , locIndex : int , value : Any , uniformType : int )
+
+pyray. set_shader_value ( shader : Shader , locIndex : int , value : Any , uniformType : int )
Set shader uniform value
-
-pyray.
set_shader_value_matrix
( shader : Shader , locIndex : int , mat : Matrix )
+
+pyray. set_shader_value_matrix ( shader : Shader , locIndex : int , mat : Matrix )
Set shader uniform value (matrix 4x4)
-
-pyray.
set_shader_value_texture
( shader : Shader , locIndex : int , texture : Texture )
+
+pyray. set_shader_value_texture ( shader : Shader , locIndex : int , texture : Texture )
Set shader uniform value for texture (sampler2d)
-
-pyray.
set_shader_value_v
( shader : Shader , locIndex : int , value : Any , uniformType : int , count : int )
+
+pyray. set_shader_value_v ( shader : Shader , locIndex : int , value : Any , uniformType : int , count : int )
Set shader uniform value vector
-
-pyray.
set_shapes_texture
( texture : Texture , source : Rectangle )
+
+pyray. set_shapes_texture ( texture : Texture , source : Rectangle )
Set texture and rectangle to be used on shapes drawing
-
-pyray.
set_sound_pitch
( sound : Sound , pitch : float )
+
+pyray. set_sound_pan ( sound : Sound , pan : float )
+Set pan for a sound (0.5 is center)
+
+
+
+
+pyray. set_sound_pitch ( sound : Sound , pitch : float )
Set pitch for a sound (1.0 is base level)
-
-pyray.
set_sound_volume
( sound : Sound , volume : float )
+
+pyray. set_sound_volume ( sound : Sound , volume : float )
Set volume for a sound (1.0 is max level)
-
-pyray.
set_target_fps
( fps : int )
+
+pyray. set_target_fps ( fps : int )
Set target FPS (maximum)
-
-pyray.
set_texture_filter
( texture : Texture , filter : int )
+
+pyray. set_texture_filter ( texture : Texture , filter : int )
Set texture scaling filter mode
-
-pyray.
set_texture_wrap
( texture : Texture , wrap : int )
+
+pyray. set_texture_wrap ( texture : Texture , wrap : int )
Set texture wrapping mode
-
-pyray.
set_trace_log_callback
( callback : str )
+
+pyray. set_trace_log_callback ( callback : str )
Set custom trace log
-
-pyray.
set_trace_log_level
( logLevel : int )
+
+pyray. set_trace_log_level ( logLevel : int )
Set the current threshold (minimum) log level
-
-pyray.
set_window_icon
( image : Image )
+
+pyray. set_window_icon ( image : Image )
Set icon for window (only PLATFORM_DESKTOP)
-
-pyray.
set_window_min_size
( width : int , height : int )
+
+pyray. set_window_min_size ( width : int , height : int )
Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)
-
-pyray.
set_window_monitor
( monitor : int )
+
+pyray. set_window_monitor ( monitor : int )
Set monitor for the current window (fullscreen mode)
-
-pyray.
set_window_position
( x : int , y : int )
+
+pyray. set_window_opacity ( opacity : float )
+Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)
+
+
+
+
+pyray. set_window_position ( x : int , y : int )
Set window position on screen (only PLATFORM_DESKTOP)
-
-pyray.
set_window_size
( width : int , height : int )
+
+pyray. set_window_size ( width : int , height : int )
Set window dimensions
-
-pyray.
set_window_state
( flags : int )
-Set window configuration state using flags
+
+pyray. set_window_state ( flags : int )
+Set window configuration state using flags (only PLATFORM_DESKTOP)
-
-pyray.
set_window_title
( title : str )
+
+pyray. set_window_title ( title : str )
Set title for window (only PLATFORM_DESKTOP)
-
-pyray.
show_cursor
( )
+
+pyray. show_cursor ( )
Shows cursor
-
-pyray.
stop_audio_stream
( stream : AudioStream )
+
+pyray. stop_audio_stream ( stream : AudioStream )
Stop audio stream
-
-pyray.
stop_music_stream
( music : Music )
+
+pyray. stop_music_stream ( music : Music )
Stop music playing
-
-pyray.
stop_sound
( sound : Sound )
+
+pyray. stop_sound ( sound : Sound )
Stop playing a sound
-
-pyray.
stop_sound_multi
( )
+
+pyray. stop_sound_multi ( )
Stop any sound playing (using multichannel buffer pool)
-
-pyray.
swap_screen_buffer
( )
+
+pyray. swap_screen_buffer ( )
Swap back buffer with front buffer (screen drawing)
-
-pyray.
take_screenshot
( fileName : str )
+
+pyray. take_screenshot ( fileName : str )
Takes a screenshot of current screen (filename extension defines format)
-
-pyray.
text_append
( text : str , append : str , position : Any )
+
+pyray. text_append ( text : str , append : str , position : Any )
Append text at specific position and move cursor!
-
-pyray.
text_codepoints_to_utf8
( codepoints : Any , length : int )
+
+pyray. text_codepoints_to_utf8 ( codepoints : Any , length : int )
Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!)
-
-pyray.
text_copy
( dst : str , src : str )
+
+pyray. text_copy ( dst : str , src : str )
Copy one string to another, returns bytes copied
-
-pyray.
text_find_index
( text : str , find : str )
+
+pyray. text_find_index ( text : str , find : str )
Find first text occurrence within a string
-
-pyray.
text_format
( * args )
+
+pyray. text_format ( * args )
VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI
-
-pyray.
text_insert
( text : str , insert : str , position : int )
+
+pyray. text_insert ( text : str , insert : str , position : int )
Insert text in a position (WARNING: memory must be freed!)
-
-pyray.
text_is_equal
( text1 : str , text2 : str )
+
+pyray. text_is_equal ( text1 : str , text2 : str )
Check if two text string are equal
-
-pyray.
text_join
( textList : str , count : int , delimiter : str )
+
+pyray. text_join ( textList : str , count : int , delimiter : str )
Join text strings with delimiter
-
-pyray.
text_length
( text : str )
-Get text length, checks for ‘ 0’ ending
+
+pyray. text_length ( text : str )
+Get text length, checks for ‘' ending
-
-pyray.
text_replace
( text : str , replace : str , by : str )
+
+pyray. text_replace ( text : str , replace : str , by : str )
Replace text string (WARNING: memory must be freed!)
-
-pyray.
text_split
( text : str , delimiter : str , count : Any )
+
+pyray. text_split ( text : str , delimiter : str , count : Any )
Split text into multiple strings
-
-pyray.
text_subtext
( text : str , position : int , length : int )
+
+pyray. text_subtext ( text : str , position : int , length : int )
Get a piece of a text string
-
-pyray.
text_to_integer
( text : str )
+
+pyray. text_to_integer ( text : str )
Get integer value from text (negative values not supported)
-
-pyray.
text_to_lower
( text : str )
+
+pyray. text_to_lower ( text : str )
Get lower case version of provided string
-
-pyray.
text_to_pascal
( text : str )
+
+pyray. text_to_pascal ( text : str )
Get Pascal case notation version of provided string
-
-pyray.
text_to_upper
( text : str )
+
+pyray. text_to_upper ( text : str )
Get upper case version of provided string
-
-pyray.
toggle_fullscreen
( )
+
+pyray. toggle_fullscreen ( )
Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)
-
-pyray.
trace_log
( * args )
+
+pyray. trace_log ( * args )
VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI
-
-pyray.
unload_audio_stream
( stream : AudioStream )
+
+pyray. unload_audio_stream ( stream : AudioStream )
Unload audio stream and free memory
-
-pyray.
unload_codepoints
( codepoints : Any )
+
+pyray. unload_codepoints ( codepoints : Any )
Unload codepoints data from memory
-
-pyray.
unload_file_data
( data : str )
+
+pyray. unload_directory_files ( files : FilePathList )
+Unload filepaths
+
+
+
+
+pyray. unload_dropped_files ( files : FilePathList )
+Unload dropped filepaths
+
+
+
+
+pyray. unload_file_data ( data : str )
Unload file data allocated by LoadFileData()
-
-pyray.
unload_file_text
( text : str )
+
+pyray. unload_file_text ( text : str )
Unload file text data allocated by LoadFileText()
-
-pyray.
unload_font
( font : Font )
-Unload Font from GPU memory (VRAM)
+
+pyray. unload_font ( font : Font )
+Unload font from GPU memory (VRAM)
-
-pyray.
unload_font_data
( chars : Any , glyphCount : int )
+
+pyray. unload_font_data ( chars : Any , glyphCount : int )
Unload font chars info data (RAM)
-
-pyray.
unload_image
( image : Image )
+
+pyray. unload_image ( image : Image )
Unload image from CPU memory (RAM)
-
-pyray.
unload_image_colors
( colors : Any )
+
+pyray. unload_image_colors ( colors : Any )
Unload color data loaded with LoadImageColors()
-
-pyray.
unload_image_palette
( colors : Any )
+
+pyray. unload_image_palette ( colors : Any )
Unload colors palette loaded with LoadImagePalette()
-
-pyray.
unload_material
( material : Material )
+
+pyray. unload_material ( material : Material )
Unload material from GPU memory (VRAM)
-
-pyray.
unload_mesh
( mesh : Mesh )
+
+pyray. unload_mesh ( mesh : Mesh )
Unload mesh data from CPU and GPU
-
-pyray.
unload_model
( model : Model )
+
+pyray. unload_model ( model : Model )
Unload model (including meshes) from memory (RAM and/or VRAM)
-
-pyray.
unload_model_animation
( anim : ModelAnimation )
+
+pyray. unload_model_animation ( anim : ModelAnimation )
Unload animation data
-
-pyray.
unload_model_animations
( animations : Any , count : int )
+
+pyray. unload_model_animations ( animations : Any , count : int )
Unload animation array data
-
-pyray.
unload_model_keep_meshes
( model : Model )
+
+pyray. unload_model_keep_meshes ( model : Model )
Unload model (but not meshes) from memory (RAM and/or VRAM)
-
-pyray.
unload_music_stream
( music : Music )
+
+pyray. unload_music_stream ( music : Music )
Unload music stream
-
-pyray.
unload_render_texture
( target : RenderTexture )
+
+pyray. unload_render_texture ( target : RenderTexture )
Unload render texture from GPU memory (VRAM)
-
-pyray.
unload_shader
( shader : Shader )
+
+pyray. unload_shader ( shader : Shader )
Unload shader from GPU memory (VRAM)
-
-pyray.
unload_sound
( sound : Sound )
+
+pyray. unload_sound ( sound : Sound )
Unload sound
-
-pyray.
unload_texture
( texture : Texture )
+
+pyray. unload_texture ( texture : Texture )
Unload texture from GPU memory (VRAM)
-
-pyray.
unload_vr_stereo_config
( config : VrStereoConfig )
+
+pyray. unload_vr_stereo_config ( config : VrStereoConfig )
Unload VR stereo config
-
-pyray.
unload_wave
( wave : Wave )
+
+pyray. unload_wave ( wave : Wave )
Unload wave data
-
-pyray.
unload_wave_samples
( samples : Any )
+
+pyray. unload_wave_samples ( samples : Any )
Unload samples data loaded with LoadWaveSamples()
-
-pyray.
update_audio_stream
( stream : AudioStream , data : Any , frameCount : int )
+
+pyray. update_audio_stream ( stream : AudioStream , data : Any , frameCount : int )
Update audio stream buffers with data
-
-pyray.
update_camera
( camera : Any )
+
+pyray. update_camera ( camera : Any )
Update camera position for selected mode
-
-pyray.
update_mesh_buffer
( mesh : Mesh , index : int , data : Any , dataSize : int , offset : int )
+
+pyray. update_mesh_buffer ( mesh : Mesh , index : int , data : Any , dataSize : int , offset : int )
Update mesh vertex data in GPU for a specific buffer index
-
-pyray.
update_model_animation
( model : Model , anim : ModelAnimation , frame : int )
+
+pyray. update_model_animation ( model : Model , anim : ModelAnimation , frame : int )
Update model animation pose
-
-pyray.
update_music_stream
( music : Music )
+
+pyray. update_music_stream ( music : Music )
Updates buffers for music streaming
-
-pyray.
update_physics
( )
+
+pyray. update_physics ( )
void UpdatePhysics();
CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
update_sound
( sound : Sound , data : Any , sampleCount : int )
+
+pyray. update_sound ( sound : Sound , data : Any , sampleCount : int )
Update sound buffer with new data
-
-pyray.
update_texture
( texture : Texture , pixels : Any )
+
+pyray. update_texture ( texture : Texture , pixels : Any )
Update GPU texture with new data
-
-pyray.
update_texture_rec
( texture : Texture , rec : Rectangle , pixels : Any )
+
+pyray. update_texture_rec ( texture : Texture , rec : Rectangle , pixels : Any )
Update GPU texture rectangle with new data
-
-pyray.
upload_mesh
( mesh : Any , dynamic : bool )
+
+pyray. upload_mesh ( mesh : Any , dynamic : bool )
Upload mesh vertex data in GPU and provide VAO/VBO ids
-
-pyray.
wait_time
( ms : float )
-Wait for some milliseconds (halt program execution)
+
+pyray. vector2_add ( Vector2_0 : Vector2 , Vector2_1 : Vector2 )
+struct Vector2 Vector2Add(struct Vector2, struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
-
-pyray.
wave_copy
( wave : Wave )
+
+pyray. vector2_add_value ( Vector2_0 : Vector2 , float_1 : float )
+struct Vector2 Vector2AddValue(struct Vector2, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_angle ( Vector2_0 : Vector2 , Vector2_1 : Vector2 )
+float Vector2Angle(struct Vector2, struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_clamp ( Vector2_0 : Vector2 , Vector2_1 : Vector2 , Vector2_2 : Vector2 )
+struct Vector2 Vector2Clamp(struct Vector2, struct Vector2, struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_clamp_value ( Vector2_0 : Vector2 , float_1 : float , float_2 : float )
+struct Vector2 Vector2ClampValue(struct Vector2, float, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_equals ( Vector2_0 : Vector2 , Vector2_1 : Vector2 )
+int Vector2Equals(struct Vector2, struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_invert ( Vector2_0 : Vector2 )
+struct Vector2 Vector2Invert(struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_length ( Vector2_0 : Vector2 )
+float Vector2Length(struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_length_sqr ( Vector2_0 : Vector2 )
+float Vector2LengthSqr(struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_lerp ( Vector2_0 : Vector2 , Vector2_1 : Vector2 , float_2 : float )
+struct Vector2 Vector2Lerp(struct Vector2, struct Vector2, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_move_towards ( Vector2_0 : Vector2 , Vector2_1 : Vector2 , float_2 : float )
+struct Vector2 Vector2MoveTowards(struct Vector2, struct Vector2, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_multiply ( Vector2_0 : Vector2 , Vector2_1 : Vector2 )
+struct Vector2 Vector2Multiply(struct Vector2, struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_negate ( Vector2_0 : Vector2 )
+struct Vector2 Vector2Negate(struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_normalize ( Vector2_0 : Vector2 )
+struct Vector2 Vector2Normalize(struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_one ( )
+struct Vector2 Vector2One();
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_reflect ( Vector2_0 : Vector2 , Vector2_1 : Vector2 )
+struct Vector2 Vector2Reflect(struct Vector2, struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_rotate ( Vector2_0 : Vector2 , float_1 : float )
+struct Vector2 Vector2Rotate(struct Vector2, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_scale ( Vector2_0 : Vector2 , float_1 : float )
+struct Vector2 Vector2Scale(struct Vector2, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_subtract ( Vector2_0 : Vector2 , Vector2_1 : Vector2 )
+struct Vector2 Vector2Subtract(struct Vector2, struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_subtract_value ( Vector2_0 : Vector2 , float_1 : float )
+struct Vector2 Vector2SubtractValue(struct Vector2, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_transform ( Vector2_0 : Vector2 , Matrix_1 : Matrix )
+struct Vector2 Vector2Transform(struct Vector2, struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector2_zero ( )
+struct Vector2 Vector2Zero();
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_add ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+struct Vector3 Vector3Add(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_add_value ( Vector3_0 : Vector3 , float_1 : float )
+struct Vector3 Vector3AddValue(struct Vector3, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_angle ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+float Vector3Angle(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_barycenter ( Vector3_0 : Vector3 , Vector3_1 : Vector3 , Vector3_2 : Vector3 , Vector3_3 : Vector3 )
+struct Vector3 Vector3Barycenter(struct Vector3, struct Vector3, struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_clamp ( Vector3_0 : Vector3 , Vector3_1 : Vector3 , Vector3_2 : Vector3 )
+struct Vector3 Vector3Clamp(struct Vector3, struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_clamp_value ( Vector3_0 : Vector3 , float_1 : float , float_2 : float )
+struct Vector3 Vector3ClampValue(struct Vector3, float, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_cross_product ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+struct Vector3 Vector3CrossProduct(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_equals ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+int Vector3Equals(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_invert ( Vector3_0 : Vector3 )
+struct Vector3 Vector3Invert(struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_length ( Vector3_0 : Vector3 )
+float Vector3Length(struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_length_sqr ( Vector3_0 : Vector3 )
+float Vector3LengthSqr(struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_lerp ( Vector3_0 : Vector3 , Vector3_1 : Vector3 , float_2 : float )
+struct Vector3 Vector3Lerp(struct Vector3, struct Vector3, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_max ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+struct Vector3 Vector3Max(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_min ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+struct Vector3 Vector3Min(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_multiply ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+struct Vector3 Vector3Multiply(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_negate ( Vector3_0 : Vector3 )
+struct Vector3 Vector3Negate(struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_normalize ( Vector3_0 : Vector3 )
+struct Vector3 Vector3Normalize(struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_one ( )
+struct Vector3 Vector3One();
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_ortho_normalize ( Vector3_pointer_0 : Any , Vector3_pointer_1 : Any )
+void Vector3OrthoNormalize(struct Vector3 * , struct Vector3 * );
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_perpendicular ( Vector3_0 : Vector3 )
+struct Vector3 Vector3Perpendicular(struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_reflect ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+struct Vector3 Vector3Reflect(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_refract ( Vector3_0 : Vector3 , Vector3_1 : Vector3 , float_2 : float )
+struct Vector3 Vector3Refract(struct Vector3, struct Vector3, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_rotate_by_axis_angle ( Vector3_0 : Vector3 , Vector3_1 : Vector3 , float_2 : float )
+struct Vector3 Vector3RotateByAxisAngle(struct Vector3, struct Vector3, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_rotate_by_quaternion ( Vector3_0 : Vector3 , Vector4_1 : Vector4 )
+struct Vector3 Vector3RotateByQuaternion(struct Vector3, struct Vector4);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_scale ( Vector3_0 : Vector3 , float_1 : float )
+struct Vector3 Vector3Scale(struct Vector3, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_subtract ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+struct Vector3 Vector3Subtract(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_subtract_value ( Vector3_0 : Vector3 , float_1 : float )
+struct Vector3 Vector3SubtractValue(struct Vector3, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_to_float_v ( Vector3_0 : Vector3 )
+struct float3 Vector3ToFloatV(struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_transform ( Vector3_0 : Vector3 , Matrix_1 : Matrix )
+struct Vector3 Vector3Transform(struct Vector3, struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_unproject ( Vector3_0 : Vector3 , Matrix_1 : Matrix , Matrix_2 : Matrix )
+struct Vector3 Vector3Unproject(struct Vector3, struct Matrix, struct Matrix);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector3_zero ( )
+struct Vector3 Vector3Zero();
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector_2distance ( Vector2_0 : Vector2 , Vector2_1 : Vector2 )
+float Vector2Distance(struct Vector2, struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector_2distance_sqr ( Vector2_0 : Vector2 , Vector2_1 : Vector2 )
+float Vector2DistanceSqr(struct Vector2, struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector_2divide ( Vector2_0 : Vector2 , Vector2_1 : Vector2 )
+struct Vector2 Vector2Divide(struct Vector2, struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector_2dot_product ( Vector2_0 : Vector2 , Vector2_1 : Vector2 )
+float Vector2DotProduct(struct Vector2, struct Vector2);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector_3distance ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+float Vector3Distance(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector_3distance_sqr ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+float Vector3DistanceSqr(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector_3divide ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+struct Vector3 Vector3Divide(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. vector_3dot_product ( Vector3_0 : Vector3 , Vector3_1 : Vector3 )
+float Vector3DotProduct(struct Vector3, struct Vector3);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+
+pyray. wait_time ( seconds : float )
+Wait for some time (halt program execution)
+
+
+
+
+pyray. wave_copy ( wave : Wave )
Copy a wave to a new wave
-
-pyray.
wave_crop
( wave : Any , initSample : int , finalSample : int )
+
+pyray. wave_crop ( wave : Any , initSample : int , finalSample : int )
Crop a wave to defined samples range
-
-pyray.
wave_format
( wave : Any , sampleRate : int , sampleSize : int , channels : int )
+
+pyray. wave_format ( wave : Any , sampleRate : int , sampleSize : int , channels : int )
Convert wave data to desired format
-
-pyray.
window_should_close
( )
+
+pyray. window_should_close ( )
Check if KEY_ESCAPE pressed or Close icon pressed
-
-
+
+
+pyray. wrap ( float_0 : float , float_1 : float , float_2 : float )
+float Wrap(float, float, float);
+CFFI C function from raylib._raylib_cffi.lib
+
+
+
+