diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index cdb0a2a71..16c29951b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,32 +1,32 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node { - "name": "splashkit.io", - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - // "image": "mcr.microsoft.com/devcontainers/javascript-node:0-20", - "dockerFile": "Dockerfile", - "customizations": { - "vscode": { - "extensions": [ - "dbaeumer.vscode-eslint", - "yzhang.markdown-all-in-one", - "DavidAnson.vscode-markdownlint", - "astro-build.astro-vscode", - "ms-vsliveshare.vsliveshare", - // "tomoki1207.pdf", - "eamodio.gitlens" - // "valentjn.vscode-ltex" - ] - } - } - // Features to add to the dev container. More info: https://containers.dev/features. - // "features": {}, - // Use 'forwardPorts' to make a list of ports inside the container available locally. - // "forwardPorts": [], - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "yarn install", - // Configure tool-specific properties. - // "customizations": {}, - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. - // "remoteUser": "root" -} \ No newline at end of file + "name": "splashkit.io", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + // "image": "mcr.microsoft.com/devcontainers/javascript-node:0-20", + "dockerFile": "Dockerfile", + "customizations": { + "vscode": { + "extensions": [ + "dbaeumer.vscode-eslint", + "yzhang.markdown-all-in-one", + "DavidAnson.vscode-markdownlint", + "astro-build.astro-vscode", + "ms-vsliveshare.vsliveshare", + // "tomoki1207.pdf", + "eamodio.gitlens" + // "valentjn.vscode-ltex" + ] + } + } + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "yarn install", + // Configure tool-specific properties. + // "customizations": {}, + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} diff --git a/.env.local b/.env.local new file mode 100644 index 000000000..c1550539f --- /dev/null +++ b/.env.local @@ -0,0 +1,3 @@ +DOCSEARCH_API_ID=local +DOCSEARCH_API_SEARCH_KEY=local +DOCSEARCH_INDEX_NAME=local diff --git a/.github/workflows/astro.yml b/.github/workflows/astro.yml index 846eee360..79d630d0e 100644 --- a/.github/workflows/astro.yml +++ b/.github/workflows/astro.yml @@ -2,7 +2,7 @@ name: Deploy to GitHub Pages on: push: - branches: [ master ] + branches: [master] workflow_dispatch: permissions: diff --git a/.markdownlint.json b/.markdownlint.json index 2ec9c5fc9..ae399b8aa 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -1,4 +1,4 @@ { - "MD033": false, - "MD013": false -} \ No newline at end of file + "MD033": false, + "MD013": false +} diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md index 96bf72697..b8f4e4fba 100644 --- a/CONTRIBUTE.md +++ b/CONTRIBUTE.md @@ -3,69 +3,59 @@ Follow these steps to contribute to the SplashKit website repository: 1. **Fork the Repository:** - - Visit the SplashKit repository on GitHub. - Click on the "Fork" button in the top-right corner of the page. This will create a copy of the repository under your GitHub account. 2. **Clone Your Fork:** - - Open your terminal or Git client. - Clone your forked repository to your local machine using the following command: - ```shell - git clone https://github.com/YOUR_USERNAME/splashkit.git - ``` + ```shell + git clone https://github.com/YOUR_USERNAME/splashkit.git + ``` 3. **Checkout new branch:** - - Open your terminal or Git client. - Create a new branch on your forked repository using the following command (replace `` with your chosen name): - ```shell - git checkout -b <new-branch> - ``` + ```shell + git checkout -b <new-branch> + ``` 4. **Make Your Changes:** - - Navigate to the project directory on your local machine. - Make your respective changes, ensuring high-quality contributions. 5. **Commit Your Changes:** - - After making changes, commit them with meaningful commit messages. - ```shell - git add . - git commit -m "Your descriptive commit message" - ``` + ```shell + git add . + git commit -m "Your descriptive commit message" + ``` 6. **Push Changes to Your Fork:** - - Push your changes to your forked repository on GitHub. - ```shell - git push origin master - ``` + ```shell + git push origin master + ``` 7. **Create a Pull Request (PR):** - - Visit your forked repository on GitHub. - Click on the "New Pull Request" button. - Ensure the base and head repositories have been set correctly. - Click on "Create Pull Request." 8. **Wait for Review:** - - The maintainers will review your PR. Be patient, and be ready to respond to any feedback or comments. - If changes are requested, make the necessary updates and push them to your forked repository. 9. **Follow Up to Comments:** - - Engage with any comments or questions from the maintainers. - If additional changes are needed, repeat steps 4-7. 10. **PR Approval/Rejection:** - - Once your changes are approved, the maintainers will merge your PR into the main repository. - If your changes are rejected, understand the feedback and consider making improvements before submitting another PR. diff --git a/README.md b/README.md index c579a3dcb..6357786a4 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Welcome to the official documentation website for the SplashKit SDK, using the S ![Forks](https://img.shields.io/github/forks/splashkit/splashkit.io-starlight?label=Forks&color=F5A623) ![Stars](https://img.shields.io/github/stars/splashkit/splashkit.io-starlight?label=Stars&color=F5A623) -[thoth-tech/splashkit.io-starlight](https://github.com/thoth-tech/splashkit.io-starlight) * +[thoth-tech/splashkit.io-starlight](https://github.com/thoth-tech/splashkit.io-starlight) \* [![GitHub contributors](https://img.shields.io/github/contributors/thoth-tech/splashkit.io-starlight?label=Contributors&color=F5A623)](https://github.com/thoth-tech/splashkit.io-starlight/graphs/contributors) [![GitHub issues](https://img.shields.io/github/issues/thoth-tech/splashkit.io-starlight?label=Issues&color=F5A623)](https://github.com/thoth-tech/splashkit.io-starlight/issues) @@ -37,9 +37,9 @@ If needed: - Install the necessary dependencies. Make sure you have the following installed: - ```shell - npm install - ``` + ```shell + npm install + ``` ## 🚀 Project Structure @@ -80,18 +80,18 @@ Inside of your Astro + Starlight project, you'll see the following folders and f All commands are run from the root of the project, from a terminal: -| Command | Action | -| :-------------------------------------- | :---------------------------------------------------------------------------------------------------------- | -| `npm install` | Installs dependencies | -| `npm run dev` | Starts local dev server at `localhost:4322` | -| `npm run build` | Builds your production site to `./dist/` | -| `npm run preview` | Previews your build locally, before deploying | -| `npm run astro ...` | Runs CLI commands like `astro add`, `astro check` | -| `npm run astro -- --help` | Gets help using the Astro CLI | -| `npm run generate-mdx` | Generates an MDX file *(for functions)* from JSON data in the `test` folder | -| `npm run generate-usage-examples-pages` | Runs the script to generate usage example pages from the `./scripts/usage-example-page-generation.cjs` file | +| Command | Action | +| :---------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `npm install` | Installs dependencies | +| `npm run dev` | Starts local dev server at `localhost:4322` | +| `npm run build` | Builds your production site to `./dist/` | +| `npm run preview` | Previews your build locally, before deploying | +| `npm run astro ...` | Runs CLI commands like `astro add`, `astro check` | +| `npm run astro -- --help` | Gets help using the Astro CLI | +| `npm run generate-mdx` | Generates an MDX file _(for functions)_ from JSON data in the `test` folder | +| `npm run generate-usage-examples-pages` | Runs the script to generate usage example pages from the `./scripts/usage-example-page-generation.cjs` file | | `npm run generate-usage-examples-pages write_line-1-simple` | Runs the script to generate usage example pages from the `./scripts/usage-example-page-generation.cjs` file and prints the testing output for the `write_line-1-simple` example | -| `npm run check-links` | Sets `CHECK_LINKS=true`, runs `npm run build`, then resets `CHECK_LINKS=false` | +| `npm run check-links` | Sets `CHECK_LINKS=true`, runs `npm run build`, then resets `CHECK_LINKS=false` | ## Contributing diff --git a/astro.config.mjs b/astro.config.mjs index ba2997f09..8b9dca09b 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -2,36 +2,51 @@ import { defineConfig } from "astro/config"; import starlight from "@astrojs/starlight"; // import solidJs from "@astrojs/solid-js"; import react from "@astrojs/react"; -import starlightLinksValidator from 'starlight-links-validator'; +import starlightLinksValidator from "starlight-links-validator"; import sitemap from "@astrojs/sitemap"; -import remarkMath from 'remark-math'; -import rehypeMathjax from 'rehype-mathjax' -import starlightBlog from 'starlight-blog' -import starlightDocSearch from '@astrojs/starlight-docsearch'; -import remarkHeadingID from 'remark-heading-id'; +import remarkMath from "remark-math"; +import rehypeMathjax from "rehype-mathjax"; +import starlightBlog from "starlight-blog"; +import starlightDocSearch from "@astrojs/starlight-docsearch"; +import remarkHeadingID from "remark-heading-id"; import { loadEnv } from "vite"; -const { DOCSEARCH_API_ID } = loadEnv(process.env.DOCSEARCH_API_ID, process.cwd(), ""); -const { DOCSEARCH_API_SEARCH_KEY } = loadEnv(process.env.DOCSEARCH_API_SEARCH_KEY, process.cwd(), ""); -const { DOCSEARCH_INDEX_NAME } = loadEnv(process.env.DOCSEARCH_INDEX_NAME, process.cwd(), ""); +const { DOCSEARCH_API_ID } = loadEnv( + process.env.DOCSEARCH_API_ID, + process.cwd(), + "", +); +const { DOCSEARCH_API_SEARCH_KEY } = loadEnv( + process.env.DOCSEARCH_API_SEARCH_KEY, + process.cwd(), + "", +); +const { DOCSEARCH_INDEX_NAME } = loadEnv( + process.env.DOCSEARCH_INDEX_NAME, + process.cwd(), + "", +); if (!DOCSEARCH_API_ID || !DOCSEARCH_API_SEARCH_KEY || !DOCSEARCH_INDEX_NAME) { - console.error("Algolia DocSearch enviroment variables are invalid. Please check configuration!"); + console.error( + "Algolia DocSearch enviroment variables are invalid. Please check configuration!", + ); process.exit(1); } // https://astro.build/config export default defineConfig({ - site: 'https://splashkit.io/', + site: "https://splashkit.io/", integrations: [ starlight({ title: "SplashKit", - description: 'SplashKit is a cross-platform game engine for C, C++ and Objective-C. It provides a simple API for 2D game development.', + description: + "SplashKit is a cross-platform game engine for C, C++ and Objective-C. It provides a simple API for 2D game development.", plugins: [ starlightBlog({ - title: 'Announcements', + title: "Announcements", recentPostCount: 5, - prevNextLinksOrder: 'chronological', + prevNextLinksOrder: "chronological", }), starlightLinksValidator({ errorOnRelativeLinks: true, @@ -47,7 +62,7 @@ export default defineConfig({ // frames: { // showCopyToClipboardButton: true, // }, - styleOverrides: { borderRadius: '0.5rem' }, + styleOverrides: { borderRadius: "0.5rem" }, useDarkModeMediaQuery: true, }, customCss: [ @@ -56,8 +71,16 @@ export default defineConfig({ "/src/styles/cards.css", ], social: [ - { icon: 'github', label: 'GitHub', href: 'https://github.com/splashkit' }, - { icon: 'youtube', label: 'YouTube', href: 'https://www.youtube.com/@splashkit7674' }, + { + icon: "github", + label: "GitHub", + href: "https://github.com/splashkit", + }, + { + icon: "youtube", + label: "YouTube", + href: "https://www.youtube.com/@splashkit7674", + }, ], favicon: "/images/favicon.svg", logo: { @@ -72,15 +95,34 @@ export default defineConfig({ { label: "Windows", collapsed: true, - items: - [ - { label: "MSYS2", autogenerate: { directory: "installation/Windows (MSYS2)" }, collapsed: false }, - { label: "WSL", autogenerate: { directory: "installation/Windows (WSL)" }, collapsed: false }, - ] + items: [ + { + label: "MSYS2", + autogenerate: { directory: "installation/Windows (MSYS2)" }, + collapsed: false, + }, + { + label: "WSL", + autogenerate: { directory: "installation/Windows (WSL)" }, + collapsed: false, + }, + ], + }, + { + label: "MacOS", + autogenerate: { directory: "installation/MacOS" }, + collapsed: true, + }, + { + label: "Linux", + autogenerate: { directory: "installation/Linux" }, + collapsed: true, + }, + { + label: "Virtual Machine", + autogenerate: { directory: "installation/Virtual Machine" }, + collapsed: true, }, - { label: "MacOS", autogenerate: { directory: "installation/MacOS" }, collapsed: true }, - { label: "Linux", autogenerate: { directory: "installation/Linux" }, collapsed: true }, - { label: "Virtual Machine", autogenerate: { directory: "installation/Virtual Machine" }, collapsed: true }, ], }, { @@ -91,14 +133,29 @@ export default defineConfig({ { label: "Windows", collapsed: true, - items: - [ - { label: "MSYS2", autogenerate: { directory: "troubleshoot/Windows (MSYS2)" }, collapsed: false }, - { label: "WSL", autogenerate: { directory: "troubleshoot/Windows (WSL)" }, collapsed: false }, - ] + items: [ + { + label: "MSYS2", + autogenerate: { directory: "troubleshoot/Windows (MSYS2)" }, + collapsed: false, + }, + { + label: "WSL", + autogenerate: { directory: "troubleshoot/Windows (WSL)" }, + collapsed: false, + }, + ], + }, + { + label: "MacOS", + autogenerate: { directory: "troubleshoot/MacOS" }, + collapsed: true, + }, + { + label: "Linux", + autogenerate: { directory: "troubleshoot/Linux" }, + collapsed: true, }, - { label: "MacOS", autogenerate: { directory: "troubleshoot/MacOS" }, collapsed: true }, - { label: "Linux", autogenerate: { directory: "troubleshoot/Linux" }, collapsed: true }, ], // autogenerate: { directory: "troubleshoot", collapsed: true }, }, @@ -111,49 +168,115 @@ export default defineConfig({ collapsed: false, items: [ { label: "Overview", link: "guides/" }, - { + { label: "Getting Started", collapsed: false, items: [ - { label: "Drawing with Procedures", link: "guides/graphics/drawing-using-procedures" }, - { label: "Understanding Double Buffering", link: "guides/graphics/double-buffering" }, - { label: "Graphical User Inputs", link: "guides/input/user-inputs-in-graphical-applications" }, - { label: "Loading Resources with Bundles", link: "guides/resources/loading-resources-with-bundles" }, - { label: "Getting Started With Audio", link: "guides/audio/getting-started-with-audio" }, - { label: "Using Animations", link: "guides/animations/using-animations" }, - { label: "SplashKit Camera", link: "guides/input/using-splashkit-camera" }, - { label: "Useful Utilities", link: "guides/utilities/useful-utilities" }, - { label: "Using JSON in SplashKit", link: "guides/json/getting-started-with-json" }, - { label: "SplashKit Colors", link: "guides/color/splashkit-colors" }, + { + label: "Drawing with Procedures", + link: "guides/graphics/drawing-using-procedures", + }, + { + label: "Understanding Double Buffering", + link: "guides/graphics/double-buffering", + }, + { + label: "Graphical User Inputs", + link: "guides/input/user-inputs-in-graphical-applications", + }, + { + label: "Loading Resources with Bundles", + link: "guides/resources/loading-resources-with-bundles", + }, + { + label: "Getting Started With Audio", + link: "guides/audio/getting-started-with-audio", + }, + { + label: "Using Animations", + link: "guides/animations/using-animations", + }, + { + label: "SplashKit Camera", + link: "guides/input/using-splashkit-camera", + }, + { + label: "Useful Utilities", + link: "guides/utilities/useful-utilities", + }, + { + label: "Using JSON in SplashKit", + link: "guides/json/getting-started-with-json", + }, + { + label: "SplashKit Colors", + link: "guides/color/splashkit-colors", + }, ], }, - { label: "Raspberry GPIO", autogenerate: { directory: "guides/raspberry-gpio" }, collapsed: true }, - { label: "Physics", autogenerate: { directory: "guides/physics" }, collapsed: true }, - { label: "Interface", autogenerate: { directory: "guides/interface" }, collapsed: true }, - { label: "Networking", autogenerate: { directory: "guides/networking" }, collapsed: true }, + { + label: "Raspberry GPIO", + autogenerate: { directory: "guides/raspberry-gpio" }, + collapsed: true, + }, + { + label: "Physics", + autogenerate: { directory: "guides/physics" }, + collapsed: true, + }, + { + label: "Interface", + autogenerate: { directory: "guides/interface" }, + collapsed: true, + }, + { + label: "Networking", + autogenerate: { directory: "guides/networking" }, + collapsed: true, + }, + { + label: "Generative AI", + autogenerate: { directory: "guides/generative-ai" }, + collapsed: true, + }, { label: "Beyond SplashKit", collapsed: true, items: [ { label: "Overview", link: "guides/beyond-splashkit/" }, - { label: "Using SDL2", autogenerate: { directory: "guides/beyond-splashkit/sdl2" }, collapsed: false }, - { label: "Cryptography", autogenerate: { directory: "guides/beyond-splashkit/cryptography" }, collapsed: true }, - { label: "Utilities", autogenerate: { directory: "guides/beyond-splashkit/utilities" }, collapsed: true }, + { + label: "Using SDL2", + autogenerate: { directory: "guides/beyond-splashkit/sdl2" }, + collapsed: false, + }, + { + label: "Cryptography", + autogenerate: { + directory: "guides/beyond-splashkit/cryptography", + }, + collapsed: true, + }, + { + label: "Utilities", + autogenerate: { + directory: "guides/beyond-splashkit/utilities", + }, + collapsed: true, + }, ], }, ], }, ], - }), react(), - sitemap() + sitemap(), ], server: { host: true, - port: 4321 + port: 4321, }, // Render mathematical equations using remark-math and rehype-mathjax diff --git a/public/old--hackathon-github-guide/1-github-guide.mdx b/public/old--hackathon-github-guide/1-github-guide.mdx index 5105275d3..03fa8f1f3 100644 --- a/public/old--hackathon-github-guide/1-github-guide.mdx +++ b/public/old--hackathon-github-guide/1-github-guide.mdx @@ -14,23 +14,23 @@ Capstone guides and videos [here](https://verdant-raindrop-f3e404.netlify.app/ca [GitHub - thoth-tech/arcade-hackathon-project](https://github.com/thoth-tech/arcade-hackathon-project): For use in the Arcade Games "Hackathon-in-a-box" event. - :::tip - If you are not signed in to GitHub, sign in, if you don’t have an account, sign up. - ::: + :::tip + If you are not signed in to GitHub, sign in, if you don’t have an account, sign up. + ::: 2. **Fork the Repository:** Click the ***Fork*** button located at the top-right of the page (shown with red arrow). If prompted, select your personal account as the destination. - ![Image showing GitHub Fork button](./images/github-guide/fork.png) + ![Image showing GitHub Fork button](./images/github-guide/fork.png) - On the **Create a new fork** page, deselect the option *"Copy the main branch only"* (shown with yellow arrow below). + On the **Create a new fork** page, deselect the option _"Copy the main branch only"_ (shown with yellow arrow below). - ![Image showing GitHub Create new fork page](./images/github-guide/createnewfork.png) + ![Image showing GitHub Create new fork page](./images/github-guide/createnewfork.png) - Then click **Create fork** (shown with red arrow above). + Then click **Create fork** (shown with red arrow above). 3. **Fork Confirmation:** You’ll now have your own fork of the repository in your GitHub account, ready for your contributions. - ![Image showing GitHub arcade-hackathon-project repo page](./images/github-guide/forkconfirmation.png) + ![Image showing GitHub arcade-hackathon-project repo page](./images/github-guide/forkconfirmation.png) ### Cloning a Repository @@ -38,26 +38,26 @@ Once the files are in your account you must download them to your device. 1. **Locate the Repository:** On GitHub, go to your profile with the forked repository and clone the repository (and its files) to your device by clicking the "Code" button (shown with red arrow below), then copy the Copy button (shown with yellow arrow). - ![Image showing GitHub clone buttons on arcade-hackathon-project repo page](./images/github-guide/cloneforkedrepo.png) + ![Image showing GitHub clone buttons on arcade-hackathon-project repo page](./images/github-guide/cloneforkedrepo.png) 2. **Prepare to Clone:** Click **Code** (shown with red arrow in image above) and under “Clone with HTTPS”, copy the provided URL (shown with yellow arrow above). 3. **Open Your Terminal:** Launch the terminal within VS Code or your preferred environment (such as MSYS2 MinGW x64 if on Windows, GitBash, Terminal on macOS, or GitHub Desktop Application). - *Note: The example images in this guide will be using the Git Bash terminal.* + _Note: The example images in this guide will be using the Git Bash terminal._ 4. **Navigate to Your Directory:** Use `cd` to change to the directory where you want the cloned directory. - Example: `cd Documents/GitHub/HackathonProject` + Example: `cd Documents/GitHub/HackathonProject` - :::caution[Ensure you’re cloning into an empty folder for a smooth process.] - ::: + :::caution[Ensure you’re cloning into an empty folder for a smooth process.] + ::: - ![Image showing terminal cd command](./images/github-guide/navigateToFolder.png) + ![Image showing terminal cd command](./images/github-guide/navigateToFolder.png) 5. **Clone:** Type `git clone`, then paste the URL you copied. Press enter to create your local clone. - Eg: `git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY` + Eg: `git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY` --- @@ -67,15 +67,15 @@ Once the files are in your account you must download them to your device. 1. **Coding Language:** - Choose whether to use C++ or C# as your programming language. + Choose whether to use C++ or C# as your programming language. - *The whole team must choose the same language.* + _The whole team must choose the same language._ 2. **Team Name:** - Choose a **team name** or think of a new name for the game to use for your teams project. + Choose a **team name** or think of a new name for the game to use for your teams project. - *This will be used for the folder name of your files to ensure the original files are not changed, and teams' projects remain separate.* + _This will be used for the folder name of your files to ensure the original files are not changed, and teams' projects remain separate._ ::: @@ -93,23 +93,23 @@ Add the new project files to the Team Leader's fork on GitHub with the following 1. Use `git status` to check the current state of the working directory and staging area. - ![Image showing terminal git status command before staging](./images/github-guide/gitstatus-init.png) + ![Image showing terminal git status command before staging](./images/github-guide/gitstatus-init.png) 2. Use `git add .` to add all of the new files in the current working directory to the staging area. - ![Image showing terminal git add command](./images/github-guide/gitadd.png) + ![Image showing terminal git add command](./images/github-guide/gitadd.png) 3. Use `git status` again to see files added to staging area. - ![Image showing terminal git status command after staging](./images/github-guide/gitstatusstaged.png) + ![Image showing terminal git status command after staging](./images/github-guide/gitstatusstaged.png) 4. Use `git commit -m "new project files"` to commit your new files. - ![Image showing terminal committing files](./images/github-guide/prepairingthecommitofnewgame.png) + ![Image showing terminal committing files](./images/github-guide/prepairingthecommitofnewgame.png) 5. Use `git push` to push the files to the fork on GitHub. - ![Image showing terminal committing files](./images/github-guide/gitpushnewgame.png) + ![Image showing terminal committing files](./images/github-guide/gitpushnewgame.png) The team leader's fork should now have the new folder showing on their profile, and can share this URL with other team members. @@ -121,7 +121,7 @@ Go to the Team Leader's fork on [github.com](https://github.com/), and check tha Adding team members as collaborators allows all team members to make changes directly on the same repository, which means that team members can make contributions more quickly. -To add collaborators using the GitHub Web UI, follow the steps below on the ***Team Leader's fork***: +To add collaborators using the GitHub Web UI, follow the steps below on the **_Team Leader's fork_**: 1. Click the **Settings** tab across the top of the screen. 2. Click on **Collaborators** in the left sidebar. @@ -174,27 +174,27 @@ Why do we need to use branches? - **Feature Development:** Isolate new feature development from the stable codebase. - **Bug Fixes:** Address and fix issues without disrupting the main development flow. -- **Experimentation:** Try out new ideas in a sandboxed environment without risk to the main project. *This is particularly important when working in a team.* +- **Experimentation:** Try out new ideas in a sandboxed environment without risk to the main project. _This is particularly important when working in a team._ ### Using the Command Line -*Note: This is the recommended way of creating new branches.* +_Note: This is the recommended way of creating new branches._ Follow these steps to create a new branch using the command line: 1. **Navigate to Your Repository:** In your terminal, go to your local GitHub repository folder where you wish to create a new branch. - ![Image showing terminal cd to repo folder](./images/github-guide/navigatetoclonedfiles.png) + ![Image showing terminal cd to repo folder](./images/github-guide/navigatetoclonedfiles.png) 2. **Create new branch:** Use the command: `git checkout -b ` to create a new branch on your local clone. - ![Image showing GitHub webpage of arcade-hackathon-project branches](./images/github-guide/addbranchandswitchtoitlocally.png) + ![Image showing GitHub webpage of arcade-hackathon-project branches](./images/github-guide/addbranchandswitchtoitlocally.png) - This command switches to your new branch and creates it if it doesn’t already exist. + This command switches to your new branch and creates it if it doesn’t already exist. 3. **Push Your New Branch:** Use `git push origin ` to push your new branch to your remote fork. - ![Image showing GitHub webpage of arcade-hackathon-project repo and branch button](./images/github-guide/pushbranch.png) + ![Image showing GitHub webpage of arcade-hackathon-project repo and branch button](./images/github-guide/pushbranch.png) ### Using the GitHub Web UI @@ -203,18 +203,17 @@ Alternatively, follow these steps to create a new branch in the GitHub Web UI: 1. **Navigate to Your Repository's Branches:** Go to your GitHub repository (online) where you wish to create a new branch. 2. **Go to the "Branches" page:** Click the branch button (shown with red arrow below). - ![Image showing GitHub webpage of arcade-hackathon-project repo and branch button](./images/github-guide/clickbranchbutton.png) + ![Image showing GitHub webpage of arcade-hackathon-project repo and branch button](./images/github-guide/clickbranchbutton.png) 3. **Create new Branch:** Click the **New Branch** button (shown with yellow arrow below). - ![Image showing GitHub webpage of arcade-hackathon-project branches](./images/github-guide/clicknewbranch.png) + ![Image showing GitHub webpage of arcade-hackathon-project branches](./images/github-guide/clicknewbranch.png) + - Add the name of the new branch in the text box under the **New branch name** heading. + - Then click the drop-down menu under the **Source** heading if you need to update which branch the new branch will be created from. - - Add the name of the new branch in the text box under the **New branch name** heading. - - Then click the drop-down menu under the **Source** heading if you need to update which branch the new branch will be created from. + ![Image showing create new branch pop-up](./images/github-guide/createnewbranch.png) - ![Image showing create new branch pop-up](./images/github-guide/createnewbranch.png) - -4. **Pull Your New Branch:** Open your terminal, navigate to the cloned project folder, and then run `git pull` to pull down your newly created branch to your local clone. +4. **Pull Your New Branch:** Open your terminal, navigate to the cloned project folder, and then run `git pull` to pull down your newly created branch to your local clone. 5. **Switch to Your New Branch:** In the same directory, run the command `git checkout ` to switch to your new branch. Now that you’ve created a branch, you’re ready to start making changes. Remember, the modifications you make on this branch are isolated from the main line of development. This isolation allows you to develop features, fix bugs, or experiment freely. @@ -230,15 +229,15 @@ Now that you've cloned your repo, you can follow these steps to start making cha 1. Open Visual Studio Code (or whatever you prefer to use for writing code). 2. Open the cloned folder by clicking **File**, then **Open Folder**. - ![Image showing VS Code open new folder](./images/github-guide/open-cloned-repo-folder.png) + ![Image showing VS Code open new folder](./images/github-guide/open-cloned-repo-folder.png) 3. Navigate to the folder where your local clone was saved and select the game folder with your team name. - ![Image showing File explore open new folder](./images/github-guide/select-folder.png) + ![Image showing File explore open new folder](./images/github-guide/select-folder.png) 4. Once it opens, click **Yes, I trust the authors**. -*Now you're ready to start coding!* +_Now you're ready to start coding!_ Once you've made your changes, look at the next section for how to commit these changes. @@ -276,15 +275,15 @@ The images below show what it looks like when you run `git status`: 1. Before making any changes. - ![Image showing terminal git status before making changes](./images/github-guide/gitstatus-beforechanges.png) + ![Image showing terminal git status before making changes](./images/github-guide/gitstatus-beforechanges.png) 2. After making changes, but before staging any changes. - ![Image showing terminal git status before staging changes](./images/github-guide/gitstatus-beforestaging.png) + ![Image showing terminal git status before staging changes](./images/github-guide/gitstatus-beforestaging.png) 3. After staging all your changes. - ![Image showing terminal git status after staging changes](./images/github-guide/gitstatus-afterstaging.png) + ![Image showing terminal git status after staging changes](./images/github-guide/gitstatus-afterstaging.png) ### Committing Your Changes @@ -351,7 +350,7 @@ If a team member has cloned their own fork, rather than the leader's fork, they **In Team Leader Fork:** Follow the steps in the [Review Team Member PRs](#review-team-member-prs) section to **review** the pull request. Then push the new branch to the team leader's fork using `git push origin ` with the name of the branch created when reviewing the PR as the ``. -*Note: This can be done by a team member if added as a collaborator.* +_Note: This can be done by a team member if added as a collaborator._ --- @@ -391,15 +390,15 @@ For team member contributions that have been made on their own fork with a PR to 1. In the local clone folder of the leader's fork, run the following command to check for remote branches: - ```shell - git remote -v - ``` + ```shell + git remote -v + ``` 2. Add the remote repositories: - ```shell - git remote add upstream https://github.com//.git - ``` + ```shell + git remote add upstream https://github.com//.git + ``` 3. Run the first command again to see the upstream branches added. @@ -415,15 +414,15 @@ To fetch the changes in a pull request to your local clone, open the PR in the G - For reviewing a pull request in the same repository, you can use `origin` as seen below: - ```shell - git fetch origin pull//head: - ``` + ```shell + git fetch origin pull//head: + ``` - For reviewing a pull request in an upstream repository, from your forked repo: - ```shell - git fetch upstream pull//head: - ``` + ```shell + git fetch upstream pull//head: + ``` Replace `` with the ID number of the PR, and replace `` with the name you want to use for the new branch containing the PR changes. @@ -443,26 +442,25 @@ Once your team has finished making changes, and has finalised all team member co 2. **Open Pull Request:** There are multiple ways to do this. - Firstly, change the branch to the one to be used for the PR using the drop-down list of branches. Then follow the steps in one of the options below: - - 1. Click on the “Pull Requests” tab near the top of the repository’s GitHub page, then click the “New Pull Request” button. - 2. Click on the "**Contribute**" button (shown with yellow arrow in image below), then click the "Open pull request" button. - 3. Click "Compare and pull request" button (shown with red arrow in image below) if it shows up. + Firstly, change the branch to the one to be used for the PR using the drop-down list of branches. Then follow the steps in one of the options below: + 1. Click on the “Pull Requests” tab near the top of the repository’s GitHub page, then click the “New Pull Request” button. + 2. Click on the "**Contribute**" button (shown with yellow arrow in image below), then click the "Open pull request" button. + 3. Click "Compare and pull request" button (shown with red arrow in image below) if it shows up. - ![Image showing GitHub Open pull request details](./images/github-guide/Compare-and-pull-request.png) + ![Image showing GitHub Open pull request details](./images/github-guide/Compare-and-pull-request.png) 3. **Choose the Base and Compare:** Select the base branch and the compare branch (under "Comparing changes"). You can see an example of this at the top of the image under step 5. - :::tip[Which is which?] - - The **base** branch is the one you want your changes pulled into. - - The **compare** branch is the branch containing your changes. - ::: + :::tip[Which is which?] + - The **base** branch is the one you want your changes pulled into. + - The **compare** branch is the branch containing your changes. + ::: 4. **Review Your Changes:** GitHub will display the differences between your branch and the base branch. Review these changes to ensure accuracy. You can see an example of this at the bottom of the image in the step below. 5. **Add Pull Request Details:** Give your pull request a title and a description that explains the changes you’ve made, why you’ve made them, and any other relevant details. - ![Image showing GitHub Open pull request details](./images/github-guide/createPullrequest.png) + ![Image showing GitHub Open pull request details](./images/github-guide/createPullrequest.png) 6. **Create Pull Request:** After reviewing, click “Create Pull Request.” diff --git a/public/usage-examples/CONTRIBUTING.mdx b/public/usage-examples/CONTRIBUTING.mdx index 5dffdbae9..d44bd0fbb 100644 --- a/public/usage-examples/CONTRIBUTING.mdx +++ b/public/usage-examples/CONTRIBUTING.mdx @@ -12,7 +12,7 @@ To contribute a function usage example, you need to create the following files: - **Gif file** (.gif) if the example code is interactive - **Webm file** (.webm) if there is audio in the code example. - **Code files** with the example code. This must be a complete code example, not just a snippet of code. -- ***Zip file*** (*only if your code requires resource files*) containing the "Resources" folder created with the `skm resources` command, with any resources needed for your example code to run. (More info about adding this at the end.) +- **_Zip file_** (_only if your code requires resource files_) containing the "Resources" folder created with the `skm resources` command, with any resources needed for your example code to run. (More info about adding this at the end.) ## File Location @@ -47,7 +47,7 @@ write_line-1-example-oop.cs | | | ------: specifies this is a C# OOP example | | | | | ------------: designates the file as an example - | | + | | | -----------------: number id of example: 1 | (used to separate examples) | diff --git a/scripts/api-pages-script.cjs b/scripts/api-pages-script.cjs index 3a625e378..de66620c8 100644 --- a/scripts/api-pages-script.cjs +++ b/scripts/api-pages-script.cjs @@ -10,14 +10,14 @@ // ------------------------------------------------------------------------------ const fs = require("fs"); const kleur = require("kleur"); -const path = require('path'); +const path = require("path"); // ------------------------------------------------------------------------------ // Constants // ------------------------------------------------------------------------------ // For cleaning files from usage-examples folder -const directoryToClean = 'src/content/docs/api'; -const filesToKeep = ['index.mdx']; +const directoryToClean = "src/content/docs/api"; +const filesToKeep = ["index.mdx"]; // Define type mappings const typeMappings = { @@ -42,7 +42,7 @@ const guidesAvailable = { networking: false, physics: false, sprites: false, - utilities: false + utilities: false, }; // Define language label mappings @@ -59,14 +59,158 @@ const languageFileExtensions = { cpp: ".cpp", csharp: ".cs", python: ".py", - pascal: ".pas" + pascal: ".pas", }; // Define language order const languageOrder = ["cpp", "csharp", "python", "pascal"]; var name = ""; -const sk_colors = ["alice_blue", "antique_white", "aqua", "aquamarine", "azure", "beige", "bisque", "black", "blanched_almond", "blue", "blue_violet", "bright_green", "brown", "burly_wood", "cadet_blue", "chartreuse", "chocolate", "coral", "cornflower_blue", "cornsilk", "crimson", "cyan", "dark_blue", "dark_cyan", "dark_goldenrod", "dark_gray", "dark_green", "dark_khaki", "dark_magenta", "dark_olive_green", "dark_orange", "dark_orchid", "dark_red", "dark_salmon", "dark_sea_green", "dark_slate_blue", "dark_slate_gray", "dark_turquoise", "dark_violet", "deep_pink", "deep_sky_blue", "dim_gray", "dodger_blue", "firebrick", "floral_white", "forest_green", "fuchsia", "gainsboro", "ghost_white", "gold", "goldenrod", "gray", "green", "green_yellow", "honeydew", "hot_pink", "indian_red", "indigo", "ivory", "khaki", "lavender", "lavender_blush", "lawn_green", "lemon_chiffon", "light_blue", "light_coral", "light_cyan", "light_goldenrod_yellow", "light_gray", "light_green", "light_pink", "light_salmon", "light_sea_green", "light_sky_blue", "light_slate_gray", "light_steel_blue", "light_yellow", "lime", "lime_green", "linen", "magenta", "maroon", "medium_aquamarine", "medium_blue", "medium_orchid", "medium_purple", "medium_sea_green", "medium_slate_blue", "medium_spring_green", "medium_turquoise", "medium_violet_red", "midnight_blue", "mint_cream", "misty_rose", "moccasin", "navajo_white", "navy", "old_lace", "olive", "olive_drab", "orange", "orange_red", "orchid", "pale_goldenrod", "pale_green", "pale_turquoise", "pale_violet_red", "papaya_whip", "peach_puff", "peru", "pink", "plum", "powder_blue", "purple", "red", "rosy_brown", "royal_blue", "saddle_brown", "salmon", "sandy_brown", "sea_green", "sea_shell", "sienna", "silver", "sky_blue", "slate_blue", "slate_gray", "snow", "spring_green", "steel_blue", "swinburne_red", "tan", "teal", "thistle", "tomato", "transparent", "turquoise", "violet", "wheat", "white", "white_smoke", "yellow", "yellow_green"]; +const sk_colors = [ + "alice_blue", + "antique_white", + "aqua", + "aquamarine", + "azure", + "beige", + "bisque", + "black", + "blanched_almond", + "blue", + "blue_violet", + "bright_green", + "brown", + "burly_wood", + "cadet_blue", + "chartreuse", + "chocolate", + "coral", + "cornflower_blue", + "cornsilk", + "crimson", + "cyan", + "dark_blue", + "dark_cyan", + "dark_goldenrod", + "dark_gray", + "dark_green", + "dark_khaki", + "dark_magenta", + "dark_olive_green", + "dark_orange", + "dark_orchid", + "dark_red", + "dark_salmon", + "dark_sea_green", + "dark_slate_blue", + "dark_slate_gray", + "dark_turquoise", + "dark_violet", + "deep_pink", + "deep_sky_blue", + "dim_gray", + "dodger_blue", + "firebrick", + "floral_white", + "forest_green", + "fuchsia", + "gainsboro", + "ghost_white", + "gold", + "goldenrod", + "gray", + "green", + "green_yellow", + "honeydew", + "hot_pink", + "indian_red", + "indigo", + "ivory", + "khaki", + "lavender", + "lavender_blush", + "lawn_green", + "lemon_chiffon", + "light_blue", + "light_coral", + "light_cyan", + "light_goldenrod_yellow", + "light_gray", + "light_green", + "light_pink", + "light_salmon", + "light_sea_green", + "light_sky_blue", + "light_slate_gray", + "light_steel_blue", + "light_yellow", + "lime", + "lime_green", + "linen", + "magenta", + "maroon", + "medium_aquamarine", + "medium_blue", + "medium_orchid", + "medium_purple", + "medium_sea_green", + "medium_slate_blue", + "medium_spring_green", + "medium_turquoise", + "medium_violet_red", + "midnight_blue", + "mint_cream", + "misty_rose", + "moccasin", + "navajo_white", + "navy", + "old_lace", + "olive", + "olive_drab", + "orange", + "orange_red", + "orchid", + "pale_goldenrod", + "pale_green", + "pale_turquoise", + "pale_violet_red", + "papaya_whip", + "peach_puff", + "peru", + "pink", + "plum", + "powder_blue", + "purple", + "red", + "rosy_brown", + "royal_blue", + "saddle_brown", + "salmon", + "sandy_brown", + "sea_green", + "sea_shell", + "sienna", + "silver", + "sky_blue", + "slate_blue", + "slate_gray", + "snow", + "spring_green", + "steel_blue", + "swinburne_red", + "tan", + "teal", + "thistle", + "tomato", + "transparent", + "turquoise", + "violet", + "wheat", + "white", + "white_smoke", + "yellow", + "yellow_green", +]; // ------------------------------------------------------------------------------ // Functions @@ -78,16 +222,20 @@ const sk_colors = ["alice_blue", "antique_white", "aqua", "aquamarine", "azure", function getAllFiles(dir, allFilesList = []) { try { const files = fs.readdirSync(dir); - files.map(file => { - const name = dir + '/' + file; - if (fs.statSync(name).isDirectory()) { // check if subdirectory is present - getAllFiles(name, allFilesList); // do recursive execution for subdirectory + files.map((file) => { + const name = dir + "/" + file; + if (fs.statSync(name).isDirectory()) { + // check if subdirectory is present + getAllFiles(name, allFilesList); // do recursive execution for subdirectory } else { - allFilesList.push(file); // push filename into the array + allFilesList.push(file); // push filename into the array } - }) + }); } catch (err) { - console.error(kleur.yellow(`Warning: Unable to access directory ${dir}`), err); + console.error( + kleur.yellow(`Warning: Unable to access directory ${dir}`), + err, + ); } return allFilesList; } @@ -101,10 +249,12 @@ function getAllFinishedExamples() { var apiData = fs.readFileSync(`${__dirname}/json-files/api.json`); apiJsonData = JSON.parse(apiData); } catch (error) { - console.error(kleur.red("Error occurred when trying to parse API Json data: ", error)); + console.error( + kleur.red("Error occurred when trying to parse API Json data: ", error), + ); } - const categories = [] + const categories = []; for (const categoryKey in apiJsonData) { if (categoryKey != "types") { categories.push(categoryKey); @@ -114,11 +264,16 @@ function getAllFinishedExamples() { const allExamples = []; categories.forEach((categoryKey) => { - const categoryFilePath = path.join(path.dirname(__dirname), "public", "usage-examples", categoryKey); + const categoryFilePath = path.join( + path.dirname(__dirname), + "public", + "usage-examples", + categoryKey, + ); const categoryFiles = getAllFiles(categoryFilePath); // Filter for .txt files - const txtFiles = categoryFiles.filter(file => file.endsWith('.txt')); + const txtFiles = categoryFiles.filter((file) => file.endsWith(".txt")); // Extract the portion before the first '-' if (txtFiles.length > 0) { @@ -140,27 +295,33 @@ function Mappings(jsonData) { const category = jsonData[categoryKey]; category.typedefs.forEach((typedef) => { // Add typedef to typeMappings - const name = typedef.name.split("_") + const name = typedef.name + .split("_") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); - typeMappings[typedef.name] = `[\`${name}\`](/api/${categoryKey.toLowerCase().replace(/_/g, "-").replace(/\s+/g, "-")}/#${name.toLowerCase().replace(/\s+/g, "-")})`; + typeMappings[typedef.name] = + `[\`${name}\`](/api/${categoryKey.toLowerCase().replace(/_/g, "-").replace(/\s+/g, "-")}/#${name.toLowerCase().replace(/\s+/g, "-")})`; }); category.structs.forEach((struct) => { // Add structs to typeMappings - const name = struct.name.split("_") + const name = struct.name + .split("_") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); - typeMappings[struct.name] = `[\`${name}\`](/api/${categoryKey.toLowerCase().replace(/\s+/g, "-").replace(/_/g, "-")}/#${name.toLowerCase().replace(/\s+/g, "-")})`; + typeMappings[struct.name] = + `[\`${name}\`](/api/${categoryKey.toLowerCase().replace(/\s+/g, "-").replace(/_/g, "-")}/#${name.toLowerCase().replace(/\s+/g, "-")})`; }); category.enums.forEach((enumm) => { // Add structs to typeMappings - const name = enumm.name.split("_") + const name = enumm.name + .split("_") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); - typeMappings[enumm.name] = `[\`${name}\`](/api/${categoryKey.toLowerCase().replace(/\s+/g, "-").replace(/_/g, "-")}/#${name.toLowerCase().replace(/\s+/g, "-")})`; + typeMappings[enumm.name] = + `[\`${name}\`](/api/${categoryKey.toLowerCase().replace(/\s+/g, "-").replace(/_/g, "-")}/#${name.toLowerCase().replace(/\s+/g, "-")})`; }); } } @@ -172,14 +333,14 @@ function extractEnumValues(signature, language) { const details = []; let regex; - if (language === 'cpp') { + if (language === "cpp") { regex = /(\w+)\s*=\s*/g; // Handles the cpp pattern which has no dot in the name } else { regex = /(\w+\.\w+)\s*=\s*/g; // Handles the other languages which have a dot in the name } let match; - while (match = regex.exec(signature)) { + while ((match = regex.exec(signature))) { details.push(match[1]); } return details; @@ -192,7 +353,7 @@ function getColorRGBValues(colorName, jsonData) { const simplifiedName = colorName.replace("color_", ""); const colorData = jsonData[simplifiedName]; - let rgbValues = '( 0, 0, 0)'; + let rgbValues = "( 0, 0, 0)"; if (colorData != undefined) { rgbValues = colorData.rgb; } @@ -244,12 +405,14 @@ function getUsageExampleImports(categoryKey, functionKey) { // pascal: false }; let mdxData = ""; - let categoryPath = '/usage-examples/' + categoryKey; - let categoryFilePath = './public/usage-examples/' + categoryKey; + let categoryPath = "/usage-examples/" + categoryKey; + let categoryFilePath = "./public/usage-examples/" + categoryKey; - const functionFiles = getAllFiles(categoryFilePath).filter(file => file.startsWith(functionKey)); + const functionFiles = getAllFiles(categoryFilePath).filter((file) => + file.startsWith(functionKey), + ); if (functionFiles.length > 0) { - const txtFiles = functionFiles.filter(file => file.endsWith('.txt')) + const txtFiles = functionFiles.filter((file) => file.endsWith(".txt")); if (txtFiles.length > 0) { txtFiles.forEach((exampleTxtKey) => { let exampleKey = exampleTxtKey.replaceAll(".txt", ""); @@ -257,18 +420,33 @@ function getUsageExampleImports(categoryKey, functionKey) { let importTitle = exampleKey.replaceAll("-", "_"); languageOrder.forEach((lang) => { - const languageFiles = functionFiles.filter(file => file.endsWith(languageFileExtensions[lang])); - let codeFilePath = categoryPath + "/" + exampleTxtKey.replaceAll(".txt", languageFileExtensions[lang]); + const languageFiles = functionFiles.filter((file) => + file.endsWith(languageFileExtensions[lang]), + ); + let codeFilePath = + categoryPath + + "/" + + exampleTxtKey.replaceAll(".txt", languageFileExtensions[lang]); // import code if available if (languageFiles.length > 0) { languageCodeAvailable[lang] = true; // Check if both top level and oop code has been found for current function - const csharpFiles = functionFiles.filter(file => file.endsWith("-top-level.cs") || file.endsWith("-oop.cs")).filter(file => file.includes(exampleKey)); - const cppFiles = functionFiles.filter(file => file.endsWith("-sk.cpp") || file.endsWith("-beyond.cpp")).filter(file => file.includes(exampleKey)); + const csharpFiles = functionFiles + .filter( + (file) => + file.endsWith("-top-level.cs") || file.endsWith("-oop.cs"), + ) + .filter((file) => file.includes(exampleKey)); + const cppFiles = functionFiles + .filter( + (file) => + file.endsWith("-sk.cpp") || file.endsWith("-beyond.cpp"), + ) + .filter((file) => file.includes(exampleKey)); if (lang == "csharp" && csharpFiles.length > 0) { - csharpFiles.forEach(file => { + csharpFiles.forEach((file) => { if (file.includes(exampleKey)) { if (file.includes("-top-level")) { mdxData += `import ${importTitle}_top_level_${lang} from '${codeFilePath.replaceAll(".cs", "-top-level.cs").replaceAll("/usage", "/public/usage")}?raw';\n`; @@ -280,7 +458,7 @@ function getUsageExampleImports(categoryKey, functionKey) { }); } // Check for cpp files for standard SK and Beyond SK else if (lang == "cpp" && cppFiles.length > 0) { - cppFiles.forEach(file => { + cppFiles.forEach((file) => { if (file.includes(exampleKey)) { if (file.includes("-sk")) { mdxData += `import ${importTitle}_sk_${lang} from '${codeFilePath.replaceAll(".cpp", "-sk.cpp").replaceAll("/usage", "/public/usage")}?raw';\n`; @@ -290,8 +468,7 @@ function getUsageExampleImports(categoryKey, functionKey) { } } }); - } - else { + } else { mdxData += `import ${importTitle}_${lang} from '${codeFilePath.replaceAll("/usage", "/public/usage")}?raw';\n`; } } @@ -307,13 +484,16 @@ function getUsageExampleImports(categoryKey, functionKey) { // Get group name (C++ function name) from unique global name // ------------------------------------------------------------------------------ function getGroupName(jsonData, uniqueName) { - var funcGroupName = "" + var funcGroupName = ""; for (const categoryKey in jsonData) { const category = jsonData[categoryKey]; const categoryFunctions = category.functions; categoryFunctions.forEach((func) => { if (func.unique_global_name == uniqueName) { - funcGroupName = func.name.split("_").map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");; + funcGroupName = func.name + .split("_") + .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) + .join(" "); } }); } @@ -331,32 +511,38 @@ function getUsageExampleContent(jsonData, categoryKey, groupName, functionKey) { // pascal: false }; let mdxData = ""; - let categoryPath = '/usage-examples/' + categoryKey; - let categoryFilePath = './public/usage-examples/' + categoryKey; + let categoryPath = "/usage-examples/" + categoryKey; + let categoryFilePath = "./public/usage-examples/" + categoryKey; let exampleKey = functionKey.replaceAll(".txt", ""); - const functionFiles = getAllFiles(categoryFilePath).filter(file => file.startsWith(exampleKey)); + const functionFiles = getAllFiles(categoryFilePath).filter((file) => + file.startsWith(exampleKey), + ); if (functionFiles.length > 0) { - - const functionExampleFiles = functionFiles.filter(file => file.endsWith(".txt")); + const functionExampleFiles = functionFiles.filter((file) => + file.endsWith(".txt"), + ); functionExampleFiles.forEach((exampleTxtKey) => { - // import code if available if (functionFiles.length > 0) { let importTitle = exampleKey.replaceAll("-", "_"); // Description - let exampleNum = exampleKey.replace(/\D/g, ''); + let exampleNum = exampleKey.replace(/\D/g, ""); mdxData += `**Example ${exampleNum}**: `; - let exampleTxt = fs.readFileSync(categoryFilePath + "/" + exampleTxtKey); + let exampleTxt = fs.readFileSync( + categoryFilePath + "/" + exampleTxtKey, + ); mdxData += exampleTxt.toString(); mdxData += "\n\n"; // Code tabs - mdxData += "\n"; + mdxData += '\n'; languageOrder.forEach((lang) => { - const languageFiles = functionFiles.filter(file => file.startsWith(exampleKey)).filter(file => file.endsWith(languageFileExtensions[lang])); + const languageFiles = functionFiles + .filter((file) => file.startsWith(exampleKey)) + .filter((file) => file.endsWith(languageFileExtensions[lang])); if (languageFiles.length > 0) { languageCodeAvailable[lang] = true; @@ -366,42 +552,55 @@ function getUsageExampleContent(jsonData, categoryKey, groupName, functionKey) { mdxData += ` \n`; // Check if both top level and oop code has been found for current function - const csharpFiles = functionFiles.filter(file => file.endsWith("-top-level.cs") || file.endsWith("-oop.cs")).filter(file => file.includes(exampleKey)); - const cppFiles = functionFiles.filter(file => file.endsWith("-sk.cpp") || file.endsWith("-beyond.cpp")).filter(file => file.includes(exampleKey)); + const csharpFiles = functionFiles + .filter( + (file) => + file.endsWith("-top-level.cs") || file.endsWith("-oop.cs"), + ) + .filter((file) => file.includes(exampleKey)); + const cppFiles = functionFiles + .filter( + (file) => + file.endsWith("-sk.cpp") || file.endsWith("-beyond.cpp"), + ) + .filter((file) => file.includes(exampleKey)); functionTag = exampleKey.split("-")[0]; if (lang == "cpp") { functionTag = groupName; } if (lang == "csharp") { - functionTag = groupName.split("_") + functionTag = groupName + .split("_") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(""); } if (lang == "csharp" && csharpFiles.length > 0) { - mdxData += "\n \n"; + mdxData += '\n \n'; // use reverse order to make Top level first - csharpFiles.slice().reverse().forEach(file => { - if (file.includes(exampleKey)) { - if (file.includes("-top-level")) { - mdxData += ` \n`; - mdxData += ` \n`; - mdxData += " \n"; + csharpFiles + .slice() + .reverse() + .forEach((file) => { + if (file.includes(exampleKey)) { + if (file.includes("-top-level")) { + mdxData += ` \n`; + mdxData += ` \n`; + mdxData += " \n"; + } + if (file.includes("-oop")) { + mdxData += ` \n`; + mdxData += ` \n`; + mdxData += " \n"; + } } - if (file.includes("-oop")) { - mdxData += ` \n`; - mdxData += ` \n`; - mdxData += " \n"; - } - } - }); + }); mdxData += " \n\n"; mdxData += " \n"; } // Check for cpp files and generate nested tabs else if (lang == "cpp" && cppFiles.length > 0) { mdxData += " \n"; - } - else { + } else { mdxData += ` \n`; mdxData += " \n"; } @@ -416,31 +615,39 @@ function getUsageExampleContent(jsonData, categoryKey, groupName, functionKey) { let outputFilePath = categoryPath + "/" + exampleTxtKey; - - const imageFiles = functionFiles.filter(file => file.endsWith(exampleKey + '.png')); + const imageFiles = functionFiles.filter((file) => + file.endsWith(exampleKey + ".png"), + ); // Check for .png files if (imageFiles.length > 0) { outputFilePath = outputFilePath.replaceAll(".txt", ".png"); - mdxData += `![${exampleKey} example](${outputFilePath})\n` - } - else { - const gifFiles = functionFiles.filter(file => file.endsWith('.gif')).filter(file => file.startsWith(exampleKey)); + mdxData += `![${exampleKey} example](${outputFilePath})\n`; + } else { + const gifFiles = functionFiles + .filter((file) => file.endsWith(".gif")) + .filter((file) => file.startsWith(exampleKey)); // Check for .gif files if (gifFiles.length > 0) { outputFilePath = outputFilePath.replaceAll(".txt", ".gif"); - mdxData += `![${exampleKey} example](${outputFilePath})\n` - } - else { - const webmFiles = functionFiles.filter(file => file.endsWith('.webm')); + mdxData += `![${exampleKey} example](${outputFilePath})\n`; + } else { + const webmFiles = functionFiles.filter((file) => + file.endsWith(".webm"), + ); // Check for .webm files if (webmFiles.length > 0) { outputFilePath = outputFilePath.replaceAll(".txt", ".webm"); - mdxData += `\n` - } - else { - console.log(kleur.red("\nError: No image, gif or webm (audio) files found for " + exampleKey + " usage example")); + mdxData += `\n`; + } else { + console.log( + kleur.red( + "\nError: No image, gif or webm (audio) files found for " + + exampleKey + + " usage example", + ), + ); } } } @@ -454,12 +661,12 @@ function getUsageExampleContent(jsonData, categoryKey, groupName, functionKey) { // ------------------------------------------------------------------------------ function cleanDirectory(directory, exclusions) { const files = fs.readdirSync(directory, { withFileTypes: true }); - files.forEach(file => { + files.forEach((file) => { const fullPath = path.join(directory, file.name); if (file.isDirectory()) { - cleanDirectory(fullPath, exclusions); // Recursively clean directories + cleanDirectory(fullPath, exclusions); // Recursively clean directories } else if (!exclusions.includes(file.name)) { - fs.unlinkSync(fullPath); // Delete file if not in exclusions + fs.unlinkSync(fullPath); // Delete file if not in exclusions console.log(kleur.red(` Deleted: `) + kleur.dim(`${fullPath}`)); } }); @@ -469,11 +676,19 @@ function cleanDirectory(directory, exclusions) { // ========================= START of main script =============================== // ============================================================================== -console.log(kleur.cyan('------------------------------------------------------------------------------')); -console.log(kleur.magenta('API Documentation mdx pages Generation:')); -console.log(kleur.cyan('------------------------------------------------------------------------------\n')); - -console.log('Cleaning up directory for API Documentation pages...'); +console.log( + kleur.cyan( + "------------------------------------------------------------------------------", + ), +); +console.log(kleur.magenta("API Documentation mdx pages Generation:")); +console.log( + kleur.cyan( + "------------------------------------------------------------------------------\n", + ), +); + +console.log("Cleaning up directory for API Documentation pages..."); cleanDirectory(directoryToClean, filesToKeep); let mdxContent = ""; @@ -495,7 +710,8 @@ for (const categoryKey in jsonData) { let input = categoryKey.replace(/_/g, "-"); const categoryFunctions = category.functions; let mdxContent = ""; - name = input.split("-") + name = input + .split("-") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); //name of the category if (name == "Generative Ai") { @@ -505,20 +721,22 @@ for (const categoryKey in jsonData) { mdxContent += "---\n"; mdxContent += `title: ${name}\n`; - if (category.brief != "") { mdxContent += `description: ${category.brief.replace(/\n/g, '')}\n`; } - else { mdxContent += `description: Some description....\n`; } + if (category.brief != "") { + mdxContent += `description: ${category.brief.replace(/\n/g, "")}\n`; + } else { + mdxContent += `description: Some description....\n`; + } mdxContent += "---\n\n"; if (category.brief != "") { if (categoryFunctions.description != null) { mdxContent += `:::tip[${category.brief}]\n`; - mdxContent += `${category.description}\n` - mdxContent += `:::\n` - } - else { + mdxContent += `${category.description}\n`; + mdxContent += `:::\n`; + } else { mdxContent += `:::tip[${name}]\n`; - mdxContent += `${category.brief}\n` - mdxContent += `:::\n` + mdxContent += `${category.brief}\n`; + mdxContent += `:::\n`; } } mdxContent += `\nimport { Code, Tabs, TabItem, LinkCard, CardGrid, LinkButton } from "@astrojs/starlight/components";\nimport Accordion from '../../../components/Accordion.astro'\n`; @@ -543,31 +761,31 @@ for (const categoryKey in jsonData) { functionGroups[functionName].push(func); }); - for (const functionName in functionGroups) { const overloads = functionGroups[functionName]; const isOverloaded = overloads.length > 1; const hasExampleInGroup = functionGroups[functionName].some((func) => usageExamples.some((example) => - example.startsWith(func.unique_global_name + "-1-example.txt") - ) + example.startsWith(func.unique_global_name + "-1-example.txt"), + ), ); - const hasExampleReferenceInGroup = functionGroups[functionName].some((func) => - examplesCategories.some((category) => - category.some((example) => - example.functions.includes(func.unique_global_name) - ) - ) + const hasExampleReferenceInGroup = functionGroups[functionName].some( + (func) => + examplesCategories.some((category) => + category.some((example) => + example.functions.includes(func.unique_global_name), + ), + ), ); const hasGuideInGroup = functionGroups[functionName].some((func) => guidesCategories.some((category) => category.some((guide) => - guide.functions.includes(func.unique_global_name) - ) - ) + guide.functions.includes(func.unique_global_name), + ), + ), ); // Create a section for overloaded functions @@ -576,16 +794,22 @@ for (const categoryKey in jsonData) { .split("_") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); - const formattedLink = formattedFunctionName.toLowerCase().replace(/\s+/g, "-"); + const formattedLink = formattedFunctionName + .toLowerCase() + .replace(/\s+/g, "-"); // Put {} symbol at the end of header if function has a usage example - const hasSymbol = (hasExampleInGroup || hasGuideInGroup || hasExampleReferenceInGroup) ? `  {</>}` : ""; + const hasSymbol = + hasExampleInGroup || hasGuideInGroup || hasExampleReferenceInGroup + ? `  {</>}` + : ""; const formattedGroupLink = `${formattedLink}-functions`; mdxContent += `\n### [${formattedFunctionName}](#${formattedGroupLink})${hasSymbol} \\{#${formattedGroupLink}\\}\n\n`; mdxContent += ":::note\n\n"; - mdxContent += "This function is overloaded. The following versions exist:\n\n"; + mdxContent += + "This function is overloaded. The following versions exist:\n\n"; overloads.forEach((func, index) => { mdxContent += `- [**${formattedFunctionName}** (`; @@ -604,17 +828,29 @@ for (const categoryKey in jsonData) { mdxContent += `${paramName}: ${paramType}`; if (paramNumber < paramCount) { - mdxContent += ", " + mdxContent += ", "; } paramNumber++; } - const formattedUniqueLink = func.unique_global_name.toLowerCase().replace(/_/g, "-"); + const formattedUniqueLink = func.unique_global_name + .toLowerCase() + .replace(/_/g, "-"); mdxContent += `)](/api/${input}/#${formattedUniqueLink})`; // Put bolded {} symbol at the end of heading link if function has a usage example - const hasExample = usageExamples.some(example => example.startsWith(func.unique_global_name + "-1-example.txt")); - const hasGuide = guidesCategories.some((category) => category.some((guide) => guide.functions.includes(func.unique_global_name))); - const hasExampleReference = examplesCategories.some((category) => category.some((example) => example.functions.includes(func.unique_global_name))); + const hasExample = usageExamples.some((example) => + example.startsWith(func.unique_global_name + "-1-example.txt"), + ); + const hasGuide = guidesCategories.some((category) => + category.some((guide) => + guide.functions.includes(func.unique_global_name), + ), + ); + const hasExampleReference = examplesCategories.some((category) => + category.some((example) => + example.functions.includes(func.unique_global_name), + ), + ); if (hasExample || hasGuide || hasExampleReference) { mdxContent += "  {</>}"; @@ -628,7 +864,8 @@ for (const categoryKey in jsonData) { overloads.forEach((func, index) => { // Format the header based on whether it's overloaded or not - let functionName2 = functionName.split("_") + let functionName2 = functionName + .split("_") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); const formattedName3 = func.name @@ -637,11 +874,26 @@ for (const categoryKey in jsonData) { .join(" "); const formattedLink = formattedName3.toLowerCase().replace(/\s+/g, "-"); - const formattedUniqueLink = func.unique_global_name.toLowerCase().replace(/_/g, "-"); - const hasExample = usageExamples.some(example => example.startsWith(func.unique_global_name + "-1-example.txt")); - const hasGuide = guidesCategories.some((category) => category.some((guide) => guide.functions.includes(func.unique_global_name))); - const hasExampleReference = examplesCategories.some((category) => category.some((example) => example.functions.includes(func.unique_global_name))); - const hasSymbol = (hasExample || hasGuide || hasExampleReference) ? `  {</>}` : ""; + const formattedUniqueLink = func.unique_global_name + .toLowerCase() + .replace(/_/g, "-"); + const hasExample = usageExamples.some((example) => + example.startsWith(func.unique_global_name + "-1-example.txt"), + ); + const hasGuide = guidesCategories.some((category) => + category.some((guide) => + guide.functions.includes(func.unique_global_name), + ), + ); + const hasExampleReference = examplesCategories.some((category) => + category.some((example) => + example.functions.includes(func.unique_global_name), + ), + ); + const hasSymbol = + hasExample || hasGuide || hasExampleReference + ? `  {</>}` + : ""; // Put {} symbol at the end of headers of overloaded functions with usage example or else just keep empty const formattedName = isOverloaded ? `\n#### [${functionName2}](#${formattedUniqueLink})${hasSymbol} \\{#${formattedUniqueLink}\\}` @@ -653,18 +905,20 @@ for (const categoryKey in jsonData) { const typeMapping = typeMappings[typeName]; description = description.replace( new RegExp(`\`\\b${typeName}\\b\``, "g"), - typeMapping + typeMapping, ); } // Color boxes next to heading - if (functionName.startsWith("color_") && sk_colors.includes(functionName.replace("color_", ""))) { - mdxContent += `\n#### ${functionName2}\n` // Added to fix links validator issue + if ( + functionName.startsWith("color_") && + sk_colors.includes(functionName.replace("color_", "")) + ) { + mdxContent += `\n#### ${functionName2}\n`; // Added to fix links validator issue mdxContent += `${formattedName}`; const rgbValues = getColorRGBValues(functionName, jsonColors); - mdxContent += `
` - } - else { + mdxContent += `
`; + } else { mdxContent += `${formattedName}`; } @@ -676,8 +930,11 @@ for (const categoryKey in jsonData) { .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); const formattedLink = normalName.toLowerCase().replace(/\s+/g, "-"); - const link = `[\`${normalName}\`](/api/${input}/#${formattedLink})` - description = description.replace(new RegExp(`\`\\b${names}\\b\``, "g"), link); + const link = `[\`${normalName}\`](/api/${input}/#${formattedLink})`; + description = description.replace( + new RegExp(`\`\\b${names}\\b\``, "g"), + link, + ); description = description.replaceAll("\n", " "); } mdxContent += description ? `${description}\n\n` : ""; @@ -694,7 +951,7 @@ for (const categoryKey in jsonData) { for (const paramName in func.parameters) { const param = func.parameters[paramName]; let paramType = typeMappings[param.type] || param.type; - if (paramType == 'unsigned int') { + if (paramType == "unsigned int") { paramType = "`Unsigned Integer`"; } let description2 = param.description || ""; @@ -703,7 +960,7 @@ for (const categoryKey in jsonData) { description2 = description2.replace( new RegExp(`\`\\b${typeName}\\b\``, "g"), - typeMapping + typeMapping, ); } @@ -713,8 +970,11 @@ for (const categoryKey in jsonData) { .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); const formattedLink = normalName.toLowerCase().replace(/\s+/g, "-"); - const link = `[\`${normalName}\`](/api/${input}/#${formattedLink})` - description2 = description2.replace(new RegExp(`\`\\b${names}\\b\``, "g"), link); + const link = `[\`${normalName}\`](/api/${input}/#${formattedLink})`; + description2 = description2.replace( + new RegExp(`\`\\b${names}\\b\``, "g"), + link, + ); description2 = description2.replaceAll("\n", " "); } @@ -724,11 +984,11 @@ for (const categoryKey in jsonData) { mdxContent += "\n"; mdxContent += `\n\n`; } - if (func.return.type == 'unsigned int') { + if (func.return.type == "unsigned int") { mdxContent += "**Return Type:** Unsigned Integer\n\n"; - } - else if (func.return.type != 'void') { - mdxContent += "**Return Type:** " + typeMappings[func.return.type] + "\n\n"; + } else if (func.return.type != "void") { + mdxContent += + "**Return Type:** " + typeMappings[func.return.type] + "\n\n"; mdxContent += "*Returns:* "; let returnDescription = func.return.description || ""; @@ -737,7 +997,7 @@ for (const categoryKey in jsonData) { returnDescription = returnDescription.replace( new RegExp(`\`\\b${typeName}\\b\``, "g"), - typeMapping + typeMapping, ); } @@ -745,21 +1005,24 @@ for (const categoryKey in jsonData) { } mdxContent += "**Signatures:**\n\n"; - mdxContent += "\n"; + mdxContent += '\n'; // Reorder Code tabs languageOrder.forEach((lang) => { - if (func.signatures[lang].length > 0 && func.signatures[lang] != undefined) { + if ( + func.signatures[lang].length > 0 && + func.signatures[lang] != undefined + ) { try { - - const code = (Array.isArray(func.signatures[lang])) ? func.signatures[lang].join("\n") : func.signatures[lang]; + const code = Array.isArray(func.signatures[lang]) + ? func.signatures[lang].join("\n") + : func.signatures[lang]; const languageLabel = languageLabelMappings[lang] || lang; mdxContent += ` \n`; - mdxContent += - "\n```" + lang + "\n" + code + '\n```\n\n'; + mdxContent += "\n```" + lang + "\n" + code + "\n```\n\n"; mdxContent += " \n"; } catch (e) { - console.log(e + " " + lang + " " + func.name) + console.log(e + " " + lang + " " + func.name); } } }); @@ -774,12 +1037,12 @@ for (const categoryKey in jsonData) { if (func.unique_global_name == used) { allGuides.push({ name: guide.name, - url: guide.url + url: guide.url, }); } - }) - }) - }) + }); + }); + }); var limit = 0; let allExamples = []; @@ -790,60 +1053,65 @@ for (const categoryKey in jsonData) { allExamples.push({ name: example.funcKey, title: example.title, - url: example.url - }) - limit++ + url: example.url, + }); + limit++; } - }) - }) - }) - - if ((allGuides.length > 0) || (allExamples.length > 0)) { + }); + }); + }); + if (allGuides.length > 0 || allExamples.length > 0) { if (!usageHeading) { mdxContent += "**Usage:  {</>}**\n\n"; usageHeading = true; } - mdxContent += `\n\n` + mdxContent += `\n\n`; if (allGuides.length > 0) { - mdxContent += `**Tutorials and Guides**:\n\n` + mdxContent += `**Tutorials and Guides**:\n\n`; allGuides.forEach((guide) => { - mdxContent += `- [${guide.name}](${guide.url})\n` - }) - if (allExamples.length > 0) - mdxContent += "\n" + mdxContent += `- [${guide.name}](${guide.url})\n`; + }); + if (allExamples.length > 0) mdxContent += "\n"; } if (allExamples.length > 0) { - mdxContent += `**API Documentation Code Examples**:\n\n` + mdxContent += `**API Documentation Code Examples**:\n\n`; allExamples.forEach((example) => { const exampleName = getGroupName(jsonData, example.name); - mdxContent += `- [${exampleName}](${example.url}): ${example.title}\n` - }) + mdxContent += `- [${exampleName}](${example.url}): ${example.title}\n`; + }); } - mdxContent += `\n` + mdxContent += `\n`; - mdxContent += `\n\n` + mdxContent += `\n\n`; } let linked = false; usageExamples.forEach((example) => { - if (func.unique_global_name == example.split('-')[0]) { + if (func.unique_global_name == example.split("-")[0]) { if (!usageHeading) { mdxContent += "**Usage:  {</>}**\n\n"; usageHeading = true; } - mdxContent += getUsageExampleImports(categoryKey, example.replace(".txt", "")); + mdxContent += getUsageExampleImports( + categoryKey, + example.replace(".txt", ""), + ); if (!linked) { // Import code files mdxContent += `\n\n`; linked = true; } - mdxContent += getUsageExampleContent(jsonData, categoryKey, func.name, example); + mdxContent += getUsageExampleContent( + jsonData, + categoryKey, + func.name, + example, + ); mdxContent += `\n`; - } }); if (linked) { @@ -852,7 +1120,6 @@ for (const categoryKey in jsonData) { } mdxContent += "---\n"; // Add --- after each function ends - }); } let allTypes = []; @@ -882,7 +1149,10 @@ for (const categoryKey in jsonData) { let description = type.description || ""; for (const typeName in typeMappings) { const typeMapping = typeMappings[typeName]; - description = description.replace(new RegExp(`\`\\b${typeName}\\b\``, "g"), typeMapping); + description = description.replace( + new RegExp(`\`\\b${typeName}\\b\``, "g"), + typeMapping, + ); } for (const names of functionNames) { @@ -891,9 +1161,12 @@ for (const categoryKey in jsonData) { .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); const formattedLink = normalName.toLowerCase().replace(/\s+/g, "-"); - const link = `[\`${normalName}\`](/api/${input}/#${formattedLink})` + const link = `[\`${normalName}\`](/api/${input}/#${formattedLink})`; - description = description.replace(new RegExp(`\`\\b${names}\\b\``, "g"), link); + description = description.replace( + new RegExp(`\`\\b${names}\\b\``, "g"), + link, + ); } // If it's a struct, add a table for its fields @@ -912,7 +1185,7 @@ for (const categoryKey in jsonData) { const typeMapping = typeMappings[typeName]; fieldDescription = fieldDescription.replace( new RegExp(`\`\\b${typeName}\\b\``, "g"), - typeMapping + typeMapping, ); } for (const names of functionNames) { @@ -920,12 +1193,17 @@ for (const categoryKey in jsonData) { .split("_") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); - const formattedLink = normalName.toLowerCase().replace(/\s+/g, "-"); - const link = `[\`${normalName}\`](/api/${input}/#${formattedLink})` - description = description.replace(new RegExp(`\`\\b${names}\\b\``, "g"), link); + const formattedLink = normalName + .toLowerCase() + .replace(/\s+/g, "-"); + const link = `[\`${normalName}\`](/api/${input}/#${formattedLink})`; + description = description.replace( + new RegExp(`\`\\b${names}\\b\``, "g"), + link, + ); } - mdxContent += `| ${fieldName} | ${fieldType} | ${fieldDescription.replace(/\n/g, '')} |\n`; + mdxContent += `| ${fieldName} | ${fieldType} | ${fieldDescription.replace(/\n/g, "")} |\n`; } mdxContent += "\n"; @@ -933,7 +1211,10 @@ for (const categoryKey in jsonData) { for (const typeName in typeMappings) { const typeMapping = typeMappings[typeName]; - description = description.replace(new RegExp(`\`\\b${typeName}\\b\``, "g"), typeMapping); + description = description.replace( + new RegExp(`\`\\b${typeName}\\b\``, "g"), + typeMapping, + ); } for (const names of functionNames) { const normalName = names @@ -941,29 +1222,35 @@ for (const categoryKey in jsonData) { .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); const formattedLink = normalName.toLowerCase().replace(/\s+/g, "-"); - const link = `[\`${normalName}\`](/api/${input}/#${formattedLink})` - description = description.replace(new RegExp(`\`\\b${names}\\b\``, "g"), link); + const link = `[\`${normalName}\`](/api/${input}/#${formattedLink})`; + description = description.replace( + new RegExp(`\`\\b${names}\\b\``, "g"), + link, + ); } description = description.replaceAll("\n\n\n", "\n\n"); mdxContent += `${description}\n\n`; // If it's an enum, add a table for its constants if (type.constants) { - mdxContent += "\n"; + mdxContent += '\n'; // Build constantsData from type.constants so that they remain the same in all tabs const constantsData = {}; Object.keys(type.constants).forEach((constantName) => { const constant = type.constants[constantName]; constantsData[constantName] = { - description: constant.description.replace(/\n/g, '') || "No description" // If description is undefined, display "No description" + description: + constant.description.replace(/\n/g, "") || "No description", // If description is undefined, display "No description" }; }); // Iterate over each language - languageOrder.forEach(lang => { + languageOrder.forEach((lang) => { if (type.signatures[lang]) { - const signature = Array.isArray(type.signatures[lang]) ? type.signatures[lang].join("\n") : type.signatures[lang]; + const signature = Array.isArray(type.signatures[lang]) + ? type.signatures[lang].join("\n") + : type.signatures[lang]; const enumValues = extractEnumValues(signature, lang); // Build the mapping so that each constant has its own name, but the description remains the same @@ -996,14 +1283,15 @@ for (const categoryKey in jsonData) { }); } - // Replace spaces with underscores in the name - const formattedName = name.replace(/\s+/g, '-'); + const formattedName = name.replace(/\s+/g, "-"); // Write the MDX file try { fs.writeFileSync(`./src/content/docs/api/${formattedName}.mdx`, mdxContent); - console.log(kleur.yellow(' Generated: ') + kleur.green(`${formattedName}.mdx`)); + console.log( + kleur.yellow(" Generated: ") + kleur.green(`${formattedName}.mdx`), + ); } catch (err) { success = false; console.log(kleur.red(`Error writing ${input} MDX file: ${err.message}`)); @@ -1012,5 +1300,7 @@ for (const categoryKey in jsonData) { } // Check if all MDX files generated successfully if (success) { - console.log(kleur.green("\nAll API Documentation MDX files generated successfully.\n")); + console.log( + kleur.green("\nAll API Documentation MDX files generated successfully.\n"), + ); } diff --git a/scripts/json-files-script.cjs b/scripts/json-files-script.cjs index 8523e17f7..7abd5f775 100644 --- a/scripts/json-files-script.cjs +++ b/scripts/json-files-script.cjs @@ -7,129 +7,170 @@ // Imports // ------------------------------------------------------------------------------ const kleur = require("kleur"); // Terminal highlighting -const fs = require('fs'); // Interact with the file system -const path = require('path'); // Handle and transform file paths +const fs = require("fs"); // Interact with the file system +const path = require("path"); // Handle and transform file paths // ------------------------------------------------------------------------------ // Paths constants // ------------------------------------------------------------------------------ -const guidesDir = './src/content/docs/guides'; // Path to base directory containing the "Guides" groups -const beyondDir = './src/content/docs/guides/beyond-splashkit'; // Path to base directory containing the "Beyond SplashKit" groups +const guidesDir = "./src/content/docs/guides"; // Path to base directory containing the "Guides" groups +const beyondDir = "./src/content/docs/guides/beyond-splashkit"; // Path to base directory containing the "Beyond SplashKit" groups -const guidesGrouptsOutputJson = './scripts/json-files/guides-groups.json'; // Path where the "Guides" groups output JSON files will be saved -const beyondSkGroupsOutputJson = './scripts/json-files/beyond-splashkit-groups.json'; // Path where the "Beyond SplashKit" groups output JSON files will be saved - -const guidesJsonDir = './scripts/json-files/guides'; // Path where the "Guides" groups output JSON files will be saved -const guidesFunctionsJson = './scripts/json-files/guides.json'; // Path where the "Guides" functions output JSON files will be saved +const guidesGrouptsOutputJson = "./scripts/json-files/guides-groups.json"; // Path where the "Guides" groups output JSON files will be saved +const beyondSkGroupsOutputJson = + "./scripts/json-files/beyond-splashkit-groups.json"; // Path where the "Beyond SplashKit" groups output JSON files will be saved +const guidesJsonDir = "./scripts/json-files/guides"; // Path where the "Guides" groups output JSON files will be saved +const guidesFunctionsJson = "./scripts/json-files/guides.json"; // Path where the "Guides" functions output JSON files will be saved // ------------------------------------------------------------------------------ -// Read the contents of the guides directory +// Read the contents of the guides directory // ------------------------------------------------------------------------------ function getDirNames(directory) { - return fs.readdirSync(directory, { withFileTypes: true }) - // Filter out only the directories from the list of files and directories - .filter(dirent => dirent.isDirectory()) - // Map the directory names to lowercase to standardise them - .map(dirent => dirent.name); + return ( + fs + .readdirSync(directory, { withFileTypes: true }) + // Filter out only the directories from the list of files and directories + .filter((dirent) => dirent.isDirectory()) + // Map the directory names to lowercase to standardise them + .map((dirent) => dirent.name) + ); } // ------------------------------------------------------------------------------ // Generate json files with list of names of folders (used for the index pages) // ------------------------------------------------------------------------------ -function generateIndexPageCategories(folderGroupName, srcDirectory, outputDirectory) { - try { - const folderNames = getDirNames(srcDirectory); - fs.writeFileSync(outputDirectory, JSON.stringify(folderNames, null, 2)); // Write the list of group names to the output JSON file - console.log(kleur.yellow(`${folderGroupName}: `) + kleur.green("Available index page category names have been written to " + outputDirectory)); // Log a message to the console indicating that the JSON file has been created - } catch (err) { - console.log(kleur.red(`Error writing output files for ${folderGroupName}: `, err)); - } +function generateIndexPageCategories( + folderGroupName, + srcDirectory, + outputDirectory, +) { + try { + const folderNames = getDirNames(srcDirectory); + fs.writeFileSync(outputDirectory, JSON.stringify(folderNames, null, 2)); // Write the list of group names to the output JSON file + console.log( + kleur.yellow(`${folderGroupName}: `) + + kleur.green( + "Available index page category names have been written to " + + outputDirectory, + ), + ); // Log a message to the console indicating that the JSON file has been created + } catch (err) { + console.log( + kleur.red(`Error writing output files for ${folderGroupName}: `, err), + ); + } } // ------------------------------------------------------------------------------ // Read the json files in the "scripts/json-files/guides/*" directories // ------------------------------------------------------------------------------ function getAvailableGuidesFunctionUsage(dir) { - const result = {}; - - const folders = fs.readdirSync(dir); - folders.forEach(folder => { - const folderPath = path.join(dir, folder); - - var jsonFiles; - try { - const stats = fs.statSync(folderPath); - // Checking if the path is a directory - if (stats.isDirectory()) { - const files = fs.readdirSync(folderPath); - // Filtering for JSON files - jsonFiles = files.filter(file => path.extname(file).toLowerCase() === '.json'); - - if (jsonFiles.length > 0) { - const fileName = `${folder.toLowerCase()}.json`; - try { - const jsonFile = fs.readFileSync(`${folderPath}/${fileName}`); - const jsonData = JSON.parse(jsonFile); - - if (!result[folder.toLowerCase()]) { - result[folder.toLowerCase()] = []; - } - - result[folder.toLowerCase()].push(...jsonData.guides); - - } catch (error) { - console.error(`Error parsing JSON in file: ${jsonFiles}`); - console.error(error.message); - } - } - } else { - if (folder != "README.md") - console.log(`${folder} is not a diectory`); + const result = {}; + + const folders = fs.readdirSync(dir); + folders.forEach((folder) => { + const folderPath = path.join(dir, folder); + + var jsonFiles; + try { + const stats = fs.statSync(folderPath); + // Checking if the path is a directory + if (stats.isDirectory()) { + const files = fs.readdirSync(folderPath); + // Filtering for JSON files + jsonFiles = files.filter( + (file) => path.extname(file).toLowerCase() === ".json", + ); + + if (jsonFiles.length > 0) { + const fileName = `${folder.toLowerCase()}.json`; + try { + const jsonFile = fs.readFileSync(`${folderPath}/${fileName}`); + const jsonData = JSON.parse(jsonFile); + + if (!result[folder.toLowerCase()]) { + result[folder.toLowerCase()] = []; } - } catch (err) { - console.log(`Error loading JSON in folder: ${folder}`); + + result[folder.toLowerCase()].push(...jsonData.guides); + } catch (error) { + console.error(`Error parsing JSON in file: ${jsonFiles}`); + console.error(error.message); + } } - }) - return result; + } else { + if (folder != "README.md") console.log(`${folder} is not a diectory`); + } + } catch (err) { + console.log(`Error loading JSON in folder: ${folder}`); + } + }); + return result; } // ------------------------------------------------------------------------------ // Generate json files with list of names of folders (used for the index pages) // ------------------------------------------------------------------------------ -function generateAvailableFunctionsInGuides(folderGroupName, srcDirectory, outputDirectory) { - try { - const guidesContent = getAvailableGuidesFunctionUsage(srcDirectory); +function generateAvailableFunctionsInGuides( + folderGroupName, + srcDirectory, + outputDirectory, +) { + try { + const guidesContent = getAvailableGuidesFunctionUsage(srcDirectory); - try { - fs.writeFileSync(outputDirectory, JSON.stringify(guidesContent, null, 4)); - console.log(kleur.yellow(`${folderGroupName}: `) + kleur.green(`Available functions written to ${outputDirectory}.\n`)); - } catch (err) { - console.log(kleur.red('Error writing output files: ', err)); - } - } catch (error) { - console.log(kleur.red('Error processing guides files: ', error)); + try { + fs.writeFileSync(outputDirectory, JSON.stringify(guidesContent, null, 4)); + console.log( + kleur.yellow(`${folderGroupName}: `) + + kleur.green(`Available functions written to ${outputDirectory}.\n`), + ); + } catch (err) { + console.log(kleur.red("Error writing output files: ", err)); } + } catch (error) { + console.log(kleur.red("Error processing guides files: ", error)); + } } // ============================================================================== // ========================= START of main script =============================== // ============================================================================== -console.log(kleur.cyan('------------------------------------------------------------------------------')); -console.log(kleur.magenta('JSON file Generation:')); -console.log(kleur.cyan('------------------------------------------------------------------------------\n')); +console.log( + kleur.cyan( + "------------------------------------------------------------------------------", + ), +); +console.log(kleur.magenta("JSON file Generation:")); +console.log( + kleur.cyan( + "------------------------------------------------------------------------------\n", + ), +); // ------------------------------------------------------------------------------ // Generate Index Page Categories console.log("Generating json files for index page categories..."); -generateIndexPageCategories(" Guides Groups", guidesDir, guidesGrouptsOutputJson); // For "Guides" -generateIndexPageCategories(" Beyond SplashKit Groups", beyondDir, beyondSkGroupsOutputJson); // For "Beyond SplashKit" - +generateIndexPageCategories( + " Guides Groups", + guidesDir, + guidesGrouptsOutputJson, +); // For "Guides" +generateIndexPageCategories( + " Beyond SplashKit Groups", + beyondDir, + beyondSkGroupsOutputJson, +); // For "Beyond SplashKit" // ------------------------------------------------------------------------------ // Generate Available Guides Functions console.log("\nGenerating json file for available functions used in guides..."); -generateAvailableFunctionsInGuides(" Guides Functions", guidesJsonDir, guidesFunctionsJson); +generateAvailableFunctionsInGuides( + " Guides Functions", + guidesJsonDir, + guidesFunctionsJson, +); -console.log(kleur.green("All JSON files generated successfully.\n")); \ No newline at end of file +console.log(kleur.green("All JSON files generated successfully.\n")); diff --git a/scripts/json-files/api.json b/scripts/json-files/api.json index c0ac71b90..1580ff4f8 100644 --- a/scripts/json-files/api.json +++ b/scripts/json-files/api.json @@ -28,9 +28,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43,12 +41,8 @@ "static": "animation" }, "signatures": { - "python": [ - "def animation_count(script):" - ], - "cpp": [ - "int animation_count(animation_script script)" - ], + "python": ["def animation_count(script):"], + "cpp": ["int animation_count(animation_script script)"], "csharp": [ "public int AnimationScript.AnimationCount { get }", "public static int SplashKit.AnimationCount(AnimationScript script);" @@ -83,9 +77,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98,19 +90,13 @@ "static": "animation" }, "signatures": { - "python": [ - "def animation_current_cell(anim):" - ], - "cpp": [ - "int animation_current_cell(animation anim)" - ], + "python": ["def animation_current_cell(anim):"], + "cpp": ["int animation_current_cell(animation anim)"], "csharp": [ "public int Animation.CurrentCell { get }", "public static int SplashKit.AnimationCurrentCell(Animation anim);" ], - "pascal": [ - "function AnimationCurrentCell(anim: Animation): Integer" - ] + "pascal": ["function AnimationCurrentCell(anim: Animation): Integer"] } }, { @@ -138,9 +124,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -153,12 +137,8 @@ "self": "anim" }, "signatures": { - "python": [ - "def animation_current_vector(anim):" - ], - "cpp": [ - "vector_2d animation_current_vector(animation anim)" - ], + "python": ["def animation_current_vector(anim):"], + "cpp": ["vector_2d animation_current_vector(animation anim)"], "csharp": [ "public Vector2D Animation.CurrentVector { get }", "public static Vector2D SplashKit.AnimationCurrentVector(Animation anim);" @@ -193,9 +173,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -208,19 +186,13 @@ "self": "anim" }, "signatures": { - "python": [ - "def animation_ended(anim):" - ], - "cpp": [ - "bool animation_ended(animation anim)" - ], + "python": ["def animation_ended(anim):"], + "cpp": ["bool animation_ended(animation anim)"], "csharp": [ "public bool Animation.Ended { get }", "public static bool SplashKit.AnimationEnded(Animation anim);" ], - "pascal": [ - "function AnimationEnded(anim: Animation): Boolean" - ] + "pascal": ["function AnimationEnded(anim: Animation): Boolean"] } }, { @@ -248,9 +220,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -263,19 +233,13 @@ "self": "anim" }, "signatures": { - "python": [ - "def animation_entered_frame(anim):" - ], - "cpp": [ - "bool animation_entered_frame(animation anim)" - ], + "python": ["def animation_entered_frame(anim):"], + "cpp": ["bool animation_entered_frame(animation anim)"], "csharp": [ "public bool Animation.EnteredFrame { get }", "public static bool SplashKit.AnimationEnteredFrame(Animation anim);" ], - "pascal": [ - "function AnimationEnteredFrame(anim: Animation): Boolean" - ] + "pascal": ["function AnimationEnteredFrame(anim: Animation): Boolean"] } }, { @@ -303,9 +267,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -318,19 +280,13 @@ "self": "anim" }, "signatures": { - "python": [ - "def animation_frame_time(anim):" - ], - "cpp": [ - "float animation_frame_time(animation anim)" - ], + "python": ["def animation_frame_time(anim):"], + "cpp": ["float animation_frame_time(animation anim)"], "csharp": [ "public float Animation.FrameTime { get }", "public static float SplashKit.AnimationFrameTime(Animation anim);" ], - "pascal": [ - "function AnimationFrameTime(anim: Animation): Single" - ] + "pascal": ["function AnimationFrameTime(anim: Animation): Single"] } }, { @@ -358,9 +314,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -371,9 +325,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -386,9 +338,7 @@ "static": "animation" }, "signatures": { - "python": [ - "def animation_index(script, name):" - ], + "python": ["def animation_index(script, name):"], "cpp": [ "int animation_index(animation_script script, const string &name)" ], @@ -426,9 +376,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -441,19 +389,13 @@ "static": "animation" }, "signatures": { - "python": [ - "def animation_name(temp):" - ], - "cpp": [ - "string animation_name(animation temp)" - ], + "python": ["def animation_name(temp):"], + "cpp": ["string animation_name(animation temp)"], "csharp": [ "public string Animation.Name { get }", "public static string SplashKit.AnimationName(Animation temp);" ], - "pascal": [ - "function AnimationName(temp: Animation): String" - ] + "pascal": ["function AnimationName(temp: Animation): String"] } }, { @@ -481,9 +423,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -496,12 +436,8 @@ "static": "animation" }, "signatures": { - "python": [ - "def animation_script_name(script):" - ], - "cpp": [ - "string animation_script_name(animation_script script)" - ], + "python": ["def animation_script_name(script):"], + "cpp": ["string animation_script_name(animation_script script)"], "csharp": [ "public string AnimationScript.Name { get }", "public static string SplashKit.AnimationScriptName(AnimationScript script);" @@ -536,9 +472,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -548,9 +482,7 @@ "group": "animations" }, "signatures": { - "python": [ - "def animation_script_named(name):" - ], + "python": ["def animation_script_named(name):"], "cpp": [ "animation_script animation_script_named(const string &name)" ], @@ -587,9 +519,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -600,9 +530,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -613,9 +541,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -629,9 +555,7 @@ "static": "animation" }, "signatures": { - "python": [ - "def assign_animation_with_script(anim, script, name):" - ], + "python": ["def assign_animation_with_script(anim, script, name):"], "cpp": [ "void assign_animation(animation anim, animation_script script, const string &name)" ], @@ -669,9 +593,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -682,9 +604,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -695,9 +615,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -708,9 +626,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -764,9 +680,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -777,9 +691,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -790,9 +702,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -846,9 +756,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -859,9 +767,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -872,9 +778,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -885,9 +789,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -941,9 +843,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -954,9 +854,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -967,9 +865,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1023,9 +919,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1036,9 +930,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1049,9 +941,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1062,9 +952,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1118,9 +1006,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1131,9 +1017,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1147,19 +1031,13 @@ "self": "anim" }, "signatures": { - "python": [ - "def assign_animation_index(anim, idx):" - ], - "cpp": [ - "void assign_animation(animation anim, int idx)" - ], + "python": ["def assign_animation_index(anim, idx):"], + "cpp": ["void assign_animation(animation anim, int idx)"], "csharp": [ "public void Animation.Assign(int idx);", "public static void SplashKit.AssignAnimation(Animation anim, int idx);" ], - "pascal": [ - "procedure AssignAnimation(anim: Animation; idx: Integer)" - ] + "pascal": ["procedure AssignAnimation(anim: Animation; idx: Integer)"] } }, { @@ -1187,9 +1065,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1200,9 +1076,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1213,9 +1087,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1269,9 +1141,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1282,9 +1152,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1297,19 +1165,13 @@ "self": "anim" }, "signatures": { - "python": [ - "def assign_animation(anim, name):" - ], - "cpp": [ - "void assign_animation(animation anim, string name)" - ], + "python": ["def assign_animation(anim, name):"], + "cpp": ["void assign_animation(animation anim, string name)"], "csharp": [ "public void Animation.Assign(string name);", "public static void SplashKit.AssignAnimation(Animation anim, string name);" ], - "pascal": [ - "procedure AssignAnimation(anim: Animation; name: String)" - ] + "pascal": ["procedure AssignAnimation(anim: Animation; name: String)"] } }, { @@ -1337,9 +1199,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1350,9 +1210,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1363,9 +1221,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1419,9 +1275,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1432,9 +1286,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1445,9 +1297,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1497,9 +1347,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1510,9 +1358,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1525,9 +1371,7 @@ "static": "animation" }, "signatures": { - "python": [ - "def create_animation(script, name):" - ], + "python": ["def create_animation(script, name):"], "cpp": [ "animation create_animation(animation_script script, const string &name)" ], @@ -1565,9 +1409,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1578,9 +1420,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1591,9 +1431,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1647,9 +1485,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1660,9 +1496,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1712,9 +1546,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1725,9 +1557,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -1738,9 +1568,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1782,27 +1610,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "method": "free_all", "static": "animation", "group": "animations" }, "signatures": { - "python": [ - "def free_all_animation_scripts():" - ], - "cpp": [ - "void free_all_animation_scripts()" - ], + "python": ["def free_all_animation_scripts():"], + "cpp": ["void free_all_animation_scripts()"], "csharp": [ "public static void Animation.FreeAll();", "public static void SplashKit.FreeAllAnimationScripts();" ], - "pascal": [ - "procedure FreeAllAnimationScripts()" - ] + "pascal": ["procedure FreeAllAnimationScripts()"] } }, { @@ -1830,9 +1651,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1846,19 +1665,13 @@ "static": "animation" }, "signatures": { - "python": [ - "def free_animation(ani):" - ], - "cpp": [ - "void free_animation(animation ani)" - ], + "python": ["def free_animation(ani):"], + "cpp": ["void free_animation(animation ani)"], "csharp": [ "public void Animation.Free();", "public static void SplashKit.FreeAnimation(Animation ani);" ], - "pascal": [ - "procedure FreeAnimation(ani: Animation)" - ] + "pascal": ["procedure FreeAnimation(ani: Animation)"] } }, { @@ -1886,9 +1699,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1902,9 +1713,7 @@ "static": "animation" }, "signatures": { - "python": [ - "def free_animation_script(script_to_free):" - ], + "python": ["def free_animation_script(script_to_free):"], "cpp": [ "void free_animation_script(animation_script script_to_free)" ], @@ -1942,9 +1751,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -1955,18 +1762,12 @@ "group": "animations" }, "signatures": { - "python": [ - "def free_animation_script_with_name(name):" - ], - "cpp": [ - "void free_animation_script(const string &name)" - ], + "python": ["def free_animation_script_with_name(name):"], + "cpp": ["void free_animation_script(const string &name)"], "csharp": [ "public static void SplashKit.FreeAnimationScript(string name);" ], - "pascal": [ - "procedure FreeAnimationScript(const name: String)" - ] + "pascal": ["procedure FreeAnimationScript(const name: String)"] } }, { @@ -1994,9 +1795,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2007,9 +1806,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2021,9 +1818,7 @@ "static": "animation" }, "signatures": { - "python": [ - "def has_animation_named(script, name):" - ], + "python": ["def has_animation_named(script, name):"], "cpp": [ "bool has_animation_named(animation_script script, const string &name)" ], @@ -2060,9 +1855,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2072,18 +1865,12 @@ "group": "animations" }, "signatures": { - "python": [ - "def has_animation_script(name):" - ], - "cpp": [ - "bool has_animation_script(const string &name)" - ], + "python": ["def has_animation_script(name):"], + "cpp": ["bool has_animation_script(const string &name)"], "csharp": [ "public static bool SplashKit.HasAnimationScript(string name);" ], - "pascal": [ - "function HasAnimationScript(const name: String): Boolean" - ] + "pascal": ["function HasAnimationScript(const name: String): Boolean"] } }, { @@ -2111,9 +1898,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2124,9 +1909,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2138,9 +1921,7 @@ "static": "animation" }, "signatures": { - "python": [ - "def load_animation_script(name, filename):" - ], + "python": ["def load_animation_script(name, filename):"], "cpp": [ "animation_script load_animation_script(const string &name, const string &filename)" ], @@ -2178,9 +1959,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2193,19 +1972,13 @@ "static": "animation" }, "signatures": { - "python": [ - "def restart_animation(anim):" - ], - "cpp": [ - "void restart_animation(animation anim)" - ], + "python": ["def restart_animation(anim):"], + "cpp": ["void restart_animation(animation anim)"], "csharp": [ "public void Animation.Restart();", "public static void SplashKit.RestartAnimation(Animation anim);" ], - "pascal": [ - "procedure RestartAnimation(anim: Animation)" - ] + "pascal": ["procedure RestartAnimation(anim: Animation)"] } }, { @@ -2233,9 +2006,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2246,9 +2017,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2262,12 +2031,8 @@ "static": "animation" }, "signatures": { - "python": [ - "def restart_animation_with_sound(anim, with_sound):" - ], - "cpp": [ - "void restart_animation(animation anim, bool with_sound)" - ], + "python": ["def restart_animation_with_sound(anim, with_sound):"], + "cpp": ["void restart_animation(animation anim, bool with_sound)"], "csharp": [ "public void Animation.Restart(bool withSound);", "public static void SplashKit.RestartAnimation(Animation anim, bool withSound);" @@ -2302,9 +2067,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2315,9 +2078,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2328,9 +2089,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2380,9 +2139,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2395,19 +2152,13 @@ "static": "animation" }, "signatures": { - "python": [ - "def update_animation(anim):" - ], - "cpp": [ - "void update_animation(animation anim)" - ], + "python": ["def update_animation(anim):"], + "cpp": ["void update_animation(animation anim)"], "csharp": [ "public void Animation.Update();", "public static void SplashKit.UpdateAnimation(Animation anim);" ], - "pascal": [ - "procedure UpdateAnimation(anim: Animation)" - ] + "pascal": ["procedure UpdateAnimation(anim: Animation)"] } }, { @@ -2435,9 +2186,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2448,9 +2197,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2464,34 +2211,20 @@ "static": "animation" }, "signatures": { - "python": [ - "def update_animation_percent(anim, pct):" - ], - "cpp": [ - "void update_animation(animation anim, float pct)" - ], + "python": ["def update_animation_percent(anim, pct):"], + "cpp": ["void update_animation(animation anim, float pct)"], "csharp": [ "public void Animation.Update(float pct);", "public static void SplashKit.UpdateAnimation(Animation anim, float pct);" ], - "pascal": [ - "procedure UpdateAnimation(anim: Animation; pct: Single)" - ] + "pascal": ["procedure UpdateAnimation(anim: Animation; pct: Single)"] } } ], - "typedefs": [ - - ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "typedefs": [], + "structs": [], + "enums": [], + "defines": [] }, "audio": { "brief": "SplashKit Audio allows you to load and play music and sound effects.", @@ -2514,27 +2247,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "is_ready", "group": "audio", "static": "audio" }, "signatures": { - "python": [ - "def audio_ready():" - ], - "cpp": [ - "bool audio_ready()" - ], + "python": ["def audio_ready():"], + "cpp": ["bool audio_ready()"], "csharp": [ "public static bool Audio.IsReady { get }", "public static bool SplashKit.AudioReady();" ], - "pascal": [ - "function AudioReady(): Boolean" - ] + "pascal": ["function AudioReady(): Boolean"] } }, { @@ -2554,25 +2280,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "audio", "static": "audio" }, "signatures": { - "python": [ - "def close_audio():" - ], - "cpp": [ - "void close_audio()" - ], - "csharp": [ - "public static void SplashKit.CloseAudio();" - ], - "pascal": [ - "procedure CloseAudio()" - ] + "python": ["def close_audio():"], + "cpp": ["void close_audio()"], + "csharp": ["public static void SplashKit.CloseAudio();"], + "pascal": ["procedure CloseAudio()"] } }, { @@ -2592,25 +2309,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "audio", "static": "audio" }, "signatures": { - "python": [ - "def open_audio():" - ], - "cpp": [ - "void open_audio()" - ], - "csharp": [ - "public static void SplashKit.OpenAudio();" - ], - "pascal": [ - "procedure OpenAudio()" - ] + "python": ["def open_audio():"], + "cpp": ["void open_audio()"], + "csharp": ["public static void SplashKit.OpenAudio();"], + "pascal": ["procedure OpenAudio()"] } }, { @@ -2638,9 +2346,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2651,9 +2357,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2664,18 +2368,12 @@ "static": "audio" }, "signatures": { - "python": [ - "def fade_music_in_named(name, ms):" - ], - "cpp": [ - "void fade_music_in(const string &name, int ms)" - ], + "python": ["def fade_music_in_named(name, ms):"], + "cpp": ["void fade_music_in(const string &name, int ms)"], "csharp": [ "public static void SplashKit.FadeMusicIn(string name, int ms);" ], - "pascal": [ - "procedure FadeMusicIn(const name: String; ms: Integer)" - ] + "pascal": ["procedure FadeMusicIn(const name: String; ms: Integer)"] } }, { @@ -2703,9 +2401,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2716,9 +2412,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2729,9 +2423,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2742,12 +2434,8 @@ "static": "audio" }, "signatures": { - "python": [ - "def fade_music_in_named_with_times(name, times, ms):" - ], - "cpp": [ - "void fade_music_in(const string &name, int times, int ms)" - ], + "python": ["def fade_music_in_named_with_times(name, times, ms):"], + "cpp": ["void fade_music_in(const string &name, int times, int ms)"], "csharp": [ "public static void SplashKit.FadeMusicIn(string name, int times, int ms);" ], @@ -2781,9 +2469,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2794,9 +2480,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2809,19 +2493,13 @@ "static": "audio" }, "signatures": { - "python": [ - "def fade_music_in(data, ms):" - ], - "cpp": [ - "void fade_music_in(music data, int ms)" - ], + "python": ["def fade_music_in(data, ms):"], + "cpp": ["void fade_music_in(music data, int ms)"], "csharp": [ "public void Music.FadeIn(int ms);", "public static void SplashKit.FadeMusicIn(Music data, int ms);" ], - "pascal": [ - "procedure FadeMusicIn(data: Music; ms: Integer)" - ] + "pascal": ["procedure FadeMusicIn(data: Music; ms: Integer)"] } }, { @@ -2849,9 +2527,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2862,9 +2538,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -2875,9 +2549,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2891,12 +2563,8 @@ "static": "audio" }, "signatures": { - "python": [ - "def fade_music_in_with_times(data, times, ms):" - ], - "cpp": [ - "void fade_music_in(music data, int times, int ms)" - ], + "python": ["def fade_music_in_with_times(data, times, ms):"], + "cpp": ["void fade_music_in(music data, int times, int ms)"], "csharp": [ "public void Music.FadeIn(int times, int ms);", "public static void SplashKit.FadeMusicIn(Music data, int times, int ms);" @@ -2931,9 +2599,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -2944,19 +2610,13 @@ "group": "audio" }, "signatures": { - "python": [ - "def fade_music_out(ms):" - ], - "cpp": [ - "void fade_music_out(int ms)" - ], + "python": ["def fade_music_out(ms):"], + "cpp": ["void fade_music_out(int ms)"], "csharp": [ "public static void Audio.FadeOut(int ms);", "public static void SplashKit.FadeMusicOut(int ms);" ], - "pascal": [ - "procedure FadeMusicOut(ms: Integer)" - ] + "pascal": ["procedure FadeMusicOut(ms: Integer)"] } }, { @@ -2976,27 +2636,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "method": "free_all_music", "static": "audio", "group": "audio" }, "signatures": { - "python": [ - "def free_all_music():" - ], - "cpp": [ - "void free_all_music()" - ], + "python": ["def free_all_music():"], + "cpp": ["void free_all_music()"], "csharp": [ "public static void Audio.FreeAllMusic();", "public static void SplashKit.FreeAllMusic();" ], - "pascal": [ - "procedure FreeAllMusic()" - ] + "pascal": ["procedure FreeAllMusic()"] } }, { @@ -3024,9 +2677,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3040,19 +2691,13 @@ "static": "audio" }, "signatures": { - "python": [ - "def free_music(effect):" - ], - "cpp": [ - "void free_music(music effect)" - ], + "python": ["def free_music(effect):"], + "cpp": ["void free_music(music effect)"], "csharp": [ "public void Music.Free();", "public static void SplashKit.FreeMusic(Music effect);" ], - "pascal": [ - "procedure FreeMusic(effect: Music)" - ] + "pascal": ["procedure FreeMusic(effect: Music)"] } }, { @@ -3080,9 +2725,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3092,18 +2735,10 @@ "static": "audio" }, "signatures": { - "python": [ - "def has_music(name):" - ], - "cpp": [ - "bool has_music(const string &name)" - ], - "csharp": [ - "public static bool SplashKit.HasMusic(string name);" - ], - "pascal": [ - "function HasMusic(const name: String): Boolean" - ] + "python": ["def has_music(name):"], + "cpp": ["bool has_music(const string &name)"], + "csharp": ["public static bool SplashKit.HasMusic(string name);"], + "pascal": ["function HasMusic(const name: String): Boolean"] } }, { @@ -3131,9 +2766,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -3144,9 +2777,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3158,9 +2789,7 @@ "static": "audio" }, "signatures": { - "python": [ - "def load_music(name, filename):" - ], + "python": ["def load_music(name, filename):"], "cpp": [ "music load_music(const string &name, const string &filename)" ], @@ -3198,9 +2827,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3213,19 +2840,13 @@ "static": "audio" }, "signatures": { - "python": [ - "def music_filename(data):" - ], - "cpp": [ - "string music_filename(music data)" - ], + "python": ["def music_filename(data):"], + "cpp": ["string music_filename(music data)"], "csharp": [ "public string Music.Filename { get }", "public static string SplashKit.MusicFilename(Music data);" ], - "pascal": [ - "function MusicFilename(data: Music): String" - ] + "pascal": ["function MusicFilename(data: Music): String"] } }, { @@ -3253,9 +2874,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3268,19 +2887,13 @@ "static": "audio" }, "signatures": { - "python": [ - "def music_name(data):" - ], - "cpp": [ - "string music_name(music data)" - ], + "python": ["def music_name(data):"], + "cpp": ["string music_name(music data)"], "csharp": [ "public string Music.Name { get }", "public static string SplashKit.MusicName(Music data);" ], - "pascal": [ - "function MusicName(data: Music): String" - ] + "pascal": ["function MusicName(data: Music): String"] } }, { @@ -3308,9 +2921,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3320,18 +2931,10 @@ "static": "audio" }, "signatures": { - "python": [ - "def music_named(name):" - ], - "cpp": [ - "music music_named(const string &name)" - ], - "csharp": [ - "public static Music SplashKit.MusicNamed(string name);" - ], - "pascal": [ - "function MusicNamed(const name: String): Music" - ] + "python": ["def music_named(name):"], + "cpp": ["music music_named(const string &name)"], + "csharp": ["public static Music SplashKit.MusicNamed(string name);"], + "pascal": ["function MusicNamed(const name: String): Music"] } }, { @@ -3351,27 +2954,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "paused", "static": "audio", "group": "audio" }, "signatures": { - "python": [ - "def music_paused():" - ], - "cpp": [ - "bool music_paused()" - ], + "python": ["def music_paused():"], + "cpp": ["bool music_paused()"], "csharp": [ "public static bool Audio.Paused { get }", "public static bool SplashKit.MusicPaused();" ], - "pascal": [ - "function MusicPaused(): Boolean" - ] + "pascal": ["function MusicPaused(): Boolean"] } }, { @@ -3391,27 +2987,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "playing", "static": "audio", "group": "audio" }, "signatures": { - "python": [ - "def music_playing():" - ], - "cpp": [ - "bool music_playing()" - ], + "python": ["def music_playing():"], + "cpp": ["bool music_playing()"], "csharp": [ "public static bool Audio.Playing { get }", "public static bool SplashKit.MusicPlaying();" ], - "pascal": [ - "function MusicPlaying(): Boolean" - ] + "pascal": ["function MusicPlaying(): Boolean"] } }, { @@ -3439,9 +3028,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3451,18 +3038,10 @@ "static": "audio" }, "signatures": { - "python": [ - "def music_valid(m):" - ], - "cpp": [ - "bool music_valid(music m)" - ], - "csharp": [ - "public static bool SplashKit.MusicValid(Music m);" - ], - "pascal": [ - "function MusicValid(m: Music): Boolean" - ] + "python": ["def music_valid(m):"], + "cpp": ["bool music_valid(music m)"], + "csharp": ["public static bool SplashKit.MusicValid(Music m);"], + "pascal": ["function MusicValid(m: Music): Boolean"] } }, { @@ -3482,27 +3061,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "volume", "static": "audio", "group": "audio" }, "signatures": { - "python": [ - "def music_volume():" - ], - "cpp": [ - "double music_volume()" - ], + "python": ["def music_volume():"], + "cpp": ["double music_volume()"], "csharp": [ "public static double Audio.Volume { get }", "public static double SplashKit.MusicVolume();" ], - "pascal": [ - "function MusicVolume(): Double" - ] + "pascal": ["function MusicVolume(): Double"] } }, { @@ -3522,27 +3094,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "method": "pause", "static": "audio", "group": "audio" }, "signatures": { - "python": [ - "def pause_music():" - ], - "cpp": [ - "void pause_music()" - ], + "python": ["def pause_music():"], + "cpp": ["void pause_music()"], "csharp": [ "public static void Audio.Pause();", "public static void SplashKit.PauseMusic();" ], - "pascal": [ - "procedure PauseMusic()" - ] + "pascal": ["procedure PauseMusic()"] } }, { @@ -3570,9 +3135,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3583,18 +3146,10 @@ "static": "audio" }, "signatures": { - "python": [ - "def play_music_named(name):" - ], - "cpp": [ - "void play_music(const string &name)" - ], - "csharp": [ - "public static void SplashKit.PlayMusic(string name);" - ], - "pascal": [ - "procedure PlayMusic(const name: String)" - ] + "python": ["def play_music_named(name):"], + "cpp": ["void play_music(const string &name)"], + "csharp": ["public static void SplashKit.PlayMusic(string name);"], + "pascal": ["procedure PlayMusic(const name: String)"] } }, { @@ -3622,9 +3177,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -3635,9 +3188,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3648,18 +3199,12 @@ "static": "audio" }, "signatures": { - "python": [ - "def play_music_named_with_times(name, times):" - ], - "cpp": [ - "void play_music(const string &name, int times)" - ], + "python": ["def play_music_named_with_times(name, times):"], + "cpp": ["void play_music(const string &name, int times)"], "csharp": [ "public static void SplashKit.PlayMusic(string name, int times);" ], - "pascal": [ - "procedure PlayMusic(const name: String; times: Integer)" - ] + "pascal": ["procedure PlayMusic(const name: String; times: Integer)"] } }, { @@ -3687,9 +3232,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3702,19 +3245,13 @@ "static": "audio" }, "signatures": { - "python": [ - "def play_music(data):" - ], - "cpp": [ - "void play_music(music data)" - ], + "python": ["def play_music(data):"], + "cpp": ["void play_music(music data)"], "csharp": [ "public void Music.Play();", "public static void SplashKit.PlayMusic(Music data);" ], - "pascal": [ - "procedure PlayMusic(data: Music)" - ] + "pascal": ["procedure PlayMusic(data: Music)"] } }, { @@ -3742,9 +3279,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -3755,9 +3290,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3771,19 +3304,13 @@ "static": "audio" }, "signatures": { - "python": [ - "def play_music_with_times(data, times):" - ], - "cpp": [ - "void play_music(music data, int times)" - ], + "python": ["def play_music_with_times(data, times):"], + "cpp": ["void play_music(music data, int times)"], "csharp": [ "public void Music.Play(int times);", "public static void SplashKit.PlayMusic(Music data, int times);" ], - "pascal": [ - "procedure PlayMusic(data: Music; times: Integer)" - ] + "pascal": ["procedure PlayMusic(data: Music; times: Integer)"] } }, { @@ -3811,9 +3338,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -3824,9 +3349,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -3837,9 +3360,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3856,9 +3377,7 @@ "python": [ "def play_music_with_times_and_volume(data, times, volume):" ], - "cpp": [ - "void play_music(music data, int times, double volume)" - ], + "cpp": ["void play_music(music data, int times, double volume)"], "csharp": [ "public void Music.Play(int times, double volume);", "public static void SplashKit.PlayMusic(Music data, int times, double volume);" @@ -3885,27 +3404,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "method": "resume", "static": "audio", "group": "audio" }, "signatures": { - "python": [ - "def resume_music():" - ], - "cpp": [ - "void resume_music()" - ], + "python": ["def resume_music():"], + "cpp": ["void resume_music()"], "csharp": [ "public static void Audio.Resume();", "public static void SplashKit.ResumeMusic();" ], - "pascal": [ - "procedure ResumeMusic()" - ] + "pascal": ["procedure ResumeMusic()"] } }, { @@ -3933,9 +3445,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -3946,19 +3456,13 @@ "group": "audio" }, "signatures": { - "python": [ - "def set_music_volume(volume):" - ], - "cpp": [ - "void set_music_volume(double volume)" - ], + "python": ["def set_music_volume(volume):"], + "cpp": ["void set_music_volume(double volume)"], "csharp": [ "public static void Audio.Volume { set }", "public static void SplashKit.SetMusicVolume(double volume);" ], - "pascal": [ - "procedure SetMusicVolume(volume: Double)" - ] + "pascal": ["procedure SetMusicVolume(volume: Double)"] } }, { @@ -3978,27 +3482,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "method": "stop", "static": "audio", "group": "audio" }, "signatures": { - "python": [ - "def stop_music():" - ], - "cpp": [ - "void stop_music()" - ], + "python": ["def stop_music():"], + "cpp": ["void stop_music()"], "csharp": [ "public static void Audio.Stop();", "public static void SplashKit.StopMusic();" ], - "pascal": [ - "procedure StopMusic()" - ] + "pascal": ["procedure StopMusic()"] } }, { @@ -4026,9 +3523,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4038,18 +3533,12 @@ "static": "audio" }, "signatures": { - "python": [ - "def fade_all_sound_effects_out(ms):" - ], - "cpp": [ - "void fade_all_sound_effects_out(int ms)" - ], + "python": ["def fade_all_sound_effects_out(ms):"], + "cpp": ["void fade_all_sound_effects_out(int ms)"], "csharp": [ "public static void SplashKit.FadeAllSoundEffectsOut(int ms);" ], - "pascal": [ - "procedure FadeAllSoundEffectsOut(ms: Integer)" - ] + "pascal": ["procedure FadeAllSoundEffectsOut(ms: Integer)"] } }, { @@ -4077,9 +3566,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -4090,9 +3577,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4105,12 +3590,8 @@ "static": "audio" }, "signatures": { - "python": [ - "def fade_sound_effect_out(effect, ms):" - ], - "cpp": [ - "void fade_sound_effect_out(sound_effect effect, int ms)" - ], + "python": ["def fade_sound_effect_out(effect, ms):"], + "cpp": ["void fade_sound_effect_out(sound_effect effect, int ms)"], "csharp": [ "public void SoundEffect.FadeOut(int ms);", "public static void SplashKit.FadeSoundEffectOut(SoundEffect effect, int ms);" @@ -4137,25 +3618,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "audio", "static": "audio" }, "signatures": { - "python": [ - "def free_all_sound_effects():" - ], - "cpp": [ - "void free_all_sound_effects()" - ], - "csharp": [ - "public static void SplashKit.FreeAllSoundEffects();" - ], - "pascal": [ - "procedure FreeAllSoundEffects()" - ] + "python": ["def free_all_sound_effects():"], + "cpp": ["void free_all_sound_effects()"], + "csharp": ["public static void SplashKit.FreeAllSoundEffects();"], + "pascal": ["procedure FreeAllSoundEffects()"] } }, { @@ -4183,9 +3655,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4199,19 +3669,13 @@ "static": "audio" }, "signatures": { - "python": [ - "def free_sound_effect(effect):" - ], - "cpp": [ - "void free_sound_effect(sound_effect effect)" - ], + "python": ["def free_sound_effect(effect):"], + "cpp": ["void free_sound_effect(sound_effect effect)"], "csharp": [ "public void SoundEffect.Close();", "public static void SplashKit.FreeSoundEffect(SoundEffect effect);" ], - "pascal": [ - "procedure FreeSoundEffect(effect: SoundEffect)" - ] + "pascal": ["procedure FreeSoundEffect(effect: SoundEffect)"] } }, { @@ -4239,9 +3703,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4251,18 +3713,12 @@ "static": "audio" }, "signatures": { - "python": [ - "def has_sound_effect(name):" - ], - "cpp": [ - "bool has_sound_effect(const string &name)" - ], + "python": ["def has_sound_effect(name):"], + "cpp": ["bool has_sound_effect(const string &name)"], "csharp": [ "public static bool SplashKit.HasSoundEffect(string name);" ], - "pascal": [ - "function HasSoundEffect(const name: String): Boolean" - ] + "pascal": ["function HasSoundEffect(const name: String): Boolean"] } }, { @@ -4290,9 +3746,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -4303,9 +3757,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4317,9 +3769,7 @@ "static": "audio" }, "signatures": { - "python": [ - "def load_sound_effect(name, filename):" - ], + "python": ["def load_sound_effect(name, filename):"], "cpp": [ "sound_effect load_sound_effect(const string &name, const string &filename)" ], @@ -4357,9 +3807,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4370,18 +3818,12 @@ "static": "audio" }, "signatures": { - "python": [ - "def play_sound_effect_named(name):" - ], - "cpp": [ - "void play_sound_effect(const string &name)" - ], + "python": ["def play_sound_effect_named(name):"], + "cpp": ["void play_sound_effect(const string &name)"], "csharp": [ "public static void SplashKit.PlaySoundEffect(string name);" ], - "pascal": [ - "procedure PlaySoundEffect(const name: String)" - ] + "pascal": ["procedure PlaySoundEffect(const name: String)"] } }, { @@ -4409,9 +3851,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -4422,9 +3862,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4435,12 +3873,8 @@ "static": "audio" }, "signatures": { - "python": [ - "def play_sound_effect_named_with_volume(name, volume):" - ], - "cpp": [ - "void play_sound_effect(const string &name, double volume)" - ], + "python": ["def play_sound_effect_named_with_volume(name, volume):"], + "cpp": ["void play_sound_effect(const string &name, double volume)"], "csharp": [ "public static void SplashKit.PlaySoundEffect(string name, double volume);" ], @@ -4474,9 +3908,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -4487,9 +3919,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4500,12 +3930,8 @@ "static": "audio" }, "signatures": { - "python": [ - "def play_sound_effect_named_with_times(name, times):" - ], - "cpp": [ - "void play_sound_effect(const string &name, int times)" - ], + "python": ["def play_sound_effect_named_with_times(name, times):"], + "cpp": ["void play_sound_effect(const string &name, int times)"], "csharp": [ "public static void SplashKit.PlaySoundEffect(string name, int times);" ], @@ -4539,9 +3965,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -4552,9 +3976,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -4565,9 +3987,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4617,9 +4037,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4632,19 +4050,13 @@ "static": "audio" }, "signatures": { - "python": [ - "def play_sound_effect(effect):" - ], - "cpp": [ - "void play_sound_effect(sound_effect effect)" - ], + "python": ["def play_sound_effect(effect):"], + "cpp": ["void play_sound_effect(sound_effect effect)"], "csharp": [ "public void SoundEffect.Play();", "public static void SplashKit.PlaySoundEffect(SoundEffect effect);" ], - "pascal": [ - "procedure PlaySoundEffect(effect: SoundEffect)" - ] + "pascal": ["procedure PlaySoundEffect(effect: SoundEffect)"] } }, { @@ -4672,9 +4084,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -4685,9 +4095,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4701,12 +4109,8 @@ "static": "audio" }, "signatures": { - "python": [ - "def play_sound_effect_with_volume(effect, volume):" - ], - "cpp": [ - "void play_sound_effect(sound_effect effect, double volume)" - ], + "python": ["def play_sound_effect_with_volume(effect, volume):"], + "cpp": ["void play_sound_effect(sound_effect effect, double volume)"], "csharp": [ "public void SoundEffect.Play(double volume);", "public static void SplashKit.PlaySoundEffect(SoundEffect effect, double volume);" @@ -4741,9 +4145,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -4754,9 +4156,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4770,12 +4170,8 @@ "static": "audio" }, "signatures": { - "python": [ - "def play_sound_effect_with_times(effect, times):" - ], - "cpp": [ - "void play_sound_effect(sound_effect effect, int times)" - ], + "python": ["def play_sound_effect_with_times(effect, times):"], + "cpp": ["void play_sound_effect(sound_effect effect, int times)"], "csharp": [ "public void SoundEffect.Play(int times);", "public static void SplashKit.PlaySoundEffect(SoundEffect effect, int times);" @@ -4810,9 +4206,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -4823,9 +4217,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -4836,9 +4228,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4892,9 +4282,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4907,12 +4295,8 @@ "static": "audio" }, "signatures": { - "python": [ - "def sound_effect_filename(effect):" - ], - "cpp": [ - "string sound_effect_filename(sound_effect effect)" - ], + "python": ["def sound_effect_filename(effect):"], + "cpp": ["string sound_effect_filename(sound_effect effect)"], "csharp": [ "public string SoundEffect.Filename { get }", "public static string SplashKit.SoundEffectFilename(SoundEffect effect);" @@ -4947,9 +4331,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -4962,19 +4344,13 @@ "static": "audio" }, "signatures": { - "python": [ - "def sound_effect_name(effect):" - ], - "cpp": [ - "string sound_effect_name(sound_effect effect)" - ], + "python": ["def sound_effect_name(effect):"], + "cpp": ["string sound_effect_name(sound_effect effect)"], "csharp": [ "public string SoundEffect.Name { get }", "public static string SplashKit.SoundEffectName(SoundEffect effect);" ], - "pascal": [ - "function SoundEffectName(effect: SoundEffect): String" - ] + "pascal": ["function SoundEffectName(effect: SoundEffect): String"] } }, { @@ -5002,9 +4378,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5014,12 +4388,8 @@ "static": "audio" }, "signatures": { - "python": [ - "def sound_effect_named(name):" - ], - "cpp": [ - "sound_effect sound_effect_named(const string &name)" - ], + "python": ["def sound_effect_named(name):"], + "cpp": ["sound_effect sound_effect_named(const string &name)"], "csharp": [ "public static SoundEffect SplashKit.SoundEffectNamed(string name);" ], @@ -5053,9 +4423,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5066,18 +4434,12 @@ "static": "audio" }, "signatures": { - "python": [ - "def sound_effect_playing_named(name):" - ], - "cpp": [ - "bool sound_effect_playing(const string &name)" - ], + "python": ["def sound_effect_playing_named(name):"], + "cpp": ["bool sound_effect_playing(const string &name)"], "csharp": [ "public static bool SplashKit.SoundEffectPlaying(string name);" ], - "pascal": [ - "function SoundEffectPlaying(const name: String): Boolean" - ] + "pascal": ["function SoundEffectPlaying(const name: String): Boolean"] } }, { @@ -5105,9 +4467,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5120,12 +4480,8 @@ "static": "audio" }, "signatures": { - "python": [ - "def sound_effect_playing(effect):" - ], - "cpp": [ - "bool sound_effect_playing(sound_effect effect)" - ], + "python": ["def sound_effect_playing(effect):"], + "cpp": ["bool sound_effect_playing(sound_effect effect)"], "csharp": [ "public bool SoundEffect.IsPlaying { get }", "public static bool SplashKit.SoundEffectPlaying(SoundEffect effect);" @@ -5160,9 +4516,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5172,18 +4526,12 @@ "static": "audio" }, "signatures": { - "python": [ - "def sound_effect_valid(effect):" - ], - "cpp": [ - "bool sound_effect_valid(sound_effect effect)" - ], + "python": ["def sound_effect_valid(effect):"], + "cpp": ["bool sound_effect_valid(sound_effect effect)"], "csharp": [ "public static bool SplashKit.SoundEffectValid(SoundEffect effect);" ], - "pascal": [ - "function SoundEffectValid(effect: SoundEffect): Boolean" - ] + "pascal": ["function SoundEffectValid(effect: SoundEffect): Boolean"] } }, { @@ -5211,9 +4559,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5224,18 +4570,12 @@ "static": "audio" }, "signatures": { - "python": [ - "def stop_sound_effect_named(name):" - ], - "cpp": [ - "void stop_sound_effect(const string &name)" - ], + "python": ["def stop_sound_effect_named(name):"], + "cpp": ["void stop_sound_effect(const string &name)"], "csharp": [ "public static void SplashKit.StopSoundEffect(string name);" ], - "pascal": [ - "procedure StopSoundEffect(const name: String)" - ] + "pascal": ["procedure StopSoundEffect(const name: String)"] } }, { @@ -5263,9 +4603,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5278,19 +4616,13 @@ "static": "audio" }, "signatures": { - "python": [ - "def stop_sound_effect(effect):" - ], - "cpp": [ - "void stop_sound_effect(sound_effect effect)" - ], + "python": ["def stop_sound_effect(effect):"], + "cpp": ["void stop_sound_effect(sound_effect effect)"], "csharp": [ "public void SoundEffect.Stop();", "public static void SplashKit.StopSoundEffect(SoundEffect effect);" ], - "pascal": [ - "procedure StopSoundEffect(effect: SoundEffect)" - ] + "pascal": ["procedure StopSoundEffect(effect: SoundEffect)"] } } ], @@ -5328,15 +4660,9 @@ "new_identifier": null } ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "structs": [], + "enums": [], + "defines": [] }, "camera": { "brief": "SplashKit camera functionality allows you to move a virtual camera\naround in your world.", @@ -5359,27 +4685,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "position", "group": "camera", "static": "camera" }, "signatures": { - "python": [ - "def camera_position():" - ], - "cpp": [ - "point_2d camera_position()" - ], + "python": ["def camera_position():"], + "cpp": ["point_2d camera_position()"], "csharp": [ "public static Point2D Camera.Position { get }", "public static Point2D SplashKit.CameraPosition();" ], - "pascal": [ - "function CameraPosition(): Point2D" - ] + "pascal": ["function CameraPosition(): Point2D"] } }, { @@ -5399,27 +4718,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "x", "group": "camera", "static": "camera" }, "signatures": { - "python": [ - "def camera_x():" - ], - "cpp": [ - "double camera_x()" - ], + "python": ["def camera_x():"], + "cpp": ["double camera_x()"], "csharp": [ "public static double Camera.X { get }", "public static double SplashKit.CameraX();" ], - "pascal": [ - "function CameraX(): Double" - ] + "pascal": ["function CameraX(): Double"] } }, { @@ -5439,27 +4751,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "y", "group": "camera", "static": "camera" }, "signatures": { - "python": [ - "def camera_y():" - ], - "cpp": [ - "double camera_y()" - ], + "python": ["def camera_y():"], + "cpp": ["double camera_y()"], "csharp": [ "public static double Camera.Y { get }", "public static double SplashKit.CameraY();" ], - "pascal": [ - "function CameraY(): Double" - ] + "pascal": ["function CameraY(): Double"] } }, { @@ -5487,9 +4792,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -5500,9 +4803,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5514,12 +4815,8 @@ "static": "camera" }, "signatures": { - "python": [ - "def center_camera_on_vector(s, offset):" - ], - "cpp": [ - "void center_camera_on(sprite s, const vector_2d &offset)" - ], + "python": ["def center_camera_on_vector(s, offset):"], + "cpp": ["void center_camera_on(sprite s, const vector_2d &offset)"], "csharp": [ "public static void Camera.CenterOn(Sprite s, Vector2D offset);", "public static void SplashKit.CenterCameraOn(Sprite s, Vector2D offset);" @@ -5554,9 +4851,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -5567,9 +4862,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -5580,9 +4873,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5593,9 +4884,7 @@ "static": "camera" }, "signatures": { - "python": [ - "def center_camera_on(s, offset_x, offset_y):" - ], + "python": ["def center_camera_on(s, offset_x, offset_y):"], "cpp": [ "void center_camera_on(sprite s, double offset_x, double offset_y)" ], @@ -5633,9 +4922,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5647,19 +4934,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def move_camera_by_vector(offset):" - ], - "cpp": [ - "void move_camera_by(const vector_2d &offset)" - ], + "python": ["def move_camera_by_vector(offset):"], + "cpp": ["void move_camera_by(const vector_2d &offset)"], "csharp": [ "public static void Camera.MoveBy(Vector2D offset);", "public static void SplashKit.MoveCameraBy(Vector2D offset);" ], - "pascal": [ - "procedure MoveCameraBy(const offset: Vector2D)" - ] + "pascal": ["procedure MoveCameraBy(const offset: Vector2D)"] } }, { @@ -5687,9 +4968,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -5700,9 +4979,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5713,19 +4990,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def move_camera_by(dx, dy):" - ], - "cpp": [ - "void move_camera_by(double dx, double dy)" - ], + "python": ["def move_camera_by(dx, dy):"], + "cpp": ["void move_camera_by(double dx, double dy)"], "csharp": [ "public static void Camera.MoveBy(double dx, double dy);", "public static void SplashKit.MoveCameraBy(double dx, double dy);" ], - "pascal": [ - "procedure MoveCameraBy(dx: Double; dy: Double)" - ] + "pascal": ["procedure MoveCameraBy(dx: Double; dy: Double)"] } }, { @@ -5753,9 +5024,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5767,19 +5036,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def move_camera_to_point(pt):" - ], - "cpp": [ - "void move_camera_to(const point_2d &pt)" - ], + "python": ["def move_camera_to_point(pt):"], + "cpp": ["void move_camera_to(const point_2d &pt)"], "csharp": [ "public static void Camera.MoveTo(Point2D pt);", "public static void SplashKit.MoveCameraTo(Point2D pt);" ], - "pascal": [ - "procedure MoveCameraTo(const pt: Point2D)" - ] + "pascal": ["procedure MoveCameraTo(const pt: Point2D)"] } }, { @@ -5807,9 +5070,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -5820,9 +5081,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5833,19 +5092,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def move_camera_to(x, y):" - ], - "cpp": [ - "void move_camera_to(double x, double y)" - ], + "python": ["def move_camera_to(x, y):"], + "cpp": ["void move_camera_to(double x, double y)"], "csharp": [ "public static void Camera.MoveTo(double x, double y);", "public static void SplashKit.MoveCameraTo(double x, double y);" ], - "pascal": [ - "procedure MoveCameraTo(x: Double; y: Double)" - ] + "pascal": ["procedure MoveCameraTo(x: Double; y: Double)"] } }, { @@ -5873,9 +5126,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -5886,9 +5137,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5899,12 +5148,8 @@ "static": "camera" }, "signatures": { - "python": [ - "def point_in_window(wind, pt):" - ], - "cpp": [ - "bool point_in_window(window wind, const point_2d &pt)" - ], + "python": ["def point_in_window(wind, pt):"], + "cpp": ["bool point_in_window(window wind, const point_2d &pt)"], "csharp": [ "public static bool Camera.PointInWindow(Window wind, Point2D pt);", "public static bool SplashKit.PointInWindow(Window wind, Point2D pt);" @@ -5939,9 +5184,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -5952,19 +5195,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def point_on_screen(pt):" - ], - "cpp": [ - "bool point_on_screen(const point_2d &pt)" - ], + "python": ["def point_on_screen(pt):"], + "cpp": ["bool point_on_screen(const point_2d &pt)"], "csharp": [ "public static bool Camera.PointOnScreen(Point2D pt);", "public static bool SplashKit.PointOnScreen(Point2D pt);" ], - "pascal": [ - "function PointOnScreen(const pt: Point2D): Boolean" - ] + "pascal": ["function PointOnScreen(const pt: Point2D): Boolean"] } }, { @@ -5992,9 +5229,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -6005,9 +5240,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6018,12 +5251,8 @@ "static": "camera" }, "signatures": { - "python": [ - "def rect_in_window(wind, rect):" - ], - "cpp": [ - "bool rect_in_window(window wind, const rectangle &rect)" - ], + "python": ["def rect_in_window(wind, rect):"], + "cpp": ["bool rect_in_window(window wind, const rectangle &rect)"], "csharp": [ "public static bool Camera.RectInWindow(Window wind, Rectangle rect);", "public static bool SplashKit.RectInWindow(Window wind, Rectangle rect);" @@ -6058,9 +5287,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6071,19 +5298,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def rect_on_screen(rect):" - ], - "cpp": [ - "bool rect_on_screen(const rectangle &rect)" - ], + "python": ["def rect_on_screen(rect):"], + "cpp": ["bool rect_on_screen(const rectangle &rect)"], "csharp": [ "public static bool Camera.RectOnScreen(Rectangle rect);", "public static bool SplashKit.RectOnScreen(Rectangle rect);" ], - "pascal": [ - "function RectOnScreen(const rect: Rectangle): Boolean" - ] + "pascal": ["function RectOnScreen(const rect: Rectangle): Boolean"] } }, { @@ -6103,27 +5324,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "screen_center", "group": "camera", "static": "camera" }, "signatures": { - "python": [ - "def screen_center():" - ], - "cpp": [ - "point_2d screen_center()" - ], + "python": ["def screen_center():"], + "cpp": ["point_2d screen_center()"], "csharp": [ "public static Point2D Camera.ScreenCenter { get }", "public static Point2D SplashKit.ScreenCenter();" ], - "pascal": [ - "function ScreenCenter(): Point2D" - ] + "pascal": ["function ScreenCenter(): Point2D"] } }, { @@ -6143,27 +5357,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "screen_rectangle", "group": "camera", "static": "camera" }, "signatures": { - "python": [ - "def screen_rectangle():" - ], - "cpp": [ - "rectangle screen_rectangle()" - ], + "python": ["def screen_rectangle():"], + "cpp": ["rectangle screen_rectangle()"], "csharp": [ "public static Rectangle Camera.ScreenRectangle { get }", "public static Rectangle SplashKit.ScreenRectangle();" ], - "pascal": [ - "function ScreenRectangle(): Rectangle" - ] + "pascal": ["function ScreenRectangle(): Rectangle"] } }, { @@ -6191,9 +5398,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6204,19 +5409,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def set_camera_position(pos):" - ], - "cpp": [ - "void set_camera_position(point_2d pos)" - ], + "python": ["def set_camera_position(pos):"], + "cpp": ["void set_camera_position(point_2d pos)"], "csharp": [ "public static void Camera.Position { set }", "public static void SplashKit.SetCameraPosition(Point2D pos);" ], - "pascal": [ - "procedure SetCameraPosition(pos: Point2D)" - ] + "pascal": ["procedure SetCameraPosition(pos: Point2D)"] } }, { @@ -6244,9 +5443,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6257,19 +5454,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def set_camera_x(x):" - ], - "cpp": [ - "void set_camera_x(double x)" - ], + "python": ["def set_camera_x(x):"], + "cpp": ["void set_camera_x(double x)"], "csharp": [ "public static void Camera.X { set }", "public static void SplashKit.SetCameraX(double x);" ], - "pascal": [ - "procedure SetCameraX(x: Double)" - ] + "pascal": ["procedure SetCameraX(x: Double)"] } }, { @@ -6297,9 +5488,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6310,19 +5499,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def set_camera_y(y):" - ], - "cpp": [ - "void set_camera_y(double y)" - ], + "python": ["def set_camera_y(y):"], + "cpp": ["void set_camera_y(double y)"], "csharp": [ "public static void Camera.Y { set }", "public static void SplashKit.SetCameraY(double y);" ], - "pascal": [ - "procedure SetCameraY(y: Double)" - ] + "pascal": ["procedure SetCameraY(y: Double)"] } }, { @@ -6350,9 +5533,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6364,19 +5545,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def to_screen_point(pt):" - ], - "cpp": [ - "point_2d to_screen(const point_2d &pt)" - ], + "python": ["def to_screen_point(pt):"], + "cpp": ["point_2d to_screen(const point_2d &pt)"], "csharp": [ "public static Point2D Camera.ToScreen(Point2D pt);", "public static Point2D SplashKit.ToScreen(Point2D pt);" ], - "pascal": [ - "function ToScreen(const pt: Point2D): Point2D" - ] + "pascal": ["function ToScreen(const pt: Point2D): Point2D"] } }, { @@ -6404,9 +5579,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6418,19 +5591,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def to_screen_rectangle(rect):" - ], - "cpp": [ - "rectangle to_screen(const rectangle &rect)" - ], + "python": ["def to_screen_rectangle(rect):"], + "cpp": ["rectangle to_screen(const rectangle &rect)"], "csharp": [ "public static Rectangle Camera.ToScreen(Rectangle rect);", "public static Rectangle SplashKit.ToScreen(Rectangle rect);" ], - "pascal": [ - "function ToScreen(const rect: Rectangle): Rectangle" - ] + "pascal": ["function ToScreen(const rect: Rectangle): Rectangle"] } }, { @@ -6458,9 +5625,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6471,19 +5636,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def to_screen_x(world_x):" - ], - "cpp": [ - "double to_screen_x(double world_x)" - ], + "python": ["def to_screen_x(world_x):"], + "cpp": ["double to_screen_x(double world_x)"], "csharp": [ "public static double Camera.ToScreenX(double worldX);", "public static double SplashKit.ToScreenX(double worldX);" ], - "pascal": [ - "function ToScreenX(worldX: Double): Double" - ] + "pascal": ["function ToScreenX(worldX: Double): Double"] } }, { @@ -6511,9 +5670,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6524,19 +5681,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def to_screen_y(world_y):" - ], - "cpp": [ - "double to_screen_y(double world_y)" - ], + "python": ["def to_screen_y(world_y):"], + "cpp": ["double to_screen_y(double world_y)"], "csharp": [ "public static double Camera.ToScreenY(double worldY);", "public static double SplashKit.ToScreenY(double worldY);" ], - "pascal": [ - "function ToScreenY(worldY: Double): Double" - ] + "pascal": ["function ToScreenY(worldY: Double): Double"] } }, { @@ -6564,9 +5715,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6577,19 +5726,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def to_world(pt):" - ], - "cpp": [ - "point_2d to_world(const point_2d &pt)" - ], + "python": ["def to_world(pt):"], + "cpp": ["point_2d to_world(const point_2d &pt)"], "csharp": [ "public static Point2D Camera.ToWorld(Point2D pt);", "public static Point2D SplashKit.ToWorld(Point2D pt);" ], - "pascal": [ - "function ToWorld(const pt: Point2D): Point2D" - ] + "pascal": ["function ToWorld(const pt: Point2D): Point2D"] } }, { @@ -6617,9 +5760,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6630,19 +5771,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def to_world_x(screen_x):" - ], - "cpp": [ - "double to_world_x(double screen_x)" - ], + "python": ["def to_world_x(screen_x):"], + "cpp": ["double to_world_x(double screen_x)"], "csharp": [ "public static double Camera.ToWorldX(double screenX);", "public static double SplashKit.ToWorldX(double screenX);" ], - "pascal": [ - "function ToWorldX(screenX: Double): Double" - ] + "pascal": ["function ToWorldX(screenX: Double): Double"] } }, { @@ -6670,9 +5805,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6683,19 +5816,13 @@ "static": "camera" }, "signatures": { - "python": [ - "def to_world_y(screen_y):" - ], - "cpp": [ - "double to_world_y(double screen_y)" - ], + "python": ["def to_world_y(screen_y):"], + "cpp": ["double to_world_y(double screen_y)"], "csharp": [ "public static double Camera.ToWorldY(double screenY);", "public static double SplashKit.ToWorldY(double screenY);" ], - "pascal": [ - "function ToWorldY(screenY: Double): Double" - ] + "pascal": ["function ToWorldY(screenY: Double): Double"] } }, { @@ -6715,27 +5842,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "vector_world_to_screen", "group": "camera", "static": "camera" }, "signatures": { - "python": [ - "def vector_world_to_screen():" - ], - "cpp": [ - "vector_2d vector_world_to_screen()" - ], + "python": ["def vector_world_to_screen():"], + "cpp": ["vector_2d vector_world_to_screen()"], "csharp": [ "public static Vector2D Camera.VectorWorldToScreen { get }", "public static Vector2D SplashKit.VectorWorldToScreen();" ], - "pascal": [ - "function VectorWorldToScreen(): Vector2D" - ] + "pascal": ["function VectorWorldToScreen(): Vector2D"] } }, { @@ -6763,9 +5883,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6778,34 +5896,20 @@ "self": "wind" }, "signatures": { - "python": [ - "def window_area(wind):" - ], - "cpp": [ - "rectangle window_area(window wind)" - ], + "python": ["def window_area(wind):"], + "cpp": ["rectangle window_area(window wind)"], "csharp": [ "public Rectangle Window.Area { get }", "public static Rectangle SplashKit.WindowArea(Window wind);" ], - "pascal": [ - "function WindowArea(wind: Window): Rectangle" - ] + "pascal": ["function WindowArea(wind: Window): Rectangle"] } } ], - "typedefs": [ - - ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "typedefs": [], + "structs": [], + "enums": [], + "defines": [] }, "color": { "brief": "SplashKit simplifies color manipulation in graphical applications for developers, ensuring ease of use and efficiency.", @@ -6836,9 +5940,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6847,18 +5949,10 @@ "group": "color" }, "signatures": { - "python": [ - "def alpha_of(c):" - ], - "cpp": [ - "int alpha_of(color c)" - ], - "csharp": [ - "public static int SplashKit.AlphaOf(Color c);" - ], - "pascal": [ - "function AlphaOf(c: Color): Integer" - ] + "python": ["def alpha_of(c):"], + "cpp": ["int alpha_of(color c)"], + "csharp": ["public static int SplashKit.AlphaOf(Color c);"], + "pascal": ["function AlphaOf(c: Color): Integer"] } }, { @@ -6886,9 +5980,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6897,18 +5989,10 @@ "group": "color" }, "signatures": { - "python": [ - "def blue_of(c):" - ], - "cpp": [ - "int blue_of(color c)" - ], - "csharp": [ - "public static int SplashKit.BlueOf(Color c);" - ], - "pascal": [ - "function BlueOf(c: Color): Integer" - ] + "python": ["def blue_of(c):"], + "cpp": ["int blue_of(color c)"], + "csharp": ["public static int SplashKit.BlueOf(Color c);"], + "pascal": ["function BlueOf(c: Color): Integer"] } }, { @@ -6936,9 +6020,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -6947,18 +6029,10 @@ "group": "color" }, "signatures": { - "python": [ - "def brightness_of(c):" - ], - "cpp": [ - "double brightness_of(color c)" - ], - "csharp": [ - "public static double SplashKit.BrightnessOf(Color c);" - ], - "pascal": [ - "function BrightnessOf(c: Color): Double" - ] + "python": ["def brightness_of(c):"], + "cpp": ["double brightness_of(color c)"], + "csharp": ["public static double SplashKit.BrightnessOf(Color c);"], + "pascal": ["function BrightnessOf(c: Color): Double"] } }, { @@ -6978,28 +6052,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "alice_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_alice_blue():" - ], - "cpp": [ - "#define COLOR_ALICE_BLUE", - "color color_alice_blue()" - ], + "python": ["def color_alice_blue():"], + "cpp": ["#define COLOR_ALICE_BLUE", "color color_alice_blue()"], "csharp": [ "public static Color Color.AliceBlue { get }", "public static Color SplashKit.ColorAliceBlue();" ], - "pascal": [ - "function ColorAliceBlue(): Color" - ] + "pascal": ["function ColorAliceBlue(): Color"] } }, { @@ -7019,28 +6085,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "antique_white", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_antique_white():" - ], - "cpp": [ - "#define COLOR_ANTIQUE_WHITE", - "color color_antique_white()" - ], + "python": ["def color_antique_white():"], + "cpp": ["#define COLOR_ANTIQUE_WHITE", "color color_antique_white()"], "csharp": [ "public static Color Color.AntiqueWhite { get }", "public static Color SplashKit.ColorAntiqueWhite();" ], - "pascal": [ - "function ColorAntiqueWhite(): Color" - ] + "pascal": ["function ColorAntiqueWhite(): Color"] } }, { @@ -7060,28 +6118,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "aqua", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_aqua():" - ], - "cpp": [ - "#define COLOR_AQUA", - "color color_aqua()" - ], + "python": ["def color_aqua():"], + "cpp": ["#define COLOR_AQUA", "color color_aqua()"], "csharp": [ "public static Color Color.Aqua { get }", "public static Color SplashKit.ColorAqua();" ], - "pascal": [ - "function ColorAqua(): Color" - ] + "pascal": ["function ColorAqua(): Color"] } }, { @@ -7101,28 +6151,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "aquamarine", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_aquamarine():" - ], - "cpp": [ - "#define COLOR_AQUAMARINE", - "color color_aquamarine()" - ], + "python": ["def color_aquamarine():"], + "cpp": ["#define COLOR_AQUAMARINE", "color color_aquamarine()"], "csharp": [ "public static Color Color.Aquamarine { get }", "public static Color SplashKit.ColorAquamarine();" ], - "pascal": [ - "function ColorAquamarine(): Color" - ] + "pascal": ["function ColorAquamarine(): Color"] } }, { @@ -7142,28 +6184,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "azure", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_azure():" - ], - "cpp": [ - "#define COLOR_AZURE", - "color color_azure()" - ], + "python": ["def color_azure():"], + "cpp": ["#define COLOR_AZURE", "color color_azure()"], "csharp": [ "public static Color Color.Azure { get }", "public static Color SplashKit.ColorAzure();" ], - "pascal": [ - "function ColorAzure(): Color" - ] + "pascal": ["function ColorAzure(): Color"] } }, { @@ -7183,28 +6217,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "beige", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_beige():" - ], - "cpp": [ - "#define COLOR_BEIGE", - "color color_beige()" - ], + "python": ["def color_beige():"], + "cpp": ["#define COLOR_BEIGE", "color color_beige()"], "csharp": [ "public static Color Color.Beige { get }", "public static Color SplashKit.ColorBeige();" ], - "pascal": [ - "function ColorBeige(): Color" - ] + "pascal": ["function ColorBeige(): Color"] } }, { @@ -7224,28 +6250,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "bisque", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_bisque():" - ], - "cpp": [ - "#define COLOR_BISQUE", - "color color_bisque()" - ], + "python": ["def color_bisque():"], + "cpp": ["#define COLOR_BISQUE", "color color_bisque()"], "csharp": [ "public static Color Color.Bisque { get }", "public static Color SplashKit.ColorBisque();" ], - "pascal": [ - "function ColorBisque(): Color" - ] + "pascal": ["function ColorBisque(): Color"] } }, { @@ -7265,28 +6283,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "black", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_black():" - ], - "cpp": [ - "#define COLOR_BLACK", - "color color_black()" - ], + "python": ["def color_black():"], + "cpp": ["#define COLOR_BLACK", "color color_black()"], "csharp": [ "public static Color Color.Black { get }", "public static Color SplashKit.ColorBlack();" ], - "pascal": [ - "function ColorBlack(): Color" - ] + "pascal": ["function ColorBlack(): Color"] } }, { @@ -7306,17 +6316,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "blanched_almond", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_blanched_almond():" - ], + "python": ["def color_blanched_almond():"], "cpp": [ "#define COLOR_BLANCHED_ALMOND", "color color_blanched_almond()" @@ -7325,9 +6332,7 @@ "public static Color Color.BlanchedAlmond { get }", "public static Color SplashKit.ColorBlanchedAlmond();" ], - "pascal": [ - "function ColorBlanchedAlmond(): Color" - ] + "pascal": ["function ColorBlanchedAlmond(): Color"] } }, { @@ -7347,28 +6352,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_blue():" - ], - "cpp": [ - "#define COLOR_BLUE", - "color color_blue()" - ], + "python": ["def color_blue():"], + "cpp": ["#define COLOR_BLUE", "color color_blue()"], "csharp": [ "public static Color Color.Blue { get }", "public static Color SplashKit.ColorBlue();" ], - "pascal": [ - "function ColorBlue(): Color" - ] + "pascal": ["function ColorBlue(): Color"] } }, { @@ -7388,28 +6385,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "blue_violet", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_blue_violet():" - ], - "cpp": [ - "#define COLOR_BLUE_VIOLET", - "color color_blue_violet()" - ], + "python": ["def color_blue_violet():"], + "cpp": ["#define COLOR_BLUE_VIOLET", "color color_blue_violet()"], "csharp": [ "public static Color Color.BlueViolet { get }", "public static Color SplashKit.ColorBlueViolet();" ], - "pascal": [ - "function ColorBlueViolet(): Color" - ] + "pascal": ["function ColorBlueViolet(): Color"] } }, { @@ -7429,28 +6418,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "bright_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_bright_green():" - ], - "cpp": [ - "#define COLOR_BRIGHT_GREEN", - "color color_bright_green()" - ], + "python": ["def color_bright_green():"], + "cpp": ["#define COLOR_BRIGHT_GREEN", "color color_bright_green()"], "csharp": [ "public static Color Color.BrightGreen { get }", "public static Color SplashKit.ColorBrightGreen();" ], - "pascal": [ - "function ColorBrightGreen(): Color" - ] + "pascal": ["function ColorBrightGreen(): Color"] } }, { @@ -7470,28 +6451,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "brown", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_brown():" - ], - "cpp": [ - "#define COLOR_BROWN", - "color color_brown()" - ], + "python": ["def color_brown():"], + "cpp": ["#define COLOR_BROWN", "color color_brown()"], "csharp": [ "public static Color Color.Brown { get }", "public static Color SplashKit.ColorBrown();" ], - "pascal": [ - "function ColorBrown(): Color" - ] + "pascal": ["function ColorBrown(): Color"] } }, { @@ -7511,28 +6484,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "burly_wood", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_burly_wood():" - ], - "cpp": [ - "#define COLOR_BURLY_WOOD", - "color color_burly_wood()" - ], + "python": ["def color_burly_wood():"], + "cpp": ["#define COLOR_BURLY_WOOD", "color color_burly_wood()"], "csharp": [ "public static Color Color.BurlyWood { get }", "public static Color SplashKit.ColorBurlyWood();" ], - "pascal": [ - "function ColorBurlyWood(): Color" - ] + "pascal": ["function ColorBurlyWood(): Color"] } }, { @@ -7552,28 +6517,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "cadet_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_cadet_blue():" - ], - "cpp": [ - "#define COLOR_CADET_BLUE", - "color color_cadet_blue()" - ], + "python": ["def color_cadet_blue():"], + "cpp": ["#define COLOR_CADET_BLUE", "color color_cadet_blue()"], "csharp": [ "public static Color Color.CadetBlue { get }", "public static Color SplashKit.ColorCadetBlue();" ], - "pascal": [ - "function ColorCadetBlue(): Color" - ] + "pascal": ["function ColorCadetBlue(): Color"] } }, { @@ -7593,28 +6550,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "chartreuse", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_chartreuse():" - ], - "cpp": [ - "#define COLOR_CHARTREUSE", - "color color_chartreuse()" - ], + "python": ["def color_chartreuse():"], + "cpp": ["#define COLOR_CHARTREUSE", "color color_chartreuse()"], "csharp": [ "public static Color Color.Chartreuse { get }", "public static Color SplashKit.ColorChartreuse();" ], - "pascal": [ - "function ColorChartreuse(): Color" - ] + "pascal": ["function ColorChartreuse(): Color"] } }, { @@ -7634,28 +6583,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "chocolate", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_chocolate():" - ], - "cpp": [ - "#define COLOR_CHOCOLATE", - "color color_chocolate()" - ], + "python": ["def color_chocolate():"], + "cpp": ["#define COLOR_CHOCOLATE", "color color_chocolate()"], "csharp": [ "public static Color Color.Chocolate { get }", "public static Color SplashKit.ColorChocolate();" ], - "pascal": [ - "function ColorChocolate(): Color" - ] + "pascal": ["function ColorChocolate(): Color"] } }, { @@ -7675,28 +6616,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "coral", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_coral():" - ], - "cpp": [ - "#define COLOR_CORAL", - "color color_coral()" - ], + "python": ["def color_coral():"], + "cpp": ["#define COLOR_CORAL", "color color_coral()"], "csharp": [ "public static Color Color.Coral { get }", "public static Color SplashKit.ColorCoral();" ], - "pascal": [ - "function ColorCoral(): Color" - ] + "pascal": ["function ColorCoral(): Color"] } }, { @@ -7716,17 +6649,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "cornflower_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_cornflower_blue():" - ], + "python": ["def color_cornflower_blue():"], "cpp": [ "#define COLOR_CORNFLOWER_BLUE", "color color_cornflower_blue()" @@ -7735,9 +6665,7 @@ "public static Color Color.CornflowerBlue { get }", "public static Color SplashKit.ColorCornflowerBlue();" ], - "pascal": [ - "function ColorCornflowerBlue(): Color" - ] + "pascal": ["function ColorCornflowerBlue(): Color"] } }, { @@ -7757,28 +6685,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "cornsilk", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_cornsilk():" - ], - "cpp": [ - "#define COLOR_CORNSILK", - "color color_cornsilk()" - ], + "python": ["def color_cornsilk():"], + "cpp": ["#define COLOR_CORNSILK", "color color_cornsilk()"], "csharp": [ "public static Color Color.Cornsilk { get }", "public static Color SplashKit.ColorCornsilk();" ], - "pascal": [ - "function ColorCornsilk(): Color" - ] + "pascal": ["function ColorCornsilk(): Color"] } }, { @@ -7798,28 +6718,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "crimson", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_crimson():" - ], - "cpp": [ - "#define COLOR_CRIMSON", - "color color_crimson()" - ], + "python": ["def color_crimson():"], + "cpp": ["#define COLOR_CRIMSON", "color color_crimson()"], "csharp": [ "public static Color Color.Crimson { get }", "public static Color SplashKit.ColorCrimson();" ], - "pascal": [ - "function ColorCrimson(): Color" - ] + "pascal": ["function ColorCrimson(): Color"] } }, { @@ -7839,28 +6751,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "cyan", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_cyan():" - ], - "cpp": [ - "#define COLOR_CYAN", - "color color_cyan()" - ], + "python": ["def color_cyan():"], + "cpp": ["#define COLOR_CYAN", "color color_cyan()"], "csharp": [ "public static Color Color.Cyan { get }", "public static Color SplashKit.ColorCyan();" ], - "pascal": [ - "function ColorCyan(): Color" - ] + "pascal": ["function ColorCyan(): Color"] } }, { @@ -7880,28 +6784,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_blue():" - ], - "cpp": [ - "#define COLOR_DARK_BLUE", - "color color_dark_blue()" - ], + "python": ["def color_dark_blue():"], + "cpp": ["#define COLOR_DARK_BLUE", "color color_dark_blue()"], "csharp": [ "public static Color Color.DarkBlue { get }", "public static Color SplashKit.ColorDarkBlue();" ], - "pascal": [ - "function ColorDarkBlue(): Color" - ] + "pascal": ["function ColorDarkBlue(): Color"] } }, { @@ -7921,28 +6817,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_cyan", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_cyan():" - ], - "cpp": [ - "#define COLOR_DARK_CYAN", - "color color_dark_cyan()" - ], + "python": ["def color_dark_cyan():"], + "cpp": ["#define COLOR_DARK_CYAN", "color color_dark_cyan()"], "csharp": [ "public static Color Color.DarkCyan { get }", "public static Color SplashKit.ColorDarkCyan();" ], - "pascal": [ - "function ColorDarkCyan(): Color" - ] + "pascal": ["function ColorDarkCyan(): Color"] } }, { @@ -7962,17 +6850,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_goldenrod", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_goldenrod():" - ], + "python": ["def color_dark_goldenrod():"], "cpp": [ "#define COLOR_DARK_GOLDENROD", "color color_dark_goldenrod()" @@ -7981,9 +6866,7 @@ "public static Color Color.DarkGoldenrod { get }", "public static Color SplashKit.ColorDarkGoldenrod();" ], - "pascal": [ - "function ColorDarkGoldenrod(): Color" - ] + "pascal": ["function ColorDarkGoldenrod(): Color"] } }, { @@ -8003,28 +6886,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_gray():" - ], - "cpp": [ - "#define COLOR_DARK_GRAY", - "color color_dark_gray()" - ], + "python": ["def color_dark_gray():"], + "cpp": ["#define COLOR_DARK_GRAY", "color color_dark_gray()"], "csharp": [ "public static Color Color.DarkGray { get }", "public static Color SplashKit.ColorDarkGray();" ], - "pascal": [ - "function ColorDarkGray(): Color" - ] + "pascal": ["function ColorDarkGray(): Color"] } }, { @@ -8044,28 +6919,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_green():" - ], - "cpp": [ - "#define COLOR_DARK_GREEN", - "color color_dark_green()" - ], + "python": ["def color_dark_green():"], + "cpp": ["#define COLOR_DARK_GREEN", "color color_dark_green()"], "csharp": [ "public static Color Color.DarkGreen { get }", "public static Color SplashKit.ColorDarkGreen();" ], - "pascal": [ - "function ColorDarkGreen(): Color" - ] + "pascal": ["function ColorDarkGreen(): Color"] } }, { @@ -8085,28 +6952,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_khaki", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_khaki():" - ], - "cpp": [ - "#define COLOR_DARK_KHAKI", - "color color_dark_khaki()" - ], + "python": ["def color_dark_khaki():"], + "cpp": ["#define COLOR_DARK_KHAKI", "color color_dark_khaki()"], "csharp": [ "public static Color Color.DarkKhaki { get }", "public static Color SplashKit.ColorDarkKhaki();" ], - "pascal": [ - "function ColorDarkKhaki(): Color" - ] + "pascal": ["function ColorDarkKhaki(): Color"] } }, { @@ -8126,28 +6985,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_magenta", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_magenta():" - ], - "cpp": [ - "#define COLOR_DARK_MAGENTA", - "color color_dark_magenta()" - ], + "python": ["def color_dark_magenta():"], + "cpp": ["#define COLOR_DARK_MAGENTA", "color color_dark_magenta()"], "csharp": [ "public static Color Color.DarkMagenta { get }", "public static Color SplashKit.ColorDarkMagenta();" ], - "pascal": [ - "function ColorDarkMagenta(): Color" - ] + "pascal": ["function ColorDarkMagenta(): Color"] } }, { @@ -8167,17 +7018,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_olive_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_olive_green():" - ], + "python": ["def color_dark_olive_green():"], "cpp": [ "#define COLOR_DARK_OLIVE_GREEN", "color color_dark_olive_green()" @@ -8186,9 +7034,7 @@ "public static Color Color.DarkOliveGreen { get }", "public static Color SplashKit.ColorDarkOliveGreen();" ], - "pascal": [ - "function ColorDarkOliveGreen(): Color" - ] + "pascal": ["function ColorDarkOliveGreen(): Color"] } }, { @@ -8208,28 +7054,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_orange", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_orange():" - ], - "cpp": [ - "#define COLOR_DARK_ORANGE", - "color color_dark_orange()" - ], + "python": ["def color_dark_orange():"], + "cpp": ["#define COLOR_DARK_ORANGE", "color color_dark_orange()"], "csharp": [ "public static Color Color.DarkOrange { get }", "public static Color SplashKit.ColorDarkOrange();" ], - "pascal": [ - "function ColorDarkOrange(): Color" - ] + "pascal": ["function ColorDarkOrange(): Color"] } }, { @@ -8249,28 +7087,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_orchid", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_orchid():" - ], - "cpp": [ - "#define COLOR_DARK_ORCHID", - "color color_dark_orchid()" - ], + "python": ["def color_dark_orchid():"], + "cpp": ["#define COLOR_DARK_ORCHID", "color color_dark_orchid()"], "csharp": [ "public static Color Color.DarkOrchid { get }", "public static Color SplashKit.ColorDarkOrchid();" ], - "pascal": [ - "function ColorDarkOrchid(): Color" - ] + "pascal": ["function ColorDarkOrchid(): Color"] } }, { @@ -8290,28 +7120,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_red():" - ], - "cpp": [ - "#define COLOR_DARK_RED", - "color color_dark_red()" - ], + "python": ["def color_dark_red():"], + "cpp": ["#define COLOR_DARK_RED", "color color_dark_red()"], "csharp": [ "public static Color Color.DarkRed { get }", "public static Color SplashKit.ColorDarkRed();" ], - "pascal": [ - "function ColorDarkRed(): Color" - ] + "pascal": ["function ColorDarkRed(): Color"] } }, { @@ -8331,28 +7153,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_salmon", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_salmon():" - ], - "cpp": [ - "#define COLOR_DARK_SALMON", - "color color_dark_salmon()" - ], + "python": ["def color_dark_salmon():"], + "cpp": ["#define COLOR_DARK_SALMON", "color color_dark_salmon()"], "csharp": [ "public static Color Color.DarkSalmon { get }", "public static Color SplashKit.ColorDarkSalmon();" ], - "pascal": [ - "function ColorDarkSalmon(): Color" - ] + "pascal": ["function ColorDarkSalmon(): Color"] } }, { @@ -8372,17 +7186,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_sea_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_sea_green():" - ], + "python": ["def color_dark_sea_green():"], "cpp": [ "#define COLOR_DARK_SEA_GREEN", "color color_dark_sea_green()" @@ -8391,9 +7202,7 @@ "public static Color Color.DarkSeaGreen { get }", "public static Color SplashKit.ColorDarkSeaGreen();" ], - "pascal": [ - "function ColorDarkSeaGreen(): Color" - ] + "pascal": ["function ColorDarkSeaGreen(): Color"] } }, { @@ -8413,17 +7222,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_slate_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_slate_blue():" - ], + "python": ["def color_dark_slate_blue():"], "cpp": [ "#define COLOR_DARK_SLATE_BLUE", "color color_dark_slate_blue()" @@ -8432,9 +7238,7 @@ "public static Color Color.DarkSlateBlue { get }", "public static Color SplashKit.ColorDarkSlateBlue();" ], - "pascal": [ - "function ColorDarkSlateBlue(): Color" - ] + "pascal": ["function ColorDarkSlateBlue(): Color"] } }, { @@ -8454,17 +7258,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_slate_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_slate_gray():" - ], + "python": ["def color_dark_slate_gray():"], "cpp": [ "#define COLOR_DARK_SLATE_GRAY", "color color_dark_slate_gray()" @@ -8473,9 +7274,7 @@ "public static Color Color.DarkSlateGray { get }", "public static Color SplashKit.ColorDarkSlateGray();" ], - "pascal": [ - "function ColorDarkSlateGray(): Color" - ] + "pascal": ["function ColorDarkSlateGray(): Color"] } }, { @@ -8495,17 +7294,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_turquoise", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_turquoise():" - ], + "python": ["def color_dark_turquoise():"], "cpp": [ "#define COLOR_DARK_TURQUOISE", "color color_dark_turquoise()" @@ -8514,9 +7310,7 @@ "public static Color Color.DarkTurquoise { get }", "public static Color SplashKit.ColorDarkTurquoise();" ], - "pascal": [ - "function ColorDarkTurquoise(): Color" - ] + "pascal": ["function ColorDarkTurquoise(): Color"] } }, { @@ -8536,28 +7330,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_violet", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_violet():" - ], - "cpp": [ - "#define COLOR_DARK_VIOLET", - "color color_dark_violet()" - ], + "python": ["def color_dark_violet():"], + "cpp": ["#define COLOR_DARK_VIOLET", "color color_dark_violet()"], "csharp": [ "public static Color Color.DarkViolet { get }", "public static Color SplashKit.ColorDarkViolet();" ], - "pascal": [ - "function ColorDarkViolet(): Color" - ] + "pascal": ["function ColorDarkViolet(): Color"] } }, { @@ -8577,28 +7363,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "deep_pink", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_deep_pink():" - ], - "cpp": [ - "#define COLOR_DEEP_PINK", - "color color_deep_pink()" - ], + "python": ["def color_deep_pink():"], + "cpp": ["#define COLOR_DEEP_PINK", "color color_deep_pink()"], "csharp": [ "public static Color Color.DeepPink { get }", "public static Color SplashKit.ColorDeepPink();" ], - "pascal": [ - "function ColorDeepPink(): Color" - ] + "pascal": ["function ColorDeepPink(): Color"] } }, { @@ -8618,28 +7396,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "deep_sky_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_deep_sky_blue():" - ], - "cpp": [ - "#define COLOR_DEEP_SKY_BLUE", - "color color_deep_sky_blue()" - ], + "python": ["def color_deep_sky_blue():"], + "cpp": ["#define COLOR_DEEP_SKY_BLUE", "color color_deep_sky_blue()"], "csharp": [ "public static Color Color.DeepSkyBlue { get }", "public static Color SplashKit.ColorDeepSkyBlue();" ], - "pascal": [ - "function ColorDeepSkyBlue(): Color" - ] + "pascal": ["function ColorDeepSkyBlue(): Color"] } }, { @@ -8659,28 +7429,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dim_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dim_gray():" - ], - "cpp": [ - "#define COLOR_DIM_GRAY", - "color color_dim_gray()" - ], + "python": ["def color_dim_gray():"], + "cpp": ["#define COLOR_DIM_GRAY", "color color_dim_gray()"], "csharp": [ "public static Color Color.DimGray { get }", "public static Color SplashKit.ColorDimGray();" ], - "pascal": [ - "function ColorDimGray(): Color" - ] + "pascal": ["function ColorDimGray(): Color"] } }, { @@ -8700,28 +7462,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dodger_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dodger_blue():" - ], - "cpp": [ - "#define COLOR_DODGER_BLUE", - "color color_dodger_blue()" - ], + "python": ["def color_dodger_blue():"], + "cpp": ["#define COLOR_DODGER_BLUE", "color color_dodger_blue()"], "csharp": [ "public static Color Color.DodgerBlue { get }", "public static Color SplashKit.ColorDodgerBlue();" ], - "pascal": [ - "function ColorDodgerBlue(): Color" - ] + "pascal": ["function ColorDodgerBlue(): Color"] } }, { @@ -8741,28 +7495,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "firebrick", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_firebrick():" - ], - "cpp": [ - "#define COLOR_FIREBRICK", - "color color_firebrick()" - ], + "python": ["def color_firebrick():"], + "cpp": ["#define COLOR_FIREBRICK", "color color_firebrick()"], "csharp": [ "public static Color Color.Firebrick { get }", "public static Color SplashKit.ColorFirebrick();" ], - "pascal": [ - "function ColorFirebrick(): Color" - ] + "pascal": ["function ColorFirebrick(): Color"] } }, { @@ -8782,28 +7528,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "floral_white", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_floral_white():" - ], - "cpp": [ - "#define COLOR_FLORAL_WHITE", - "color color_floral_white()" - ], + "python": ["def color_floral_white():"], + "cpp": ["#define COLOR_FLORAL_WHITE", "color color_floral_white()"], "csharp": [ "public static Color Color.FloralWhite { get }", "public static Color SplashKit.ColorFloralWhite();" ], - "pascal": [ - "function ColorFloralWhite(): Color" - ] + "pascal": ["function ColorFloralWhite(): Color"] } }, { @@ -8823,28 +7561,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "forest_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_forest_green():" - ], - "cpp": [ - "#define COLOR_FOREST_GREEN", - "color color_forest_green()" - ], + "python": ["def color_forest_green():"], + "cpp": ["#define COLOR_FOREST_GREEN", "color color_forest_green()"], "csharp": [ "public static Color Color.ForestGreen { get }", "public static Color SplashKit.ColorForestGreen();" ], - "pascal": [ - "function ColorForestGreen(): Color" - ] + "pascal": ["function ColorForestGreen(): Color"] } }, { @@ -8864,28 +7594,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "fuchsia", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_fuchsia():" - ], - "cpp": [ - "#define COLOR_FUCHSIA", - "color color_fuchsia()" - ], + "python": ["def color_fuchsia():"], + "cpp": ["#define COLOR_FUCHSIA", "color color_fuchsia()"], "csharp": [ "public static Color Color.Fuchsia { get }", "public static Color SplashKit.ColorFuchsia();" ], - "pascal": [ - "function ColorFuchsia(): Color" - ] + "pascal": ["function ColorFuchsia(): Color"] } }, { @@ -8905,28 +7627,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "gainsboro", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_gainsboro():" - ], - "cpp": [ - "#define COLOR_GAINSBORO", - "color color_gainsboro()" - ], + "python": ["def color_gainsboro():"], + "cpp": ["#define COLOR_GAINSBORO", "color color_gainsboro()"], "csharp": [ "public static Color Color.Gainsboro { get }", "public static Color SplashKit.ColorGainsboro();" ], - "pascal": [ - "function ColorGainsboro(): Color" - ] + "pascal": ["function ColorGainsboro(): Color"] } }, { @@ -8946,28 +7660,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "ghost_white", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_ghost_white():" - ], - "cpp": [ - "#define COLOR_GHOST_WHITE", - "color color_ghost_white()" - ], + "python": ["def color_ghost_white():"], + "cpp": ["#define COLOR_GHOST_WHITE", "color color_ghost_white()"], "csharp": [ "public static Color Color.GhostWhite { get }", "public static Color SplashKit.ColorGhostWhite();" ], - "pascal": [ - "function ColorGhostWhite(): Color" - ] + "pascal": ["function ColorGhostWhite(): Color"] } }, { @@ -8987,28 +7693,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "gold", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_gold():" - ], - "cpp": [ - "#define COLOR_GOLD", - "color color_gold()" - ], + "python": ["def color_gold():"], + "cpp": ["#define COLOR_GOLD", "color color_gold()"], "csharp": [ "public static Color Color.Gold { get }", "public static Color SplashKit.ColorGold();" ], - "pascal": [ - "function ColorGold(): Color" - ] + "pascal": ["function ColorGold(): Color"] } }, { @@ -9028,28 +7726,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "goldenrod", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_goldenrod():" - ], - "cpp": [ - "#define COLOR_GOLDENROD", - "color color_goldenrod()" - ], + "python": ["def color_goldenrod():"], + "cpp": ["#define COLOR_GOLDENROD", "color color_goldenrod()"], "csharp": [ "public static Color Color.Goldenrod { get }", "public static Color SplashKit.ColorGoldenrod();" ], - "pascal": [ - "function ColorGoldenrod(): Color" - ] + "pascal": ["function ColorGoldenrod(): Color"] } }, { @@ -9069,28 +7759,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_gray():" - ], - "cpp": [ - "#define COLOR_GRAY", - "color color_gray()" - ], + "python": ["def color_gray():"], + "cpp": ["#define COLOR_GRAY", "color color_gray()"], "csharp": [ "public static Color Color.Gray { get }", "public static Color SplashKit.ColorGray();" ], - "pascal": [ - "function ColorGray(): Color" - ] + "pascal": ["function ColorGray(): Color"] } }, { @@ -9110,28 +7792,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_green():" - ], - "cpp": [ - "#define COLOR_GREEN", - "color color_green()" - ], + "python": ["def color_green():"], + "cpp": ["#define COLOR_GREEN", "color color_green()"], "csharp": [ "public static Color Color.Green { get }", "public static Color SplashKit.ColorGreen();" ], - "pascal": [ - "function ColorGreen(): Color" - ] + "pascal": ["function ColorGreen(): Color"] } }, { @@ -9151,28 +7825,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "green_yellow", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_green_yellow():" - ], - "cpp": [ - "#define COLOR_GREEN_YELLOW", - "color color_green_yellow()" - ], + "python": ["def color_green_yellow():"], + "cpp": ["#define COLOR_GREEN_YELLOW", "color color_green_yellow()"], "csharp": [ "public static Color Color.GreenYellow { get }", "public static Color SplashKit.ColorGreenYellow();" ], - "pascal": [ - "function ColorGreenYellow(): Color" - ] + "pascal": ["function ColorGreenYellow(): Color"] } }, { @@ -9192,28 +7858,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "honeydew", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_honeydew():" - ], - "cpp": [ - "#define COLOR_HONEYDEW", - "color color_honeydew()" - ], + "python": ["def color_honeydew():"], + "cpp": ["#define COLOR_HONEYDEW", "color color_honeydew()"], "csharp": [ "public static Color Color.Honeydew { get }", "public static Color SplashKit.ColorHoneydew();" ], - "pascal": [ - "function ColorHoneydew(): Color" - ] + "pascal": ["function ColorHoneydew(): Color"] } }, { @@ -9233,28 +7891,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "hot_pink", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_hot_pink():" - ], - "cpp": [ - "#define COLOR_HOT_PINK", - "color color_hot_pink()" - ], + "python": ["def color_hot_pink():"], + "cpp": ["#define COLOR_HOT_PINK", "color color_hot_pink()"], "csharp": [ "public static Color Color.HotPink { get }", "public static Color SplashKit.ColorHotPink();" ], - "pascal": [ - "function ColorHotPink(): Color" - ] + "pascal": ["function ColorHotPink(): Color"] } }, { @@ -9274,28 +7924,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "indian_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_indian_red():" - ], - "cpp": [ - "#define COLOR_INDIAN_RED", - "color color_indian_red()" - ], + "python": ["def color_indian_red():"], + "cpp": ["#define COLOR_INDIAN_RED", "color color_indian_red()"], "csharp": [ "public static Color Color.IndianRed { get }", "public static Color SplashKit.ColorIndianRed();" ], - "pascal": [ - "function ColorIndianRed(): Color" - ] + "pascal": ["function ColorIndianRed(): Color"] } }, { @@ -9315,28 +7957,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "indigo", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_indigo():" - ], - "cpp": [ - "#define COLOR_INDIGO", - "color color_indigo()" - ], + "python": ["def color_indigo():"], + "cpp": ["#define COLOR_INDIGO", "color color_indigo()"], "csharp": [ "public static Color Color.Indigo { get }", "public static Color SplashKit.ColorIndigo();" ], - "pascal": [ - "function ColorIndigo(): Color" - ] + "pascal": ["function ColorIndigo(): Color"] } }, { @@ -9356,28 +7990,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "ivory", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_ivory():" - ], - "cpp": [ - "#define COLOR_IVORY", - "color color_ivory()" - ], + "python": ["def color_ivory():"], + "cpp": ["#define COLOR_IVORY", "color color_ivory()"], "csharp": [ "public static Color Color.Ivory { get }", "public static Color SplashKit.ColorIvory();" ], - "pascal": [ - "function ColorIvory(): Color" - ] + "pascal": ["function ColorIvory(): Color"] } }, { @@ -9397,28 +8023,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "khaki", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_khaki():" - ], - "cpp": [ - "#define COLOR_KHAKI", - "color color_khaki()" - ], + "python": ["def color_khaki():"], + "cpp": ["#define COLOR_KHAKI", "color color_khaki()"], "csharp": [ "public static Color Color.Khaki { get }", "public static Color SplashKit.ColorKhaki();" ], - "pascal": [ - "function ColorKhaki(): Color" - ] + "pascal": ["function ColorKhaki(): Color"] } }, { @@ -9438,28 +8056,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lavender", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lavender():" - ], - "cpp": [ - "#define COLOR_LAVENDER", - "color color_lavender()" - ], + "python": ["def color_lavender():"], + "cpp": ["#define COLOR_LAVENDER", "color color_lavender()"], "csharp": [ "public static Color Color.Lavender { get }", "public static Color SplashKit.ColorLavender();" ], - "pascal": [ - "function ColorLavender(): Color" - ] + "pascal": ["function ColorLavender(): Color"] } }, { @@ -9479,17 +8089,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lavender_blush", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lavender_blush():" - ], + "python": ["def color_lavender_blush():"], "cpp": [ "#define COLOR_LAVENDER_BLUSH", "color color_lavender_blush()" @@ -9498,9 +8105,7 @@ "public static Color Color.LavenderBlush { get }", "public static Color SplashKit.ColorLavenderBlush();" ], - "pascal": [ - "function ColorLavenderBlush(): Color" - ] + "pascal": ["function ColorLavenderBlush(): Color"] } }, { @@ -9520,28 +8125,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lawn_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lawn_green():" - ], - "cpp": [ - "#define COLOR_LAWN_GREEN", - "color color_lawn_green()" - ], + "python": ["def color_lawn_green():"], + "cpp": ["#define COLOR_LAWN_GREEN", "color color_lawn_green()"], "csharp": [ "public static Color Color.LawnGreen { get }", "public static Color SplashKit.ColorLawnGreen();" ], - "pascal": [ - "function ColorLawnGreen(): Color" - ] + "pascal": ["function ColorLawnGreen(): Color"] } }, { @@ -9561,28 +8158,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lemon_chiffon", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lemon_chiffon():" - ], - "cpp": [ - "#define COLOR_LEMON_CHIFFON", - "color color_lemon_chiffon()" - ], + "python": ["def color_lemon_chiffon():"], + "cpp": ["#define COLOR_LEMON_CHIFFON", "color color_lemon_chiffon()"], "csharp": [ "public static Color Color.LemonChiffon { get }", "public static Color SplashKit.ColorLemonChiffon();" ], - "pascal": [ - "function ColorLemonChiffon(): Color" - ] + "pascal": ["function ColorLemonChiffon(): Color"] } }, { @@ -9602,28 +8191,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_blue():" - ], - "cpp": [ - "#define COLOR_LIGHT_BLUE", - "color color_light_blue()" - ], + "python": ["def color_light_blue():"], + "cpp": ["#define COLOR_LIGHT_BLUE", "color color_light_blue()"], "csharp": [ "public static Color Color.LightBlue { get }", "public static Color SplashKit.ColorLightBlue();" ], - "pascal": [ - "function ColorLightBlue(): Color" - ] + "pascal": ["function ColorLightBlue(): Color"] } }, { @@ -9643,28 +8224,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_coral", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_coral():" - ], - "cpp": [ - "#define COLOR_LIGHT_CORAL", - "color color_light_coral()" - ], + "python": ["def color_light_coral():"], + "cpp": ["#define COLOR_LIGHT_CORAL", "color color_light_coral()"], "csharp": [ "public static Color Color.LightCoral { get }", "public static Color SplashKit.ColorLightCoral();" ], - "pascal": [ - "function ColorLightCoral(): Color" - ] + "pascal": ["function ColorLightCoral(): Color"] } }, { @@ -9684,28 +8257,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_cyan", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_cyan():" - ], - "cpp": [ - "#define COLOR_LIGHT_CYAN", - "color color_light_cyan()" - ], + "python": ["def color_light_cyan():"], + "cpp": ["#define COLOR_LIGHT_CYAN", "color color_light_cyan()"], "csharp": [ "public static Color Color.LightCyan { get }", "public static Color SplashKit.ColorLightCyan();" ], - "pascal": [ - "function ColorLightCyan(): Color" - ] + "pascal": ["function ColorLightCyan(): Color"] } }, { @@ -9725,17 +8290,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_goldenrod_yellow", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_goldenrod_yellow():" - ], + "python": ["def color_light_goldenrod_yellow():"], "cpp": [ "#define COLOR_LIGHT_GOLDENROD_YELLOW", "color color_light_goldenrod_yellow()" @@ -9744,9 +8306,7 @@ "public static Color Color.LightGoldenrodYellow { get }", "public static Color SplashKit.ColorLightGoldenrodYellow();" ], - "pascal": [ - "function ColorLightGoldenrodYellow(): Color" - ] + "pascal": ["function ColorLightGoldenrodYellow(): Color"] } }, { @@ -9766,28 +8326,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_gray():" - ], - "cpp": [ - "#define COLOR_LIGHT_GRAY", - "color color_light_gray()" - ], + "python": ["def color_light_gray():"], + "cpp": ["#define COLOR_LIGHT_GRAY", "color color_light_gray()"], "csharp": [ "public static Color Color.LightGray { get }", "public static Color SplashKit.ColorLightGray();" ], - "pascal": [ - "function ColorLightGray(): Color" - ] + "pascal": ["function ColorLightGray(): Color"] } }, { @@ -9807,28 +8359,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_green():" - ], - "cpp": [ - "#define COLOR_LIGHT_GREEN", - "color color_light_green()" - ], + "python": ["def color_light_green():"], + "cpp": ["#define COLOR_LIGHT_GREEN", "color color_light_green()"], "csharp": [ "public static Color Color.LightGreen { get }", "public static Color SplashKit.ColorLightGreen();" ], - "pascal": [ - "function ColorLightGreen(): Color" - ] + "pascal": ["function ColorLightGreen(): Color"] } }, { @@ -9848,28 +8392,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_pink", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_pink():" - ], - "cpp": [ - "#define COLOR_LIGHT_PINK", - "color color_light_pink()" - ], + "python": ["def color_light_pink():"], + "cpp": ["#define COLOR_LIGHT_PINK", "color color_light_pink()"], "csharp": [ "public static Color Color.LightPink { get }", "public static Color SplashKit.ColorLightPink();" ], - "pascal": [ - "function ColorLightPink(): Color" - ] + "pascal": ["function ColorLightPink(): Color"] } }, { @@ -9889,28 +8425,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_salmon", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_salmon():" - ], - "cpp": [ - "#define COLOR_LIGHT_SALMON", - "color color_light_salmon()" - ], + "python": ["def color_light_salmon():"], + "cpp": ["#define COLOR_LIGHT_SALMON", "color color_light_salmon()"], "csharp": [ "public static Color Color.LightSalmon { get }", "public static Color SplashKit.ColorLightSalmon();" ], - "pascal": [ - "function ColorLightSalmon(): Color" - ] + "pascal": ["function ColorLightSalmon(): Color"] } }, { @@ -9930,17 +8458,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_sea_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_sea_green():" - ], + "python": ["def color_light_sea_green():"], "cpp": [ "#define COLOR_LIGHT_SEA_GREEN", "color color_light_sea_green()" @@ -9949,9 +8474,7 @@ "public static Color Color.LightSeaGreen { get }", "public static Color SplashKit.ColorLightSeaGreen();" ], - "pascal": [ - "function ColorLightSeaGreen(): Color" - ] + "pascal": ["function ColorLightSeaGreen(): Color"] } }, { @@ -9971,17 +8494,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_sky_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_sky_blue():" - ], + "python": ["def color_light_sky_blue():"], "cpp": [ "#define COLOR_LIGHT_SKY_BLUE", "color color_light_sky_blue()" @@ -9990,9 +8510,7 @@ "public static Color Color.LightSkyBlue { get }", "public static Color SplashKit.ColorLightSkyBlue();" ], - "pascal": [ - "function ColorLightSkyBlue(): Color" - ] + "pascal": ["function ColorLightSkyBlue(): Color"] } }, { @@ -10012,17 +8530,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_slate_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_slate_gray():" - ], + "python": ["def color_light_slate_gray():"], "cpp": [ "#define COLOR_LIGHT_SLATE_GRAY", "color color_light_slate_gray()" @@ -10031,9 +8546,7 @@ "public static Color Color.LightSlateGray { get }", "public static Color SplashKit.ColorLightSlateGray();" ], - "pascal": [ - "function ColorLightSlateGray(): Color" - ] + "pascal": ["function ColorLightSlateGray(): Color"] } }, { @@ -10053,17 +8566,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_steel_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_steel_blue():" - ], + "python": ["def color_light_steel_blue():"], "cpp": [ "#define COLOR_LIGHT_STEEL_BLUE", "color color_light_steel_blue()" @@ -10072,9 +8582,7 @@ "public static Color Color.LightSteelBlue { get }", "public static Color SplashKit.ColorLightSteelBlue();" ], - "pascal": [ - "function ColorLightSteelBlue(): Color" - ] + "pascal": ["function ColorLightSteelBlue(): Color"] } }, { @@ -10094,28 +8602,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_yellow", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_yellow():" - ], - "cpp": [ - "#define COLOR_LIGHT_YELLOW", - "color color_light_yellow()" - ], + "python": ["def color_light_yellow():"], + "cpp": ["#define COLOR_LIGHT_YELLOW", "color color_light_yellow()"], "csharp": [ "public static Color Color.LightYellow { get }", "public static Color SplashKit.ColorLightYellow();" ], - "pascal": [ - "function ColorLightYellow(): Color" - ] + "pascal": ["function ColorLightYellow(): Color"] } }, { @@ -10135,28 +8635,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lime", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lime():" - ], - "cpp": [ - "#define COLOR_LIME", - "color color_lime()" - ], + "python": ["def color_lime():"], + "cpp": ["#define COLOR_LIME", "color color_lime()"], "csharp": [ "public static Color Color.Lime { get }", "public static Color SplashKit.ColorLime();" ], - "pascal": [ - "function ColorLime(): Color" - ] + "pascal": ["function ColorLime(): Color"] } }, { @@ -10176,28 +8668,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lime_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lime_green():" - ], - "cpp": [ - "#define COLOR_LIME_GREEN", - "color color_lime_green()" - ], + "python": ["def color_lime_green():"], + "cpp": ["#define COLOR_LIME_GREEN", "color color_lime_green()"], "csharp": [ "public static Color Color.LimeGreen { get }", "public static Color SplashKit.ColorLimeGreen();" ], - "pascal": [ - "function ColorLimeGreen(): Color" - ] + "pascal": ["function ColorLimeGreen(): Color"] } }, { @@ -10217,28 +8701,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "linen", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_linen():" - ], - "cpp": [ - "#define COLOR_LINEN", - "color color_linen()" - ], + "python": ["def color_linen():"], + "cpp": ["#define COLOR_LINEN", "color color_linen()"], "csharp": [ "public static Color Color.Linen { get }", "public static Color SplashKit.ColorLinen();" ], - "pascal": [ - "function ColorLinen(): Color" - ] + "pascal": ["function ColorLinen(): Color"] } }, { @@ -10258,28 +8734,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "magenta", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_magenta():" - ], - "cpp": [ - "#define COLOR_MAGENTA", - "color color_magenta()" - ], + "python": ["def color_magenta():"], + "cpp": ["#define COLOR_MAGENTA", "color color_magenta()"], "csharp": [ "public static Color Color.Magenta { get }", "public static Color SplashKit.ColorMagenta();" ], - "pascal": [ - "function ColorMagenta(): Color" - ] + "pascal": ["function ColorMagenta(): Color"] } }, { @@ -10299,28 +8767,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "maroon", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_maroon():" - ], - "cpp": [ - "#define COLOR_MAROON", - "color color_maroon()" - ], + "python": ["def color_maroon():"], + "cpp": ["#define COLOR_MAROON", "color color_maroon()"], "csharp": [ "public static Color Color.Maroon { get }", "public static Color SplashKit.ColorMaroon();" ], - "pascal": [ - "function ColorMaroon(): Color" - ] + "pascal": ["function ColorMaroon(): Color"] } }, { @@ -10340,17 +8800,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_aquamarine", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_aquamarine():" - ], + "python": ["def color_medium_aquamarine():"], "cpp": [ "#define COLOR_MEDIUM_AQUAMARINE", "color color_medium_aquamarine()" @@ -10359,9 +8816,7 @@ "public static Color Color.MediumAquamarine { get }", "public static Color SplashKit.ColorMediumAquamarine();" ], - "pascal": [ - "function ColorMediumAquamarine(): Color" - ] + "pascal": ["function ColorMediumAquamarine(): Color"] } }, { @@ -10381,28 +8836,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_blue():" - ], - "cpp": [ - "#define COLOR_MEDIUM_BLUE", - "color color_medium_blue()" - ], + "python": ["def color_medium_blue():"], + "cpp": ["#define COLOR_MEDIUM_BLUE", "color color_medium_blue()"], "csharp": [ "public static Color Color.MediumBlue { get }", "public static Color SplashKit.ColorMediumBlue();" ], - "pascal": [ - "function ColorMediumBlue(): Color" - ] + "pascal": ["function ColorMediumBlue(): Color"] } }, { @@ -10422,28 +8869,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_orchid", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_orchid():" - ], - "cpp": [ - "#define COLOR_MEDIUM_ORCHID", - "color color_medium_orchid()" - ], + "python": ["def color_medium_orchid():"], + "cpp": ["#define COLOR_MEDIUM_ORCHID", "color color_medium_orchid()"], "csharp": [ "public static Color Color.MediumOrchid { get }", "public static Color SplashKit.ColorMediumOrchid();" ], - "pascal": [ - "function ColorMediumOrchid(): Color" - ] + "pascal": ["function ColorMediumOrchid(): Color"] } }, { @@ -10463,28 +8902,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_purple", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_purple():" - ], - "cpp": [ - "#define COLOR_MEDIUM_PURPLE", - "color color_medium_purple()" - ], + "python": ["def color_medium_purple():"], + "cpp": ["#define COLOR_MEDIUM_PURPLE", "color color_medium_purple()"], "csharp": [ "public static Color Color.MediumPurple { get }", "public static Color SplashKit.ColorMediumPurple();" ], - "pascal": [ - "function ColorMediumPurple(): Color" - ] + "pascal": ["function ColorMediumPurple(): Color"] } }, { @@ -10504,17 +8935,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_sea_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_sea_green():" - ], + "python": ["def color_medium_sea_green():"], "cpp": [ "#define COLOR_MEDIUM_SEA_GREEN", "color color_medium_sea_green()" @@ -10523,9 +8951,7 @@ "public static Color Color.MediumSeaGreen { get }", "public static Color SplashKit.ColorMediumSeaGreen();" ], - "pascal": [ - "function ColorMediumSeaGreen(): Color" - ] + "pascal": ["function ColorMediumSeaGreen(): Color"] } }, { @@ -10545,17 +8971,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_slate_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_slate_blue():" - ], + "python": ["def color_medium_slate_blue():"], "cpp": [ "#define COLOR_MEDIUM_SLATE_BLUE", "color color_medium_slate_blue()" @@ -10564,9 +8987,7 @@ "public static Color Color.MediumSlateBlue { get }", "public static Color SplashKit.ColorMediumSlateBlue();" ], - "pascal": [ - "function ColorMediumSlateBlue(): Color" - ] + "pascal": ["function ColorMediumSlateBlue(): Color"] } }, { @@ -10586,17 +9007,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_spring_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_spring_green():" - ], + "python": ["def color_medium_spring_green():"], "cpp": [ "#define COLOR_MEDIUM_SPRING_GREEN", "color color_medium_spring_green()" @@ -10605,9 +9023,7 @@ "public static Color Color.MediumSpringGreen { get }", "public static Color SplashKit.ColorMediumSpringGreen();" ], - "pascal": [ - "function ColorMediumSpringGreen(): Color" - ] + "pascal": ["function ColorMediumSpringGreen(): Color"] } }, { @@ -10627,17 +9043,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_turquoise", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_turquoise():" - ], + "python": ["def color_medium_turquoise():"], "cpp": [ "#define COLOR_MEDIUM_TURQUOISE", "color color_medium_turquoise()" @@ -10646,9 +9059,7 @@ "public static Color Color.MediumTurquoise { get }", "public static Color SplashKit.ColorMediumTurquoise();" ], - "pascal": [ - "function ColorMediumTurquoise(): Color" - ] + "pascal": ["function ColorMediumTurquoise(): Color"] } }, { @@ -10668,17 +9079,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_violet_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_violet_red():" - ], + "python": ["def color_medium_violet_red():"], "cpp": [ "#define COLOR_MEDIUM_VIOLET_RED", "color color_medium_violet_red()" @@ -10687,9 +9095,7 @@ "public static Color Color.MediumVioletRed { get }", "public static Color SplashKit.ColorMediumVioletRed();" ], - "pascal": [ - "function ColorMediumVioletRed(): Color" - ] + "pascal": ["function ColorMediumVioletRed(): Color"] } }, { @@ -10709,28 +9115,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "midnight_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_midnight_blue():" - ], - "cpp": [ - "#define COLOR_MIDNIGHT_BLUE", - "color color_midnight_blue()" - ], + "python": ["def color_midnight_blue():"], + "cpp": ["#define COLOR_MIDNIGHT_BLUE", "color color_midnight_blue()"], "csharp": [ "public static Color Color.MidnightBlue { get }", "public static Color SplashKit.ColorMidnightBlue();" ], - "pascal": [ - "function ColorMidnightBlue(): Color" - ] + "pascal": ["function ColorMidnightBlue(): Color"] } }, { @@ -10750,28 +9148,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "mint_cream", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_mint_cream():" - ], - "cpp": [ - "#define COLOR_MINT_CREAM", - "color color_mint_cream()" - ], + "python": ["def color_mint_cream():"], + "cpp": ["#define COLOR_MINT_CREAM", "color color_mint_cream()"], "csharp": [ "public static Color Color.MintCream { get }", "public static Color SplashKit.ColorMintCream();" ], - "pascal": [ - "function ColorMintCream(): Color" - ] + "pascal": ["function ColorMintCream(): Color"] } }, { @@ -10791,28 +9181,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "misty_rose", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_misty_rose():" - ], - "cpp": [ - "#define COLOR_MISTY_ROSE", - "color color_misty_rose()" - ], + "python": ["def color_misty_rose():"], + "cpp": ["#define COLOR_MISTY_ROSE", "color color_misty_rose()"], "csharp": [ "public static Color Color.MistyRose { get }", "public static Color SplashKit.ColorMistyRose();" ], - "pascal": [ - "function ColorMistyRose(): Color" - ] + "pascal": ["function ColorMistyRose(): Color"] } }, { @@ -10832,28 +9214,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "moccasin", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_moccasin():" - ], - "cpp": [ - "#define COLOR_MOCCASIN", - "color color_moccasin()" - ], + "python": ["def color_moccasin():"], + "cpp": ["#define COLOR_MOCCASIN", "color color_moccasin()"], "csharp": [ "public static Color Color.Moccasin { get }", "public static Color SplashKit.ColorMoccasin();" ], - "pascal": [ - "function ColorMoccasin(): Color" - ] + "pascal": ["function ColorMoccasin(): Color"] } }, { @@ -10873,28 +9247,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "navajo_white", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_navajo_white():" - ], - "cpp": [ - "#define COLOR_NAVAJO_WHITE", - "color color_navajo_white()" - ], + "python": ["def color_navajo_white():"], + "cpp": ["#define COLOR_NAVAJO_WHITE", "color color_navajo_white()"], "csharp": [ "public static Color Color.NavajoWhite { get }", "public static Color SplashKit.ColorNavajoWhite();" ], - "pascal": [ - "function ColorNavajoWhite(): Color" - ] + "pascal": ["function ColorNavajoWhite(): Color"] } }, { @@ -10914,28 +9280,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "navy", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_navy():" - ], - "cpp": [ - "#define COLOR_NAVY", - "color color_navy()" - ], + "python": ["def color_navy():"], + "cpp": ["#define COLOR_NAVY", "color color_navy()"], "csharp": [ "public static Color Color.Navy { get }", "public static Color SplashKit.ColorNavy();" ], - "pascal": [ - "function ColorNavy(): Color" - ] + "pascal": ["function ColorNavy(): Color"] } }, { @@ -10955,28 +9313,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "old_lace", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_old_lace():" - ], - "cpp": [ - "#define COLOR_OLD_LACE", - "color color_old_lace()" - ], + "python": ["def color_old_lace():"], + "cpp": ["#define COLOR_OLD_LACE", "color color_old_lace()"], "csharp": [ "public static Color Color.OldLace { get }", "public static Color SplashKit.ColorOldLace();" ], - "pascal": [ - "function ColorOldLace(): Color" - ] + "pascal": ["function ColorOldLace(): Color"] } }, { @@ -10996,28 +9346,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "olive", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_olive():" - ], - "cpp": [ - "#define COLOR_OLIVE", - "color color_olive()" - ], + "python": ["def color_olive():"], + "cpp": ["#define COLOR_OLIVE", "color color_olive()"], "csharp": [ "public static Color Color.Olive { get }", "public static Color SplashKit.ColorOlive();" ], - "pascal": [ - "function ColorOlive(): Color" - ] + "pascal": ["function ColorOlive(): Color"] } }, { @@ -11037,28 +9379,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "olive_drab", "static": "color", "group": "color" - }, - "signatures": { - "python": [ - "def color_olive_drab():" - ], - "cpp": [ - "#define COLOR_OLIVE_DRAB", - "color color_olive_drab()" - ], + }, + "signatures": { + "python": ["def color_olive_drab():"], + "cpp": ["#define COLOR_OLIVE_DRAB", "color color_olive_drab()"], "csharp": [ "public static Color Color.OliveDrab { get }", "public static Color SplashKit.ColorOliveDrab();" ], - "pascal": [ - "function ColorOliveDrab(): Color" - ] + "pascal": ["function ColorOliveDrab(): Color"] } }, { @@ -11078,28 +9412,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "orange", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_orange():" - ], - "cpp": [ - "#define COLOR_ORANGE", - "color color_orange()" - ], + "python": ["def color_orange():"], + "cpp": ["#define COLOR_ORANGE", "color color_orange()"], "csharp": [ "public static Color Color.Orange { get }", "public static Color SplashKit.ColorOrange();" ], - "pascal": [ - "function ColorOrange(): Color" - ] + "pascal": ["function ColorOrange(): Color"] } }, { @@ -11119,28 +9445,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "orange_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_orange_red():" - ], - "cpp": [ - "#define COLOR_ORANGE_RED", - "color color_orange_red()" - ], + "python": ["def color_orange_red():"], + "cpp": ["#define COLOR_ORANGE_RED", "color color_orange_red()"], "csharp": [ "public static Color Color.OrangeRed { get }", "public static Color SplashKit.ColorOrangeRed();" ], - "pascal": [ - "function ColorOrangeRed(): Color" - ] + "pascal": ["function ColorOrangeRed(): Color"] } }, { @@ -11160,28 +9478,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "orchid", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_orchid():" - ], - "cpp": [ - "#define COLOR_ORCHID", - "color color_orchid()" - ], + "python": ["def color_orchid():"], + "cpp": ["#define COLOR_ORCHID", "color color_orchid()"], "csharp": [ "public static Color Color.Orchid { get }", "public static Color SplashKit.ColorOrchid();" ], - "pascal": [ - "function ColorOrchid(): Color" - ] + "pascal": ["function ColorOrchid(): Color"] } }, { @@ -11201,17 +9511,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "pale_goldenrod", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_pale_goldenrod():" - ], + "python": ["def color_pale_goldenrod():"], "cpp": [ "#define COLOR_PALE_GOLDENROD", "color color_pale_goldenrod()" @@ -11220,9 +9527,7 @@ "public static Color Color.PaleGoldenrod { get }", "public static Color SplashKit.ColorPaleGoldenrod();" ], - "pascal": [ - "function ColorPaleGoldenrod(): Color" - ] + "pascal": ["function ColorPaleGoldenrod(): Color"] } }, { @@ -11242,28 +9547,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "pale_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_pale_green():" - ], - "cpp": [ - "#define COLOR_PALE_GREEN", - "color color_pale_green()" - ], + "python": ["def color_pale_green():"], + "cpp": ["#define COLOR_PALE_GREEN", "color color_pale_green()"], "csharp": [ "public static Color Color.PaleGreen { get }", "public static Color SplashKit.ColorPaleGreen();" ], - "pascal": [ - "function ColorPaleGreen(): Color" - ] + "pascal": ["function ColorPaleGreen(): Color"] } }, { @@ -11283,17 +9580,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "pale_turquoise", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_pale_turquoise():" - ], + "python": ["def color_pale_turquoise():"], "cpp": [ "#define COLOR_PALE_TURQUOISE", "color color_pale_turquoise()" @@ -11302,9 +9596,7 @@ "public static Color Color.PaleTurquoise { get }", "public static Color SplashKit.ColorPaleTurquoise();" ], - "pascal": [ - "function ColorPaleTurquoise(): Color" - ] + "pascal": ["function ColorPaleTurquoise(): Color"] } }, { @@ -11324,17 +9616,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "pale_violet_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_pale_violet_red():" - ], + "python": ["def color_pale_violet_red():"], "cpp": [ "#define COLOR_PALE_VIOLET_RED", "color color_pale_violet_red()" @@ -11343,9 +9632,7 @@ "public static Color Color.PaleVioletRed { get }", "public static Color SplashKit.ColorPaleVioletRed();" ], - "pascal": [ - "function ColorPaleVioletRed(): Color" - ] + "pascal": ["function ColorPaleVioletRed(): Color"] } }, { @@ -11365,28 +9652,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "papaya_whip", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_papaya_whip():" - ], - "cpp": [ - "#define COLOR_PAPAYA_WHIP", - "color color_papaya_whip()" - ], + "python": ["def color_papaya_whip():"], + "cpp": ["#define COLOR_PAPAYA_WHIP", "color color_papaya_whip()"], "csharp": [ "public static Color Color.PapayaWhip { get }", "public static Color SplashKit.ColorPapayaWhip();" ], - "pascal": [ - "function ColorPapayaWhip(): Color" - ] + "pascal": ["function ColorPapayaWhip(): Color"] } }, { @@ -11406,28 +9685,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "peach_puff", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_peach_puff():" - ], - "cpp": [ - "#define COLOR_PEACH_PUFF", - "color color_peach_puff()" - ], + "python": ["def color_peach_puff():"], + "cpp": ["#define COLOR_PEACH_PUFF", "color color_peach_puff()"], "csharp": [ "public static Color Color.PeachPuff { get }", "public static Color SplashKit.ColorPeachPuff();" ], - "pascal": [ - "function ColorPeachPuff(): Color" - ] + "pascal": ["function ColorPeachPuff(): Color"] } }, { @@ -11447,28 +9718,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "peru", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_peru():" - ], - "cpp": [ - "#define COLOR_PERU", - "color color_peru()" - ], + "python": ["def color_peru():"], + "cpp": ["#define COLOR_PERU", "color color_peru()"], "csharp": [ "public static Color Color.Peru { get }", "public static Color SplashKit.ColorPeru();" ], - "pascal": [ - "function ColorPeru(): Color" - ] + "pascal": ["function ColorPeru(): Color"] } }, { @@ -11488,28 +9751,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "pink", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_pink():" - ], - "cpp": [ - "#define COLOR_PINK", - "color color_pink()" - ], + "python": ["def color_pink():"], + "cpp": ["#define COLOR_PINK", "color color_pink()"], "csharp": [ "public static Color Color.Pink { get }", "public static Color SplashKit.ColorPink();" ], - "pascal": [ - "function ColorPink(): Color" - ] + "pascal": ["function ColorPink(): Color"] } }, { @@ -11529,28 +9784,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "plum", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_plum():" - ], - "cpp": [ - "#define COLOR_PLUM", - "color color_plum()" - ], + "python": ["def color_plum():"], + "cpp": ["#define COLOR_PLUM", "color color_plum()"], "csharp": [ "public static Color Color.Plum { get }", "public static Color SplashKit.ColorPlum();" ], - "pascal": [ - "function ColorPlum(): Color" - ] + "pascal": ["function ColorPlum(): Color"] } }, { @@ -11570,28 +9817,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "powder_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_powder_blue():" - ], - "cpp": [ - "#define COLOR_POWDER_BLUE", - "color color_powder_blue()" - ], + "python": ["def color_powder_blue():"], + "cpp": ["#define COLOR_POWDER_BLUE", "color color_powder_blue()"], "csharp": [ "public static Color Color.PowderBlue { get }", "public static Color SplashKit.ColorPowderBlue();" ], - "pascal": [ - "function ColorPowderBlue(): Color" - ] + "pascal": ["function ColorPowderBlue(): Color"] } }, { @@ -11611,28 +9850,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "purple", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_purple():" - ], - "cpp": [ - "#define COLOR_PURPLE", - "color color_purple()" - ], + "python": ["def color_purple():"], + "cpp": ["#define COLOR_PURPLE", "color color_purple()"], "csharp": [ "public static Color Color.Purple { get }", "public static Color SplashKit.ColorPurple();" ], - "pascal": [ - "function ColorPurple(): Color" - ] + "pascal": ["function ColorPurple(): Color"] } }, { @@ -11652,28 +9883,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_red():" - ], - "cpp": [ - "#define COLOR_RED", - "color color_red()" - ], + "python": ["def color_red():"], + "cpp": ["#define COLOR_RED", "color color_red()"], "csharp": [ "public static Color Color.Red { get }", "public static Color SplashKit.ColorRed();" ], - "pascal": [ - "function ColorRed(): Color" - ] + "pascal": ["function ColorRed(): Color"] } }, { @@ -11693,28 +9916,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "rosy_brown", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_rosy_brown():" - ], - "cpp": [ - "#define COLOR_ROSY_BROWN", - "color color_rosy_brown()" - ], + "python": ["def color_rosy_brown():"], + "cpp": ["#define COLOR_ROSY_BROWN", "color color_rosy_brown()"], "csharp": [ "public static Color Color.RosyBrown { get }", "public static Color SplashKit.ColorRosyBrown();" ], - "pascal": [ - "function ColorRosyBrown(): Color" - ] + "pascal": ["function ColorRosyBrown(): Color"] } }, { @@ -11734,28 +9949,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "royal_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_royal_blue():" - ], - "cpp": [ - "#define COLOR_ROYAL_BLUE", - "color color_royal_blue()" - ], + "python": ["def color_royal_blue():"], + "cpp": ["#define COLOR_ROYAL_BLUE", "color color_royal_blue()"], "csharp": [ "public static Color Color.RoyalBlue { get }", "public static Color SplashKit.ColorRoyalBlue();" ], - "pascal": [ - "function ColorRoyalBlue(): Color" - ] + "pascal": ["function ColorRoyalBlue(): Color"] } }, { @@ -11775,28 +9982,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "saddle_brown", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_saddle_brown():" - ], - "cpp": [ - "#define COLOR_SADDLE_BROWN", - "color color_saddle_brown()" - ], + "python": ["def color_saddle_brown():"], + "cpp": ["#define COLOR_SADDLE_BROWN", "color color_saddle_brown()"], "csharp": [ "public static Color Color.SaddleBrown { get }", "public static Color SplashKit.ColorSaddleBrown();" ], - "pascal": [ - "function ColorSaddleBrown(): Color" - ] + "pascal": ["function ColorSaddleBrown(): Color"] } }, { @@ -11816,28 +10015,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "salmon", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_salmon():" - ], - "cpp": [ - "#define COLOR_SALMON", - "color color_salmon()" - ], + "python": ["def color_salmon():"], + "cpp": ["#define COLOR_SALMON", "color color_salmon()"], "csharp": [ "public static Color Color.Salmon { get }", "public static Color SplashKit.ColorSalmon();" ], - "pascal": [ - "function ColorSalmon(): Color" - ] + "pascal": ["function ColorSalmon(): Color"] } }, { @@ -11857,28 +10048,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "sandy_brown", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_sandy_brown():" - ], - "cpp": [ - "#define COLOR_SANDY_BROWN", - "color color_sandy_brown()" - ], + "python": ["def color_sandy_brown():"], + "cpp": ["#define COLOR_SANDY_BROWN", "color color_sandy_brown()"], "csharp": [ "public static Color Color.SandyBrown { get }", "public static Color SplashKit.ColorSandyBrown();" ], - "pascal": [ - "function ColorSandyBrown(): Color" - ] + "pascal": ["function ColorSandyBrown(): Color"] } }, { @@ -11898,28 +10081,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "sea_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_sea_green():" - ], - "cpp": [ - "#define COLOR_SEA_GREEN", - "color color_sea_green()" - ], + "python": ["def color_sea_green():"], + "cpp": ["#define COLOR_SEA_GREEN", "color color_sea_green()"], "csharp": [ "public static Color Color.SeaGreen { get }", "public static Color SplashKit.ColorSeaGreen();" ], - "pascal": [ - "function ColorSeaGreen(): Color" - ] + "pascal": ["function ColorSeaGreen(): Color"] } }, { @@ -11939,28 +10114,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "sea_shell", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_sea_shell():" - ], - "cpp": [ - "#define COLOR_SEA_SHELL", - "color color_sea_shell()" - ], + "python": ["def color_sea_shell():"], + "cpp": ["#define COLOR_SEA_SHELL", "color color_sea_shell()"], "csharp": [ "public static Color Color.SeaShell { get }", "public static Color SplashKit.ColorSeaShell();" ], - "pascal": [ - "function ColorSeaShell(): Color" - ] + "pascal": ["function ColorSeaShell(): Color"] } }, { @@ -11980,28 +10147,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "sienna", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_sienna():" - ], - "cpp": [ - "#define COLOR_SIENNA", - "color color_sienna()" - ], + "python": ["def color_sienna():"], + "cpp": ["#define COLOR_SIENNA", "color color_sienna()"], "csharp": [ "public static Color Color.Sienna { get }", "public static Color SplashKit.ColorSienna();" ], - "pascal": [ - "function ColorSienna(): Color" - ] + "pascal": ["function ColorSienna(): Color"] } }, { @@ -12021,28 +10180,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "silver", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_silver():" - ], - "cpp": [ - "#define COLOR_SILVER", - "color color_silver()" - ], + "python": ["def color_silver():"], + "cpp": ["#define COLOR_SILVER", "color color_silver()"], "csharp": [ "public static Color Color.Silver { get }", "public static Color SplashKit.ColorSilver();" ], - "pascal": [ - "function ColorSilver(): Color" - ] + "pascal": ["function ColorSilver(): Color"] } }, { @@ -12062,28 +10213,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "sky_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_sky_blue():" - ], - "cpp": [ - "#define COLOR_SKY_BLUE", - "color color_sky_blue()" - ], + "python": ["def color_sky_blue():"], + "cpp": ["#define COLOR_SKY_BLUE", "color color_sky_blue()"], "csharp": [ "public static Color Color.SkyBlue { get }", "public static Color SplashKit.ColorSkyBlue();" ], - "pascal": [ - "function ColorSkyBlue(): Color" - ] + "pascal": ["function ColorSkyBlue(): Color"] } }, { @@ -12103,28 +10246,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "slate_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_slate_blue():" - ], - "cpp": [ - "#define COLOR_SLATE_BLUE", - "color color_slate_blue()" - ], + "python": ["def color_slate_blue():"], + "cpp": ["#define COLOR_SLATE_BLUE", "color color_slate_blue()"], "csharp": [ "public static Color Color.SlateBlue { get }", "public static Color SplashKit.ColorSlateBlue();" ], - "pascal": [ - "function ColorSlateBlue(): Color" - ] + "pascal": ["function ColorSlateBlue(): Color"] } }, { @@ -12144,28 +10279,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "slate_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_slate_gray():" - ], - "cpp": [ - "#define COLOR_SLATE_GRAY", - "color color_slate_gray()" - ], + "python": ["def color_slate_gray():"], + "cpp": ["#define COLOR_SLATE_GRAY", "color color_slate_gray()"], "csharp": [ "public static Color Color.SlateGray { get }", "public static Color SplashKit.ColorSlateGray();" ], - "pascal": [ - "function ColorSlateGray(): Color" - ] + "pascal": ["function ColorSlateGray(): Color"] } }, { @@ -12185,28 +10312,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "snow", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_snow():" - ], - "cpp": [ - "#define COLOR_SNOW", - "color color_snow()" - ], + "python": ["def color_snow():"], + "cpp": ["#define COLOR_SNOW", "color color_snow()"], "csharp": [ "public static Color Color.Snow { get }", "public static Color SplashKit.ColorSnow();" ], - "pascal": [ - "function ColorSnow(): Color" - ] + "pascal": ["function ColorSnow(): Color"] } }, { @@ -12226,28 +10345,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "spring_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_spring_green():" - ], - "cpp": [ - "#define COLOR_SPRING_GREEN", - "color color_spring_green()" - ], + "python": ["def color_spring_green():"], + "cpp": ["#define COLOR_SPRING_GREEN", "color color_spring_green()"], "csharp": [ "public static Color Color.SpringGreen { get }", "public static Color SplashKit.ColorSpringGreen();" ], - "pascal": [ - "function ColorSpringGreen(): Color" - ] + "pascal": ["function ColorSpringGreen(): Color"] } }, { @@ -12267,28 +10378,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "steel_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_steel_blue():" - ], - "cpp": [ - "#define COLOR_STEEL_BLUE", - "color color_steel_blue()" - ], + "python": ["def color_steel_blue():"], + "cpp": ["#define COLOR_STEEL_BLUE", "color color_steel_blue()"], "csharp": [ "public static Color Color.SteelBlue { get }", "public static Color SplashKit.ColorSteelBlue();" ], - "pascal": [ - "function ColorSteelBlue(): Color" - ] + "pascal": ["function ColorSteelBlue(): Color"] } }, { @@ -12308,28 +10411,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "swinburne_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_swinburne_red():" - ], - "cpp": [ - "#define COLOR_SWINBURNE_RED", - "color color_swinburne_red()" - ], + "python": ["def color_swinburne_red():"], + "cpp": ["#define COLOR_SWINBURNE_RED", "color color_swinburne_red()"], "csharp": [ "public static Color Color.SwinburneRed { get }", "public static Color SplashKit.ColorSwinburneRed();" ], - "pascal": [ - "function ColorSwinburneRed(): Color" - ] + "pascal": ["function ColorSwinburneRed(): Color"] } }, { @@ -12349,28 +10444,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "tan", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_tan():" - ], - "cpp": [ - "#define COLOR_TAN", - "color color_tan()" - ], + "python": ["def color_tan():"], + "cpp": ["#define COLOR_TAN", "color color_tan()"], "csharp": [ "public static Color Color.Tan { get }", "public static Color SplashKit.ColorTan();" ], - "pascal": [ - "function ColorTan(): Color" - ] + "pascal": ["function ColorTan(): Color"] } }, { @@ -12390,28 +10477,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "teal", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_teal():" - ], - "cpp": [ - "#define COLOR_TEAL", - "color color_teal()" - ], + "python": ["def color_teal():"], + "cpp": ["#define COLOR_TEAL", "color color_teal()"], "csharp": [ "public static Color Color.Teal { get }", "public static Color SplashKit.ColorTeal();" ], - "pascal": [ - "function ColorTeal(): Color" - ] + "pascal": ["function ColorTeal(): Color"] } }, { @@ -12431,28 +10510,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "thistle", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_thistle():" - ], - "cpp": [ - "#define COLOR_THISTLE", - "color color_thistle()" - ], + "python": ["def color_thistle():"], + "cpp": ["#define COLOR_THISTLE", "color color_thistle()"], "csharp": [ "public static Color Color.Thistle { get }", "public static Color SplashKit.ColorThistle();" ], - "pascal": [ - "function ColorThistle(): Color" - ] + "pascal": ["function ColorThistle(): Color"] } }, { @@ -12480,9 +10551,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -12491,18 +10560,10 @@ "group": "color" }, "signatures": { - "python": [ - "def color_to_string(c):" - ], - "cpp": [ - "string color_to_string(color c)" - ], - "csharp": [ - "public static string SplashKit.ColorToString(Color c);" - ], - "pascal": [ - "function ColorToString(c: Color): String" - ] + "python": ["def color_to_string(c):"], + "cpp": ["string color_to_string(color c)"], + "csharp": ["public static string SplashKit.ColorToString(Color c);"], + "pascal": ["function ColorToString(c: Color): String"] } }, { @@ -12522,28 +10583,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "tomato", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_tomato():" - ], - "cpp": [ - "#define COLOR_TOMATO", - "color color_tomato()" - ], + "python": ["def color_tomato():"], + "cpp": ["#define COLOR_TOMATO", "color color_tomato()"], "csharp": [ "public static Color Color.Tomato { get }", "public static Color SplashKit.ColorTomato();" ], - "pascal": [ - "function ColorTomato(): Color" - ] + "pascal": ["function ColorTomato(): Color"] } }, { @@ -12563,28 +10616,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "transparent", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_transparent():" - ], - "cpp": [ - "#define COLOR_TRANSPARENT", - "color color_transparent()" - ], + "python": ["def color_transparent():"], + "cpp": ["#define COLOR_TRANSPARENT", "color color_transparent()"], "csharp": [ "public static Color Color.Transparent { get }", "public static Color SplashKit.ColorTransparent();" ], - "pascal": [ - "function ColorTransparent(): Color" - ] + "pascal": ["function ColorTransparent(): Color"] } }, { @@ -12604,28 +10649,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "turquoise", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_turquoise():" - ], - "cpp": [ - "#define COLOR_TURQUOISE", - "color color_turquoise()" - ], + "python": ["def color_turquoise():"], + "cpp": ["#define COLOR_TURQUOISE", "color color_turquoise()"], "csharp": [ "public static Color Color.Turquoise { get }", "public static Color SplashKit.ColorTurquoise();" ], - "pascal": [ - "function ColorTurquoise(): Color" - ] + "pascal": ["function ColorTurquoise(): Color"] } }, { @@ -12645,28 +10682,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "violet", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_violet():" - ], - "cpp": [ - "#define COLOR_VIOLET", - "color color_violet()" - ], + "python": ["def color_violet():"], + "cpp": ["#define COLOR_VIOLET", "color color_violet()"], "csharp": [ "public static Color Color.Violet { get }", "public static Color SplashKit.ColorViolet();" ], - "pascal": [ - "function ColorViolet(): Color" - ] + "pascal": ["function ColorViolet(): Color"] } }, { @@ -12686,28 +10715,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "wheat", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_wheat():" - ], - "cpp": [ - "#define COLOR_WHEAT", - "color color_wheat()" - ], + "python": ["def color_wheat():"], + "cpp": ["#define COLOR_WHEAT", "color color_wheat()"], "csharp": [ "public static Color Color.Wheat { get }", "public static Color SplashKit.ColorWheat();" ], - "pascal": [ - "function ColorWheat(): Color" - ] + "pascal": ["function ColorWheat(): Color"] } }, { @@ -12727,28 +10748,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "white", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_white():" - ], - "cpp": [ - "#define COLOR_WHITE", - "color color_white()" - ], + "python": ["def color_white():"], + "cpp": ["#define COLOR_WHITE", "color color_white()"], "csharp": [ "public static Color Color.White { get }", "public static Color SplashKit.ColorWhite();" ], - "pascal": [ - "function ColorWhite(): Color" - ] + "pascal": ["function ColorWhite(): Color"] } }, { @@ -12768,28 +10781,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "white_smoke", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_white_smoke():" - ], - "cpp": [ - "#define COLOR_WHITE_SMOKE", - "color color_white_smoke()" - ], + "python": ["def color_white_smoke():"], + "cpp": ["#define COLOR_WHITE_SMOKE", "color color_white_smoke()"], "csharp": [ "public static Color Color.WhiteSmoke { get }", "public static Color SplashKit.ColorWhiteSmoke();" ], - "pascal": [ - "function ColorWhiteSmoke(): Color" - ] + "pascal": ["function ColorWhiteSmoke(): Color"] } }, { @@ -12809,28 +10814,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "yellow", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_yellow():" - ], - "cpp": [ - "#define COLOR_YELLOW", - "color color_yellow()" - ], + "python": ["def color_yellow():"], + "cpp": ["#define COLOR_YELLOW", "color color_yellow()"], "csharp": [ "public static Color Color.Yellow { get }", "public static Color SplashKit.ColorYellow();" ], - "pascal": [ - "function ColorYellow(): Color" - ] + "pascal": ["function ColorYellow(): Color"] } }, { @@ -12850,28 +10847,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "yellow_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_yellow_green():" - ], - "cpp": [ - "#define COLOR_YELLOW_GREEN", - "color color_yellow_green()" - ], + "python": ["def color_yellow_green():"], + "cpp": ["#define COLOR_YELLOW_GREEN", "color color_yellow_green()"], "csharp": [ "public static Color Color.YellowGreen { get }", "public static Color SplashKit.ColorYellowGreen();" ], - "pascal": [ - "function ColorYellowGreen(): Color" - ] + "pascal": ["function ColorYellowGreen(): Color"] } }, { @@ -12899,9 +10888,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -12910,18 +10897,10 @@ "group": "color" }, "signatures": { - "python": [ - "def green_of(c):" - ], - "cpp": [ - "int green_of(color c)" - ], - "csharp": [ - "public static int SplashKit.GreenOf(Color c);" - ], - "pascal": [ - "function GreenOf(c: Color): Integer" - ] + "python": ["def green_of(c):"], + "cpp": ["int green_of(color c)"], + "csharp": ["public static int SplashKit.GreenOf(Color c);"], + "pascal": ["function GreenOf(c: Color): Integer"] } }, { @@ -12949,9 +10928,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -12962,9 +10939,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -12975,9 +10950,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -12988,9 +10961,7 @@ "group": "color" }, "signatures": { - "python": [ - "def hsb_color(hue, saturation, brightness):" - ], + "python": ["def hsb_color(hue, saturation, brightness):"], "cpp": [ "color hsb_color(double hue, double saturation, double brightness)" ], @@ -13028,9 +10999,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -13039,18 +11008,10 @@ "group": "color" }, "signatures": { - "python": [ - "def hue_of(c):" - ], - "cpp": [ - "double hue_of(color c)" - ], - "csharp": [ - "public static double SplashKit.HueOf(Color c);" - ], - "pascal": [ - "function HueOf(c: Color): Double" - ] + "python": ["def hue_of(c):"], + "cpp": ["double hue_of(color c)"], + "csharp": ["public static double SplashKit.HueOf(Color c);"], + "pascal": ["function HueOf(c: Color): Double"] } }, { @@ -13070,27 +11031,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "method": "random", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def random_color():" - ], - "cpp": [ - "color random_color()" - ], + "python": ["def random_color():"], + "cpp": ["color random_color()"], "csharp": [ "public static Color Color.Random();", "public static Color SplashKit.RandomColor();" ], - "pascal": [ - "function RandomColor(): Color" - ] + "pascal": ["function RandomColor(): Color"] } }, { @@ -13118,9 +11072,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -13131,19 +11083,13 @@ "group": "color" }, "signatures": { - "python": [ - "def random_rgb_color(alpha):" - ], - "cpp": [ - "color random_rgb_color(int alpha)" - ], + "python": ["def random_rgb_color(alpha):"], + "cpp": ["color random_rgb_color(int alpha)"], "csharp": [ "public static Color Color.RandomRGB(int alpha);", "public static Color SplashKit.RandomRGBColor(int alpha);" ], - "pascal": [ - "function RandomRGBColor(alpha: Integer): Color" - ] + "pascal": ["function RandomRGBColor(alpha: Integer): Color"] } }, { @@ -13171,9 +11117,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -13182,18 +11126,10 @@ "group": "color" }, "signatures": { - "python": [ - "def red_of(c):" - ], - "cpp": [ - "int red_of(color c)" - ], - "csharp": [ - "public static int SplashKit.RedOf(Color c);" - ], - "pascal": [ - "function RedOf(c: Color): Integer" - ] + "python": ["def red_of(c):"], + "cpp": ["int red_of(color c)"], + "csharp": ["public static int SplashKit.RedOf(Color c);"], + "pascal": ["function RedOf(c: Color): Integer"] } }, { @@ -13221,9 +11157,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -13234,9 +11168,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -13247,9 +11179,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -13261,12 +11191,8 @@ "group": "color" }, "signatures": { - "python": [ - "def rgb_color_from_double(red, green, blue):" - ], - "cpp": [ - "color rgb_color(double red, double green, double blue)" - ], + "python": ["def rgb_color_from_double(red, green, blue):"], + "cpp": ["color rgb_color(double red, double green, double blue)"], "csharp": [ "public static Color Color.RGBColor(double red, double green, double blue);", "public static Color SplashKit.RGBColor(double red, double green, double blue);" @@ -13301,9 +11227,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -13314,9 +11238,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -13327,9 +11249,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -13340,12 +11260,8 @@ "group": "color" }, "signatures": { - "python": [ - "def rgb_color(red, green, blue):" - ], - "cpp": [ - "color rgb_color(int red, int green, int blue)" - ], + "python": ["def rgb_color(red, green, blue):"], + "cpp": ["color rgb_color(int red, int green, int blue)"], "csharp": [ "public static Color Color.RGBColor(int red, int green, int blue);", "public static Color SplashKit.RGBColor(int red, int green, int blue);" @@ -13380,9 +11296,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -13393,9 +11307,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -13406,9 +11318,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -13419,9 +11329,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -13433,9 +11341,7 @@ "group": "color" }, "signatures": { - "python": [ - "def rgba_color_from_double(red, green, blue, alpha):" - ], + "python": ["def rgba_color_from_double(red, green, blue, alpha):"], "cpp": [ "color rgba_color(double red, double green, double blue, double alpha)" ], @@ -13473,9 +11379,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -13486,9 +11390,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -13499,9 +11401,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -13512,9 +11412,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -13525,12 +11423,8 @@ "group": "color" }, "signatures": { - "python": [ - "def rgba_color(red, green, blue, alpha):" - ], - "cpp": [ - "color rgba_color(int red, int green, int blue, int alpha)" - ], + "python": ["def rgba_color(red, green, blue, alpha):"], + "cpp": ["color rgba_color(int red, int green, int blue, int alpha)"], "csharp": [ "public static Color Color.RGBAColor(int red, int green, int blue, int alpha);", "public static Color SplashKit.RGBAColor(int red, int green, int blue, int alpha);" @@ -13565,9 +11459,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -13576,18 +11468,10 @@ "group": "color" }, "signatures": { - "python": [ - "def saturation_of(c):" - ], - "cpp": [ - "double saturation_of(color c)" - ], - "csharp": [ - "public static double SplashKit.SaturationOf(Color c);" - ], - "pascal": [ - "function SaturationOf(c: Color): Double" - ] + "python": ["def saturation_of(c):"], + "cpp": ["double saturation_of(color c)"], + "csharp": ["public static double SplashKit.SaturationOf(Color c);"], + "pascal": ["function SaturationOf(c: Color): Double"] } }, { @@ -13615,9 +11499,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -13626,30 +11508,18 @@ "group": "color" }, "signatures": { - "python": [ - "def string_to_color(str):" - ], - "cpp": [ - "color string_to_color(string str)" - ], + "python": ["def string_to_color(str):"], + "cpp": ["color string_to_color(string str)"], "csharp": [ "public static Color SplashKit.StringToColor(string str);" ], - "pascal": [ - "function StringToColor(str: String): Color" - ] + "pascal": ["function StringToColor(str: String): Color"] } } ], - "typedefs": [ - - ], - "structs": [ - - ], - "enums": [ - - ], + "typedefs": [], + "structs": [], + "enums": [], "defines": [ { "name": "COLOR_ALICE_BLUE", @@ -14552,9 +12422,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -14565,9 +12433,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -14580,9 +12446,7 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def conversation_add_message(c, message):" - ], + "python": ["def conversation_add_message(c, message):"], "cpp": [ "void conversation_add_message(conversation c, const string &message)" ], @@ -14620,9 +12484,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -14635,12 +12497,8 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def conversation_get_reply(conv):" - ], - "cpp": [ - "string conversation_get_reply(conversation conv)" - ], + "python": ["def conversation_get_reply(conv):"], + "cpp": ["string conversation_get_reply(conversation conv)"], "csharp": [ "public string Conversation.GetReply();", "public static string SplashKit.ConversationGetReply(Conversation conv);" @@ -14675,9 +12533,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -14688,9 +12544,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -14744,9 +12598,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -14759,12 +12611,8 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def conversation_get_reply_piece(c):" - ], - "cpp": [ - "string conversation_get_reply_piece(conversation c)" - ], + "python": ["def conversation_get_reply_piece(c):"], + "cpp": ["string conversation_get_reply_piece(conversation c)"], "csharp": [ "public string Conversation.GetReplyPiece();", "public static string SplashKit.ConversationGetReplyPiece(Conversation c);" @@ -14799,9 +12647,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -14814,12 +12660,8 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def conversation_is_replying(c):" - ], - "cpp": [ - "bool conversation_is_replying(conversation c)" - ], + "python": ["def conversation_is_replying(c):"], + "cpp": ["bool conversation_is_replying(conversation c)"], "csharp": [ "public bool Conversation.IsReplying();", "public static bool SplashKit.ConversationIsReplying(Conversation c);" @@ -14854,9 +12696,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -14869,12 +12709,8 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def conversation_is_thinking(c):" - ], - "cpp": [ - "bool conversation_is_thinking(conversation c)" - ], + "python": ["def conversation_is_thinking(c):"], + "cpp": ["bool conversation_is_thinking(conversation c)"], "csharp": [ "public bool Conversation.IsThinking();", "public static bool SplashKit.ConversationIsThinking(Conversation c);" @@ -14901,8 +12737,7 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "class": "conversation", "constructor": true, @@ -14910,19 +12745,13 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def create_conversation():" - ], - "cpp": [ - "conversation create_conversation()" - ], + "python": ["def create_conversation():"], + "cpp": ["conversation create_conversation()"], "csharp": [ "public static Conversation SplashKit.CreateConversation();", "public Conversation();" ], - "pascal": [ - "function CreateConversation(): Conversation" - ] + "pascal": ["function CreateConversation(): Conversation"] } }, { @@ -14950,9 +12779,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -14965,12 +12792,8 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def create_conversation_with_model(model):" - ], - "cpp": [ - "conversation create_conversation(language_model model)" - ], + "python": ["def create_conversation_with_model(model):"], + "cpp": ["conversation create_conversation(language_model model)"], "csharp": [ "public static Conversation SplashKit.CreateConversation(LanguageModel model);", "public Conversation(LanguageModel model);" @@ -14997,27 +12820,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "method": "free_all", "static": "generative_ai", "group": "generative_ai" }, "signatures": { - "python": [ - "def free_all_conversations():" - ], - "cpp": [ - "void free_all_conversations()" - ], + "python": ["def free_all_conversations():"], + "cpp": ["void free_all_conversations()"], "csharp": [ "public static void GenerativeAi.FreeAll();", "public static void SplashKit.FreeAllConversations();" ], - "pascal": [ - "procedure FreeAllConversations()" - ] + "pascal": ["procedure FreeAllConversations()"] } }, { @@ -15045,9 +12861,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15061,19 +12875,13 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def free_conversation(c):" - ], - "cpp": [ - "void free_conversation(conversation c)" - ], + "python": ["def free_conversation(c):"], + "cpp": ["void free_conversation(conversation c)"], "csharp": [ "public void Conversation.Free();", "public static void SplashKit.FreeConversation(Conversation c);" ], - "pascal": [ - "procedure FreeConversation(c: Conversation)" - ] + "pascal": ["procedure FreeConversation(c: Conversation)"] } }, { @@ -15101,9 +12909,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15114,9 +12920,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15127,12 +12931,8 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def generate_reply_with_model(model, prompt):" - ], - "cpp": [ - "string generate_reply(language_model model, string prompt)" - ], + "python": ["def generate_reply_with_model(model, prompt):"], + "cpp": ["string generate_reply(language_model model, string prompt)"], "csharp": [ "public static string SplashKit.GenerateReply(LanguageModel model, string prompt);" ], @@ -15166,9 +12966,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15178,18 +12976,12 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def generate_reply(prompt):" - ], - "cpp": [ - "string generate_reply(string prompt)" - ], + "python": ["def generate_reply(prompt):"], + "cpp": ["string generate_reply(string prompt)"], "csharp": [ "public static string SplashKit.GenerateReply(string prompt);" ], - "pascal": [ - "function GenerateReply(prompt: String): String" - ] + "pascal": ["function GenerateReply(prompt: String): String"] } }, { @@ -15217,9 +13009,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15230,9 +13020,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15243,12 +13031,8 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def generate_text_with_model(model, text):" - ], - "cpp": [ - "string generate_text(language_model model, string text)" - ], + "python": ["def generate_text_with_model(model, text):"], + "cpp": ["string generate_text(language_model model, string text)"], "csharp": [ "public static string SplashKit.GenerateText(LanguageModel model, string text);" ], @@ -15282,9 +13066,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15295,9 +13077,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15308,9 +13088,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15360,9 +13138,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15372,18 +13148,12 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def generate_text(text):" - ], - "cpp": [ - "string generate_text(string text)" - ], + "python": ["def generate_text(text):"], + "cpp": ["string generate_text(string text)"], "csharp": [ "public static string SplashKit.GenerateText(string text);" ], - "pascal": [ - "function GenerateText(text: String): String" - ] + "pascal": ["function GenerateText(text: String): String"] } }, { @@ -15411,9 +13181,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15424,9 +13192,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15437,12 +13203,8 @@ "static": "generative_ai" }, "signatures": { - "python": [ - "def generate_text_with_tokens(text, max_tokens):" - ], - "cpp": [ - "string generate_text(string text, int max_tokens)" - ], + "python": ["def generate_text_with_tokens(text, max_tokens):"], + "cpp": ["string generate_text(string text, int max_tokens)"], "csharp": [ "public static string SplashKit.GenerateText(string text, int maxTokens);" ], @@ -15470,9 +13232,7 @@ "new_identifier": null } ], - "structs": [ - - ], + "structs": [], "enums": [ { "signature": "enum language_model {QWEN3_0_6B_BASE = 4,QWEN3_0_6B_INSTRUCT = 5,QWEN3_0_6B_THINKING = 6,QWEN3_1_7B_BASE = 8,QWEN3_1_7B_INSTRUCT = 9,QWEN3_1_7B_THINKING = 10,QWEN3_4B_BASE = 12,QWEN3_4B_INSTRUCT = 13,QWEN3_4B_THINKING = 14,GEMMA3_270M_BASE = 16,GEMMA3_270M_INSTRUCT = 17,GEMMA3_1B_BASE = 20,GEMMA3_1B_INSTRUCT = 21,GEMMA3_4B_BASE = 24,GEMMA3_4B_INSTRUCT = 25,};", @@ -15553,9 +13313,7 @@ } } ], - "defines": [ - - ] + "defines": [] }, "geometry": { "brief": "SplashKit's geometry functions assist with geometry-related computations.", @@ -15586,9 +13344,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15598,18 +13354,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def center_point(c):" - ], - "cpp": [ - "point_2d center_point(const circle &c)" - ], - "csharp": [ - "public static Point2D SplashKit.CenterPoint(Circle c);" - ], - "pascal": [ - "function CenterPoint(const c: Circle): Point2D" - ] + "python": ["def center_point(c):"], + "cpp": ["point_2d center_point(const circle &c)"], + "csharp": ["public static Point2D SplashKit.CenterPoint(Circle c);"], + "pascal": ["function CenterPoint(const c: Circle): Point2D"] } }, { @@ -15637,9 +13385,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15650,9 +13396,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15662,12 +13406,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def circle_at(pt, radius):" - ], - "cpp": [ - "circle circle_at(const point_2d &pt, double radius)" - ], + "python": ["def circle_at(pt, radius):"], + "cpp": ["circle circle_at(const point_2d &pt, double radius)"], "csharp": [ "public static Circle SplashKit.CircleAt(Point2D pt, double radius);" ], @@ -15701,9 +13441,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15714,9 +13452,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15727,9 +13463,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15740,12 +13474,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def circle_at_from_points(x, y, radius):" - ], - "cpp": [ - "circle circle_at(double x, double y, double radius)" - ], + "python": ["def circle_at_from_points(x, y, radius):"], + "cpp": ["circle circle_at(double x, double y, double radius)"], "csharp": [ "public static Circle SplashKit.CircleAt(double x, double y, double radius);" ], @@ -15779,9 +13509,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15792,9 +13520,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15804,12 +13530,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def circle_quad_intersect(c, q):" - ], - "cpp": [ - "bool circle_quad_intersect(const circle &c, const quad &q)" - ], + "python": ["def circle_quad_intersect(c, q):"], + "cpp": ["bool circle_quad_intersect(const circle &c, const quad &q)"], "csharp": [ "public static bool SplashKit.CircleQuadIntersect(Circle c, Quad q);" ], @@ -15843,9 +13565,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15855,18 +13575,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def circle_radius(c):" - ], - "cpp": [ - "float circle_radius(const circle c)" - ], - "csharp": [ - "public static float SplashKit.CircleRadius(Circle c);" - ], - "pascal": [ - "function CircleRadius(c: Circle): Single" - ] + "python": ["def circle_radius(c):"], + "cpp": ["float circle_radius(const circle c)"], + "csharp": ["public static float SplashKit.CircleRadius(Circle c);"], + "pascal": ["function CircleRadius(c: Circle): Single"] } }, { @@ -15894,9 +13606,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15907,9 +13617,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15920,9 +13628,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -15932,9 +13638,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def circle_ray_intersection(origin, heading, circ):" - ], + "python": ["def circle_ray_intersection(origin, heading, circ):"], "cpp": [ "bool circle_ray_intersection(const point_2d &origin, const vector_2d &heading, const circle &circ)" ], @@ -15971,9 +13675,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15984,9 +13686,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -15997,9 +13697,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16010,9 +13708,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16023,9 +13719,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16075,9 +13769,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16088,9 +13780,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16100,9 +13790,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def circle_triangle_intersect(c, tri):" - ], + "python": ["def circle_triangle_intersect(c, tri):"], "cpp": [ "bool circle_triangle_intersect(const circle &c, const triangle &tri)" ], @@ -16139,9 +13827,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16152,9 +13838,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16165,9 +13849,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16217,9 +13899,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16229,18 +13909,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def circle_x(c):" - ], - "cpp": [ - "float circle_x(const circle &c)" - ], - "csharp": [ - "public static float SplashKit.CircleX(Circle c);" - ], - "pascal": [ - "function CircleX(const c: Circle): Single" - ] + "python": ["def circle_x(c):"], + "cpp": ["float circle_x(const circle &c)"], + "csharp": ["public static float SplashKit.CircleX(Circle c);"], + "pascal": ["function CircleX(const c: Circle): Single"] } }, { @@ -16268,9 +13940,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16280,18 +13950,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def circle_y(c):" - ], - "cpp": [ - "float circle_y(const circle &c)" - ], - "csharp": [ - "public static float SplashKit.CircleY(Circle c);" - ], - "pascal": [ - "function CircleY(const c: Circle): Single" - ] + "python": ["def circle_y(c):"], + "cpp": ["float circle_y(const circle &c)"], + "csharp": ["public static float SplashKit.CircleY(Circle c);"], + "pascal": ["function CircleY(const c: Circle): Single"] } }, { @@ -16319,9 +13981,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16332,9 +13992,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16344,12 +14002,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def circles_intersect(c1, c2):" - ], - "cpp": [ - "bool circles_intersect(circle c1, circle c2)" - ], + "python": ["def circles_intersect(c1, c2):"], + "cpp": ["bool circles_intersect(circle c1, circle c2)"], "csharp": [ "public static bool SplashKit.CirclesIntersect(Circle c1, Circle c2);" ], @@ -16383,9 +14037,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16396,9 +14048,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16409,9 +14059,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16422,9 +14070,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16435,9 +14081,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16448,9 +14092,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16500,9 +14142,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16513,9 +14153,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16525,9 +14163,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def closest_point_on_circle(from_pt, c):" - ], + "python": ["def closest_point_on_circle(from_pt, c):"], "cpp": [ "point_2d closest_point_on_circle(const point_2d &from_pt, const circle &c)" ], @@ -16564,9 +14200,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16577,9 +14211,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16589,9 +14221,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def closest_point_on_line_from_circle(c, l):" - ], + "python": ["def closest_point_on_line_from_circle(c, l):"], "cpp": [ "point_2d closest_point_on_line_from_circle(const circle &c, const line &l)" ], @@ -16628,9 +14258,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16641,9 +14269,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16653,9 +14279,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def closest_point_on_rect_from_circle(c, rect):" - ], + "python": ["def closest_point_on_rect_from_circle(c, rect):"], "cpp": [ "point_2d closest_point_on_rect_from_circle(const circle &c, const rectangle &rect)" ], @@ -16692,9 +14316,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16705,9 +14327,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16717,9 +14337,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def closest_point_on_triangle_from_circle(c, tri):" - ], + "python": ["def closest_point_on_triangle_from_circle(c, tri):"], "cpp": [ "point_2d closest_point_on_triangle_from_circle(const circle &c, const triangle &tri)" ], @@ -16756,9 +14374,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16769,9 +14385,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16781,9 +14395,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def distant_point_on_circle(pt, c):" - ], + "python": ["def distant_point_on_circle(pt, c):"], "cpp": [ "point_2d distant_point_on_circle(const point_2d &pt, const circle &c)" ], @@ -16820,9 +14432,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16833,9 +14443,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16846,9 +14454,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16859,9 +14465,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16910,9 +14514,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16923,9 +14525,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -16936,9 +14536,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -16987,9 +14585,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17000,9 +14596,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17013,9 +14607,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17026,9 +14618,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17038,9 +14628,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def tangent_points(from_pt, c, p1, p2):" - ], + "python": ["def tangent_points(from_pt, c, p1, p2):"], "cpp": [ "bool tangent_points(const point_2d &from_pt, const circle &c, point_2d &p1, point_2d &p2)" ], @@ -17077,9 +14665,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17090,9 +14676,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17103,9 +14687,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17116,9 +14698,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17128,9 +14708,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def widest_points(c, along, pt1, pt2):" - ], + "python": ["def widest_points(c, along, pt1, pt2):"], "cpp": [ "void widest_points(const circle &c, const vector_2d &along, point_2d &pt1, point_2d &pt2)" ], @@ -17167,9 +14745,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17179,18 +14755,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def cosine(degrees):" - ], - "cpp": [ - "float cosine(float degrees)" - ], - "csharp": [ - "public static float SplashKit.Cosine(float degrees);" - ], - "pascal": [ - "function Cosine(degrees: Single): Single" - ] + "python": ["def cosine(degrees):"], + "cpp": ["float cosine(float degrees)"], + "csharp": ["public static float SplashKit.Cosine(float degrees);"], + "pascal": ["function Cosine(degrees: Single): Single"] } }, { @@ -17218,9 +14786,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17230,18 +14796,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def sine(degrees):" - ], - "cpp": [ - "float sine(float degrees)" - ], - "csharp": [ - "public static float SplashKit.Sine(float degrees);" - ], - "pascal": [ - "function Sine(degrees: Single): Single" - ] + "python": ["def sine(degrees):"], + "cpp": ["float sine(float degrees)"], + "csharp": ["public static float SplashKit.Sine(float degrees);"], + "pascal": ["function Sine(degrees: Single): Single"] } }, { @@ -17269,9 +14827,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17281,18 +14837,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def tangent(degrees):" - ], - "cpp": [ - "float tangent(float degrees)" - ], - "csharp": [ - "public static float SplashKit.Tangent(float degrees);" - ], - "pascal": [ - "function Tangent(degrees: Single): Single" - ] + "python": ["def tangent(degrees):"], + "cpp": ["float tangent(float degrees)"], + "csharp": ["public static float SplashKit.Tangent(float degrees);"], + "pascal": ["function Tangent(degrees: Single): Single"] } }, { @@ -17320,9 +14868,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17333,9 +14879,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17345,9 +14889,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def closest_point_on_line(from_pt, l):" - ], + "python": ["def closest_point_on_line(from_pt, l):"], "cpp": [ "point_2d closest_point_on_line(const point_2d from_pt, const line &l)" ], @@ -17384,9 +14926,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17397,9 +14937,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "line" }, @@ -17410,9 +14948,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17422,9 +14958,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def closest_point_on_lines(from_pt, lines, line_idx):" - ], + "python": ["def closest_point_on_lines(from_pt, lines, line_idx):"], "cpp": [ "point_2d closest_point_on_lines(const point_2d from_pt, const vector &lines, int &line_idx)" ], @@ -17461,9 +14995,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17474,9 +15006,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17487,9 +15017,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_from_point_to_point(start, end_pt):" - ], + "python": ["def line_from_point_to_point(start, end_pt):"], "cpp": [ "line line_from(const point_2d &start, const point_2d &end_pt)" ], @@ -17526,9 +15054,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17539,9 +15065,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17552,9 +15076,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_from_start_with_offset(start, offset):" - ], + "python": ["def line_from_start_with_offset(start, offset):"], "cpp": [ "line line_from(const point_2d &start, const vector_2d &offset)" ], @@ -17591,9 +15113,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17604,18 +15124,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_from_vector(v):" - ], - "cpp": [ - "line line_from(const vector_2d &v)" - ], - "csharp": [ - "public static Line SplashKit.LineFrom(Vector2D v);" - ], - "pascal": [ - "function LineFrom(const v: Vector2D): Line" - ] + "python": ["def line_from_vector(v):"], + "cpp": ["line line_from(const vector_2d &v)"], + "csharp": ["public static Line SplashKit.LineFrom(Vector2D v);"], + "pascal": ["function LineFrom(const v: Vector2D): Line"] } }, { @@ -17643,9 +15155,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17656,9 +15166,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17669,9 +15177,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17682,9 +15188,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17694,12 +15198,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_from(x1, y1, x2, y2):" - ], - "cpp": [ - "line line_from(double x1, double y1, double x2, double y2)" - ], + "python": ["def line_from(x1, y1, x2, y2):"], + "cpp": ["line line_from(double x1, double y1, double x2, double y2)"], "csharp": [ "public static Line SplashKit.LineFrom(double x1, double y1, double x2, double y2);" ], @@ -17733,9 +15233,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17746,9 +15244,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17759,9 +15255,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17771,9 +15265,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_intersection_point(line1, line2, pt):" - ], + "python": ["def line_intersection_point(line1, line2, pt):"], "cpp": [ "bool line_intersection_point(const line &line1, const line &line2, point_2d &pt)" ], @@ -17810,9 +15302,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17823,9 +15313,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17835,9 +15323,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_intersects_circle(l, c):" - ], + "python": ["def line_intersects_circle(l, c):"], "cpp": [ "bool line_intersects_circle(const line &l, const circle &c)" ], @@ -17874,9 +15360,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17887,9 +15371,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "line" } @@ -17899,9 +15381,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_intersects_lines(l, lines):" - ], + "python": ["def line_intersects_lines(l, lines):"], "cpp": [ "bool line_intersects_lines(const line &l, const vector &lines)" ], @@ -17938,9 +15418,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -17951,9 +15429,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -17963,9 +15439,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_intersects_rect(l, rect):" - ], + "python": ["def line_intersects_rect(l, rect):"], "cpp": [ "bool line_intersects_rect(const line &l, const rectangle &rect)" ], @@ -18002,9 +15476,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18014,18 +15486,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_length(l):" - ], - "cpp": [ - "float line_length(const line &l)" - ], - "csharp": [ - "public static float SplashKit.LineLength(Line l);" - ], - "pascal": [ - "function LineLength(const l: Line): Single" - ] + "python": ["def line_length(l):"], + "cpp": ["float line_length(const line &l)"], + "csharp": ["public static float SplashKit.LineLength(Line l);"], + "pascal": ["function LineLength(const l: Line): Single"] } }, { @@ -18053,9 +15517,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18065,18 +15527,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_length_squared(l):" - ], - "cpp": [ - "float line_length_squared(const line &l)" - ], + "python": ["def line_length_squared(l):"], + "cpp": ["float line_length_squared(const line &l)"], "csharp": [ "public static float SplashKit.LineLengthSquared(Line l);" ], - "pascal": [ - "function LineLengthSquared(const l: Line): Single" - ] + "pascal": ["function LineLengthSquared(const l: Line): Single"] } }, { @@ -18104,9 +15560,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18116,18 +15570,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_mid_point(l):" - ], - "cpp": [ - "point_2d line_mid_point(const line &l)" - ], - "csharp": [ - "public static Point2D SplashKit.LineMidPoint(Line l);" - ], - "pascal": [ - "function LineMidPoint(const l: Line): Point2D" - ] + "python": ["def line_mid_point(l):"], + "cpp": ["point_2d line_mid_point(const line &l)"], + "csharp": ["public static Point2D SplashKit.LineMidPoint(Line l);"], + "pascal": ["function LineMidPoint(const l: Line): Point2D"] } }, { @@ -18155,9 +15601,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18167,18 +15611,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_normal(l):" - ], - "cpp": [ - "vector_2d line_normal(const line &l)" - ], - "csharp": [ - "public static Vector2D SplashKit.LineNormal(Line l);" - ], - "pascal": [ - "function LineNormal(const l: Line): Vector2D" - ] + "python": ["def line_normal(l):"], + "cpp": ["vector_2d line_normal(const line &l)"], + "csharp": ["public static Vector2D SplashKit.LineNormal(Line l);"], + "pascal": ["function LineNormal(const l: Line): Vector2D"] } }, { @@ -18206,9 +15642,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18218,18 +15652,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def line_to_string(ln):" - ], - "cpp": [ - "string line_to_string(const line &ln)" - ], - "csharp": [ - "public static string SplashKit.LineToString(Line ln);" - ], - "pascal": [ - "function LineToString(const ln: Line): String" - ] + "python": ["def line_to_string(ln):"], + "cpp": ["string line_to_string(const line &ln)"], + "csharp": ["public static string SplashKit.LineToString(Line ln);"], + "pascal": ["function LineToString(const ln: Line): String"] } }, { @@ -18257,9 +15683,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18270,18 +15694,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def lines_from_rectangle(rect):" - ], - "cpp": [ - "vector lines_from(const rectangle &rect)" - ], + "python": ["def lines_from_rectangle(rect):"], + "cpp": ["vector lines_from(const rectangle &rect)"], "csharp": [ "public static List SplashKit.LinesFrom(Rectangle rect);" ], - "pascal": [ - "function LinesFrom(const rect: Rectangle): ArrayOfLine" - ] + "pascal": ["function LinesFrom(const rect: Rectangle): ArrayOfLine"] } }, { @@ -18309,9 +15727,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18322,18 +15738,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def lines_from_triangle(t):" - ], - "cpp": [ - "vector lines_from(const triangle &t)" - ], + "python": ["def lines_from_triangle(t):"], + "cpp": ["vector lines_from(const triangle &t)"], "csharp": [ "public static List SplashKit.LinesFrom(Triangle t);" ], - "pascal": [ - "function LinesFrom(const t: Triangle): ArrayOfLine" - ] + "pascal": ["function LinesFrom(const t: Triangle): ArrayOfLine"] } }, { @@ -18361,9 +15771,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18374,9 +15782,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18386,12 +15792,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def lines_intersect(l1, l2):" - ], - "cpp": [ - "bool lines_intersect(const line &l1, const line &l2)" - ], + "python": ["def lines_intersect(l1, l2):"], + "cpp": ["bool lines_intersect(const line &l1, const line &l2)"], "csharp": [ "public static bool SplashKit.LinesIntersect(Line l1, Line l2);" ], @@ -18425,9 +15827,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18438,9 +15838,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18450,18 +15848,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_at(x, y):" - ], - "cpp": [ - "point_2d point_at(double x, double y)" - ], + "python": ["def point_at(x, y):"], + "cpp": ["point_2d point_at(double x, double y)"], "csharp": [ "public static Point2D SplashKit.PointAt(double x, double y);" ], - "pascal": [ - "function PointAt(x: Double; y: Double): Point2D" - ] + "pascal": ["function PointAt(x: Double; y: Double): Point2D"] } }, { @@ -18481,25 +15873,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "geometry", "static": "geometry" }, "signatures": { - "python": [ - "def point_at_origin():" - ], - "cpp": [ - "point_2d point_at_origin()" - ], - "csharp": [ - "public static Point2D SplashKit.PointAtOrigin();" - ], - "pascal": [ - "function PointAtOrigin(): Point2D" - ] + "python": ["def point_at_origin():"], + "cpp": ["point_2d point_at_origin()"], + "csharp": ["public static Point2D SplashKit.PointAtOrigin();"], + "pascal": ["function PointAtOrigin(): Point2D"] } }, { @@ -18527,9 +15910,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18540,9 +15921,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18552,12 +15931,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_in_circle(pt, c):" - ], - "cpp": [ - "bool point_in_circle(const point_2d &pt, const circle &c)" - ], + "python": ["def point_in_circle(pt, c):"], + "cpp": ["bool point_in_circle(const point_2d &pt, const circle &c)"], "csharp": [ "public static bool SplashKit.PointInCircle(Point2D pt, Circle c);" ], @@ -18591,9 +15966,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18604,9 +15977,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18617,9 +15988,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18630,9 +15999,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18643,9 +16010,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18695,9 +16060,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18708,9 +16071,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18720,12 +16081,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_in_quad(pt, q):" - ], - "cpp": [ - "bool point_in_quad(const point_2d &pt, const quad &q)" - ], + "python": ["def point_in_quad(pt, q):"], + "cpp": ["bool point_in_quad(const point_2d &pt, const quad &q)"], "csharp": [ "public static bool SplashKit.PointInQuad(Point2D pt, Quad q);" ], @@ -18759,9 +16116,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18772,9 +16127,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18784,9 +16137,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_in_rectangle(pt, rect):" - ], + "python": ["def point_in_rectangle(pt, rect):"], "cpp": [ "bool point_in_rectangle(const point_2d &pt, const rectangle &rect)" ], @@ -18823,9 +16174,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18836,9 +16185,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18849,9 +16196,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18862,9 +16207,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18875,9 +16218,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18888,9 +16229,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18940,9 +16279,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -18953,9 +16290,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -18965,9 +16300,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_in_triangle(pt, tri):" - ], + "python": ["def point_in_triangle(pt, tri):"], "cpp": [ "bool point_in_triangle(const point_2d &pt, const triangle &tri)" ], @@ -19004,9 +16337,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19017,9 +16348,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19029,9 +16358,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_line_distance(pt, l):" - ], + "python": ["def point_line_distance(pt, l):"], "cpp": [ "float point_line_distance(const point_2d &pt, const line &l)" ], @@ -19068,9 +16395,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19081,9 +16406,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19093,9 +16416,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_offset_by(start_point, offset):" - ], + "python": ["def point_offset_by(start_point, offset):"], "cpp": [ "point_2d point_offset_by(const point_2d &start_point, const vector_2d &offset)" ], @@ -19132,9 +16453,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19144,12 +16463,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_offset_from_origin(offset):" - ], - "cpp": [ - "point_2d point_offset_from_origin(const vector_2d &offset)" - ], + "python": ["def point_offset_from_origin(offset):"], + "cpp": ["point_2d point_offset_from_origin(const vector_2d &offset)"], "csharp": [ "public static Point2D SplashKit.PointOffsetFromOrigin(Vector2D offset);" ], @@ -19183,9 +16498,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19196,9 +16509,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19208,12 +16519,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_on_line(pt, l):" - ], - "cpp": [ - "bool point_on_line(const point_2d &pt, const line &l)" - ], + "python": ["def point_on_line(pt, l):"], + "cpp": ["bool point_on_line(const point_2d &pt, const line &l)"], "csharp": [ "public static bool SplashKit.PointOnLine(Point2D pt, Line l);" ], @@ -19247,9 +16554,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19260,9 +16565,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19273,9 +16576,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19286,9 +16587,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_on_line_with_proximity(pt, l, proximity):" - ], + "python": ["def point_on_line_with_proximity(pt, l, proximity):"], "cpp": [ "bool point_on_line(const point_2d &pt, const line &l, float proximity)" ], @@ -19325,9 +16624,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19338,9 +16635,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19350,9 +16645,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_point_angle(pt1, pt2):" - ], + "python": ["def point_point_angle(pt1, pt2):"], "cpp": [ "float point_point_angle(const point_2d &pt1, const point_2d &pt2)" ], @@ -19389,9 +16682,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19402,9 +16693,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19414,9 +16703,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_point_distance(pt1, pt2):" - ], + "python": ["def point_point_distance(pt1, pt2):"], "cpp": [ "double point_point_distance(const point_2d &pt1, const point_2d &pt2)" ], @@ -19453,9 +16740,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19465,18 +16750,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def point_to_string(pt):" - ], - "cpp": [ - "string point_to_string(const point_2d &pt)" - ], + "python": ["def point_to_string(pt):"], + "cpp": ["string point_to_string(const point_2d &pt)"], "csharp": [ "public static string SplashKit.PointToString(Point2D pt);" ], - "pascal": [ - "function PointToString(const pt: Point2D): String" - ] + "pascal": ["function PointToString(const pt: Point2D): String"] } }, { @@ -19504,9 +16783,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19516,18 +16793,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def random_bitmap_point(bmp):" - ], - "cpp": [ - "point_2d random_bitmap_point(bitmap bmp)" - ], + "python": ["def random_bitmap_point(bmp):"], + "cpp": ["point_2d random_bitmap_point(bitmap bmp)"], "csharp": [ "public static Point2D SplashKit.RandomBitmapPoint(Bitmap bmp);" ], - "pascal": [ - "function RandomBitmapPoint(bmp: Bitmap): Point2D" - ] + "pascal": ["function RandomBitmapPoint(bmp: Bitmap): Point2D"] } }, { @@ -19547,25 +16818,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "geometry", "static": "geometry" }, "signatures": { - "python": [ - "def random_screen_point():" - ], - "cpp": [ - "point_2d random_screen_point()" - ], - "csharp": [ - "public static Point2D SplashKit.RandomScreenPoint();" - ], - "pascal": [ - "function RandomScreenPoint(): Point2D" - ] + "python": ["def random_screen_point():"], + "cpp": ["point_2d random_screen_point()"], + "csharp": ["public static Point2D SplashKit.RandomScreenPoint();"], + "pascal": ["function RandomScreenPoint(): Point2D"] } }, { @@ -19593,9 +16855,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19608,19 +16868,13 @@ "self": "wind" }, "signatures": { - "python": [ - "def random_window_point(wind):" - ], - "cpp": [ - "point_2d random_window_point(window wind)" - ], + "python": ["def random_window_point(wind):"], + "cpp": ["point_2d random_window_point(window wind)"], "csharp": [ "public Point2D Window.RandomPoint();", "public static Point2D SplashKit.RandomWindowPoint(Window wind);" ], - "pascal": [ - "function RandomWindowPoint(wind: Window): Point2D" - ] + "pascal": ["function RandomWindowPoint(wind: Window): Point2D"] } }, { @@ -19648,9 +16902,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19661,9 +16913,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19673,12 +16923,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def same_point(pt1, pt2):" - ], - "cpp": [ - "bool same_point(const point_2d &pt1, const point_2d &pt2)" - ], + "python": ["def same_point(pt1, pt2):"], + "cpp": ["bool same_point(const point_2d &pt1, const point_2d &pt2)"], "csharp": [ "public static bool SplashKit.SamePoint(Point2D pt1, Point2D pt2);" ], @@ -19712,9 +16958,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19725,9 +16969,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19738,9 +16980,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19751,9 +16991,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def quad_from_from_line(line_origin, line_end, width):" - ], + "python": ["def quad_from_from_line(line_origin, line_end, width):"], "cpp": [ "quad quad_from(const point_2d &line_origin, const point_2d &line_end, double width)" ], @@ -19790,9 +17028,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19803,9 +17039,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19816,9 +17050,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19829,9 +17061,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19842,9 +17072,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def quad_from_points(p1, p2, p3, p4):" - ], + "python": ["def quad_from_points(p1, p2, p3, p4):"], "cpp": [ "quad quad_from(const point_2d &p1, const point_2d &p2, const point_2d &p3, const point_2d &p4)" ], @@ -19881,9 +17109,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19894,18 +17120,10 @@ "static": "geometry" }, "signatures": { - "python": [ - "def quad_from_rectangle(rect):" - ], - "cpp": [ - "quad quad_from(const rectangle &rect)" - ], - "csharp": [ - "public static Quad SplashKit.QuadFrom(Rectangle rect);" - ], - "pascal": [ - "function QuadFrom(const rect: Rectangle): Quad" - ] + "python": ["def quad_from_rectangle(rect):"], + "cpp": ["quad quad_from(const rectangle &rect)"], + "csharp": ["public static Quad SplashKit.QuadFrom(Rectangle rect);"], + "pascal": ["function QuadFrom(const rect: Rectangle): Quad"] } }, { @@ -19933,9 +17151,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -19946,9 +17162,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -19998,9 +17212,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20011,9 +17223,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20024,9 +17234,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20037,9 +17245,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20050,9 +17256,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20063,9 +17267,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20076,9 +17278,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20089,9 +17289,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20140,9 +17338,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20153,9 +17349,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20166,9 +17360,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20178,9 +17370,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def quad_ray_intersection(origin, heading, q):" - ], + "python": ["def quad_ray_intersection(origin, heading, q):"], "cpp": [ "bool quad_ray_intersection(const point_2d &origin, const vector_2d &heading, const quad &q)" ], @@ -20217,9 +17407,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20230,9 +17418,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20243,9 +17429,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20256,9 +17440,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20269,9 +17451,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20321,9 +17501,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20334,9 +17512,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20346,12 +17522,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def quads_intersect(q1, q2):" - ], - "cpp": [ - "bool quads_intersect(const quad &q1, const quad &q2)" - ], + "python": ["def quads_intersect(q1, q2):"], + "cpp": ["bool quads_intersect(const quad &q1, const quad &q2)"], "csharp": [ "public static bool SplashKit.QuadsIntersect(Quad q1, Quad q2);" ], @@ -20385,9 +17557,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20398,9 +17568,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20411,9 +17579,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20423,9 +17589,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def set_quad_point(q, idx, value):" - ], + "python": ["def set_quad_point(q, idx, value):"], "cpp": [ "void set_quad_point(quad &q, int idx, const point_2d &value)" ], @@ -20462,9 +17626,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20474,18 +17636,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def triangles_from(q):" - ], - "cpp": [ - "vector triangles_from(const quad &q)" - ], + "python": ["def triangles_from(q):"], + "cpp": ["vector triangles_from(const quad &q)"], "csharp": [ "public static List SplashKit.TrianglesFrom(Quad q);" ], - "pascal": [ - "function TrianglesFrom(const q: Quad): ArrayOfTriangle" - ] + "pascal": ["function TrianglesFrom(const q: Quad): ArrayOfTriangle"] } }, { @@ -20513,9 +17669,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20526,9 +17680,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20538,9 +17690,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def inset_rectangle(rect, inset_amount):" - ], + "python": ["def inset_rectangle(rect, inset_amount):"], "cpp": [ "rectangle inset_rectangle(const rectangle &rect, float inset_amount)" ], @@ -20577,9 +17727,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20590,9 +17738,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20602,9 +17748,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def intersection(rect1, rect2):" - ], + "python": ["def intersection(rect1, rect2):"], "cpp": [ "rectangle intersection(const rectangle &rect1, const rectangle &rect2)" ], @@ -20641,9 +17785,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20654,18 +17796,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_around_circle(c):" - ], - "cpp": [ - "rectangle rectangle_around(const circle &c)" - ], + "python": ["def rectangle_around_circle(c):"], + "cpp": ["rectangle rectangle_around(const circle &c)"], "csharp": [ "public static Rectangle SplashKit.RectangleAround(Circle c);" ], - "pascal": [ - "function RectangleAround(const c: Circle): Rectangle" - ] + "pascal": ["function RectangleAround(const c: Circle): Rectangle"] } }, { @@ -20693,9 +17829,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20706,18 +17840,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_around_line(l):" - ], - "cpp": [ - "rectangle rectangle_around(const line &l)" - ], + "python": ["def rectangle_around_line(l):"], + "cpp": ["rectangle rectangle_around(const line &l)"], "csharp": [ "public static Rectangle SplashKit.RectangleAround(Line l);" ], - "pascal": [ - "function RectangleAround(const l: Line): Rectangle" - ] + "pascal": ["function RectangleAround(const l: Line): Rectangle"] } }, { @@ -20745,9 +17873,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20758,18 +17884,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_around_quad(q):" - ], - "cpp": [ - "rectangle rectangle_around(const quad &q)" - ], + "python": ["def rectangle_around_quad(q):"], + "cpp": ["rectangle rectangle_around(const quad &q)"], "csharp": [ "public static Rectangle SplashKit.RectangleAround(Quad q);" ], - "pascal": [ - "function RectangleAround(const q: Quad): Rectangle" - ] + "pascal": ["function RectangleAround(const q: Quad): Rectangle"] } }, { @@ -20797,9 +17917,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20810,18 +17928,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_around_triangle(t):" - ], - "cpp": [ - "rectangle rectangle_around(const triangle &t)" - ], + "python": ["def rectangle_around_triangle(t):"], + "cpp": ["rectangle rectangle_around(const triangle &t)"], "csharp": [ "public static Rectangle SplashKit.RectangleAround(Triangle t);" ], - "pascal": [ - "function RectangleAround(const t: Triangle): Rectangle" - ] + "pascal": ["function RectangleAround(const t: Triangle): Rectangle"] } }, { @@ -20849,9 +17961,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20861,18 +17971,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_bottom(rect):" - ], - "cpp": [ - "double rectangle_bottom(const rectangle &rect)" - ], + "python": ["def rectangle_bottom(rect):"], + "cpp": ["double rectangle_bottom(const rectangle &rect)"], "csharp": [ "public static double SplashKit.RectangleBottom(Rectangle rect);" ], - "pascal": [ - "function RectangleBottom(const rect: Rectangle): Double" - ] + "pascal": ["function RectangleBottom(const rect: Rectangle): Double"] } }, { @@ -20900,9 +18004,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20912,18 +18014,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_center(rect):" - ], - "cpp": [ - "point_2d rectangle_center(const rectangle &rect)" - ], + "python": ["def rectangle_center(rect):"], + "cpp": ["point_2d rectangle_center(const rectangle &rect)"], "csharp": [ "public static Point2D SplashKit.RectangleCenter(Rectangle rect);" ], - "pascal": [ - "function RectangleCenter(const rect: Rectangle): Point2D" - ] + "pascal": ["function RectangleCenter(const rect: Rectangle): Point2D"] } }, { @@ -20951,9 +18047,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -20964,9 +18058,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -20976,9 +18068,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_circle_intersect(rect, c):" - ], + "python": ["def rectangle_circle_intersect(rect, c):"], "cpp": [ "bool rectangle_circle_intersect(const rectangle &rect, const circle &c)" ], @@ -21015,9 +18105,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21028,9 +18116,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21041,9 +18127,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21054,9 +18138,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_from_point_and_size(pt, width, height):" - ], + "python": ["def rectangle_from_point_and_size(pt, width, height):"], "cpp": [ "rectangle rectangle_from(const point_2d pt, const double width, const double height)" ], @@ -21093,9 +18175,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21106,9 +18186,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21119,9 +18197,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_from_points(pt1, pt2):" - ], + "python": ["def rectangle_from_points(pt1, pt2):"], "cpp": [ "rectangle rectangle_from(const point_2d pt1, const point_2d pt2)" ], @@ -21158,9 +18234,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21171,9 +18245,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21184,9 +18256,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21197,9 +18267,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21209,9 +18277,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_from(x, y, width, height):" - ], + "python": ["def rectangle_from(x, y, width, height):"], "cpp": [ "rectangle rectangle_from(double x, double y, double width, double height)" ], @@ -21248,9 +18314,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21260,18 +18324,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_left(rect):" - ], - "cpp": [ - "double rectangle_left(const rectangle &rect)" - ], + "python": ["def rectangle_left(rect):"], + "cpp": ["double rectangle_left(const rectangle &rect)"], "csharp": [ "public static double SplashKit.RectangleLeft(Rectangle rect);" ], - "pascal": [ - "function RectangleLeft(const rect: Rectangle): Double" - ] + "pascal": ["function RectangleLeft(const rect: Rectangle): Double"] } }, { @@ -21299,9 +18357,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21312,9 +18368,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21324,9 +18378,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_offset_by(rect, offset):" - ], + "python": ["def rectangle_offset_by(rect, offset):"], "cpp": [ "rectangle rectangle_offset_by(const rectangle &rect, const vector_2d &offset)" ], @@ -21363,9 +18415,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21376,9 +18426,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21389,9 +18437,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21401,9 +18447,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_ray_intersection(origin, heading, rect):" - ], + "python": ["def rectangle_ray_intersection(origin, heading, rect):"], "cpp": [ "bool rectangle_ray_intersection(const point_2d &origin, const vector_2d &heading, const rectangle &rect)" ], @@ -21440,9 +18484,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21453,9 +18495,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21466,9 +18506,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21479,9 +18517,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21492,9 +18528,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21544,9 +18578,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21556,18 +18588,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_right(rect):" - ], - "cpp": [ - "double rectangle_right(const rectangle &rect)" - ], + "python": ["def rectangle_right(rect):"], + "cpp": ["double rectangle_right(const rectangle &rect)"], "csharp": [ "public static double SplashKit.RectangleRight(Rectangle rect);" ], - "pascal": [ - "function RectangleRight(const rect: Rectangle): Double" - ] + "pascal": ["function RectangleRight(const rect: Rectangle): Double"] } }, { @@ -21595,9 +18621,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21607,12 +18631,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_to_string(rect):" - ], - "cpp": [ - "string rectangle_to_string(const rectangle &rect)" - ], + "python": ["def rectangle_to_string(rect):"], + "cpp": ["string rectangle_to_string(const rectangle &rect)"], "csharp": [ "public static string SplashKit.RectangleToString(Rectangle rect);" ], @@ -21646,9 +18666,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21658,18 +18676,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangle_top(rect):" - ], - "cpp": [ - "double rectangle_top(const rectangle &rect)" - ], + "python": ["def rectangle_top(rect):"], + "cpp": ["double rectangle_top(const rectangle &rect)"], "csharp": [ "public static double SplashKit.RectangleTop(Rectangle rect);" ], - "pascal": [ - "function RectangleTop(const rect: Rectangle): Double" - ] + "pascal": ["function RectangleTop(const rect: Rectangle): Double"] } }, { @@ -21697,9 +18709,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21710,9 +18720,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21722,9 +18730,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def rectangles_intersect(rect1, rect2):" - ], + "python": ["def rectangles_intersect(rect1, rect2):"], "cpp": [ "bool rectangles_intersect(const rectangle &rect1, const rectangle &rect2)" ], @@ -21761,9 +18767,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21773,12 +18777,8 @@ "static": "geometry" }, "signatures": { - "python": [ - "def triangle_barycenter(tri):" - ], - "cpp": [ - "point_2d triangle_barycenter(const triangle &tri)" - ], + "python": ["def triangle_barycenter(tri):"], + "cpp": ["point_2d triangle_barycenter(const triangle &tri)"], "csharp": [ "public static Point2D SplashKit.TriangleBarycenter(Triangle tri);" ], @@ -21812,9 +18812,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21825,9 +18823,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21838,9 +18834,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21850,9 +18844,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def triangle_from(p1, p2, p3):" - ], + "python": ["def triangle_from(p1, p2, p3):"], "cpp": [ "triangle triangle_from(const point_2d &p1, const point_2d &p2, const point_2d &p3)" ], @@ -21889,9 +18881,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21902,9 +18892,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21915,9 +18903,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21928,9 +18914,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21941,9 +18925,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -21954,9 +18936,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -21967,9 +18947,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def triangle_from_coordinates(x1, y1, x2, y2, x3, y3):" - ], + "python": ["def triangle_from_coordinates(x1, y1, x2, y2, x3, y3):"], "cpp": [ "triangle triangle_from(double x1, double y1, double x2, double y2, double x3, double y3)" ], @@ -22006,9 +18984,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22019,9 +18995,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22031,9 +19005,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def triangle_quad_intersect(tri, q):" - ], + "python": ["def triangle_quad_intersect(tri, q):"], "cpp": [ "bool triangle_quad_intersect(const triangle &tri, const quad &q)" ], @@ -22070,9 +19042,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22083,9 +19053,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22096,9 +19064,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22108,9 +19074,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def triangle_ray_intersection(origin, heading, tri):" - ], + "python": ["def triangle_ray_intersection(origin, heading, tri):"], "cpp": [ "bool triangle_ray_intersection(const point_2d &origin, const vector_2d &heading, const triangle &tri)" ], @@ -22147,9 +19111,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22160,9 +19122,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22173,9 +19133,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22186,9 +19144,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22199,9 +19155,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22251,9 +19205,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22264,9 +19216,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22276,9 +19226,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def triangle_rectangle_intersect(tri, rect):" - ], + "python": ["def triangle_rectangle_intersect(tri, rect):"], "cpp": [ "bool triangle_rectangle_intersect(const triangle &tri, const rectangle &rect)" ], @@ -22315,9 +19263,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22327,18 +19273,12 @@ "static": "geometry" }, "signatures": { - "python": [ - "def triangle_to_string(tri):" - ], - "cpp": [ - "string triangle_to_string(const triangle &tri)" - ], + "python": ["def triangle_to_string(tri):"], + "cpp": ["string triangle_to_string(const triangle &tri)"], "csharp": [ "public static string SplashKit.TriangleToString(Triangle tri);" ], - "pascal": [ - "function TriangleToString(const tri: Triangle): String" - ] + "pascal": ["function TriangleToString(const tri: Triangle): String"] } }, { @@ -22366,9 +19306,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22379,9 +19317,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22391,9 +19327,7 @@ "static": "geometry" }, "signatures": { - "python": [ - "def triangles_intersect(t1, t2):" - ], + "python": ["def triangles_intersect(t1, t2):"], "cpp": [ "bool triangles_intersect(const triangle &t1, const triangle &t2)" ], @@ -22406,18 +19340,10 @@ } } ], - "typedefs": [ - - ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "typedefs": [], + "structs": [], + "enums": [], + "defines": [] }, "graphics": { "brief": "SplashKit Images allow drawing of bitmaps and sprites to graphic windows.SplashKit Text allows for drawing text in a variety of ways to\ngraphic windows.", @@ -22448,9 +19374,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22461,9 +19385,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22476,19 +19398,13 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_circle_record(clr, c):" - ], - "cpp": [ - "void draw_circle(color clr, const circle &c)" - ], + "python": ["def draw_circle_record(clr, c):"], + "cpp": ["void draw_circle(color clr, const circle &c)"], "csharp": [ "public void Circle.Draw(Color clr);", "public static void SplashKit.DrawCircle(Color clr, Circle c);" ], - "pascal": [ - "procedure DrawCircle(clr: Color; const c: Circle)" - ] + "pascal": ["procedure DrawCircle(clr: Color; const c: Circle)"] } }, { @@ -22516,9 +19432,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22529,9 +19443,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22542,9 +19454,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22557,9 +19467,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_circle_record_with_options(clr, c, opts):" - ], + "python": ["def draw_circle_record_with_options(clr, c, opts):"], "cpp": [ "void draw_circle(color clr, const circle &c, drawing_options opts)" ], @@ -22597,9 +19505,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22610,9 +19516,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22623,9 +19527,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22635,9 +19537,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_circle_at_point(clr, pt, radius):" - ], + "python": ["def draw_circle_at_point(clr, pt, radius):"], "cpp": [ "void draw_circle(color clr, const point_2d &pt, double radius)" ], @@ -22674,9 +19574,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22687,9 +19585,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22700,9 +19596,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22713,9 +19607,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22764,9 +19656,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22777,9 +19667,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22790,9 +19678,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22803,9 +19689,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22814,9 +19698,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_circle(clr, x, y, radius):" - ], + "python": ["def draw_circle(clr, x, y, radius):"], "cpp": [ "void draw_circle(color clr, double x, double y, double radius)" ], @@ -22853,9 +19735,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22866,9 +19746,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22879,9 +19757,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22892,9 +19768,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22905,9 +19779,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -22917,9 +19789,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_circle_with_options(clr, x, y, radius, opts):" - ], + "python": ["def draw_circle_with_options(clr, x, y, radius, opts):"], "cpp": [ "void draw_circle(color clr, double x, double y, double radius, drawing_options opts)" ], @@ -22956,9 +19826,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22969,9 +19837,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22982,9 +19848,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -22995,9 +19859,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23008,9 +19870,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -23062,9 +19922,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23075,9 +19933,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23088,9 +19944,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23101,9 +19955,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23114,9 +19966,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23127,9 +19977,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -23182,9 +20030,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23195,9 +20041,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23208,9 +20052,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23221,9 +20063,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23234,9 +20074,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -23288,9 +20126,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23301,9 +20137,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23314,9 +20148,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23327,9 +20159,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23340,9 +20170,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23353,9 +20181,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -23408,9 +20234,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23421,9 +20245,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -23436,19 +20258,13 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_circle_record(clr, c):" - ], - "cpp": [ - "void fill_circle(color clr, const circle &c)" - ], + "python": ["def fill_circle_record(clr, c):"], + "cpp": ["void fill_circle(color clr, const circle &c)"], "csharp": [ "public void Circle.Fill(Color clr);", "public static void SplashKit.FillCircle(Color clr, Circle c);" ], - "pascal": [ - "procedure FillCircle(clr: Color; const c: Circle)" - ] + "pascal": ["procedure FillCircle(clr: Color; const c: Circle)"] } }, { @@ -23476,9 +20292,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23489,9 +20303,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23502,9 +20314,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -23517,9 +20327,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_circle_record_with_options(clr, c, opts):" - ], + "python": ["def fill_circle_record_with_options(clr, c, opts):"], "cpp": [ "void fill_circle(color clr, const circle &c, drawing_options opts)" ], @@ -23557,9 +20365,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23570,9 +20376,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23583,9 +20387,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -23595,9 +20397,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_circle_at_point(clr, pt, radius):" - ], + "python": ["def fill_circle_at_point(clr, pt, radius):"], "cpp": [ "void fill_circle(color clr, const point_2d &pt, double radius)" ], @@ -23634,9 +20434,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23647,9 +20445,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23660,9 +20456,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23673,9 +20467,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -23724,9 +20516,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23737,9 +20527,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23750,9 +20538,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23763,9 +20549,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -23774,9 +20558,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_circle(clr, x, y, radius):" - ], + "python": ["def fill_circle(clr, x, y, radius):"], "cpp": [ "void fill_circle(color clr, double x, double y, double radius)" ], @@ -23813,9 +20595,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23826,9 +20606,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23839,9 +20617,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23852,9 +20628,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23865,9 +20639,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -23877,9 +20649,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_circle_with_options(clr, x, y, radius, opts):" - ], + "python": ["def fill_circle_with_options(clr, x, y, radius, opts):"], "cpp": [ "void fill_circle(color clr, double x, double y, double radius, drawing_options opts)" ], @@ -23916,9 +20686,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23929,9 +20697,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23942,9 +20708,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23955,9 +20719,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -23968,9 +20730,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24022,9 +20782,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24035,9 +20793,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24048,9 +20804,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24061,9 +20815,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24074,9 +20826,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24087,9 +20837,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24142,9 +20890,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24155,9 +20901,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24168,9 +20912,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24181,9 +20923,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24194,9 +20934,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24248,9 +20986,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24261,9 +20997,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24274,9 +21008,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24287,9 +21019,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24300,9 +21030,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24313,9 +21041,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24360,24 +21086,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def current_clip():" - ], - "cpp": [ - "rectangle current_clip()" - ], - "csharp": [ - "public static Rectangle SplashKit.CurrentClip();" - ], - "pascal": [ - "function CurrentClip(): Rectangle" - ] + "python": ["def current_clip():"], + "cpp": ["rectangle current_clip()"], + "csharp": ["public static Rectangle SplashKit.CurrentClip();"], + "pascal": ["function CurrentClip(): Rectangle"] } }, { @@ -24405,9 +21122,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24417,18 +21132,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def current_clip_for_bitmap(bmp):" - ], - "cpp": [ - "rectangle current_clip(bitmap bmp)" - ], + "python": ["def current_clip_for_bitmap(bmp):"], + "cpp": ["rectangle current_clip(bitmap bmp)"], "csharp": [ "public static Rectangle SplashKit.CurrentClip(Bitmap bmp);" ], - "pascal": [ - "function CurrentClip(bmp: Bitmap): Rectangle" - ] + "pascal": ["function CurrentClip(bmp: Bitmap): Rectangle"] } }, { @@ -24456,9 +21165,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24471,19 +21178,13 @@ "group": "graphics" }, "signatures": { - "python": [ - "def current_clip_for_window(wnd):" - ], - "cpp": [ - "rectangle current_clip(window wnd)" - ], + "python": ["def current_clip_for_window(wnd):"], + "cpp": ["rectangle current_clip(window wnd)"], "csharp": [ "public Rectangle Window.CurrentClip();", "public static Rectangle SplashKit.CurrentClip(Window wnd);" ], - "pascal": [ - "function CurrentClip(wnd: Window): Rectangle" - ] + "pascal": ["function CurrentClip(wnd: Window): Rectangle"] } }, { @@ -24511,9 +21212,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24526,19 +21225,13 @@ "group": "graphics" }, "signatures": { - "python": [ - "def pop_clip_for_window(wnd):" - ], - "cpp": [ - "void pop_clip(window wnd)" - ], + "python": ["def pop_clip_for_window(wnd):"], + "cpp": ["void pop_clip(window wnd)"], "csharp": [ "public void Window.PopClip();", "public static void SplashKit.PopClip(Window wnd);" ], - "pascal": [ - "procedure PopClip(wnd: Window)" - ] + "pascal": ["procedure PopClip(wnd: Window)"] } }, { @@ -24558,24 +21251,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def pop_clip():" - ], - "cpp": [ - "void pop_clip()" - ], - "csharp": [ - "public static void SplashKit.PopClip();" - ], - "pascal": [ - "procedure PopClip()" - ] + "python": ["def pop_clip():"], + "cpp": ["void pop_clip()"], + "csharp": ["public static void SplashKit.PopClip();"], + "pascal": ["procedure PopClip()"] } }, { @@ -24603,9 +21287,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24615,18 +21297,10 @@ "group": "graphics" }, "signatures": { - "python": [ - "def pop_clip_for_bitmap(bmp):" - ], - "cpp": [ - "void pop_clip(bitmap bmp)" - ], - "csharp": [ - "public static void SplashKit.PopClip(Bitmap bmp);" - ], - "pascal": [ - "procedure PopClip(bmp: Bitmap)" - ] + "python": ["def pop_clip_for_bitmap(bmp):"], + "cpp": ["void pop_clip(bitmap bmp)"], + "csharp": ["public static void SplashKit.PopClip(Bitmap bmp);"], + "pascal": ["procedure PopClip(bmp: Bitmap)"] } }, { @@ -24654,9 +21328,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24667,9 +21339,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24682,19 +21352,13 @@ "group": "graphics" }, "signatures": { - "python": [ - "def push_clip_for_window(wnd, r):" - ], - "cpp": [ - "void push_clip(window wnd, const rectangle &r)" - ], + "python": ["def push_clip_for_window(wnd, r):"], + "cpp": ["void push_clip(window wnd, const rectangle &r)"], "csharp": [ "public void Window.PushClip(Rectangle r);", "public static void SplashKit.PushClip(Window wnd, Rectangle r);" ], - "pascal": [ - "procedure PushClip(wnd: Window; const r: Rectangle)" - ] + "pascal": ["procedure PushClip(wnd: Window; const r: Rectangle)"] } }, { @@ -24722,9 +21386,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -24735,9 +21397,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24747,18 +21407,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def push_clip_for_bitmap(bmp, r):" - ], - "cpp": [ - "void push_clip(bitmap bmp, const rectangle &r)" - ], + "python": ["def push_clip_for_bitmap(bmp, r):"], + "cpp": ["void push_clip(bitmap bmp, const rectangle &r)"], "csharp": [ "public static void SplashKit.PushClip(Bitmap bmp, Rectangle r);" ], - "pascal": [ - "procedure PushClip(bmp: Bitmap; const r: Rectangle)" - ] + "pascal": ["procedure PushClip(bmp: Bitmap; const r: Rectangle)"] } }, { @@ -24786,9 +21440,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24797,18 +21449,10 @@ "group": "graphics" }, "signatures": { - "python": [ - "def push_clip(r):" - ], - "cpp": [ - "void push_clip(const rectangle &r)" - ], - "csharp": [ - "public static void SplashKit.PushClip(Rectangle r);" - ], - "pascal": [ - "procedure PushClip(const r: Rectangle)" - ] + "python": ["def push_clip(r):"], + "cpp": ["void push_clip(const rectangle &r)"], + "csharp": ["public static void SplashKit.PushClip(Rectangle r);"], + "pascal": ["procedure PushClip(const r: Rectangle)"] } }, { @@ -24836,9 +21480,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24848,18 +21490,10 @@ "group": "graphics" }, "signatures": { - "python": [ - "def reset_clip_for_bitmap(bmp):" - ], - "cpp": [ - "void reset_clip(bitmap bmp)" - ], - "csharp": [ - "public static void SplashKit.ResetClip(Bitmap bmp);" - ], - "pascal": [ - "procedure ResetClip(bmp: Bitmap)" - ] + "python": ["def reset_clip_for_bitmap(bmp):"], + "cpp": ["void reset_clip(bitmap bmp)"], + "csharp": ["public static void SplashKit.ResetClip(Bitmap bmp);"], + "pascal": ["procedure ResetClip(bmp: Bitmap)"] } }, { @@ -24879,24 +21513,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def reset_clip():" - ], - "cpp": [ - "void reset_clip()" - ], - "csharp": [ - "public static void SplashKit.ResetClip();" - ], - "pascal": [ - "procedure ResetClip()" - ] + "python": ["def reset_clip():"], + "cpp": ["void reset_clip()"], + "csharp": ["public static void SplashKit.ResetClip();"], + "pascal": ["procedure ResetClip()"] } }, { @@ -24924,9 +21549,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24939,19 +21562,13 @@ "group": "graphics" }, "signatures": { - "python": [ - "def reset_clip_for_window(wnd):" - ], - "cpp": [ - "void reset_clip(window wnd)" - ], + "python": ["def reset_clip_for_window(wnd):"], + "cpp": ["void reset_clip(window wnd)"], "csharp": [ "public void Window.ResetClip();", "public static void SplashKit.ResetClip(Window wnd);" ], - "pascal": [ - "procedure ResetClip(wnd: Window)" - ] + "pascal": ["procedure ResetClip(wnd: Window)"] } }, { @@ -24979,9 +21596,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -24990,18 +21605,10 @@ "group": "graphics" }, "signatures": { - "python": [ - "def set_clip(r):" - ], - "cpp": [ - "void set_clip(const rectangle &r)" - ], - "csharp": [ - "public static void SplashKit.SetClip(Rectangle r);" - ], - "pascal": [ - "procedure SetClip(const r: Rectangle)" - ] + "python": ["def set_clip(r):"], + "cpp": ["void set_clip(const rectangle &r)"], + "csharp": ["public static void SplashKit.SetClip(Rectangle r);"], + "pascal": ["procedure SetClip(const r: Rectangle)"] } }, { @@ -25029,9 +21636,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25042,9 +21647,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25054,18 +21657,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def set_clip_for_bitmap(bmp, r):" - ], - "cpp": [ - "void set_clip(bitmap bmp, const rectangle &r)" - ], + "python": ["def set_clip_for_bitmap(bmp, r):"], + "cpp": ["void set_clip(bitmap bmp, const rectangle &r)"], "csharp": [ "public static void SplashKit.SetClip(Bitmap bmp, Rectangle r);" ], - "pascal": [ - "procedure SetClip(bmp: Bitmap; const r: Rectangle)" - ] + "pascal": ["procedure SetClip(bmp: Bitmap; const r: Rectangle)"] } }, { @@ -25093,9 +21690,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25106,9 +21701,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25121,19 +21714,13 @@ "group": "graphics" }, "signatures": { - "python": [ - "def set_clip_for_window(wnd, r):" - ], - "cpp": [ - "void set_clip(window wnd, const rectangle &r)" - ], + "python": ["def set_clip_for_window(wnd, r):"], + "cpp": ["void set_clip(window wnd, const rectangle &r)"], "csharp": [ "public void Window.SetClip(Rectangle r);", "public static void SplashKit.SetClip(Window wnd, Rectangle r);" ], - "pascal": [ - "procedure SetClip(wnd: Window; const r: Rectangle)" - ] + "pascal": ["procedure SetClip(wnd: Window; const r: Rectangle)"] } }, { @@ -25153,24 +21740,17 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def option_defaults():" - ], - "cpp": [ - "drawing_options option_defaults()" - ], + "python": ["def option_defaults():"], + "cpp": ["drawing_options option_defaults()"], "csharp": [ "public static DrawingOptions SplashKit.OptionDefaults();" ], - "pascal": [ - "function OptionDefaults(): DrawingOptions" - ] + "pascal": ["function OptionDefaults(): DrawingOptions"] } }, { @@ -25198,9 +21778,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25210,18 +21788,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_draw_to_bitmap(dest):" - ], - "cpp": [ - "drawing_options option_draw_to(bitmap dest)" - ], + "python": ["def option_draw_to_bitmap(dest):"], + "cpp": ["drawing_options option_draw_to(bitmap dest)"], "csharp": [ "public static DrawingOptions SplashKit.OptionDrawTo(Bitmap dest);" ], - "pascal": [ - "function OptionDrawTo(dest: Bitmap): DrawingOptions" - ] + "pascal": ["function OptionDrawTo(dest: Bitmap): DrawingOptions"] } }, { @@ -25249,9 +21821,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25262,9 +21832,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25274,9 +21842,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_draw_to_bitmap_with_options(dest, opts):" - ], + "python": ["def option_draw_to_bitmap_with_options(dest, opts):"], "cpp": [ "drawing_options option_draw_to(bitmap dest, drawing_options opts)" ], @@ -25313,9 +21879,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25328,19 +21892,13 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_draw_to_window(dest):" - ], - "cpp": [ - "drawing_options option_draw_to(window dest)" - ], + "python": ["def option_draw_to_window(dest):"], + "cpp": ["drawing_options option_draw_to(window dest)"], "csharp": [ "public DrawingOptions Window.OptionDrawTo();", "public static DrawingOptions SplashKit.OptionDrawTo(Window dest);" ], - "pascal": [ - "function OptionDrawTo(dest: Window): DrawingOptions" - ] + "pascal": ["function OptionDrawTo(dest: Window): DrawingOptions"] } }, { @@ -25368,9 +21926,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25381,9 +21937,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25396,9 +21950,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_draw_to_window_with_options(dest, opts):" - ], + "python": ["def option_draw_to_window_with_options(dest, opts):"], "cpp": [ "drawing_options option_draw_to(window dest, drawing_options opts)" ], @@ -25428,24 +21980,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def option_flip_x():" - ], - "cpp": [ - "drawing_options option_flip_x()" - ], - "csharp": [ - "public static DrawingOptions SplashKit.OptionFlipX();" - ], - "pascal": [ - "function OptionFlipX(): DrawingOptions" - ] + "python": ["def option_flip_x():"], + "cpp": ["drawing_options option_flip_x()"], + "csharp": ["public static DrawingOptions SplashKit.OptionFlipX();"], + "pascal": ["function OptionFlipX(): DrawingOptions"] } }, { @@ -25473,9 +22016,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25485,12 +22026,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_flip_x_with_options(opts):" - ], - "cpp": [ - "drawing_options option_flip_x(drawing_options opts)" - ], + "python": ["def option_flip_x_with_options(opts):"], + "cpp": ["drawing_options option_flip_x(drawing_options opts)"], "csharp": [ "public static DrawingOptions SplashKit.OptionFlipX(DrawingOptions opts);" ], @@ -25516,24 +22053,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def option_flip_xy():" - ], - "cpp": [ - "drawing_options option_flip_xy()" - ], - "csharp": [ - "public static DrawingOptions SplashKit.OptionFlipXy();" - ], - "pascal": [ - "function OptionFlipXy(): DrawingOptions" - ] + "python": ["def option_flip_xy():"], + "cpp": ["drawing_options option_flip_xy()"], + "csharp": ["public static DrawingOptions SplashKit.OptionFlipXy();"], + "pascal": ["function OptionFlipXy(): DrawingOptions"] } }, { @@ -25561,9 +22089,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25573,12 +22099,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_flip_xy_with_options(opts):" - ], - "cpp": [ - "drawing_options option_flip_xy(drawing_options opts)" - ], + "python": ["def option_flip_xy_with_options(opts):"], + "cpp": ["drawing_options option_flip_xy(drawing_options opts)"], "csharp": [ "public static DrawingOptions SplashKit.OptionFlipXy(DrawingOptions opts);" ], @@ -25604,24 +22126,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def option_flip_y():" - ], - "cpp": [ - "drawing_options option_flip_y()" - ], - "csharp": [ - "public static DrawingOptions SplashKit.OptionFlipY();" - ], - "pascal": [ - "function OptionFlipY(): DrawingOptions" - ] + "python": ["def option_flip_y():"], + "cpp": ["drawing_options option_flip_y()"], + "csharp": ["public static DrawingOptions SplashKit.OptionFlipY();"], + "pascal": ["function OptionFlipY(): DrawingOptions"] } }, { @@ -25649,9 +22162,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25661,12 +22172,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_flip_y_with_options(opts):" - ], - "cpp": [ - "drawing_options option_flip_y(drawing_options opts)" - ], + "python": ["def option_flip_y_with_options(opts):"], + "cpp": ["drawing_options option_flip_y(drawing_options opts)"], "csharp": [ "public static DrawingOptions SplashKit.OptionFlipY(DrawingOptions opts);" ], @@ -25700,9 +22207,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25711,18 +22216,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_line_width(width):" - ], - "cpp": [ - "drawing_options option_line_width(int width)" - ], + "python": ["def option_line_width(width):"], + "cpp": ["drawing_options option_line_width(int width)"], "csharp": [ "public static DrawingOptions SplashKit.OptionLineWidth(int width);" ], - "pascal": [ - "function OptionLineWidth(width: Integer): DrawingOptions" - ] + "pascal": ["function OptionLineWidth(width: Integer): DrawingOptions"] } }, { @@ -25750,9 +22249,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25763,9 +22260,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25775,9 +22270,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_line_width_with_options(width, opts):" - ], + "python": ["def option_line_width_with_options(width, opts):"], "cpp": [ "drawing_options option_line_width(int width, drawing_options opts)" ], @@ -25814,9 +22307,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25827,9 +22318,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25840,9 +22329,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25853,9 +22340,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25864,9 +22349,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_part_bmp(x, y, w, h):" - ], + "python": ["def option_part_bmp(x, y, w, h):"], "cpp": [ "drawing_options option_part_bmp(double x, double y, double w, double h)" ], @@ -25903,9 +22386,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25916,9 +22397,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25929,9 +22408,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25942,9 +22419,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -25955,9 +22430,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -25967,9 +22440,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_part_bmp_with_options(x, y, w, h, opts):" - ], + "python": ["def option_part_bmp_with_options(x, y, w, h, opts):"], "cpp": [ "drawing_options option_part_bmp(double x, double y, double w, double h, drawing_options opts)" ], @@ -26006,9 +22477,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26018,18 +22487,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_part_bmp_from_rectangle(part):" - ], - "cpp": [ - "drawing_options option_part_bmp(rectangle part)" - ], + "python": ["def option_part_bmp_from_rectangle(part):"], + "cpp": ["drawing_options option_part_bmp(rectangle part)"], "csharp": [ "public static DrawingOptions SplashKit.OptionPartBmp(Rectangle part);" ], - "pascal": [ - "function OptionPartBmp(part: Rectangle): DrawingOptions" - ] + "pascal": ["function OptionPartBmp(part: Rectangle): DrawingOptions"] } }, { @@ -26057,9 +22520,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26070,9 +22531,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26121,9 +22580,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26132,18 +22589,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_rotate_bmp(angle):" - ], - "cpp": [ - "drawing_options option_rotate_bmp(double angle)" - ], + "python": ["def option_rotate_bmp(angle):"], + "cpp": ["drawing_options option_rotate_bmp(double angle)"], "csharp": [ "public static DrawingOptions SplashKit.OptionRotateBmp(double angle);" ], - "pascal": [ - "function OptionRotateBmp(angle: Double): DrawingOptions" - ] + "pascal": ["function OptionRotateBmp(angle: Double): DrawingOptions"] } }, { @@ -26171,9 +22622,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26184,9 +22633,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26197,9 +22644,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26248,9 +22693,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26261,9 +22704,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26274,9 +22715,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26287,9 +22726,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26338,9 +22775,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26351,9 +22786,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26363,9 +22796,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_rotate_bmp_with_options(angle, opts):" - ], + "python": ["def option_rotate_bmp_with_options(angle, opts):"], "cpp": [ "drawing_options option_rotate_bmp(double angle, drawing_options opts)" ], @@ -26402,9 +22833,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26415,9 +22844,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26426,9 +22853,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_scale_bmp(scale_x, scale_y):" - ], + "python": ["def option_scale_bmp(scale_x, scale_y):"], "cpp": [ "drawing_options option_scale_bmp(double scale_x, double scale_y)" ], @@ -26465,9 +22890,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26478,9 +22901,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26491,9 +22912,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26534,24 +22953,17 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def option_to_screen():" - ], - "cpp": [ - "drawing_options option_to_screen()" - ], + "python": ["def option_to_screen():"], + "cpp": ["drawing_options option_to_screen()"], "csharp": [ "public static DrawingOptions SplashKit.OptionToScreen();" ], - "pascal": [ - "function OptionToScreen(): DrawingOptions" - ] + "pascal": ["function OptionToScreen(): DrawingOptions"] } }, { @@ -26579,9 +22991,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26591,12 +23001,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_to_screen_with_options(opts):" - ], - "cpp": [ - "drawing_options option_to_screen(drawing_options opts)" - ], + "python": ["def option_to_screen_with_options(opts):"], + "cpp": ["drawing_options option_to_screen(drawing_options opts)"], "csharp": [ "public static DrawingOptions SplashKit.OptionToScreen(DrawingOptions opts);" ], @@ -26622,24 +23028,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def option_to_world():" - ], - "cpp": [ - "drawing_options option_to_world()" - ], - "csharp": [ - "public static DrawingOptions SplashKit.OptionToWorld();" - ], - "pascal": [ - "function OptionToWorld(): DrawingOptions" - ] + "python": ["def option_to_world():"], + "cpp": ["drawing_options option_to_world()"], + "csharp": ["public static DrawingOptions SplashKit.OptionToWorld();"], + "pascal": ["function OptionToWorld(): DrawingOptions"] } }, { @@ -26667,9 +23064,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26679,12 +23074,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_to_world_with_options(opts):" - ], - "cpp": [ - "drawing_options option_to_world(drawing_options opts)" - ], + "python": ["def option_to_world_with_options(opts):"], + "cpp": ["drawing_options option_to_world(drawing_options opts)"], "csharp": [ "public static DrawingOptions SplashKit.OptionToWorld(DrawingOptions opts);" ], @@ -26718,9 +23109,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26729,12 +23118,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_with_animation(anim):" - ], - "cpp": [ - "drawing_options option_with_animation(animation anim)" - ], + "python": ["def option_with_animation(anim):"], + "cpp": ["drawing_options option_with_animation(animation anim)"], "csharp": [ "public static DrawingOptions SplashKit.OptionWithAnimation(Animation anim);" ], @@ -26768,9 +23153,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26781,9 +23164,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26793,9 +23174,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_with_animation_with_options(anim, opts):" - ], + "python": ["def option_with_animation_with_options(anim, opts):"], "cpp": [ "drawing_options option_with_animation(animation anim, drawing_options opts)" ], @@ -26832,9 +23211,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26843,12 +23220,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_with_bitmap_cell(cell):" - ], - "cpp": [ - "drawing_options option_with_bitmap_cell(int cell)" - ], + "python": ["def option_with_bitmap_cell(cell):"], + "cpp": ["drawing_options option_with_bitmap_cell(int cell)"], "csharp": [ "public static DrawingOptions SplashKit.OptionWithBitmapCell(int cell);" ], @@ -26882,9 +23255,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26895,9 +23266,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26907,9 +23276,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def option_with_bitmap_cell_with_options(cell, opts):" - ], + "python": ["def option_with_bitmap_cell_with_options(cell, opts):"], "cpp": [ "drawing_options option_with_bitmap_cell(int cell, drawing_options opts)" ], @@ -26946,9 +23313,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -26959,9 +23324,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -26971,18 +23334,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_ellipse_within_rectangle(clr, rect):" - ], - "cpp": [ - "void draw_ellipse(color clr, const rectangle rect)" - ], + "python": ["def draw_ellipse_within_rectangle(clr, rect):"], + "cpp": ["void draw_ellipse(color clr, const rectangle rect)"], "csharp": [ "public static void SplashKit.DrawEllipse(Color clr, Rectangle rect);" ], - "pascal": [ - "procedure DrawEllipse(clr: Color; rect: Rectangle)" - ] + "pascal": ["procedure DrawEllipse(clr: Color; rect: Rectangle)"] } }, { @@ -27010,9 +23367,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27023,9 +23378,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27036,9 +23389,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -27087,9 +23438,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27100,9 +23449,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27113,9 +23460,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27126,9 +23471,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27139,9 +23482,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -27150,9 +23491,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_ellipse(clr, x, y, width, height):" - ], + "python": ["def draw_ellipse(clr, x, y, width, height):"], "cpp": [ "void draw_ellipse(color clr, double x, double y, double width, double height)" ], @@ -27189,9 +23528,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27202,9 +23539,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27215,9 +23550,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27228,9 +23561,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27241,9 +23572,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27254,9 +23583,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -27305,9 +23632,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27318,9 +23643,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27331,9 +23654,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -27386,9 +23707,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27399,9 +23718,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27412,9 +23729,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27425,9 +23740,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -27480,9 +23793,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27493,9 +23804,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27506,9 +23815,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27519,9 +23826,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27532,9 +23837,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27545,9 +23848,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -27599,9 +23900,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27612,9 +23911,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27625,9 +23922,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27638,9 +23933,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27651,9 +23944,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27664,9 +23955,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27677,9 +23966,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -27732,9 +24019,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27745,9 +24030,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27758,9 +24041,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -27813,9 +24094,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27826,9 +24105,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27839,9 +24116,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27852,9 +24127,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -27907,9 +24180,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27920,9 +24191,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27933,9 +24202,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27946,9 +24213,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27959,9 +24224,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -27972,9 +24235,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -28026,9 +24287,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28039,9 +24298,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28052,9 +24309,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28065,9 +24320,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28078,9 +24331,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28091,9 +24342,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28104,9 +24353,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -28159,9 +24406,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28172,9 +24417,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -28184,18 +24427,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_ellipse_within_rectangle(clr, rect):" - ], - "cpp": [ - "void fill_ellipse(color clr, const rectangle rect)" - ], + "python": ["def fill_ellipse_within_rectangle(clr, rect):"], + "cpp": ["void fill_ellipse(color clr, const rectangle rect)"], "csharp": [ "public static void SplashKit.FillEllipse(Color clr, Rectangle rect);" ], - "pascal": [ - "procedure FillEllipse(clr: Color; rect: Rectangle)" - ] + "pascal": ["procedure FillEllipse(clr: Color; rect: Rectangle)"] } }, { @@ -28223,9 +24460,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28236,9 +24471,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28249,9 +24482,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -28300,9 +24531,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28313,9 +24542,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28326,9 +24553,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28339,9 +24564,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28352,9 +24575,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -28363,9 +24584,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_ellipse(clr, x, y, width, height):" - ], + "python": ["def fill_ellipse(clr, x, y, width, height):"], "cpp": [ "void fill_ellipse(color clr, double x, double y, double width, double height)" ], @@ -28402,9 +24621,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28415,9 +24632,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28428,9 +24643,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28441,9 +24654,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28454,9 +24665,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28467,9 +24676,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -28518,9 +24725,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28531,9 +24736,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28544,9 +24747,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -28599,9 +24800,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28612,9 +24811,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28625,9 +24822,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28638,9 +24833,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -28693,9 +24886,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28706,9 +24897,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28719,9 +24908,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28732,9 +24919,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28745,9 +24930,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28758,9 +24941,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -28812,9 +24993,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28825,9 +25004,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28838,9 +25015,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28851,9 +25026,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28864,9 +25037,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28877,9 +25048,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28890,9 +25059,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -28945,9 +25112,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28958,9 +25123,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -28971,9 +25134,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29026,9 +25187,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29039,9 +25198,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29052,9 +25209,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29065,9 +25220,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29120,9 +25273,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29133,9 +25284,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29146,9 +25295,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29159,9 +25306,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29172,9 +25317,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29185,9 +25328,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29239,9 +25380,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29252,9 +25391,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29265,9 +25402,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29278,9 +25413,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29291,9 +25424,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29304,9 +25435,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29317,9 +25446,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29364,25 +25491,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "suffix": "to_white", "group": "graphics" }, "signatures": { - "python": [ - "def clear_screen_to_white():" - ], - "cpp": [ - "void clear_screen()" - ], - "csharp": [ - "public static void SplashKit.ClearScreen();" - ], - "pascal": [ - "procedure ClearScreen()" - ] + "python": ["def clear_screen_to_white():"], + "cpp": ["void clear_screen()"], + "csharp": ["public static void SplashKit.ClearScreen();"], + "pascal": ["procedure ClearScreen()"] } }, { @@ -29410,9 +25528,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29421,18 +25537,10 @@ "group": "graphics" }, "signatures": { - "python": [ - "def clear_screen(clr):" - ], - "cpp": [ - "void clear_screen(color clr)" - ], - "csharp": [ - "public static void SplashKit.ClearScreen(Color clr);" - ], - "pascal": [ - "procedure ClearScreen(clr: Color)" - ] + "python": ["def clear_screen(clr):"], + "cpp": ["void clear_screen(color clr)"], + "csharp": ["public static void SplashKit.ClearScreen(Color clr);"], + "pascal": ["procedure ClearScreen(clr: Color)"] } }, { @@ -29460,9 +25568,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29471,18 +25577,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def display_details(index):" - ], - "cpp": [ - "display display_details(unsigned int index)" - ], + "python": ["def display_details(index):"], + "cpp": ["display display_details(unsigned int index)"], "csharp": [ "public static Display SplashKit.DisplayDetails(uint index);" ], - "pascal": [ - "function DisplayDetails(index: Cardinal): Display" - ] + "pascal": ["function DisplayDetails(index: Cardinal): Display"] } }, { @@ -29510,9 +25610,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29524,19 +25622,13 @@ "self": "disp" }, "signatures": { - "python": [ - "def display_height(disp):" - ], - "cpp": [ - "int display_height(display disp)" - ], + "python": ["def display_height(disp):"], + "cpp": ["int display_height(display disp)"], "csharp": [ "public int Display.Height { get }", "public static int SplashKit.DisplayHeight(Display disp);" ], - "pascal": [ - "function DisplayHeight(disp: Display): Integer" - ] + "pascal": ["function DisplayHeight(disp: Display): Integer"] } }, { @@ -29564,9 +25656,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29578,19 +25668,13 @@ "self": "disp" }, "signatures": { - "python": [ - "def display_name(disp):" - ], - "cpp": [ - "string display_name(display disp)" - ], + "python": ["def display_name(disp):"], + "cpp": ["string display_name(display disp)"], "csharp": [ "public string Display.Name { get }", "public static string SplashKit.DisplayName(Display disp);" ], - "pascal": [ - "function DisplayName(disp: Display): String" - ] + "pascal": ["function DisplayName(disp: Display): String"] } }, { @@ -29618,9 +25702,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29632,19 +25714,13 @@ "self": "disp" }, "signatures": { - "python": [ - "def display_width(disp):" - ], - "cpp": [ - "int display_width(display disp)" - ], + "python": ["def display_width(disp):"], + "cpp": ["int display_width(display disp)"], "csharp": [ "public int Display.Width { get }", "public static int SplashKit.DisplayWidth(Display disp);" ], - "pascal": [ - "function DisplayWidth(disp: Display): Integer" - ] + "pascal": ["function DisplayWidth(disp: Display): Integer"] } }, { @@ -29672,9 +25748,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29686,19 +25760,13 @@ "self": "disp" }, "signatures": { - "python": [ - "def display_x(disp):" - ], - "cpp": [ - "int display_x(display disp)" - ], + "python": ["def display_x(disp):"], + "cpp": ["int display_x(display disp)"], "csharp": [ "public int Display.X { get }", "public static int SplashKit.DisplayX(Display disp);" ], - "pascal": [ - "function DisplayX(disp: Display): Integer" - ] + "pascal": ["function DisplayX(disp: Display): Integer"] } }, { @@ -29726,9 +25794,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29740,19 +25806,13 @@ "self": "disp" }, "signatures": { - "python": [ - "def display_y(disp):" - ], - "cpp": [ - "int display_y(display disp)" - ], + "python": ["def display_y(disp):"], + "cpp": ["int display_y(display disp)"], "csharp": [ "public int Display.Y { get }", "public static int SplashKit.DisplayY(Display disp);" ], - "pascal": [ - "function DisplayY(disp: Display): Integer" - ] + "pascal": ["function DisplayY(disp: Display): Integer"] } }, { @@ -29772,24 +25832,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def number_of_displays():" - ], - "cpp": [ - "int number_of_displays()" - ], - "csharp": [ - "public static int SplashKit.NumberOfDisplays();" - ], - "pascal": [ - "function NumberOfDisplays(): Integer" - ] + "python": ["def number_of_displays():"], + "cpp": ["int number_of_displays()"], + "csharp": ["public static int SplashKit.NumberOfDisplays();"], + "pascal": ["function NumberOfDisplays(): Integer"] } }, { @@ -29809,24 +25860,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def refresh_screen():" - ], - "cpp": [ - "void refresh_screen()" - ], - "csharp": [ - "public static void SplashKit.RefreshScreen();" - ], - "pascal": [ - "procedure RefreshScreen()" - ] + "python": ["def refresh_screen():"], + "cpp": ["void refresh_screen()"], + "csharp": ["public static void SplashKit.RefreshScreen();"], + "pascal": ["procedure RefreshScreen()"] } }, { @@ -29854,9 +25896,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29866,18 +25906,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def refresh_screen_with_target_fps(target_fps):" - ], - "cpp": [ - "void refresh_screen(unsigned int target_fps)" - ], + "python": ["def refresh_screen_with_target_fps(target_fps):"], + "cpp": ["void refresh_screen(unsigned int target_fps)"], "csharp": [ "public static void SplashKit.RefreshScreen(uint targetFps);" ], - "pascal": [ - "procedure RefreshScreen(targetFps: Cardinal)" - ] + "pascal": ["procedure RefreshScreen(targetFps: Cardinal)"] } }, { @@ -29905,9 +25939,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -29918,9 +25950,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -29929,12 +25959,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def save_bitmap(bmp, basename):" - ], - "cpp": [ - "void save_bitmap(bitmap bmp, const string &basename)" - ], + "python": ["def save_bitmap(bmp, basename):"], + "cpp": ["void save_bitmap(bitmap bmp, const string &basename)"], "csharp": [ "public static void SplashKit.SaveBitmap(Bitmap bmp, string basename);" ], @@ -29960,24 +25986,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def screen_height():" - ], - "cpp": [ - "int screen_height()" - ], - "csharp": [ - "public static int SplashKit.ScreenHeight();" - ], - "pascal": [ - "function ScreenHeight(): Integer" - ] + "python": ["def screen_height():"], + "cpp": ["int screen_height()"], + "csharp": ["public static int SplashKit.ScreenHeight();"], + "pascal": ["function ScreenHeight(): Integer"] } }, { @@ -29997,24 +26014,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics" }, "signatures": { - "python": [ - "def screen_width():" - ], - "cpp": [ - "int screen_width()" - ], - "csharp": [ - "public static int SplashKit.ScreenWidth();" - ], - "pascal": [ - "function ScreenWidth(): Integer" - ] + "python": ["def screen_width():"], + "cpp": ["int screen_width()"], + "csharp": ["public static int SplashKit.ScreenWidth();"], + "pascal": ["function ScreenWidth(): Integer"] } }, { @@ -30042,9 +26050,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30053,18 +26059,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def take_screenshot(basename):" - ], - "cpp": [ - "void take_screenshot(const string &basename)" - ], + "python": ["def take_screenshot(basename):"], + "cpp": ["void take_screenshot(const string &basename)"], "csharp": [ "public static void SplashKit.TakeScreenshot(string basename);" ], - "pascal": [ - "procedure TakeScreenshot(const basename: String)" - ] + "pascal": ["procedure TakeScreenshot(const basename: String)"] } }, { @@ -30092,9 +26092,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -30105,9 +26103,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30120,12 +26116,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def take_screenshot_of_window(wind, basename):" - ], - "cpp": [ - "void take_screenshot(window wind, const string &basename)" - ], + "python": ["def take_screenshot_of_window(wind, basename):"], + "cpp": ["void take_screenshot(window wind, const string &basename)"], "csharp": [ "public void Window.TakeScreenshot(string basename);", "public static void SplashKit.TakeScreenshot(Window wind, string basename);" @@ -30160,9 +26152,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -30173,9 +26163,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30188,9 +26176,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_bounding_circle(bmp, pt):" - ], + "python": ["def bitmap_bounding_circle(bmp, pt):"], "cpp": [ "circle bitmap_bounding_circle(bitmap bmp, const point_2d &pt)" ], @@ -30228,9 +26214,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30243,19 +26227,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_bounding_rectangle(bmp):" - ], - "cpp": [ - "rectangle bitmap_bounding_rectangle(bitmap bmp)" - ], + "python": ["def bitmap_bounding_rectangle(bmp):"], + "cpp": ["rectangle bitmap_bounding_rectangle(bitmap bmp)"], "csharp": [ "public Rectangle Bitmap.BoundingRectangle();", "public static Rectangle SplashKit.BitmapBoundingRectangle(Bitmap bmp);" ], - "pascal": [ - "function BitmapBoundingRectangle(bmp: Bitmap): Rectangle" - ] + "pascal": ["function BitmapBoundingRectangle(bmp: Bitmap): Rectangle"] } }, { @@ -30283,9 +26261,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -30296,9 +26272,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -30309,9 +26283,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30325,9 +26297,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_bounding_rectangle_at_location(bmp, x, y):" - ], + "python": ["def bitmap_bounding_rectangle_at_location(bmp, x, y):"], "cpp": [ "rectangle bitmap_bounding_rectangle(bitmap bmp, double x, double y)" ], @@ -30365,9 +26335,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30380,19 +26348,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_cell_center(bmp):" - ], - "cpp": [ - "point_2d bitmap_cell_center(bitmap bmp)" - ], + "python": ["def bitmap_cell_center(bmp):"], + "cpp": ["point_2d bitmap_cell_center(bitmap bmp)"], "csharp": [ "public Point2D Bitmap.CellCenter { get }", "public static Point2D SplashKit.BitmapCellCenter(Bitmap bmp);" ], - "pascal": [ - "function BitmapCellCenter(bmp: Bitmap): Point2D" - ] + "pascal": ["function BitmapCellCenter(bmp: Bitmap): Point2D"] } }, { @@ -30420,9 +26382,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -30433,9 +26393,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -30446,9 +26404,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30461,12 +26417,8 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_cell_circle(bmp, x, y):" - ], - "cpp": [ - "circle bitmap_cell_circle(bitmap bmp, double x, double y)" - ], + "python": ["def bitmap_cell_circle(bmp, x, y):"], + "cpp": ["circle bitmap_cell_circle(bitmap bmp, double x, double y)"], "csharp": [ "public Circle Bitmap.CellCircle(double x, double y);", "public static Circle SplashKit.BitmapCellCircle(Bitmap bmp, double x, double y);" @@ -30501,9 +26453,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -30514,9 +26464,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30530,12 +26478,8 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_cell_circle_at_point(bmp, pt):" - ], - "cpp": [ - "circle bitmap_cell_circle(bitmap bmp, const point_2d pt)" - ], + "python": ["def bitmap_cell_circle_at_point(bmp, pt):"], + "cpp": ["circle bitmap_cell_circle(bitmap bmp, const point_2d pt)"], "csharp": [ "public Circle Bitmap.CellCircle(Point2D pt);", "public static Circle SplashKit.BitmapCellCircle(Bitmap bmp, Point2D pt);" @@ -30570,9 +26514,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -30583,9 +26525,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -30596,9 +26536,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30652,9 +26590,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30667,19 +26603,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_cell_columns(bmp):" - ], - "cpp": [ - "int bitmap_cell_columns(bitmap bmp)" - ], + "python": ["def bitmap_cell_columns(bmp):"], + "cpp": ["int bitmap_cell_columns(bitmap bmp)"], "csharp": [ "public int Bitmap.CellColumns { get }", "public static int SplashKit.BitmapCellColumns(Bitmap bmp);" ], - "pascal": [ - "function BitmapCellColumns(bmp: Bitmap): Integer" - ] + "pascal": ["function BitmapCellColumns(bmp: Bitmap): Integer"] } }, { @@ -30707,9 +26637,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30722,19 +26650,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_cell_count(bmp):" - ], - "cpp": [ - "int bitmap_cell_count(bitmap bmp)" - ], + "python": ["def bitmap_cell_count(bmp):"], + "cpp": ["int bitmap_cell_count(bitmap bmp)"], "csharp": [ "public int Bitmap.CellCount { get }", "public static int SplashKit.BitmapCellCount(Bitmap bmp);" ], - "pascal": [ - "function BitmapCellCount(bmp: Bitmap): Integer" - ] + "pascal": ["function BitmapCellCount(bmp: Bitmap): Integer"] } }, { @@ -30762,9 +26684,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30777,19 +26697,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_cell_height(bmp):" - ], - "cpp": [ - "int bitmap_cell_height(bitmap bmp)" - ], + "python": ["def bitmap_cell_height(bmp):"], + "cpp": ["int bitmap_cell_height(bitmap bmp)"], "csharp": [ "public int Bitmap.CellHeight { get }", "public static int SplashKit.BitmapCellHeight(Bitmap bmp);" ], - "pascal": [ - "function BitmapCellHeight(bmp: Bitmap): Integer" - ] + "pascal": ["function BitmapCellHeight(bmp: Bitmap): Integer"] } }, { @@ -30817,9 +26731,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -30830,9 +26742,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30845,12 +26755,8 @@ "self": "src" }, "signatures": { - "python": [ - "def bitmap_cell_offset(src, cell):" - ], - "cpp": [ - "vector_2d bitmap_cell_offset(bitmap src, int cell)" - ], + "python": ["def bitmap_cell_offset(src, cell):"], + "cpp": ["vector_2d bitmap_cell_offset(bitmap src, int cell)"], "csharp": [ "public Vector2D Bitmap.CellOffset(int cell);", "public static Vector2D SplashKit.BitmapCellOffset(Bitmap src, int cell);" @@ -30885,9 +26791,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30900,19 +26804,13 @@ "self": "src" }, "signatures": { - "python": [ - "def bitmap_cell_rectangle(src):" - ], - "cpp": [ - "rectangle bitmap_cell_rectangle(bitmap src)" - ], + "python": ["def bitmap_cell_rectangle(src):"], + "cpp": ["rectangle bitmap_cell_rectangle(bitmap src)"], "csharp": [ "public Rectangle Bitmap.CellRectangle();", "public static Rectangle SplashKit.BitmapCellRectangle(Bitmap src);" ], - "pascal": [ - "function BitmapCellRectangle(src: Bitmap): Rectangle" - ] + "pascal": ["function BitmapCellRectangle(src: Bitmap): Rectangle"] } }, { @@ -30940,9 +26838,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -30953,9 +26849,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -30969,9 +26863,7 @@ "self": "src" }, "signatures": { - "python": [ - "def bitmap_cell_rectangle_at_point(src, pt):" - ], + "python": ["def bitmap_cell_rectangle_at_point(src, pt):"], "cpp": [ "rectangle bitmap_cell_rectangle(bitmap src, const point_2d &pt)" ], @@ -31009,9 +26901,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31024,19 +26914,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_cell_rows(bmp):" - ], - "cpp": [ - "int bitmap_cell_rows(bitmap bmp)" - ], + "python": ["def bitmap_cell_rows(bmp):"], + "cpp": ["int bitmap_cell_rows(bitmap bmp)"], "csharp": [ "public int Bitmap.CellRows { get }", "public static int SplashKit.BitmapCellRows(Bitmap bmp);" ], - "pascal": [ - "function BitmapCellRows(bmp: Bitmap): Integer" - ] + "pascal": ["function BitmapCellRows(bmp: Bitmap): Integer"] } }, { @@ -31064,9 +26948,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31079,19 +26961,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_cell_width(bmp):" - ], - "cpp": [ - "int bitmap_cell_width(bitmap bmp)" - ], + "python": ["def bitmap_cell_width(bmp):"], + "cpp": ["int bitmap_cell_width(bitmap bmp)"], "csharp": [ "public int Bitmap.CellWidth { get }", "public static int SplashKit.BitmapCellWidth(Bitmap bmp);" ], - "pascal": [ - "function BitmapCellWidth(bmp: Bitmap): Integer" - ] + "pascal": ["function BitmapCellWidth(bmp: Bitmap): Integer"] } }, { @@ -31119,9 +26995,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31134,19 +27008,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_center(bmp):" - ], - "cpp": [ - "point_2d bitmap_center(bitmap bmp)" - ], + "python": ["def bitmap_center(bmp):"], + "cpp": ["point_2d bitmap_center(bitmap bmp)"], "csharp": [ "public Point2D Bitmap.Center { get }", "public static Point2D SplashKit.BitmapCenter(Bitmap bmp);" ], - "pascal": [ - "function BitmapCenter(bmp: Bitmap): Point2D" - ] + "pascal": ["function BitmapCenter(bmp: Bitmap): Point2D"] } }, { @@ -31174,9 +27042,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31189,19 +27055,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_filename(bmp):" - ], - "cpp": [ - "string bitmap_filename(bitmap bmp)" - ], + "python": ["def bitmap_filename(bmp):"], + "cpp": ["string bitmap_filename(bitmap bmp)"], "csharp": [ "public string Bitmap.Filename { get }", "public static string SplashKit.BitmapFilename(Bitmap bmp);" ], - "pascal": [ - "function BitmapFilename(bmp: Bitmap): String" - ] + "pascal": ["function BitmapFilename(bmp: Bitmap): String"] } }, { @@ -31229,9 +27089,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31244,19 +27102,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_height(bmp):" - ], - "cpp": [ - "int bitmap_height(bitmap bmp)" - ], + "python": ["def bitmap_height(bmp):"], + "cpp": ["int bitmap_height(bitmap bmp)"], "csharp": [ "public int Bitmap.Height { get }", "public static int SplashKit.BitmapHeight(Bitmap bmp);" ], - "pascal": [ - "function BitmapHeight(bmp: Bitmap): Integer" - ] + "pascal": ["function BitmapHeight(bmp: Bitmap): Integer"] } }, { @@ -31284,9 +27136,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31297,18 +27147,10 @@ "static": "images" }, "signatures": { - "python": [ - "def bitmap_height_of_bitmap_named(name):" - ], - "cpp": [ - "int bitmap_height(string name)" - ], - "csharp": [ - "public static int SplashKit.BitmapHeight(string name);" - ], - "pascal": [ - "function BitmapHeight(name: String): Integer" - ] + "python": ["def bitmap_height_of_bitmap_named(name):"], + "cpp": ["int bitmap_height(string name)"], + "csharp": ["public static int SplashKit.BitmapHeight(string name);"], + "pascal": ["function BitmapHeight(name: String): Integer"] } }, { @@ -31336,9 +27178,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31351,19 +27191,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_name(bmp):" - ], - "cpp": [ - "string bitmap_name(bitmap bmp)" - ], + "python": ["def bitmap_name(bmp):"], + "cpp": ["string bitmap_name(bitmap bmp)"], "csharp": [ "public string Bitmap.Name { get }", "public static string SplashKit.BitmapName(Bitmap bmp);" ], - "pascal": [ - "function BitmapName(bmp: Bitmap): String" - ] + "pascal": ["function BitmapName(bmp: Bitmap): String"] } }, { @@ -31391,9 +27225,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31403,18 +27235,12 @@ "static": "images" }, "signatures": { - "python": [ - "def bitmap_named(name):" - ], - "cpp": [ - "bitmap bitmap_named(string name)" - ], + "python": ["def bitmap_named(name):"], + "cpp": ["bitmap bitmap_named(string name)"], "csharp": [ "public static Bitmap SplashKit.BitmapNamed(string name);" ], - "pascal": [ - "function BitmapNamed(name: String): Bitmap" - ] + "pascal": ["function BitmapNamed(name: String): Bitmap"] } }, { @@ -31442,9 +27268,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -31455,9 +27279,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31470,12 +27292,8 @@ "self": "src" }, "signatures": { - "python": [ - "def bitmap_rectangle_of_cell(src, cell):" - ], - "cpp": [ - "rectangle bitmap_rectangle_of_cell(bitmap src, int cell)" - ], + "python": ["def bitmap_rectangle_of_cell(src, cell):"], + "cpp": ["rectangle bitmap_rectangle_of_cell(bitmap src, int cell)"], "csharp": [ "public Rectangle Bitmap.RectangleOfCell(int cell);", "public static Rectangle SplashKit.BitmapRectangleOfCell(Bitmap src, int cell);" @@ -31510,9 +27328,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -31523,9 +27339,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -31536,9 +27350,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -31549,9 +27361,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -31562,9 +27372,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -31575,9 +27383,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31630,9 +27436,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31642,18 +27446,10 @@ "static": "images" }, "signatures": { - "python": [ - "def bitmap_valid(bmp):" - ], - "cpp": [ - "bool bitmap_valid(bitmap bmp)" - ], - "csharp": [ - "public static bool SplashKit.BitmapValid(Bitmap bmp);" - ], - "pascal": [ - "function BitmapValid(bmp: Bitmap): Boolean" - ] + "python": ["def bitmap_valid(bmp):"], + "cpp": ["bool bitmap_valid(bitmap bmp)"], + "csharp": ["public static bool SplashKit.BitmapValid(Bitmap bmp);"], + "pascal": ["function BitmapValid(bmp: Bitmap): Boolean"] } }, { @@ -31681,9 +27477,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31696,19 +27490,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_width(bmp):" - ], - "cpp": [ - "int bitmap_width(bitmap bmp)" - ], + "python": ["def bitmap_width(bmp):"], + "cpp": ["int bitmap_width(bitmap bmp)"], "csharp": [ "public int Bitmap.Width { get }", "public static int SplashKit.BitmapWidth(Bitmap bmp);" ], - "pascal": [ - "function BitmapWidth(bmp: Bitmap): Integer" - ] + "pascal": ["function BitmapWidth(bmp: Bitmap): Integer"] } }, { @@ -31736,9 +27524,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31749,18 +27535,10 @@ "static": "images" }, "signatures": { - "python": [ - "def bitmap_width_of_bitmap_named(name):" - ], - "cpp": [ - "int bitmap_width(string name)" - ], - "csharp": [ - "public static int SplashKit.BitmapWidth(string name);" - ], - "pascal": [ - "function BitmapWidth(name: String): Integer" - ] + "python": ["def bitmap_width_of_bitmap_named(name):"], + "cpp": ["int bitmap_width(string name)"], + "csharp": ["public static int SplashKit.BitmapWidth(string name);"], + "pascal": ["function BitmapWidth(name: String): Integer"] } }, { @@ -31788,9 +27566,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -31801,9 +27577,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31816,19 +27590,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def clear_bitmap(bmp, clr):" - ], - "cpp": [ - "void clear_bitmap(bitmap bmp, color clr)" - ], + "python": ["def clear_bitmap(bmp, clr):"], + "cpp": ["void clear_bitmap(bitmap bmp, color clr)"], "csharp": [ "public void Bitmap.Clear(Color clr);", "public static void SplashKit.ClearBitmap(Bitmap bmp, Color clr);" ], - "pascal": [ - "procedure ClearBitmap(bmp: Bitmap; clr: Color)" - ] + "pascal": ["procedure ClearBitmap(bmp: Bitmap; clr: Color)"] } }, { @@ -31856,9 +27624,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -31869,9 +27635,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31882,18 +27646,12 @@ "static": "images" }, "signatures": { - "python": [ - "def clear_bitmap_named(name, clr):" - ], - "cpp": [ - "void clear_bitmap(string name, color clr)" - ], + "python": ["def clear_bitmap_named(name, clr):"], + "cpp": ["void clear_bitmap(string name, color clr)"], "csharp": [ "public static void SplashKit.ClearBitmap(string name, Color clr);" ], - "pascal": [ - "procedure ClearBitmap(name: String; clr: Color)" - ] + "pascal": ["procedure ClearBitmap(name: String; clr: Color)"] } }, { @@ -31921,9 +27679,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -31934,9 +27690,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -31947,9 +27701,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -31961,12 +27713,8 @@ "static": "images" }, "signatures": { - "python": [ - "def create_bitmap(name, width, height):" - ], - "cpp": [ - "bitmap create_bitmap(string name, int width, int height)" - ], + "python": ["def create_bitmap(name, width, height):"], + "cpp": ["bitmap create_bitmap(string name, int width, int height)"], "csharp": [ "public static Bitmap SplashKit.CreateBitmap(string name, int width, int height);", "public Bitmap(string name, int width, int height);" @@ -32001,9 +27749,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32014,9 +27760,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32027,9 +27771,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32042,19 +27784,13 @@ "static": "images" }, "signatures": { - "python": [ - "def draw_bitmap(bmp, x, y):" - ], - "cpp": [ - "void draw_bitmap(bitmap bmp, double x, double y)" - ], + "python": ["def draw_bitmap(bmp, x, y):"], + "cpp": ["void draw_bitmap(bitmap bmp, double x, double y)"], "csharp": [ "public void Bitmap.Draw(double x, double y);", "public static void SplashKit.DrawBitmap(Bitmap bmp, double x, double y);" ], - "pascal": [ - "procedure DrawBitmap(bmp: Bitmap; x: Double; y: Double)" - ] + "pascal": ["procedure DrawBitmap(bmp: Bitmap; x: Double; y: Double)"] } }, { @@ -32082,9 +27818,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32095,9 +27829,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32108,9 +27840,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32121,9 +27851,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32137,9 +27865,7 @@ "static": "images" }, "signatures": { - "python": [ - "def draw_bitmap_with_options(bmp, x, y, opts):" - ], + "python": ["def draw_bitmap_with_options(bmp, x, y, opts):"], "cpp": [ "void draw_bitmap(bitmap bmp, double x, double y, drawing_options opts)" ], @@ -32177,9 +27903,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32190,9 +27914,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32203,9 +27925,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32216,18 +27936,12 @@ "static": "images" }, "signatures": { - "python": [ - "def draw_bitmap_named(name, x, y):" - ], - "cpp": [ - "void draw_bitmap(string name, double x, double y)" - ], + "python": ["def draw_bitmap_named(name, x, y):"], + "cpp": ["void draw_bitmap(string name, double x, double y)"], "csharp": [ "public static void SplashKit.DrawBitmap(string name, double x, double y);" ], - "pascal": [ - "procedure DrawBitmap(name: String; x: Double; y: Double)" - ] + "pascal": ["procedure DrawBitmap(name: String; x: Double; y: Double)"] } }, { @@ -32255,9 +27969,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32268,9 +27980,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32281,9 +27991,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32294,9 +28002,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32307,9 +28013,7 @@ "static": "images" }, "signatures": { - "python": [ - "def draw_bitmap_named_with_options(name, x, y, opts):" - ], + "python": ["def draw_bitmap_named_with_options(name, x, y, opts):"], "cpp": [ "void draw_bitmap(string name, double x, double y, drawing_options opts)" ], @@ -32346,9 +28050,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32359,9 +28061,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32372,9 +28072,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32385,9 +28083,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32441,9 +28137,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32454,9 +28148,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32467,9 +28159,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32480,9 +28170,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32493,9 +28181,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32549,9 +28235,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32562,9 +28246,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32575,9 +28257,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32588,9 +28268,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32603,9 +28281,7 @@ "static": "images" }, "signatures": { - "python": [ - "def draw_bitmap_on_window(destination, bmp, x, y):" - ], + "python": ["def draw_bitmap_on_window(destination, bmp, x, y):"], "cpp": [ "void draw_bitmap_on_window(window destination, bitmap bmp, double x, double y)" ], @@ -32643,9 +28319,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32656,9 +28330,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32669,9 +28341,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32682,9 +28352,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32695,9 +28363,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32743,25 +28409,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics", "static": "images" }, "signatures": { - "python": [ - "def free_all_bitmaps():" - ], - "cpp": [ - "void free_all_bitmaps()" - ], - "csharp": [ - "public static void SplashKit.FreeAllBitmaps();" - ], - "pascal": [ - "procedure FreeAllBitmaps()" - ] + "python": ["def free_all_bitmaps():"], + "cpp": ["void free_all_bitmaps()"], + "csharp": ["public static void SplashKit.FreeAllBitmaps();"], + "pascal": ["procedure FreeAllBitmaps()"] } }, { @@ -32789,9 +28446,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32805,19 +28460,13 @@ "self": "to_delete" }, "signatures": { - "python": [ - "def free_bitmap(to_delete):" - ], - "cpp": [ - "void free_bitmap(bitmap to_delete)" - ], + "python": ["def free_bitmap(to_delete):"], + "cpp": ["void free_bitmap(bitmap to_delete)"], "csharp": [ "public void Bitmap.Free();", "public static void SplashKit.FreeBitmap(Bitmap toDelete);" ], - "pascal": [ - "procedure FreeBitmap(toDelete: Bitmap)" - ] + "pascal": ["procedure FreeBitmap(toDelete: Bitmap)"] } }, { @@ -32845,9 +28494,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32857,18 +28504,10 @@ "static": "images" }, "signatures": { - "python": [ - "def has_bitmap(name):" - ], - "cpp": [ - "bool has_bitmap(string name)" - ], - "csharp": [ - "public static bool SplashKit.HasBitmap(string name);" - ], - "pascal": [ - "function HasBitmap(name: String): Boolean" - ] + "python": ["def has_bitmap(name):"], + "cpp": ["bool has_bitmap(string name)"], + "csharp": ["public static bool SplashKit.HasBitmap(string name);"], + "pascal": ["function HasBitmap(name: String): Boolean"] } }, { @@ -32896,9 +28535,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32909,9 +28546,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32923,12 +28558,8 @@ "static": "images" }, "signatures": { - "python": [ - "def load_bitmap(name, filename):" - ], - "cpp": [ - "bitmap load_bitmap(string name, string filename)" - ], + "python": ["def load_bitmap(name, filename):"], + "cpp": ["bitmap load_bitmap(string name, string filename)"], "csharp": [ "public static Bitmap SplashKit.LoadBitmap(string name, string filename);", "public Bitmap(string name, string filename);" @@ -32963,9 +28594,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -32976,9 +28605,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -32992,12 +28619,8 @@ "self": "bmp" }, "signatures": { - "python": [ - "def pixel_drawn_at_point_pt(bmp, pt):" - ], - "cpp": [ - "bool pixel_drawn_at_point(bitmap bmp, const point_2d &pt)" - ], + "python": ["def pixel_drawn_at_point_pt(bmp, pt):"], + "cpp": ["bool pixel_drawn_at_point(bitmap bmp, const point_2d &pt)"], "csharp": [ "public bool Bitmap.PixelDrawnAtPoint(Point2D pt);", "public static bool SplashKit.PixelDrawnAtPoint(Bitmap bmp, Point2D pt);" @@ -33032,9 +28655,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33045,9 +28666,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33058,9 +28677,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -33073,12 +28690,8 @@ "self": "bmp" }, "signatures": { - "python": [ - "def pixel_drawn_at_point(bmp, x, y):" - ], - "cpp": [ - "bool pixel_drawn_at_point(bitmap bmp, double x, double y)" - ], + "python": ["def pixel_drawn_at_point(bmp, x, y):"], + "cpp": ["bool pixel_drawn_at_point(bitmap bmp, double x, double y)"], "csharp": [ "public bool Bitmap.PixelDrawnAtPoint(double x, double y);", "public static bool SplashKit.PixelDrawnAtPoint(Bitmap bmp, double x, double y);" @@ -33113,9 +28726,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33126,9 +28737,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33139,9 +28748,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -33155,9 +28762,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def pixel_drawn_at_point_in_cell_pt(bmp, cell, pt):" - ], + "python": ["def pixel_drawn_at_point_in_cell_pt(bmp, cell, pt):"], "cpp": [ "bool pixel_drawn_at_point(bitmap bmp, int cell, const point_2d &pt)" ], @@ -33195,9 +28800,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33208,9 +28811,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33221,9 +28822,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33234,9 +28833,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -33250,9 +28847,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def pixel_drawn_at_point_in_cell(bmp, cell, x, y):" - ], + "python": ["def pixel_drawn_at_point_in_cell(bmp, cell, x, y):"], "cpp": [ "bool pixel_drawn_at_point(bitmap bmp, int cell, double x, double y)" ], @@ -33290,9 +28885,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -33305,19 +28898,13 @@ "self": "bmp" }, "signatures": { - "python": [ - "def setup_collision_mask(bmp):" - ], - "cpp": [ - "void setup_collision_mask(bitmap bmp)" - ], + "python": ["def setup_collision_mask(bmp):"], + "cpp": ["void setup_collision_mask(bitmap bmp)"], "csharp": [ "public void Bitmap.SetupCollisionMask();", "public static void SplashKit.SetupCollisionMask(Bitmap bmp);" ], - "pascal": [ - "procedure SetupCollisionMask(bmp: Bitmap)" - ] + "pascal": ["procedure SetupCollisionMask(bmp: Bitmap)"] } }, { @@ -33345,9 +28932,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33358,9 +28943,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -33370,18 +28953,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_line_record(clr, l):" - ], - "cpp": [ - "void draw_line(color clr, const line &l)" - ], + "python": ["def draw_line_record(clr, l):"], + "cpp": ["void draw_line(color clr, const line &l)"], "csharp": [ "public static void SplashKit.DrawLine(Color clr, Line l);" ], - "pascal": [ - "procedure DrawLine(clr: Color; const l: Line)" - ] + "pascal": ["procedure DrawLine(clr: Color; const l: Line)"] } }, { @@ -33409,9 +28986,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33422,9 +28997,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33435,9 +29008,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -33447,9 +29018,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_line_record_with_options(clr, l, opts):" - ], + "python": ["def draw_line_record_with_options(clr, l, opts):"], "cpp": [ "void draw_line(color clr, const line &l, drawing_options opts)" ], @@ -33486,9 +29055,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33499,9 +29066,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33512,9 +29077,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -33524,9 +29087,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_line_point_to_point(clr, from_pt, to_pt):" - ], + "python": ["def draw_line_point_to_point(clr, from_pt, to_pt):"], "cpp": [ "void draw_line(color clr, const point_2d &from_pt, const point_2d &to_pt)" ], @@ -33563,9 +29124,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33576,9 +29135,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33589,9 +29146,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33602,9 +29157,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -33653,9 +29206,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33666,9 +29217,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33679,9 +29228,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33692,9 +29239,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33705,9 +29250,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -33716,9 +29259,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_line(clr, x1, y1, x2, y2):" - ], + "python": ["def draw_line(clr, x1, y1, x2, y2):"], "cpp": [ "void draw_line(color clr, double x1, double y1, double x2, double y2)" ], @@ -33755,9 +29296,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33768,9 +29307,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33781,9 +29318,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33794,9 +29329,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33807,9 +29340,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33820,9 +29351,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -33832,9 +29361,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_line_with_options(clr, x1, y1, x2, y2, opts):" - ], + "python": ["def draw_line_with_options(clr, x1, y1, x2, y2, opts):"], "cpp": [ "void draw_line(color clr, double x1, double y1, double x2, double y2, const drawing_options &opts)" ], @@ -33871,9 +29398,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33884,9 +29409,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33897,9 +29420,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -33912,9 +29433,7 @@ "self": "destination" }, "signatures": { - "python": [ - "def draw_line_on_bitmap_record(destination, clr, l):" - ], + "python": ["def draw_line_on_bitmap_record(destination, clr, l):"], "cpp": [ "void draw_line_on_bitmap(bitmap destination, color clr, const line &l)" ], @@ -33952,9 +29471,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33965,9 +29482,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33978,9 +29493,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -33991,9 +29504,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -34046,9 +29557,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34059,9 +29568,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34072,9 +29579,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34085,9 +29590,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -34140,9 +29643,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34153,9 +29654,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34166,9 +29665,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34179,9 +29676,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34192,9 +29687,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -34247,9 +29740,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34260,9 +29751,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34273,9 +29762,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34286,9 +29773,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34299,9 +29784,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34312,9 +29795,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -34366,9 +29847,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34379,9 +29858,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34392,9 +29869,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34405,9 +29880,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34418,9 +29891,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34431,9 +29902,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34444,9 +29913,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -34499,9 +29966,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34512,9 +29977,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34525,9 +29988,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -34540,9 +30001,7 @@ "self": "destination" }, "signatures": { - "python": [ - "def draw_line_on_window_record(destination, clr, l):" - ], + "python": ["def draw_line_on_window_record(destination, clr, l):"], "cpp": [ "void draw_line_on_window(window destination, color clr, const line &l)" ], @@ -34580,9 +30039,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34593,9 +30050,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34606,9 +30061,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34619,9 +30072,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -34674,9 +30125,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34687,9 +30136,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34700,9 +30147,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34713,9 +30158,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -34768,9 +30211,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34781,9 +30222,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34794,9 +30233,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34807,9 +30244,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34820,9 +30255,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -34875,9 +30308,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34888,9 +30319,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34901,9 +30330,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34914,9 +30341,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34927,9 +30352,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -34940,9 +30363,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -34994,9 +30415,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35007,9 +30426,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35020,9 +30437,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35033,9 +30448,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35046,9 +30459,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35059,9 +30470,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35072,9 +30481,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -35127,9 +30534,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35140,9 +30545,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -35152,18 +30555,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_pixel_at_point(clr, pt):" - ], - "cpp": [ - "void draw_pixel(color clr, const point_2d &pt)" - ], + "python": ["def draw_pixel_at_point(clr, pt):"], + "cpp": ["void draw_pixel(color clr, const point_2d &pt)"], "csharp": [ "public static void SplashKit.DrawPixel(Color clr, Point2D pt);" ], - "pascal": [ - "procedure DrawPixel(clr: Color; const pt: Point2D)" - ] + "pascal": ["procedure DrawPixel(clr: Color; const pt: Point2D)"] } }, { @@ -35191,9 +30588,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35204,9 +30599,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35217,9 +30610,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -35229,9 +30620,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_pixel_at_point_with_options(clr, pt, opts):" - ], + "python": ["def draw_pixel_at_point_with_options(clr, pt, opts):"], "cpp": [ "void draw_pixel(color clr, const point_2d &pt, drawing_options opts)" ], @@ -35268,9 +30657,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35281,9 +30668,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35294,9 +30679,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -35305,18 +30688,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_pixel(clr, x, y):" - ], - "cpp": [ - "void draw_pixel(color clr, double x, double y)" - ], + "python": ["def draw_pixel(clr, x, y):"], + "cpp": ["void draw_pixel(color clr, double x, double y)"], "csharp": [ "public static void SplashKit.DrawPixel(Color clr, double x, double y);" ], - "pascal": [ - "procedure DrawPixel(clr: Color; x: Double; y: Double)" - ] + "pascal": ["procedure DrawPixel(clr: Color; x: Double; y: Double)"] } }, { @@ -35344,9 +30721,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35357,9 +30732,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35370,9 +30743,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35383,9 +30754,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -35395,9 +30764,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_pixel_with_options(clr, x, y, opts):" - ], + "python": ["def draw_pixel_with_options(clr, x, y, opts):"], "cpp": [ "void draw_pixel(color clr, double x, double y, drawing_options opts)" ], @@ -35434,9 +30801,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35447,9 +30812,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35460,9 +30823,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -35515,9 +30876,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35528,9 +30887,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35541,9 +30898,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35554,9 +30909,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -35609,9 +30962,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35622,9 +30973,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35635,9 +30984,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35648,9 +30995,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -35662,9 +31007,7 @@ "self": "destination" }, "signatures": { - "python": [ - "def draw_pixel_on_bitmap(destination, clr, x, y):" - ], + "python": ["def draw_pixel_on_bitmap(destination, clr, x, y):"], "cpp": [ "void draw_pixel_on_bitmap(bitmap destination, color clr, double x, double y)" ], @@ -35702,9 +31045,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35715,9 +31056,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35728,9 +31067,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35741,9 +31078,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35754,9 +31089,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -35809,9 +31142,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35822,9 +31153,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35835,9 +31164,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -35890,9 +31217,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35903,9 +31228,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35916,9 +31239,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35929,9 +31250,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -35984,9 +31303,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -35997,9 +31314,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36010,9 +31325,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36023,9 +31336,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36037,9 +31348,7 @@ "self": "destination" }, "signatures": { - "python": [ - "def draw_pixel_on_window(destination, clr, x, y):" - ], + "python": ["def draw_pixel_on_window(destination, clr, x, y):"], "cpp": [ "void draw_pixel_on_window(window destination, color clr, double x, double y)" ], @@ -36077,9 +31386,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36090,9 +31397,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36103,9 +31408,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36116,9 +31419,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36129,9 +31430,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36184,9 +31483,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36197,9 +31494,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36209,18 +31504,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def get_pixel_from_bitmap_at_point(bmp, pt):" - ], - "cpp": [ - "color get_pixel(bitmap bmp, const point_2d &pt)" - ], + "python": ["def get_pixel_from_bitmap_at_point(bmp, pt):"], + "cpp": ["color get_pixel(bitmap bmp, const point_2d &pt)"], "csharp": [ "public static Color SplashKit.GetPixel(Bitmap bmp, Point2D pt);" ], - "pascal": [ - "function GetPixel(bmp: Bitmap; const pt: Point2D): Color" - ] + "pascal": ["function GetPixel(bmp: Bitmap; const pt: Point2D): Color"] } }, { @@ -36248,9 +31537,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36261,9 +31548,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36274,9 +31559,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36286,12 +31569,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def get_pixel_from_bitmap(bmp, x, y):" - ], - "cpp": [ - "color get_pixel(bitmap bmp, double x, double y)" - ], + "python": ["def get_pixel_from_bitmap(bmp, x, y):"], + "cpp": ["color get_pixel(bitmap bmp, double x, double y)"], "csharp": [ "public static Color SplashKit.GetPixel(Bitmap bmp, double x, double y);" ], @@ -36325,9 +31604,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36337,18 +31614,10 @@ "group": "graphics" }, "signatures": { - "python": [ - "def get_pixel_at_point(pt):" - ], - "cpp": [ - "color get_pixel(const point_2d &pt)" - ], - "csharp": [ - "public static Color SplashKit.GetPixel(Point2D pt);" - ], - "pascal": [ - "function GetPixel(const pt: Point2D): Color" - ] + "python": ["def get_pixel_at_point(pt):"], + "cpp": ["color get_pixel(const point_2d &pt)"], + "csharp": ["public static Color SplashKit.GetPixel(Point2D pt);"], + "pascal": ["function GetPixel(const pt: Point2D): Color"] } }, { @@ -36376,9 +31645,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36389,9 +31656,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36400,18 +31665,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def get_pixel(x, y):" - ], - "cpp": [ - "color get_pixel(double x, double y)" - ], + "python": ["def get_pixel(x, y):"], + "cpp": ["color get_pixel(double x, double y)"], "csharp": [ "public static Color SplashKit.GetPixel(double x, double y);" ], - "pascal": [ - "function GetPixel(x: Double; y: Double): Color" - ] + "pascal": ["function GetPixel(x: Double; y: Double): Color"] } }, { @@ -36439,9 +31698,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36452,9 +31709,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36464,18 +31719,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def get_pixel_from_window_at_point(wnd, pt):" - ], - "cpp": [ - "color get_pixel(window wnd, const point_2d &pt)" - ], + "python": ["def get_pixel_from_window_at_point(wnd, pt):"], + "cpp": ["color get_pixel(window wnd, const point_2d &pt)"], "csharp": [ "public static Color SplashKit.GetPixel(Window wnd, Point2D pt);" ], - "pascal": [ - "function GetPixel(wnd: Window; const pt: Point2D): Color" - ] + "pascal": ["function GetPixel(wnd: Window; const pt: Point2D): Color"] } }, { @@ -36503,9 +31752,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36516,9 +31763,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36529,9 +31774,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36541,12 +31784,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def get_pixel_from_window(wnd, x, y):" - ], - "cpp": [ - "color get_pixel(window wnd, double x, double y)" - ], + "python": ["def get_pixel_from_window(wnd, x, y):"], + "cpp": ["color get_pixel(window wnd, double x, double y)"], "csharp": [ "public static Color SplashKit.GetPixel(Window wnd, double x, double y);" ], @@ -36580,9 +31819,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36593,9 +31830,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36604,18 +31839,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_quad(clr, q):" - ], - "cpp": [ - "void draw_quad(color clr, const quad &q)" - ], + "python": ["def draw_quad(clr, q):"], + "cpp": ["void draw_quad(color clr, const quad &q)"], "csharp": [ "public static void SplashKit.DrawQuad(Color clr, Quad q);" ], - "pascal": [ - "procedure DrawQuad(clr: Color; const q: Quad)" - ] + "pascal": ["procedure DrawQuad(clr: Color; const q: Quad)"] } }, { @@ -36643,9 +31872,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36656,9 +31883,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36669,9 +31894,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36681,9 +31904,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_quad_with_options(clr, q, opts):" - ], + "python": ["def draw_quad_with_options(clr, q, opts):"], "cpp": [ "void draw_quad(color clr, const quad &q, const drawing_options &opts)" ], @@ -36720,9 +31941,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36733,9 +31952,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36746,9 +31963,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36760,9 +31975,7 @@ "self": "destination" }, "signatures": { - "python": [ - "def draw_quad_on_bitmap(destination, clr, q):" - ], + "python": ["def draw_quad_on_bitmap(destination, clr, q):"], "cpp": [ "void draw_quad_on_bitmap(bitmap destination, color clr, const quad &q)" ], @@ -36800,9 +32013,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36813,9 +32024,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36826,9 +32035,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36839,9 +32046,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36894,9 +32099,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36907,9 +32110,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36920,9 +32121,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -36934,9 +32133,7 @@ "self": "destination" }, "signatures": { - "python": [ - "def draw_quad_on_window(destination, clr, q):" - ], + "python": ["def draw_quad_on_window(destination, clr, q):"], "cpp": [ "void draw_quad_on_window(window destination, color clr, const quad &q)" ], @@ -36974,9 +32171,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -36987,9 +32182,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37000,9 +32193,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37013,9 +32204,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -37068,9 +32257,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37081,9 +32268,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -37093,12 +32278,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_rectangle_record(clr, rect):" - ], - "cpp": [ - "void draw_rectangle(color clr, const rectangle &rect)" - ], + "python": ["def draw_rectangle_record(clr, rect):"], + "cpp": ["void draw_rectangle(color clr, const rectangle &rect)"], "csharp": [ "public static void SplashKit.DrawRectangle(Color clr, Rectangle rect);" ], @@ -37132,9 +32313,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37145,9 +32324,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37158,9 +32335,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -37209,9 +32384,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37222,9 +32395,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37235,9 +32406,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37248,9 +32417,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37261,9 +32428,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -37272,9 +32437,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_rectangle(clr, x, y, width, height):" - ], + "python": ["def draw_rectangle(clr, x, y, width, height):"], "cpp": [ "void draw_rectangle(color clr, double x, double y, double width, double height)" ], @@ -37311,9 +32474,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37324,9 +32485,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37337,9 +32496,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37350,9 +32507,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37363,9 +32518,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37376,9 +32529,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -37427,9 +32578,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37440,9 +32589,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37453,9 +32600,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -37508,9 +32653,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37521,9 +32664,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37534,9 +32675,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37547,9 +32686,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -37602,9 +32739,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37615,9 +32750,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37628,9 +32761,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37641,9 +32772,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37654,9 +32783,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37667,9 +32794,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -37721,9 +32846,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37734,9 +32857,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37747,9 +32868,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37760,9 +32879,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37773,9 +32890,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37786,9 +32901,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37799,9 +32912,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -37854,9 +32965,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37867,9 +32976,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37880,9 +32987,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -37935,9 +33040,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37948,9 +33051,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37961,9 +33062,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -37974,9 +33073,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38029,9 +33126,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38042,9 +33137,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38055,9 +33148,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38068,9 +33159,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38081,9 +33170,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38094,9 +33181,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38148,9 +33233,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38161,9 +33244,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38174,9 +33255,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38187,9 +33266,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38200,9 +33277,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38213,9 +33288,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38226,9 +33299,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38281,9 +33352,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38294,9 +33363,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38305,18 +33372,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_quad(clr, q):" - ], - "cpp": [ - "void fill_quad(color clr, const quad &q)" - ], + "python": ["def fill_quad(clr, q):"], + "cpp": ["void fill_quad(color clr, const quad &q)"], "csharp": [ "public static void SplashKit.FillQuad(Color clr, Quad q);" ], - "pascal": [ - "procedure FillQuad(clr: Color; const q: Quad)" - ] + "pascal": ["procedure FillQuad(clr: Color; const q: Quad)"] } }, { @@ -38344,9 +33405,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38357,9 +33416,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38370,9 +33427,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38382,9 +33437,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_quad_with_options(clr, q, opts):" - ], + "python": ["def fill_quad_with_options(clr, q, opts):"], "cpp": [ "void fill_quad(color clr, const quad &q, const drawing_options &opts)" ], @@ -38421,9 +33474,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38434,9 +33485,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38447,9 +33496,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38461,9 +33508,7 @@ "self": "destination" }, "signatures": { - "python": [ - "def fill_quad_on_bitmap(destination, clr, q):" - ], + "python": ["def fill_quad_on_bitmap(destination, clr, q):"], "cpp": [ "void fill_quad_on_bitmap(bitmap destination, color clr, const quad &q)" ], @@ -38501,9 +33546,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38514,9 +33557,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38527,9 +33568,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38540,9 +33579,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38595,9 +33632,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38608,9 +33643,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38621,9 +33654,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38635,9 +33666,7 @@ "self": "destination" }, "signatures": { - "python": [ - "def fill_quad_on_window(destination, clr, q):" - ], + "python": ["def fill_quad_on_window(destination, clr, q):"], "cpp": [ "void fill_quad_on_window(window destination, color clr, const quad &q)" ], @@ -38675,9 +33704,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38688,9 +33715,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38701,9 +33726,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38714,9 +33737,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38769,9 +33790,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38782,9 +33801,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38794,12 +33811,8 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_rectangle_record(clr, rect):" - ], - "cpp": [ - "void fill_rectangle(color clr, const rectangle &rect)" - ], + "python": ["def fill_rectangle_record(clr, rect):"], + "cpp": ["void fill_rectangle(color clr, const rectangle &rect)"], "csharp": [ "public static void SplashKit.FillRectangle(Color clr, Rectangle rect);" ], @@ -38833,9 +33846,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38846,9 +33857,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38859,9 +33868,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38910,9 +33917,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38923,9 +33928,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38936,9 +33939,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38949,9 +33950,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -38962,9 +33961,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -38973,9 +33970,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_rectangle(clr, x, y, width, height):" - ], + "python": ["def fill_rectangle(clr, x, y, width, height):"], "cpp": [ "void fill_rectangle(color clr, double x, double y, double width, double height)" ], @@ -39012,9 +34007,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39025,9 +34018,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39038,9 +34029,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39051,9 +34040,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39064,9 +34051,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39077,9 +34062,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -39128,9 +34111,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39141,9 +34122,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39154,9 +34133,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -39209,9 +34186,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39222,9 +34197,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39235,9 +34208,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39248,9 +34219,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -39303,9 +34272,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39316,9 +34283,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39329,9 +34294,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39342,9 +34305,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39355,9 +34316,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39368,9 +34327,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -39422,9 +34379,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39435,9 +34390,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39448,9 +34401,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39461,9 +34412,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39474,9 +34423,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39487,9 +34434,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39500,9 +34445,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -39555,9 +34498,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39568,9 +34509,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39581,9 +34520,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -39636,9 +34573,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39649,9 +34584,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39662,9 +34595,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39675,9 +34606,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -39730,9 +34659,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39743,9 +34670,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39756,9 +34681,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39769,9 +34692,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39782,9 +34703,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39795,9 +34714,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -39849,9 +34766,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39862,9 +34777,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39875,9 +34788,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39888,9 +34799,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39901,9 +34810,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39914,9 +34821,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39927,9 +34832,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -39982,9 +34885,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -39995,9 +34896,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40008,9 +34907,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40021,9 +34918,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40034,9 +34929,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40047,9 +34940,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -40099,9 +34990,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40112,9 +35001,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40125,9 +35012,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40138,9 +35023,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40151,9 +35034,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40164,9 +35045,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40177,9 +35056,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -40229,9 +35106,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40242,9 +35117,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40255,9 +35128,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40268,9 +35139,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -40281,9 +35150,7 @@ "static": "text" }, "signatures": { - "python": [ - "def draw_text_no_font_no_size(text, clr, x, y):" - ], + "python": ["def draw_text_no_font_no_size(text, clr, x, y):"], "cpp": [ "void draw_text(const string &text, const color &clr, double x, double y)" ], @@ -40320,9 +35187,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40333,9 +35198,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40346,9 +35209,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40359,9 +35220,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40372,9 +35231,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -40424,9 +35281,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40437,9 +35292,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40450,9 +35303,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40463,9 +35314,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40476,9 +35325,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40489,9 +35336,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -40501,9 +35346,7 @@ "static": "text" }, "signatures": { - "python": [ - "def draw_text(text, clr, fnt, font_size, x, y):" - ], + "python": ["def draw_text(text, clr, fnt, font_size, x, y):"], "cpp": [ "void draw_text(const string &text, const color &clr, font fnt, int font_size, double x, double y)" ], @@ -40540,9 +35383,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40553,9 +35394,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40566,9 +35405,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40579,9 +35416,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40592,9 +35427,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40605,9 +35438,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40618,9 +35449,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -40670,9 +35499,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40683,9 +35510,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40696,9 +35521,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40709,9 +35532,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40722,9 +35543,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40735,9 +35554,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40748,9 +35565,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -40804,9 +35619,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40817,9 +35630,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40830,9 +35641,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40843,9 +35652,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40856,9 +35663,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40869,9 +35674,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40882,9 +35685,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40895,9 +35696,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -40951,9 +35750,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40964,9 +35761,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40977,9 +35772,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -40990,9 +35783,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41003,9 +35794,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -41059,9 +35848,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41072,9 +35859,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41085,9 +35870,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41098,9 +35881,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41111,9 +35892,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41124,9 +35903,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -41180,9 +35957,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41193,9 +35968,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41206,9 +35979,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41219,9 +35990,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41232,9 +36001,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41245,9 +36012,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41258,9 +36023,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -41313,9 +36076,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41326,9 +36087,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41339,9 +36098,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41352,9 +36109,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41365,9 +36120,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41378,9 +36131,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41391,9 +36142,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41404,9 +36153,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -41460,9 +36207,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41473,9 +36218,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41486,9 +36229,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41499,9 +36240,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41512,9 +36251,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41525,9 +36262,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41538,9 +36273,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -41594,9 +36327,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41607,9 +36338,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41620,9 +36349,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41633,9 +36360,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41646,9 +36371,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41659,9 +36382,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41672,9 +36393,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41685,9 +36404,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -41741,9 +36458,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41754,9 +36469,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41767,9 +36480,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41780,9 +36491,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41793,9 +36502,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -41849,9 +36556,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41862,9 +36567,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41875,9 +36578,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41888,9 +36589,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41901,9 +36600,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41914,9 +36611,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -41970,9 +36665,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41983,9 +36676,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -41996,9 +36687,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42009,9 +36698,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42022,9 +36709,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42035,9 +36720,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42048,9 +36731,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42103,9 +36784,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42116,9 +36795,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42129,9 +36806,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42142,9 +36817,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42155,9 +36828,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42168,9 +36839,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42181,9 +36850,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42194,9 +36861,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42250,9 +36915,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42263,9 +36926,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42276,12 +36937,8 @@ "static": "text" }, "signatures": { - "python": [ - "def font_has_size_name_as_string(name, font_size):" - ], - "cpp": [ - "bool font_has_size(const string &name, int font_size)" - ], + "python": ["def font_has_size_name_as_string(name, font_size):"], + "cpp": ["bool font_has_size(const string &name, int font_size)"], "csharp": [ "public static bool SplashKit.FontHasSize(string name, int fontSize);" ], @@ -42315,9 +36972,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42328,9 +36983,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42343,12 +36996,8 @@ "static": "text" }, "signatures": { - "python": [ - "def font_has_size(fnt, font_size):" - ], - "cpp": [ - "bool font_has_size(font fnt, int font_size)" - ], + "python": ["def font_has_size(fnt, font_size):"], + "cpp": ["bool font_has_size(font fnt, int font_size)"], "csharp": [ "public bool Font.HasSize(int fontSize);", "public static bool SplashKit.FontHasSize(Font fnt, int fontSize);" @@ -42383,9 +37032,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42396,9 +37043,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42409,12 +37054,8 @@ "static": "text" }, "signatures": { - "python": [ - "def font_load_size_name_as_string(name, font_size):" - ], - "cpp": [ - "void font_load_size(const string &name, int font_size)" - ], + "python": ["def font_load_size_name_as_string(name, font_size):"], + "cpp": ["void font_load_size(const string &name, int font_size)"], "csharp": [ "public static void SplashKit.FontLoadSize(string name, int fontSize);" ], @@ -42448,9 +37089,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42461,9 +37100,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42476,19 +37113,13 @@ "static": "text" }, "signatures": { - "python": [ - "def font_load_size(fnt, font_size):" - ], - "cpp": [ - "void font_load_size(font fnt, int font_size)" - ], + "python": ["def font_load_size(fnt, font_size):"], + "cpp": ["void font_load_size(font fnt, int font_size)"], "csharp": [ "public void Font.LoadSize(int fontSize);", "public static void SplashKit.FontLoadSize(Font fnt, int fontSize);" ], - "pascal": [ - "procedure FontLoadSize(fnt: Font; fontSize: Integer)" - ] + "pascal": ["procedure FontLoadSize(fnt: Font; fontSize: Integer)"] } }, { @@ -42516,9 +37147,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42528,18 +37157,10 @@ "static": "text" }, "signatures": { - "python": [ - "def font_named(name):" - ], - "cpp": [ - "font font_named(string name)" - ], - "csharp": [ - "public static Font SplashKit.FontNamed(string name);" - ], - "pascal": [ - "function FontNamed(name: String): Font" - ] + "python": ["def font_named(name):"], + "cpp": ["font font_named(string name)"], + "csharp": ["public static Font SplashKit.FontNamed(string name);"], + "pascal": ["function FontNamed(name: String): Font"] } }, { @@ -42559,27 +37180,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "method": "free_all", "static": "text", "group": "graphics" }, "signatures": { - "python": [ - "def free_all_fonts():" - ], - "cpp": [ - "void free_all_fonts()" - ], + "python": ["def free_all_fonts():"], + "cpp": ["void free_all_fonts()"], "csharp": [ "public static void Text.FreeAll();", "public static void SplashKit.FreeAllFonts();" ], - "pascal": [ - "procedure FreeAllFonts()" - ] + "pascal": ["procedure FreeAllFonts()"] } }, { @@ -42607,9 +37221,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42623,19 +37235,13 @@ "static": "text" }, "signatures": { - "python": [ - "def free_font(fnt):" - ], - "cpp": [ - "void free_font(font fnt)" - ], + "python": ["def free_font(fnt):"], + "cpp": ["void free_font(font fnt)"], "csharp": [ "public void Font.Free();", "public static void SplashKit.FreeFont(Font fnt);" ], - "pascal": [ - "procedure FreeFont(fnt: Font)" - ] + "pascal": ["procedure FreeFont(fnt: Font)"] } }, { @@ -42663,9 +37269,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42676,18 +37280,12 @@ "static": "text" }, "signatures": { - "python": [ - "def get_font_style_name_as_string(name):" - ], - "cpp": [ - "font_style get_font_style(const string &name)" - ], + "python": ["def get_font_style_name_as_string(name):"], + "cpp": ["font_style get_font_style(const string &name)"], "csharp": [ "public static FontStyle SplashKit.GetFontStyle(string name);" ], - "pascal": [ - "function GetFontStyle(const name: String): FontStyle" - ] + "pascal": ["function GetFontStyle(const name: String): FontStyle"] } }, { @@ -42715,9 +37313,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42730,19 +37326,13 @@ "static": "text" }, "signatures": { - "python": [ - "def get_font_style(fnt):" - ], - "cpp": [ - "font_style get_font_style(font fnt)" - ], + "python": ["def get_font_style(fnt):"], + "cpp": ["font_style get_font_style(font fnt)"], "csharp": [ "public FontStyle Font.Style { get }", "public static FontStyle SplashKit.GetFontStyle(Font fnt);" ], - "pascal": [ - "function GetFontStyle(fnt: Font): FontStyle" - ] + "pascal": ["function GetFontStyle(fnt: Font): FontStyle"] } }, { @@ -42762,25 +37352,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "graphics", "static": "text" }, "signatures": { - "python": [ - "def get_system_font():" - ], - "cpp": [ - "font get_system_font()" - ], - "csharp": [ - "public static Font SplashKit.GetSystemFont();" - ], - "pascal": [ - "function GetSystemFont(): Font" - ] + "python": ["def get_system_font():"], + "cpp": ["font get_system_font()"], + "csharp": ["public static Font SplashKit.GetSystemFont();"], + "pascal": ["function GetSystemFont(): Font"] } }, { @@ -42808,9 +37389,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42820,18 +37399,10 @@ "static": "text" }, "signatures": { - "python": [ - "def has_font(fnt):" - ], - "cpp": [ - "bool has_font(font fnt)" - ], - "csharp": [ - "public static bool SplashKit.HasFont(Font fnt);" - ], - "pascal": [ - "function HasFont(fnt: Font): Boolean" - ] + "python": ["def has_font(fnt):"], + "cpp": ["bool has_font(font fnt)"], + "csharp": ["public static bool SplashKit.HasFont(Font fnt);"], + "pascal": ["function HasFont(fnt: Font): Boolean"] } }, { @@ -42859,9 +37430,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42872,18 +37441,10 @@ "static": "text" }, "signatures": { - "python": [ - "def has_font_name_as_string(name):" - ], - "cpp": [ - "bool has_font(string name)" - ], - "csharp": [ - "public static bool SplashKit.HasFont(string name);" - ], - "pascal": [ - "function HasFont(name: String): Boolean" - ] + "python": ["def has_font_name_as_string(name):"], + "cpp": ["bool has_font(string name)"], + "csharp": ["public static bool SplashKit.HasFont(string name);"], + "pascal": ["function HasFont(name: String): Boolean"] } }, { @@ -42911,9 +37472,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42924,9 +37483,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -42938,12 +37495,8 @@ "static": "text" }, "signatures": { - "python": [ - "def load_font(name, filename):" - ], - "cpp": [ - "font load_font(const string &name, const string &filename)" - ], + "python": ["def load_font(name, filename):"], + "cpp": ["font load_font(const string &name, const string &filename)"], "csharp": [ "public static Font SplashKit.LoadFont(string name, string filename);", "public Font(string name, string filename);" @@ -42978,9 +37531,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -42991,9 +37542,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43004,12 +37553,8 @@ "static": "text" }, "signatures": { - "python": [ - "def set_font_style_name_as_string(name, style):" - ], - "cpp": [ - "void set_font_style(const string &name, font_style style)" - ], + "python": ["def set_font_style_name_as_string(name, style):"], + "cpp": ["void set_font_style(const string &name, font_style style)"], "csharp": [ "public static void SplashKit.SetFontStyle(string name, FontStyle style);" ], @@ -43043,9 +37588,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43056,9 +37599,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43071,19 +37612,13 @@ "static": "text" }, "signatures": { - "python": [ - "def set_font_style(fnt, style):" - ], - "cpp": [ - "void set_font_style(font fnt, font_style style)" - ], + "python": ["def set_font_style(fnt, style):"], + "cpp": ["void set_font_style(font fnt, font_style style)"], "csharp": [ "public void Font.Style { set }", "public static void SplashKit.SetFontStyle(Font fnt, FontStyle style);" ], - "pascal": [ - "procedure SetFontStyle(fnt: Font; style: FontStyle)" - ] + "pascal": ["procedure SetFontStyle(fnt: Font; style: FontStyle)"] } }, { @@ -43111,9 +37646,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43124,9 +37657,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43137,9 +37668,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43151,9 +37680,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def text_height_font_named(text, fnt, font_size):" - ], + "python": ["def text_height_font_named(text, fnt, font_size):"], "cpp": [ "int text_height(const string &text, const string &fnt, int font_size)" ], @@ -43191,9 +37718,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43204,9 +37729,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43217,9 +37740,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43230,9 +37751,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def text_height(text, fnt, font_size):" - ], + "python": ["def text_height(text, fnt, font_size):"], "cpp": [ "int text_height(const string &text, font fnt, int font_size)" ], @@ -43270,9 +37789,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43283,9 +37800,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43296,9 +37811,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43310,9 +37823,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def text_width_font_named(text, fnt, font_size):" - ], + "python": ["def text_width_font_named(text, fnt, font_size):"], "cpp": [ "int text_width(const string &text, const string &fnt, int font_size)" ], @@ -43350,9 +37861,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43363,9 +37872,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43376,9 +37883,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43389,9 +37894,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def text_width(text, fnt, font_size):" - ], + "python": ["def text_width(text, fnt, font_size):"], "cpp": [ "int text_width(const string &text, font fnt, int font_size)" ], @@ -43429,9 +37932,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43442,9 +37943,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43454,18 +37953,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_triangle_record(clr, tri):" - ], - "cpp": [ - "void draw_triangle(color clr, const triangle &tri)" - ], + "python": ["def draw_triangle_record(clr, tri):"], + "cpp": ["void draw_triangle(color clr, const triangle &tri)"], "csharp": [ "public static void SplashKit.DrawTriangle(Color clr, Triangle tri);" ], - "pascal": [ - "procedure DrawTriangle(clr: Color; const tri: Triangle)" - ] + "pascal": ["procedure DrawTriangle(clr: Color; const tri: Triangle)"] } }, { @@ -43493,9 +37986,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43506,9 +37997,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43519,9 +38008,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43531,9 +38018,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_triangle_record_with_options(clr, tri, opts):" - ], + "python": ["def draw_triangle_record_with_options(clr, tri, opts):"], "cpp": [ "void draw_triangle(color clr, const triangle &tri, drawing_options opts)" ], @@ -43570,9 +38055,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43583,9 +38066,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43596,9 +38077,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43609,9 +38088,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43622,9 +38099,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43635,9 +38110,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43648,9 +38121,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43659,9 +38130,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_triangle(clr, x1, y1, x2, y2, x3, y3):" - ], + "python": ["def draw_triangle(clr, x1, y1, x2, y2, x3, y3):"], "cpp": [ "void draw_triangle(color clr, double x1, double y1, double x2, double y2, double x3, double y3)" ], @@ -43698,9 +38167,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43711,9 +38178,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43724,9 +38189,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43737,9 +38200,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43750,9 +38211,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43763,9 +38222,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43776,9 +38233,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43789,9 +38244,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43840,9 +38293,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43853,9 +38304,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43866,9 +38315,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -43921,9 +38368,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43934,9 +38379,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43947,9 +38390,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -43960,9 +38401,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -44015,9 +38454,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44028,9 +38465,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44041,9 +38476,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44054,9 +38487,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44067,9 +38498,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44080,9 +38509,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44093,9 +38520,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44106,9 +38531,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -44160,9 +38583,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44173,9 +38594,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44186,9 +38605,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44199,9 +38616,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44212,9 +38627,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44225,9 +38638,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44238,9 +38649,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44251,9 +38660,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44264,9 +38671,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -44319,9 +38724,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44332,9 +38735,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44345,9 +38746,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -44400,9 +38799,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44413,9 +38810,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44426,9 +38821,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44439,9 +38832,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -44494,9 +38885,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44507,9 +38896,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44520,9 +38907,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44533,9 +38918,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44546,9 +38929,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44559,9 +38940,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44572,9 +38951,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44585,9 +38962,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -44639,9 +39014,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44652,9 +39025,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44665,9 +39036,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44678,9 +39047,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44691,9 +39058,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44704,9 +39069,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44717,9 +39080,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44730,9 +39091,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44743,9 +39102,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -44798,9 +39155,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44811,9 +39166,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -44823,18 +39176,12 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_triangle_record(clr, tri):" - ], - "cpp": [ - "void fill_triangle(color clr, const triangle &tri)" - ], + "python": ["def fill_triangle_record(clr, tri):"], + "cpp": ["void fill_triangle(color clr, const triangle &tri)"], "csharp": [ "public static void SplashKit.FillTriangle(Color clr, Triangle tri);" ], - "pascal": [ - "procedure FillTriangle(clr: Color; const tri: Triangle)" - ] + "pascal": ["procedure FillTriangle(clr: Color; const tri: Triangle)"] } }, { @@ -44862,9 +39209,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44875,9 +39220,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44888,9 +39231,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -44900,9 +39241,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_triangle_record_with_options(clr, tri, opts):" - ], + "python": ["def fill_triangle_record_with_options(clr, tri, opts):"], "cpp": [ "void fill_triangle(color clr, const triangle &tri, drawing_options opts)" ], @@ -44939,9 +39278,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44952,9 +39289,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44965,9 +39300,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44978,9 +39311,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -44991,9 +39322,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45004,9 +39333,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45017,9 +39344,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -45028,9 +39353,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_triangle(clr, x1, y1, x2, y2, x3, y3):" - ], + "python": ["def fill_triangle(clr, x1, y1, x2, y2, x3, y3):"], "cpp": [ "void fill_triangle(color clr, double x1, double y1, double x2, double y2, double x3, double y3)" ], @@ -45067,9 +39390,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45080,9 +39401,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45093,9 +39412,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45106,9 +39423,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45119,9 +39434,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45132,9 +39445,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45145,9 +39456,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45158,9 +39467,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -45209,9 +39516,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45222,9 +39527,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45235,9 +39538,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -45290,9 +39591,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45303,9 +39602,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45316,9 +39613,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45329,9 +39624,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -45384,9 +39677,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45397,9 +39688,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45410,9 +39699,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45423,9 +39710,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45436,9 +39721,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45449,9 +39732,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45462,9 +39743,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45475,9 +39754,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -45529,9 +39806,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45542,9 +39817,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45555,9 +39828,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45568,9 +39839,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45581,9 +39850,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45594,9 +39861,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45607,9 +39872,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45620,9 +39883,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45633,9 +39894,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -45688,9 +39947,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45701,9 +39958,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45714,9 +39969,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -45769,9 +40022,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45782,9 +40033,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45795,9 +40044,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45808,9 +40055,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -45863,9 +40108,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45876,9 +40119,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45889,9 +40130,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45902,9 +40141,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45915,9 +40152,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45928,9 +40163,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45941,9 +40174,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -45954,9 +40185,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46008,9 +40237,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -46021,9 +40248,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -46034,9 +40259,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -46047,9 +40270,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -46060,9 +40281,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -46073,9 +40292,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -46086,9 +40303,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -46099,9 +40314,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -46112,9 +40325,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46143,18 +40354,10 @@ } } ], - "typedefs": [ - - ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "typedefs": [], + "structs": [], + "enums": [], + "defines": [] }, "input": { "brief": "Input handles user interaction and events such as keypresses.", @@ -46177,25 +40380,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input", "static": "input" }, "signatures": { - "python": [ - "def process_events():" - ], - "cpp": [ - "void process_events()" - ], - "csharp": [ - "public static void SplashKit.ProcessEvents();" - ], - "pascal": [ - "procedure ProcessEvents()" - ] + "python": ["def process_events():"], + "cpp": ["void process_events()"], + "csharp": ["public static void SplashKit.ProcessEvents();"], + "pascal": ["procedure ProcessEvents()"] } }, { @@ -46215,25 +40409,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input", "static": "input" }, "signatures": { - "python": [ - "def quit_requested():" - ], - "cpp": [ - "bool quit_requested()" - ], - "csharp": [ - "public static bool SplashKit.QuitRequested();" - ], - "pascal": [ - "function QuitRequested(): Boolean" - ] + "python": ["def quit_requested():"], + "cpp": ["bool quit_requested()"], + "csharp": ["public static bool SplashKit.QuitRequested();"], + "pascal": ["function QuitRequested(): Boolean"] } }, { @@ -46253,25 +40438,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input", "static": "input" }, "signatures": { - "python": [ - "def reset_quit():" - ], - "cpp": [ - "void reset_quit()" - ], - "csharp": [ - "public static void SplashKit.ResetQuit();" - ], - "pascal": [ - "procedure ResetQuit()" - ] + "python": ["def reset_quit():"], + "cpp": ["void reset_quit()"], + "csharp": ["public static void SplashKit.ResetQuit();"], + "pascal": ["procedure ResetQuit()"] } }, { @@ -46291,24 +40467,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def any_key_pressed():" - ], - "cpp": [ - "bool any_key_pressed()" - ], - "csharp": [ - "public static bool SplashKit.AnyKeyPressed();" - ], - "pascal": [ - "function AnyKeyPressed(): Boolean" - ] + "python": ["def any_key_pressed():"], + "cpp": ["bool any_key_pressed()"], + "csharp": ["public static bool SplashKit.AnyKeyPressed();"], + "pascal": ["function AnyKeyPressed(): Boolean"] } }, { @@ -46336,9 +40503,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46347,9 +40512,7 @@ "group": "input" }, "signatures": { - "python": [ - "def deregister_callback_on_key_down(callback):" - ], + "python": ["def deregister_callback_on_key_down(callback):"], "cpp": [ "void deregister_callback_on_key_down(key_callback *callback)" ], @@ -46386,9 +40549,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46397,9 +40558,7 @@ "group": "input" }, "signatures": { - "python": [ - "def deregister_callback_on_key_typed(callback):" - ], + "python": ["def deregister_callback_on_key_typed(callback):"], "cpp": [ "void deregister_callback_on_key_typed(key_callback *callback)" ], @@ -46436,9 +40595,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46447,12 +40604,8 @@ "group": "input" }, "signatures": { - "python": [ - "def deregister_callback_on_key_up(callback):" - ], - "cpp": [ - "void deregister_callback_on_key_up(key_callback *callback)" - ], + "python": ["def deregister_callback_on_key_up(callback):"], + "cpp": ["void deregister_callback_on_key_up(key_callback *callback)"], "csharp": [ "public static void SplashKit.DeregisterCallbackOnKeyUp(KeyCallback callback);" ], @@ -46486,9 +40639,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46497,18 +40648,10 @@ "group": "input" }, "signatures": { - "python": [ - "def key_down(key):" - ], - "cpp": [ - "bool key_down(key_code key)" - ], - "csharp": [ - "public static bool SplashKit.KeyDown(KeyCode key);" - ], - "pascal": [ - "function KeyDown(key: KeyCode): Boolean" - ] + "python": ["def key_down(key):"], + "cpp": ["bool key_down(key_code key)"], + "csharp": ["public static bool SplashKit.KeyDown(KeyCode key);"], + "pascal": ["function KeyDown(key: KeyCode): Boolean"] } }, { @@ -46536,9 +40679,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46547,18 +40688,10 @@ "group": "input" }, "signatures": { - "python": [ - "def key_name(key):" - ], - "cpp": [ - "string key_name(key_code key)" - ], - "csharp": [ - "public static string SplashKit.KeyName(KeyCode key);" - ], - "pascal": [ - "function KeyName(key: KeyCode): String" - ] + "python": ["def key_name(key):"], + "cpp": ["string key_name(key_code key)"], + "csharp": ["public static string SplashKit.KeyName(KeyCode key);"], + "pascal": ["function KeyName(key: KeyCode): String"] } }, { @@ -46586,9 +40719,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46597,18 +40728,10 @@ "group": "input" }, "signatures": { - "python": [ - "def key_released(key):" - ], - "cpp": [ - "bool key_released(key_code key)" - ], - "csharp": [ - "public static bool SplashKit.KeyReleased(KeyCode key);" - ], - "pascal": [ - "function KeyReleased(key: KeyCode): Boolean" - ] + "python": ["def key_released(key):"], + "cpp": ["bool key_released(key_code key)"], + "csharp": ["public static bool SplashKit.KeyReleased(KeyCode key);"], + "pascal": ["function KeyReleased(key: KeyCode): Boolean"] } }, { @@ -46636,9 +40759,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46647,18 +40768,10 @@ "group": "input" }, "signatures": { - "python": [ - "def key_typed(key):" - ], - "cpp": [ - "bool key_typed(key_code key)" - ], - "csharp": [ - "public static bool SplashKit.KeyTyped(KeyCode key);" - ], - "pascal": [ - "function KeyTyped(key: KeyCode): Boolean" - ] + "python": ["def key_typed(key):"], + "cpp": ["bool key_typed(key_code key)"], + "csharp": ["public static bool SplashKit.KeyTyped(KeyCode key);"], + "pascal": ["function KeyTyped(key: KeyCode): Boolean"] } }, { @@ -46686,9 +40799,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46697,18 +40808,10 @@ "group": "input" }, "signatures": { - "python": [ - "def key_up(key):" - ], - "cpp": [ - "bool key_up(key_code key)" - ], - "csharp": [ - "public static bool SplashKit.KeyUp(KeyCode key);" - ], - "pascal": [ - "function KeyUp(key: KeyCode): Boolean" - ] + "python": ["def key_up(key):"], + "cpp": ["bool key_up(key_code key)"], + "csharp": ["public static bool SplashKit.KeyUp(KeyCode key);"], + "pascal": ["function KeyUp(key: KeyCode): Boolean"] } }, { @@ -46736,9 +40839,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46747,12 +40848,8 @@ "group": "input" }, "signatures": { - "python": [ - "def register_callback_on_key_down(callback):" - ], - "cpp": [ - "void register_callback_on_key_down(key_callback *callback)" - ], + "python": ["def register_callback_on_key_down(callback):"], + "cpp": ["void register_callback_on_key_down(key_callback *callback)"], "csharp": [ "public static void SplashKit.RegisterCallbackOnKeyDown(KeyCallback callback);" ], @@ -46786,9 +40883,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46797,9 +40892,7 @@ "group": "input" }, "signatures": { - "python": [ - "def register_callback_on_key_typed(callback):" - ], + "python": ["def register_callback_on_key_typed(callback):"], "cpp": [ "void register_callback_on_key_typed(key_callback *callback)" ], @@ -46836,9 +40929,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46847,18 +40938,12 @@ "group": "input" }, "signatures": { - "python": [ - "def register_callback_on_key_up(callback):" - ], - "cpp": [ - "void register_callback_on_key_up(key_callback *callback)" - ], + "python": ["def register_callback_on_key_up(callback):"], + "cpp": ["void register_callback_on_key_up(key_callback *callback)"], "csharp": [ "public static void SplashKit.RegisterCallbackOnKeyUp(KeyCallback callback);" ], - "pascal": [ - "procedure RegisterCallbackOnKeyUp(callback: KeyCallback)" - ] + "pascal": ["procedure RegisterCallbackOnKeyUp(callback: KeyCallback)"] } }, { @@ -46878,24 +40963,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def hide_mouse():" - ], - "cpp": [ - "void hide_mouse()" - ], - "csharp": [ - "public static void SplashKit.HideMouse();" - ], - "pascal": [ - "procedure HideMouse()" - ] + "python": ["def hide_mouse():"], + "cpp": ["void hide_mouse()"], + "csharp": ["public static void SplashKit.HideMouse();"], + "pascal": ["procedure HideMouse()"] } }, { @@ -46923,9 +40999,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46934,18 +41008,12 @@ "group": "input" }, "signatures": { - "python": [ - "def mouse_clicked(button):" - ], - "cpp": [ - "bool mouse_clicked(mouse_button button)" - ], + "python": ["def mouse_clicked(button):"], + "cpp": ["bool mouse_clicked(mouse_button button)"], "csharp": [ "public static bool SplashKit.MouseClicked(MouseButton button);" ], - "pascal": [ - "function MouseClicked(button: MouseButton): Boolean" - ] + "pascal": ["function MouseClicked(button: MouseButton): Boolean"] } }, { @@ -46973,9 +41041,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -46984,18 +41050,12 @@ "group": "input" }, "signatures": { - "python": [ - "def mouse_down(button):" - ], - "cpp": [ - "bool mouse_down(mouse_button button)" - ], + "python": ["def mouse_down(button):"], + "cpp": ["bool mouse_down(mouse_button button)"], "csharp": [ "public static bool SplashKit.MouseDown(MouseButton button);" ], - "pascal": [ - "function MouseDown(button: MouseButton): Boolean" - ] + "pascal": ["function MouseDown(button: MouseButton): Boolean"] } }, { @@ -47015,24 +41075,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def mouse_movement():" - ], - "cpp": [ - "vector_2d mouse_movement()" - ], - "csharp": [ - "public static Vector2D SplashKit.MouseMovement();" - ], - "pascal": [ - "function MouseMovement(): Vector2D" - ] + "python": ["def mouse_movement():"], + "cpp": ["vector_2d mouse_movement()"], + "csharp": ["public static Vector2D SplashKit.MouseMovement();"], + "pascal": ["function MouseMovement(): Vector2D"] } }, { @@ -47052,24 +41103,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def mouse_position():" - ], - "cpp": [ - "point_2d mouse_position()" - ], - "csharp": [ - "public static Point2D SplashKit.MousePosition();" - ], - "pascal": [ - "function MousePosition(): Point2D" - ] + "python": ["def mouse_position():"], + "cpp": ["point_2d mouse_position()"], + "csharp": ["public static Point2D SplashKit.MousePosition();"], + "pascal": ["function MousePosition(): Point2D"] } }, { @@ -47089,24 +41131,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def mouse_position_vector():" - ], - "cpp": [ - "vector_2d mouse_position_vector()" - ], - "csharp": [ - "public static Vector2D SplashKit.MousePositionVector();" - ], - "pascal": [ - "function MousePositionVector(): Vector2D" - ] + "python": ["def mouse_position_vector():"], + "cpp": ["vector_2d mouse_position_vector()"], + "csharp": ["public static Vector2D SplashKit.MousePositionVector();"], + "pascal": ["function MousePositionVector(): Vector2D"] } }, { @@ -47126,24 +41159,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def mouse_shown():" - ], - "cpp": [ - "bool mouse_shown()" - ], - "csharp": [ - "public static bool SplashKit.MouseShown();" - ], - "pascal": [ - "function MouseShown(): Boolean" - ] + "python": ["def mouse_shown():"], + "cpp": ["bool mouse_shown()"], + "csharp": ["public static bool SplashKit.MouseShown();"], + "pascal": ["function MouseShown(): Boolean"] } }, { @@ -47171,9 +41195,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -47182,18 +41204,12 @@ "group": "input" }, "signatures": { - "python": [ - "def mouse_up(button):" - ], - "cpp": [ - "bool mouse_up(mouse_button button)" - ], + "python": ["def mouse_up(button):"], + "cpp": ["bool mouse_up(mouse_button button)"], "csharp": [ "public static bool SplashKit.MouseUp(MouseButton button);" ], - "pascal": [ - "function MouseUp(button: MouseButton): Boolean" - ] + "pascal": ["function MouseUp(button: MouseButton): Boolean"] } }, { @@ -47213,24 +41229,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def mouse_wheel_scroll():" - ], - "cpp": [ - "vector_2d mouse_wheel_scroll()" - ], - "csharp": [ - "public static Vector2D SplashKit.MouseWheelScroll();" - ], - "pascal": [ - "function MouseWheelScroll(): Vector2D" - ] + "python": ["def mouse_wheel_scroll():"], + "cpp": ["vector_2d mouse_wheel_scroll()"], + "csharp": ["public static Vector2D SplashKit.MouseWheelScroll();"], + "pascal": ["function MouseWheelScroll(): Vector2D"] } }, { @@ -47250,24 +41257,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def mouse_x():" - ], - "cpp": [ - "float mouse_x()" - ], - "csharp": [ - "public static float SplashKit.MouseX();" - ], - "pascal": [ - "function MouseX(): Single" - ] + "python": ["def mouse_x():"], + "cpp": ["float mouse_x()"], + "csharp": ["public static float SplashKit.MouseX();"], + "pascal": ["function MouseX(): Single"] } }, { @@ -47287,24 +41285,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def mouse_y():" - ], - "cpp": [ - "float mouse_y()" - ], - "csharp": [ - "public static float SplashKit.MouseY();" - ], - "pascal": [ - "function MouseY(): Single" - ] + "python": ["def mouse_y():"], + "cpp": ["float mouse_y()"], + "csharp": ["public static float SplashKit.MouseY();"], + "pascal": ["function MouseY(): Single"] } }, { @@ -47332,9 +41321,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -47345,9 +41332,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -47356,18 +41341,12 @@ "group": "input" }, "signatures": { - "python": [ - "def move_mouse(x, y):" - ], - "cpp": [ - "void move_mouse(double x, double y)" - ], + "python": ["def move_mouse(x, y):"], + "cpp": ["void move_mouse(double x, double y)"], "csharp": [ "public static void SplashKit.MoveMouse(double x, double y);" ], - "pascal": [ - "procedure MoveMouse(x: Double; y: Double)" - ] + "pascal": ["procedure MoveMouse(x: Double; y: Double)"] } }, { @@ -47395,9 +41374,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -47407,18 +41384,10 @@ "group": "input" }, "signatures": { - "python": [ - "def move_mouse_to_point(point):" - ], - "cpp": [ - "void move_mouse(point_2d point)" - ], - "csharp": [ - "public static void SplashKit.MoveMouse(Point2D point);" - ], - "pascal": [ - "procedure MoveMouse(point: Point2D)" - ] + "python": ["def move_mouse_to_point(point):"], + "cpp": ["void move_mouse(point_2d point)"], + "csharp": ["public static void SplashKit.MoveMouse(Point2D point);"], + "pascal": ["procedure MoveMouse(point: Point2D)"] } }, { @@ -47438,24 +41407,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def show_mouse():" - ], - "cpp": [ - "void show_mouse()" - ], - "csharp": [ - "public static void SplashKit.ShowMouse();" - ], - "pascal": [ - "procedure ShowMouse()" - ] + "python": ["def show_mouse():"], + "cpp": ["void show_mouse()"], + "csharp": ["public static void SplashKit.ShowMouse();"], + "pascal": ["procedure ShowMouse()"] } }, { @@ -47483,9 +41443,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -47495,18 +41453,10 @@ "group": "input" }, "signatures": { - "python": [ - "def show_mouse_with_boolean(show):" - ], - "cpp": [ - "void show_mouse(bool show)" - ], - "csharp": [ - "public static void SplashKit.ShowMouse(bool show);" - ], - "pascal": [ - "procedure ShowMouse(show: Boolean)" - ] + "python": ["def show_mouse_with_boolean(show):"], + "cpp": ["void show_mouse(bool show)"], + "csharp": ["public static void SplashKit.ShowMouse(bool show);"], + "pascal": ["procedure ShowMouse(show: Boolean)"] } }, { @@ -47534,9 +41484,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -47547,9 +41495,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -47560,9 +41506,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -47573,9 +41517,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -47584,9 +41526,7 @@ "group": "input" }, "signatures": { - "python": [ - "def draw_collected_text(clr, fnt, font_size, opts):" - ], + "python": ["def draw_collected_text(clr, fnt, font_size, opts):"], "cpp": [ "void draw_collected_text(color clr, font fnt, int font_size, const drawing_options &opts)" ], @@ -47615,24 +41555,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def end_reading_text():" - ], - "cpp": [ - "void end_reading_text()" - ], - "csharp": [ - "public static void SplashKit.EndReadingText();" - ], - "pascal": [ - "procedure EndReadingText()" - ] + "python": ["def end_reading_text():"], + "cpp": ["void end_reading_text()"], + "csharp": ["public static void SplashKit.EndReadingText();"], + "pascal": ["procedure EndReadingText()"] } }, { @@ -47660,9 +41591,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -47675,19 +41604,13 @@ "group": "input" }, "signatures": { - "python": [ - "def end_reading_text_in_window(wind):" - ], - "cpp": [ - "void end_reading_text(window wind)" - ], + "python": ["def end_reading_text_in_window(wind):"], + "cpp": ["void end_reading_text(window wind)"], "csharp": [ "public void Window.EndReadingText();", "public static void SplashKit.EndReadingText(Window wind);" ], - "pascal": [ - "procedure EndReadingText(wind: Window)" - ] + "pascal": ["procedure EndReadingText(wind: Window)"] } }, { @@ -47707,24 +41630,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def reading_text():" - ], - "cpp": [ - "bool reading_text()" - ], - "csharp": [ - "public static bool SplashKit.ReadingText();" - ], - "pascal": [ - "function ReadingText(): Boolean" - ] + "python": ["def reading_text():"], + "cpp": ["bool reading_text()"], + "csharp": ["public static bool SplashKit.ReadingText();"], + "pascal": ["function ReadingText(): Boolean"] } }, { @@ -47752,9 +41666,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -47767,19 +41679,13 @@ "group": "input" }, "signatures": { - "python": [ - "def reading_text_in_window(wind):" - ], - "cpp": [ - "bool reading_text(window wind)" - ], + "python": ["def reading_text_in_window(wind):"], + "cpp": ["bool reading_text(window wind)"], "csharp": [ "public bool Window.ReadingText();", "public static bool SplashKit.ReadingText(Window wind);" ], - "pascal": [ - "function ReadingText(wind: Window): Boolean" - ] + "pascal": ["function ReadingText(wind: Window): Boolean"] } }, { @@ -47807,9 +41713,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -47818,18 +41722,12 @@ "group": "input" }, "signatures": { - "python": [ - "def start_reading_text(rect):" - ], - "cpp": [ - "void start_reading_text(rectangle rect)" - ], + "python": ["def start_reading_text(rect):"], + "cpp": ["void start_reading_text(rectangle rect)"], "csharp": [ "public static void SplashKit.StartReadingText(Rectangle rect);" ], - "pascal": [ - "procedure StartReadingText(rect: Rectangle)" - ] + "pascal": ["procedure StartReadingText(rect: Rectangle)"] } }, { @@ -47857,9 +41755,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -47870,9 +41766,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -47921,9 +41815,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -47934,9 +41826,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -47949,12 +41839,8 @@ "group": "input" }, "signatures": { - "python": [ - "def start_reading_text_in_window(wind, rect):" - ], - "cpp": [ - "void start_reading_text(window wind, rectangle rect)" - ], + "python": ["def start_reading_text_in_window(wind, rect):"], + "cpp": ["void start_reading_text(window wind, rectangle rect)"], "csharp": [ "public void Window.StartReadingText(Rectangle rect);", "public static void SplashKit.StartReadingText(Window wind, Rectangle rect);" @@ -47989,9 +41875,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -48002,9 +41886,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -48015,9 +41897,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -48062,24 +41942,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def text_entry_cancelled():" - ], - "cpp": [ - "bool text_entry_cancelled()" - ], - "csharp": [ - "public static bool SplashKit.TextEntryCancelled();" - ], - "pascal": [ - "function TextEntryCancelled(): Boolean" - ] + "python": ["def text_entry_cancelled():"], + "cpp": ["bool text_entry_cancelled()"], + "csharp": ["public static bool SplashKit.TextEntryCancelled();"], + "pascal": ["function TextEntryCancelled(): Boolean"] } }, { @@ -48107,9 +41978,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -48122,19 +41991,13 @@ "group": "input" }, "signatures": { - "python": [ - "def text_entry_cancelled_in_window(wind):" - ], - "cpp": [ - "bool text_entry_cancelled(window wind)" - ], + "python": ["def text_entry_cancelled_in_window(wind):"], + "cpp": ["bool text_entry_cancelled(window wind)"], "csharp": [ "public bool Window.TextEntryCancelled();", "public static bool SplashKit.TextEntryCancelled(Window wind);" ], - "pascal": [ - "function TextEntryCancelled(wind: Window): Boolean" - ] + "pascal": ["function TextEntryCancelled(wind: Window): Boolean"] } }, { @@ -48154,24 +42017,15 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "input" }, "signatures": { - "python": [ - "def text_input():" - ], - "cpp": [ - "string text_input()" - ], - "csharp": [ - "public static string SplashKit.TextInput();" - ], - "pascal": [ - "function TextInput(): String" - ] + "python": ["def text_input():"], + "cpp": ["string text_input()"], + "csharp": ["public static string SplashKit.TextInput();"], + "pascal": ["function TextInput(): String"] } }, { @@ -48199,9 +42053,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -48214,19 +42066,13 @@ "group": "input" }, "signatures": { - "python": [ - "def text_input_in_window(wind):" - ], - "cpp": [ - "string text_input(window wind)" - ], + "python": ["def text_input_in_window(wind):"], + "cpp": ["string text_input(window wind)"], "csharp": [ "public string Window.TextInput();", "public static string SplashKit.TextInput(Window wind);" ], - "pascal": [ - "function TextInput(wind: Window): String" - ] + "pascal": ["function TextInput(wind: Window): String"] } } ], @@ -48256,18 +42102,14 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } } } ], - "structs": [ - - ], + "structs": [], "enums": [ { "signature": "enum key_code {UNKNOWN_KEY = 0,BACKSPACE_KEY = 8,TAB_KEY = 9,CLEAR_KEY = 12,RETURN_KEY = 13,PAUSE_KEY = 19,ESCAPE_KEY = 27,SPACE_KEY = 32,EXCLAIM_KEY = 33,DOUBLE_QUOTE_KEY = 34,HASH_KEY = 35,DOLLAR_KEY = 36,AMPERSAND_KEY = 38,QUOTE_KEY = 39,LEFT_PAREN_KEY = 40,RIGHT_PAREN_KEY = 41,ASTERISK_KEY = 42,PLUS_KEY = 43,COMMA_KEY = 44,MINUS_KEY = 45,PERIOD_KEY = 46,SLASH_KEY = 47,NUM_0_KEY = 48,NUM_1_KEY = 49,NUM_2_KEY = 50,NUM_3_KEY = 51,NUM_4_KEY = 52,NUM_5_KEY = 53,NUM_6_KEY = 54,NUM_7_KEY = 55,NUM_8_KEY = 56,NUM_9_KEY = 57,COLON_KEY = 58,SEMI_COLON_KEY = 59,LESS_KEY = 60,EQUALS_KEY = 61,GREATER_KEY = 62,QUESTION_KEY = 63,AT_KEY = 64,LEFT_BRACKET_KEY = 91,BACKSLASH_KEY = 92,RIGHT_BRACKET_KEY = 93,CARET_KEY = 94,UNDERSCORE_KEY = 95,BACKQUOTE_KEY = 96,A_KEY = 97,B_KEY = 98,C_KEY = 99,D_KEY = 100,E_KEY = 101,F_KEY = 102,G_KEY = 103,H_KEY = 104,I_KEY = 105,J_KEY = 106,K_KEY = 107,L_KEY = 108,M_KEY = 109,N_KEY = 110,O_KEY = 111,P_KEY = 112,Q_KEY = 113,R_KEY = 114,S_KEY = 115,T_KEY = 116,U_KEY = 117,V_KEY = 118,W_KEY = 119,X_KEY = 120,Y_KEY = 121,Z_KEY = 122,DELETE_KEY = 127,KEYPAD_0 = 256,KEYPAD_1 = 257,KEYPAD_2 = 258,KEYPAD_3 = 259,KEYPAD_4 = 260,KEYPAD_5 = 261,KEYPAD_6 = 262,KEYPAD_7 = 263,KEYPAD_8 = 264,KEYPAD_9 = 265,KEYPAD_PERIOD = 266,KEYPAD_DIVIDE = 267,KEYPAD_MULTIPLY = 268,KEYPAD_MINUS = 269,KEYPAD_PLUS = 270,KEYPAD_ENTER = 271,KEYPAD_EQUALS = 272,UP_KEY = 273,DOWN_KEY = 274,RIGHT_KEY = 275,LEFT_KEY = 276,INSERT_KEY = 277,HOME_KEY = 278,END_KEY = 279,PAGE_UP_KEY = 280,PAGE_DOWN_KEY = 281,F1_KEY = 282,F2_KEY = 283,F3_KEY = 284,F4_KEY = 285,F5_KEY = 286,F6_KEY = 287,F7_KEY = 288,F8_KEY = 289,F9_KEY = 290,F10_KEY = 291,F11_KEY = 292,F12_KEY = 293,F13_KEY = 294,F14_KEY = 295,F15_KEY = 296,NUM_LOCK_KEY = 300,CAPS_LOCK_KEY = 301,SCROLL_LOCK_KEY = 302,RIGHT_SHIFT_KEY = 303,LEFT_SHIFT_KEY = 304,RIGHT_CTRL_KEY = 305,LEFT_CTRL_KEY = 306,RIGHT_ALT_KEY = 307,LEFT_ALT_KEY = 308,LEFT_SUPER_KEY = 311,RIGHT_SUPER_KEY = 312,MODE_KEY = 313,HELP_KEY = 315,SYS_REQ_KEY = 317,MENU_KEY = 319,POWER_KEY = 320,};", @@ -48838,9 +42680,7 @@ } } ], - "defines": [ - - ] + "defines": [] }, "interface": { "brief": "SplashKit Interface provides functions to create user interfaces, with elements such as draggable panels, buttons and text boxes.", @@ -48871,9 +42711,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -48883,18 +42721,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def add_column(width):" - ], - "cpp": [ - "void add_column(int width)" - ], - "csharp": [ - "public static void SplashKit.AddColumn(int width);" - ], - "pascal": [ - "procedure AddColumn(width: Integer)" - ] + "python": ["def add_column(width):"], + "cpp": ["void add_column(int width)"], + "csharp": ["public static void SplashKit.AddColumn(int width);"], + "pascal": ["procedure AddColumn(width: Integer)"] } }, { @@ -48922,9 +42752,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -48934,18 +42762,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def add_column_relative(width):" - ], - "cpp": [ - "void add_column_relative(double width)" - ], + "python": ["def add_column_relative(width):"], + "cpp": ["void add_column_relative(double width)"], "csharp": [ "public static void SplashKit.AddColumnRelative(double width);" ], - "pascal": [ - "procedure AddColumnRelative(width: Double)" - ] + "pascal": ["procedure AddColumnRelative(width: Double)"] } }, { @@ -48973,9 +42795,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -48985,18 +42805,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def bitmap_button(bmp):" - ], - "cpp": [ - "bool bitmap_button(bitmap bmp)" - ], - "csharp": [ - "public static bool SplashKit.BitmapButton(Bitmap bmp);" - ], - "pascal": [ - "function BitmapButton(bmp: Bitmap): Boolean" - ] + "python": ["def bitmap_button(bmp):"], + "cpp": ["bool bitmap_button(bitmap bmp)"], + "csharp": ["public static bool SplashKit.BitmapButton(Bitmap bmp);"], + "pascal": ["function BitmapButton(bmp: Bitmap): Boolean"] } }, { @@ -49024,9 +42836,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49037,9 +42847,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49050,12 +42858,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def bitmap_button_at_position(bmp, rect):" - ], - "cpp": [ - "bool bitmap_button(bitmap bmp, const rectangle &rect)" - ], + "python": ["def bitmap_button_at_position(bmp, rect):"], + "cpp": ["bool bitmap_button(bitmap bmp, const rectangle &rect)"], "csharp": [ "public static bool SplashKit.BitmapButton(Bitmap bmp, Rectangle rect);" ], @@ -49089,9 +42893,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49102,9 +42904,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49115,9 +42915,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49167,9 +42965,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49180,9 +42976,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49193,12 +42987,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def bitmap_button_with_options(bmp, opts):" - ], - "cpp": [ - "bool bitmap_button(bitmap bmp, drawing_options opts)" - ], + "python": ["def bitmap_button_with_options(bmp, opts):"], + "cpp": ["bool bitmap_button(bitmap bmp, drawing_options opts)"], "csharp": [ "public static bool SplashKit.BitmapButton(Bitmap bmp, DrawingOptions opts);" ], @@ -49232,9 +43022,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49245,9 +43033,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49258,12 +43044,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def bitmap_button_labeled(label_text, bmp):" - ], - "cpp": [ - "bool bitmap_button(const string &label_text, bitmap bmp)" - ], + "python": ["def bitmap_button_labeled(label_text, bmp):"], + "cpp": ["bool bitmap_button(const string &label_text, bitmap bmp)"], "csharp": [ "public static bool SplashKit.BitmapButton(string labelText, Bitmap bmp);" ], @@ -49297,9 +43079,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49310,9 +43090,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49323,9 +43101,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49375,9 +43151,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49388,9 +43162,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49401,12 +43173,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def button_at_position(text, rect):" - ], - "cpp": [ - "bool button(const string &text, const rectangle &rect)" - ], + "python": ["def button_at_position(text, rect):"], + "cpp": ["bool button(const string &text, const rectangle &rect)"], "csharp": [ "public static bool SplashKit.Button(string text, Rectangle rect);" ], @@ -49440,9 +43208,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49452,18 +43218,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def button(text):" - ], - "cpp": [ - "bool button(const string &text)" - ], - "csharp": [ - "public static bool SplashKit.Button(string text);" - ], - "pascal": [ - "function Button(const text: String): Boolean" - ] + "python": ["def button(text):"], + "cpp": ["bool button(const string &text)"], + "csharp": ["public static bool SplashKit.Button(string text);"], + "pascal": ["function Button(const text: String): Boolean"] } }, { @@ -49491,9 +43249,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49504,9 +43260,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49517,12 +43271,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def button_labeled(label_text, text):" - ], - "cpp": [ - "bool button(const string &label_text, const string &text)" - ], + "python": ["def button_labeled(label_text, text):"], + "cpp": ["bool button(const string &label_text, const string &text)"], "csharp": [ "public static bool SplashKit.Button(string labelText, string text);" ], @@ -49556,9 +43306,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49569,9 +43317,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49582,9 +43328,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49595,9 +43339,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def checkbox_at_position(text, value, rect):" - ], + "python": ["def checkbox_at_position(text, value, rect):"], "cpp": [ "bool checkbox(const string &text, const bool &value, const rectangle &rect)" ], @@ -49634,9 +43376,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49647,9 +43387,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49659,12 +43397,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def checkbox(text, value):" - ], - "cpp": [ - "bool checkbox(const string &text, const bool &value)" - ], + "python": ["def checkbox(text, value):"], + "cpp": ["bool checkbox(const string &text, const bool &value)"], "csharp": [ "public static bool SplashKit.Checkbox(string text, bool value);" ], @@ -49698,9 +43432,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49711,9 +43443,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49724,9 +43454,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49737,9 +43465,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def checkbox_labeled(label_text, text, value):" - ], + "python": ["def checkbox_labeled(label_text, text, value):"], "cpp": [ "bool checkbox(const string &label_text, const string &text, const bool &value)" ], @@ -49776,9 +43502,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49789,9 +43513,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49802,9 +43524,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def color_slider_at_position(clr, rect):" - ], + "python": ["def color_slider_at_position(clr, rect):"], "cpp": [ "color color_slider(const color &clr, const rectangle &rect)" ], @@ -49841,9 +43561,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49853,18 +43571,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def color_slider(clr):" - ], - "cpp": [ - "color color_slider(const color &clr)" - ], - "csharp": [ - "public static Color SplashKit.ColorSlider(Color clr);" - ], - "pascal": [ - "function ColorSlider(const clr: Color): Color" - ] + "python": ["def color_slider(clr):"], + "cpp": ["color color_slider(const color &clr)"], + "csharp": ["public static Color SplashKit.ColorSlider(Color clr);"], + "pascal": ["function ColorSlider(const clr: Color): Color"] } }, { @@ -49892,9 +43602,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -49905,9 +43613,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -49918,9 +43624,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def color_slider_labeled(label_text, clr):" - ], + "python": ["def color_slider_labeled(label_text, clr):"], "cpp": [ "color color_slider(const string &label_text, const color &clr)" ], @@ -49949,25 +43653,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def disable_interface():" - ], - "cpp": [ - "void disable_interface()" - ], - "csharp": [ - "public static void SplashKit.DisableInterface();" - ], - "pascal": [ - "procedure DisableInterface()" - ] + "python": ["def disable_interface():"], + "cpp": ["void disable_interface()"], + "csharp": ["public static void SplashKit.DisableInterface();"], + "pascal": ["procedure DisableInterface()"] } }, { @@ -49987,25 +43682,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def draw_interface():" - ], - "cpp": [ - "void draw_interface()" - ], - "csharp": [ - "public static void SplashKit.DrawInterface();" - ], - "pascal": [ - "procedure DrawInterface()" - ] + "python": ["def draw_interface():"], + "cpp": ["void draw_interface()"], + "csharp": ["public static void SplashKit.DrawInterface();"], + "pascal": ["procedure DrawInterface()"] } }, { @@ -50025,25 +43711,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def enable_interface():" - ], - "cpp": [ - "void enable_interface()" - ], - "csharp": [ - "public static void SplashKit.EnableInterface();" - ], - "pascal": [ - "procedure EnableInterface()" - ] + "python": ["def enable_interface():"], + "cpp": ["void enable_interface()"], + "csharp": ["public static void SplashKit.EnableInterface();"], + "pascal": ["procedure EnableInterface()"] } }, { @@ -50071,9 +43748,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50083,18 +43758,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def end_inset(name):" - ], - "cpp": [ - "void end_inset(const string &name)" - ], - "csharp": [ - "public static void SplashKit.EndInset(string name);" - ], - "pascal": [ - "procedure EndInset(const name: String)" - ] + "python": ["def end_inset(name):"], + "cpp": ["void end_inset(const string &name)"], + "csharp": ["public static void SplashKit.EndInset(string name);"], + "pascal": ["procedure EndInset(const name: String)"] } }, { @@ -50122,9 +43789,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50134,18 +43799,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def end_panel(name):" - ], - "cpp": [ - "void end_panel(const string &name)" - ], - "csharp": [ - "public static void SplashKit.EndPanel(string name);" - ], - "pascal": [ - "procedure EndPanel(const name: String)" - ] + "python": ["def end_panel(name):"], + "cpp": ["void end_panel(const string &name)"], + "csharp": ["public static void SplashKit.EndPanel(string name);"], + "pascal": ["procedure EndPanel(const name: String)"] } }, { @@ -50173,9 +43830,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50185,18 +43840,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def end_popup(name):" - ], - "cpp": [ - "void end_popup(const string &name)" - ], - "csharp": [ - "public static void SplashKit.EndPopup(string name);" - ], - "pascal": [ - "procedure EndPopup(const name: String)" - ] + "python": ["def end_popup(name):"], + "cpp": ["void end_popup(const string &name)"], + "csharp": ["public static void SplashKit.EndPopup(string name);"], + "pascal": ["procedure EndPopup(const name: String)"] } }, { @@ -50224,9 +43871,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50236,18 +43881,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def end_treenode(label_text):" - ], - "cpp": [ - "void end_treenode(const string &label_text)" - ], + "python": ["def end_treenode(label_text):"], + "cpp": ["void end_treenode(const string &label_text)"], "csharp": [ "public static void SplashKit.EndTreenode(string labelText);" ], - "pascal": [ - "procedure EndTreenode(const labelText: String)" - ] + "pascal": ["procedure EndTreenode(const labelText: String)"] } }, { @@ -50267,25 +43906,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def enter_column():" - ], - "cpp": [ - "void enter_column()" - ], - "csharp": [ - "public static void SplashKit.EnterColumn();" - ], - "pascal": [ - "procedure EnterColumn()" - ] + "python": ["def enter_column():"], + "cpp": ["void enter_column()"], + "csharp": ["public static void SplashKit.EnterColumn();"], + "pascal": ["procedure EnterColumn()"] } }, { @@ -50305,25 +43935,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def get_interface_label_width():" - ], - "cpp": [ - "int get_interface_label_width()" - ], - "csharp": [ - "public static int SplashKit.GetInterfaceLabelWidth();" - ], - "pascal": [ - "function GetInterfaceLabelWidth(): Integer" - ] + "python": ["def get_interface_label_width():"], + "cpp": ["int get_interface_label_width()"], + "csharp": ["public static int SplashKit.GetInterfaceLabelWidth();"], + "pascal": ["function GetInterfaceLabelWidth(): Integer"] } }, { @@ -50351,9 +43972,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50363,18 +43982,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def header(label_text):" - ], - "cpp": [ - "bool header(const string &label_text)" - ], - "csharp": [ - "public static bool SplashKit.Header(string labelText);" - ], - "pascal": [ - "function Header(const labelText: String): Boolean" - ] + "python": ["def header(label_text):"], + "cpp": ["bool header(const string &label_text)"], + "csharp": ["public static bool SplashKit.Header(string labelText);"], + "pascal": ["function Header(const labelText: String): Boolean"] } }, { @@ -50402,9 +44013,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -50415,9 +44024,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50428,9 +44035,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def hsb_color_slider_at_position(clr, rect):" - ], + "python": ["def hsb_color_slider_at_position(clr, rect):"], "cpp": [ "color hsb_color_slider(const color &clr, const rectangle &rect)" ], @@ -50467,9 +44072,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50479,18 +44082,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def hsb_color_slider(clr):" - ], - "cpp": [ - "color hsb_color_slider(const color &clr)" - ], + "python": ["def hsb_color_slider(clr):"], + "cpp": ["color hsb_color_slider(const color &clr)"], "csharp": [ "public static Color SplashKit.HSBColorSlider(Color clr);" ], - "pascal": [ - "function HSBColorSlider(const clr: Color): Color" - ] + "pascal": ["function HSBColorSlider(const clr: Color): Color"] } }, { @@ -50518,9 +44115,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -50531,9 +44126,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50544,9 +44137,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def hsb_color_slider_labeled(label_text, clr):" - ], + "python": ["def hsb_color_slider_labeled(label_text, clr):"], "cpp": [ "color hsb_color_slider(const string &label_text, const color &clr)" ], @@ -50575,25 +44166,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def interface_enabled():" - ], - "cpp": [ - "bool interface_enabled()" - ], - "csharp": [ - "public static bool SplashKit.InterfaceEnabled();" - ], - "pascal": [ - "function InterfaceEnabled(): Boolean" - ] + "python": ["def interface_enabled():"], + "cpp": ["bool interface_enabled()"], + "csharp": ["public static bool SplashKit.InterfaceEnabled();"], + "pascal": ["function InterfaceEnabled(): Boolean"] } }, { @@ -50621,9 +44203,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50633,9 +44213,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def interface_style_panel(initial_rectangle):" - ], + "python": ["def interface_style_panel(initial_rectangle):"], "cpp": [ "void interface_style_panel(const rectangle &initial_rectangle)" ], @@ -50672,9 +44250,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50684,18 +44260,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def label_element(text):" - ], - "cpp": [ - "void label_element(const string &text)" - ], - "csharp": [ - "public static void SplashKit.LabelElement(string text);" - ], - "pascal": [ - "procedure LabelElement(const text: String)" - ] + "python": ["def label_element(text):"], + "cpp": ["void label_element(const string &text)"], + "csharp": ["public static void SplashKit.LabelElement(string text);"], + "pascal": ["procedure LabelElement(const text: String)"] } }, { @@ -50723,9 +44291,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -50736,9 +44302,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50749,9 +44313,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def label_element_at_position(text, rect):" - ], + "python": ["def label_element_at_position(text, rect):"], "cpp": [ "void label_element(const string &text, const rectangle &rect)" ], @@ -50780,25 +44342,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def last_element_changed():" - ], - "cpp": [ - "bool last_element_changed()" - ], - "csharp": [ - "public static bool SplashKit.LastElementChanged();" - ], - "pascal": [ - "function LastElementChanged(): Boolean" - ] + "python": ["def last_element_changed():"], + "cpp": ["bool last_element_changed()"], + "csharp": ["public static bool SplashKit.LastElementChanged();"], + "pascal": ["function LastElementChanged(): Boolean"] } }, { @@ -50818,25 +44371,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def last_element_confirmed():" - ], - "cpp": [ - "bool last_element_confirmed()" - ], - "csharp": [ - "public static bool SplashKit.LastElementConfirmed();" - ], - "pascal": [ - "function LastElementConfirmed(): Boolean" - ] + "python": ["def last_element_confirmed():"], + "cpp": ["bool last_element_confirmed()"], + "csharp": ["public static bool SplashKit.LastElementConfirmed();"], + "pascal": ["function LastElementConfirmed(): Boolean"] } }, { @@ -50856,25 +44400,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def leave_column():" - ], - "cpp": [ - "void leave_column()" - ], - "csharp": [ - "public static void SplashKit.LeaveColumn();" - ], - "pascal": [ - "procedure LeaveColumn()" - ] + "python": ["def leave_column():"], + "cpp": ["void leave_column()"], + "csharp": ["public static void SplashKit.LeaveColumn();"], + "pascal": ["procedure LeaveColumn()"] } }, { @@ -50902,9 +44437,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -50915,9 +44448,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -50928,9 +44459,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -50941,9 +44470,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def number_box_at_position(value, step, rect):" - ], + "python": ["def number_box_at_position(value, step, rect):"], "cpp": [ "float number_box(const float &value, float step, const rectangle &rect)" ], @@ -50980,9 +44507,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -50993,9 +44518,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51005,12 +44528,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def number_box(value, step):" - ], - "cpp": [ - "float number_box(const float &value, float step)" - ], + "python": ["def number_box(value, step):"], + "cpp": ["float number_box(const float &value, float step)"], "csharp": [ "public static float SplashKit.NumberBox(float value, float step);" ], @@ -51044,9 +44563,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51057,9 +44574,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51070,9 +44585,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51083,9 +44596,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def number_box_labeled(label_text, value, step):" - ], + "python": ["def number_box_labeled(label_text, value, step):"], "cpp": [ "float number_box(const string &label_text, const float &value, float step)" ], @@ -51122,9 +44633,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51134,18 +44643,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def open_popup(name):" - ], - "cpp": [ - "void open_popup(const string &name)" - ], - "csharp": [ - "public static void SplashKit.OpenPopup(string name);" - ], - "pascal": [ - "procedure OpenPopup(const name: String)" - ] + "python": ["def open_popup(name):"], + "cpp": ["void open_popup(const string &name)"], + "csharp": ["public static void SplashKit.OpenPopup(string name);"], + "pascal": ["procedure OpenPopup(const name: String)"] } }, { @@ -51173,9 +44674,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51185,18 +44684,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def paragraph(text):" - ], - "cpp": [ - "void paragraph(const string &text)" - ], - "csharp": [ - "public static void SplashKit.Paragraph(string text);" - ], - "pascal": [ - "procedure Paragraph(const text: String)" - ] + "python": ["def paragraph(text):"], + "cpp": ["void paragraph(const string &text)"], + "csharp": ["public static void SplashKit.Paragraph(string text);"], + "pascal": ["procedure Paragraph(const text: String)"] } }, { @@ -51224,9 +44715,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51237,9 +44726,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51250,12 +44737,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def paragraph_at_position(text, rect):" - ], - "cpp": [ - "void paragraph(const string &text, const rectangle &rect)" - ], + "python": ["def paragraph_at_position(text, rect):"], + "cpp": ["void paragraph(const string &text, const rectangle &rect)"], "csharp": [ "public static void SplashKit.Paragraph(string text, Rectangle rect);" ], @@ -51281,25 +44764,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def reset_layout():" - ], - "cpp": [ - "void reset_layout()" - ], - "csharp": [ - "public static void SplashKit.ResetLayout();" - ], - "pascal": [ - "procedure ResetLayout()" - ] + "python": ["def reset_layout():"], + "cpp": ["void reset_layout()"], + "csharp": ["public static void SplashKit.ResetLayout();"], + "pascal": ["procedure ResetLayout()"] } }, { @@ -51327,9 +44801,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51340,9 +44812,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51352,12 +44822,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_accent_color(clr, contrast):" - ], - "cpp": [ - "void set_interface_accent_color(color clr, float contrast)" - ], + "python": ["def set_interface_accent_color(clr, contrast):"], + "cpp": ["void set_interface_accent_color(color clr, float contrast)"], "csharp": [ "public static void SplashKit.SetInterfaceAccentColor(Color clr, float contrast);" ], @@ -51391,9 +44857,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51403,18 +44867,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_border_color(clr):" - ], - "cpp": [ - "void set_interface_border_color(color clr)" - ], + "python": ["def set_interface_border_color(clr):"], + "cpp": ["void set_interface_border_color(color clr)"], "csharp": [ "public static void SplashKit.SetInterfaceBorderColor(Color clr);" ], - "pascal": [ - "procedure SetInterfaceBorderColor(clr: Color)" - ] + "pascal": ["procedure SetInterfaceBorderColor(clr: Color)"] } }, { @@ -51442,9 +44900,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51455,9 +44911,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51468,9 +44922,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51481,9 +44933,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51494,9 +44944,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51545,9 +44993,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51558,9 +45004,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51570,9 +45014,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_element_color(clr, contrast):" - ], + "python": ["def set_interface_element_color(clr, contrast):"], "cpp": [ "void set_interface_element_color(color clr, float contrast)" ], @@ -51609,9 +45051,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51622,9 +45062,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51635,9 +45073,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51647,9 +45083,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_element_shadows(radius, clr, offset):" - ], + "python": ["def set_interface_element_shadows(radius, clr, offset):"], "cpp": [ "void set_interface_element_shadows(int radius, color clr, point_2d offset)" ], @@ -51686,9 +45120,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51699,18 +45131,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_font_font_as_string(fnt):" - ], - "cpp": [ - "void set_interface_font(const string &fnt)" - ], + "python": ["def set_interface_font_font_as_string(fnt):"], + "cpp": ["void set_interface_font(const string &fnt)"], "csharp": [ "public static void SplashKit.SetInterfaceFont(string fnt);" ], - "pascal": [ - "procedure SetInterfaceFont(const fnt: String)" - ] + "pascal": ["procedure SetInterfaceFont(const fnt: String)"] } }, { @@ -51738,9 +45164,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51750,18 +45174,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_font(fnt):" - ], - "cpp": [ - "void set_interface_font(font fnt)" - ], + "python": ["def set_interface_font(fnt):"], + "cpp": ["void set_interface_font(font fnt)"], "csharp": [ "public static void SplashKit.SetInterfaceFont(Font fnt);" ], - "pascal": [ - "procedure SetInterfaceFont(fnt: Font)" - ] + "pascal": ["procedure SetInterfaceFont(fnt: Font)"] } }, { @@ -51789,9 +45207,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51801,18 +45217,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_font_size(size):" - ], - "cpp": [ - "void set_interface_font_size(int size)" - ], + "python": ["def set_interface_font_size(size):"], + "cpp": ["void set_interface_font_size(int size)"], "csharp": [ "public static void SplashKit.SetInterfaceFontSize(int size);" ], - "pascal": [ - "procedure SetInterfaceFontSize(size: Integer)" - ] + "pascal": ["procedure SetInterfaceFontSize(size: Integer)"] } }, { @@ -51840,9 +45250,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51852,18 +45260,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_label_width(width):" - ], - "cpp": [ - "void set_interface_label_width(int width)" - ], + "python": ["def set_interface_label_width(width):"], + "cpp": ["void set_interface_label_width(int width)"], "csharp": [ "public static void SplashKit.SetInterfaceLabelWidth(int width);" ], - "pascal": [ - "procedure SetInterfaceLabelWidth(width: Integer)" - ] + "pascal": ["procedure SetInterfaceLabelWidth(width: Integer)"] } }, { @@ -51891,9 +45293,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51904,9 +45304,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -51917,9 +45315,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51929,9 +45325,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_panel_shadows(radius, clr, offset):" - ], + "python": ["def set_interface_panel_shadows(radius, clr, offset):"], "cpp": [ "void set_interface_panel_shadows(int radius, color clr, point_2d offset)" ], @@ -51968,9 +45362,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -51980,18 +45372,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_root_text_color(clr):" - ], - "cpp": [ - "void set_interface_root_text_color(color clr)" - ], + "python": ["def set_interface_root_text_color(clr):"], + "cpp": ["void set_interface_root_text_color(color clr)"], "csharp": [ "public static void SplashKit.SetInterfaceRootTextColor(Color clr);" ], - "pascal": [ - "procedure SetInterfaceRootTextColor(clr: Color)" - ] + "pascal": ["procedure SetInterfaceRootTextColor(clr: Color)"] } }, { @@ -52019,9 +45405,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52032,9 +45416,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52045,9 +45427,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52057,9 +45437,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_shadows(radius, clr, offset):" - ], + "python": ["def set_interface_shadows(radius, clr, offset):"], "cpp": [ "void set_interface_shadows(int radius, color clr, point_2d offset)" ], @@ -52096,9 +45474,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52109,9 +45485,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52121,12 +45495,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_spacing(spacing, padding):" - ], - "cpp": [ - "void set_interface_spacing(int spacing, int padding)" - ], + "python": ["def set_interface_spacing(spacing, padding):"], + "cpp": ["void set_interface_spacing(int spacing, int padding)"], "csharp": [ "public static void SplashKit.SetInterfaceSpacing(int spacing, int padding);" ], @@ -52160,9 +45530,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52172,18 +45540,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_style(style):" - ], - "cpp": [ - "void set_interface_style(interface_style style)" - ], + "python": ["def set_interface_style(style):"], + "cpp": ["void set_interface_style(interface_style style)"], "csharp": [ "public static void SplashKit.SetInterfaceStyle(InterfaceStyle style);" ], - "pascal": [ - "procedure SetInterfaceStyle(style: InterfaceStyle)" - ] + "pascal": ["procedure SetInterfaceStyle(style: InterfaceStyle)"] } }, { @@ -52211,9 +45573,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52224,9 +45584,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52237,12 +45595,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_style_with_color(style, clr):" - ], - "cpp": [ - "void set_interface_style(interface_style style, color clr)" - ], + "python": ["def set_interface_style_with_color(style, clr):"], + "cpp": ["void set_interface_style(interface_style style, color clr)"], "csharp": [ "public static void SplashKit.SetInterfaceStyle(InterfaceStyle style, Color clr);" ], @@ -52276,9 +45630,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52288,18 +45640,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_interface_text_color(clr):" - ], - "cpp": [ - "void set_interface_text_color(color clr)" - ], + "python": ["def set_interface_text_color(clr):"], + "cpp": ["void set_interface_text_color(color clr)"], "csharp": [ "public static void SplashKit.SetInterfaceTextColor(Color clr);" ], - "pascal": [ - "procedure SetInterfaceTextColor(clr: Color)" - ] + "pascal": ["procedure SetInterfaceTextColor(clr: Color)"] } }, { @@ -52327,9 +45673,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52339,18 +45683,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def set_layout_height(height):" - ], - "cpp": [ - "void set_layout_height(int height)" - ], + "python": ["def set_layout_height(height):"], + "cpp": ["void set_layout_height(int height)"], "csharp": [ "public static void SplashKit.SetLayoutHeight(int height);" ], - "pascal": [ - "procedure SetLayoutHeight(height: Integer)" - ] + "pascal": ["procedure SetLayoutHeight(height: Integer)"] } }, { @@ -52370,25 +45708,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def single_line_layout():" - ], - "cpp": [ - "void single_line_layout()" - ], - "csharp": [ - "public static void SplashKit.SingleLineLayout();" - ], - "pascal": [ - "procedure SingleLineLayout()" - ] + "python": ["def single_line_layout():"], + "cpp": ["void single_line_layout()"], + "csharp": ["public static void SplashKit.SingleLineLayout();"], + "pascal": ["procedure SingleLineLayout()"] } }, { @@ -52416,9 +45745,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52429,9 +45756,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52442,9 +45767,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52455,9 +45778,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52507,9 +45828,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52520,9 +45839,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52533,9 +45850,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52545,9 +45860,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def slider(value, min_value, max_value):" - ], + "python": ["def slider(value, min_value, max_value):"], "cpp": [ "float slider(const float &value, float min_value, float max_value)" ], @@ -52584,9 +45897,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52597,9 +45908,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52610,9 +45919,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52623,9 +45930,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52675,9 +45980,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52687,18 +45990,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def split_into_columns(count):" - ], - "cpp": [ - "void split_into_columns(int count)" - ], + "python": ["def split_into_columns(count):"], + "cpp": ["void split_into_columns(int count)"], "csharp": [ "public static void SplashKit.SplitIntoColumns(int count);" ], - "pascal": [ - "procedure SplitIntoColumns(count: Integer)" - ] + "pascal": ["procedure SplitIntoColumns(count: Integer)"] } }, { @@ -52726,9 +46023,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52739,9 +46034,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52755,9 +46048,7 @@ "python": [ "def split_into_columns_with_last_width(count, last_width):" ], - "cpp": [ - "void split_into_columns(int count, int last_width)" - ], + "cpp": ["void split_into_columns(int count, int last_width)"], "csharp": [ "public static void SplashKit.SplitIntoColumns(int count, int lastWidth);" ], @@ -52791,9 +46082,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52804,9 +46093,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52848,25 +46135,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "interface", "static": "interface" }, "signatures": { - "python": [ - "def start_custom_layout():" - ], - "cpp": [ - "void start_custom_layout()" - ], - "csharp": [ - "public static void SplashKit.StartCustomLayout();" - ], - "pascal": [ - "procedure StartCustomLayout()" - ] + "python": ["def start_custom_layout():"], + "cpp": ["void start_custom_layout()"], + "csharp": ["public static void SplashKit.StartCustomLayout();"], + "pascal": ["procedure StartCustomLayout()"] } }, { @@ -52894,9 +46172,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52907,9 +46183,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52920,9 +46194,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def start_inset_at_position(name, rect):" - ], + "python": ["def start_inset_at_position(name, rect):"], "cpp": [ "void start_inset(const string &name, const rectangle &rect)" ], @@ -52959,9 +46231,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -52972,9 +46242,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -52984,12 +46252,8 @@ "static": "interface" }, "signatures": { - "python": [ - "def start_inset(name, height):" - ], - "cpp": [ - "void start_inset(const string &name, int height)" - ], + "python": ["def start_inset(name, height):"], + "cpp": ["void start_inset(const string &name, int height)"], "csharp": [ "public static void SplashKit.StartInset(string name, int height);" ], @@ -53023,9 +46287,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -53036,9 +46298,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53048,9 +46308,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def start_panel(name, initial_rectangle):" - ], + "python": ["def start_panel(name, initial_rectangle):"], "cpp": [ "bool start_panel(const string &name, rectangle initial_rectangle)" ], @@ -53087,9 +46345,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53099,18 +46355,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def start_popup(name):" - ], - "cpp": [ - "bool start_popup(const string &name)" - ], - "csharp": [ - "public static bool SplashKit.StartPopup(string name);" - ], - "pascal": [ - "function StartPopup(const name: String): Boolean" - ] + "python": ["def start_popup(name):"], + "cpp": ["bool start_popup(const string &name)"], + "csharp": ["public static bool SplashKit.StartPopup(string name);"], + "pascal": ["function StartPopup(const name: String): Boolean"] } }, { @@ -53138,9 +46386,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53150,18 +46396,12 @@ "static": "interface" }, "signatures": { - "python": [ - "def start_treenode(label_text):" - ], - "cpp": [ - "bool start_treenode(const string &label_text)" - ], + "python": ["def start_treenode(label_text):"], + "cpp": ["bool start_treenode(const string &label_text)"], "csharp": [ "public static bool SplashKit.StartTreenode(string labelText);" ], - "pascal": [ - "function StartTreenode(const labelText: String): Boolean" - ] + "pascal": ["function StartTreenode(const labelText: String): Boolean"] } }, { @@ -53189,9 +46429,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53201,18 +46439,10 @@ "static": "interface" }, "signatures": { - "python": [ - "def text_box(value):" - ], - "cpp": [ - "string text_box(const string &value)" - ], - "csharp": [ - "public static string SplashKit.TextBox(string value);" - ], - "pascal": [ - "function TextBox(const value: String): String" - ] + "python": ["def text_box(value):"], + "cpp": ["string text_box(const string &value)"], + "csharp": ["public static string SplashKit.TextBox(string value);"], + "pascal": ["function TextBox(const value: String): String"] } }, { @@ -53240,9 +46470,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -53253,9 +46481,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53266,9 +46492,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def text_box_at_position(value, rect):" - ], + "python": ["def text_box_at_position(value, rect):"], "cpp": [ "string text_box(const string &value, const rectangle &rect)" ], @@ -53305,9 +46529,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -53318,9 +46540,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53331,9 +46551,7 @@ "static": "interface" }, "signatures": { - "python": [ - "def text_box_labeled(label_text, value):" - ], + "python": ["def text_box_labeled(label_text, value):"], "cpp": [ "string text_box(const string &label_text, const string &value)" ], @@ -53346,18 +46564,10 @@ } } ], - "typedefs": [ - - ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "typedefs": [], + "structs": [], + "enums": [], + "defines": [] }, "json": { "brief": "SplashKit Json allows you to create and read JSON objects.", @@ -53380,8 +46590,7 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "class": "json", "constructor": true, @@ -53389,19 +46598,13 @@ "static": "json" }, "signatures": { - "python": [ - "def create_json():" - ], - "cpp": [ - "json create_json()" - ], + "python": ["def create_json():"], + "cpp": ["json create_json()"], "csharp": [ "public static Json SplashKit.CreateJson();", "public Json();" ], - "pascal": [ - "function CreateJson(): Json" - ] + "pascal": ["function CreateJson(): Json"] } }, { @@ -53429,9 +46632,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53444,19 +46645,13 @@ "static": "json" }, "signatures": { - "python": [ - "def create_json_from_string(json_string):" - ], - "cpp": [ - "json create_json(string json_string)" - ], + "python": ["def create_json_from_string(json_string):"], + "cpp": ["json create_json(string json_string)"], "csharp": [ "public static Json SplashKit.CreateJson(string jsonString);", "public Json(string jsonString);" ], - "pascal": [ - "function CreateJson(jsonString: String): Json" - ] + "pascal": ["function CreateJson(jsonString: String): Json"] } }, { @@ -53476,27 +46671,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "method": "free_all", "static": "json", "group": "json" }, "signatures": { - "python": [ - "def free_all_json():" - ], - "cpp": [ - "void free_all_json()" - ], + "python": ["def free_all_json():"], + "cpp": ["void free_all_json()"], "csharp": [ "public static void Json.FreeAll();", "public static void SplashKit.FreeAllJson();" ], - "pascal": [ - "procedure FreeAllJson()" - ] + "pascal": ["procedure FreeAllJson()"] } }, { @@ -53524,9 +46712,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53540,19 +46726,13 @@ "static": "json" }, "signatures": { - "python": [ - "def free_json(j):" - ], - "cpp": [ - "void free_json(json j)" - ], + "python": ["def free_json(j):"], + "cpp": ["void free_json(json j)"], "csharp": [ "public void Json.Free();", "public static void SplashKit.FreeJson(Json j);" ], - "pascal": [ - "procedure FreeJson(j: Json)" - ] + "pascal": ["procedure FreeJson(j: Json)"] } }, { @@ -53580,9 +46760,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53595,19 +46773,13 @@ "static": "json" }, "signatures": { - "python": [ - "def json_count_keys(j):" - ], - "cpp": [ - "int json_count_keys(json j)" - ], + "python": ["def json_count_keys(j):"], + "cpp": ["int json_count_keys(json j)"], "csharp": [ "public int Json.CountKeys();", "public static int SplashKit.JsonCountKeys(Json j);" ], - "pascal": [ - "function JsonCountKeys(j: Json): Integer" - ] + "pascal": ["function JsonCountKeys(j: Json): Integer"] } }, { @@ -53635,9 +46807,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53647,18 +46817,10 @@ "static": "json" }, "signatures": { - "python": [ - "def json_from_color(clr):" - ], - "cpp": [ - "json json_from_color(color clr)" - ], - "csharp": [ - "public static Json SplashKit.JsonFromColor(Color clr);" - ], - "pascal": [ - "function JsonFromColor(clr: Color): Json" - ] + "python": ["def json_from_color(clr):"], + "cpp": ["json json_from_color(color clr)"], + "csharp": ["public static Json SplashKit.JsonFromColor(Color clr);"], + "pascal": ["function JsonFromColor(clr: Color): Json"] } }, { @@ -53686,9 +46848,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53699,19 +46859,13 @@ "group": "json" }, "signatures": { - "python": [ - "def json_from_file(filename):" - ], - "cpp": [ - "json json_from_file(const string &filename)" - ], + "python": ["def json_from_file(filename):"], + "cpp": ["json json_from_file(const string &filename)"], "csharp": [ "public static Json Json.FromFile(string filename);", "public static Json SplashKit.JsonFromFile(string filename);" ], - "pascal": [ - "function JsonFromFile(const filename: String): Json" - ] + "pascal": ["function JsonFromFile(const filename: String): Json"] } }, { @@ -53739,9 +46893,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53752,19 +46904,13 @@ "group": "json" }, "signatures": { - "python": [ - "def json_from_string(j_string):" - ], - "cpp": [ - "json json_from_string(const string &j_string)" - ], + "python": ["def json_from_string(j_string):"], + "cpp": ["json json_from_string(const string &j_string)"], "csharp": [ "public static Json Json.FromJsonString(string jString);", "public static Json SplashKit.JsonFromString(string jString);" ], - "pascal": [ - "function JsonFromString(const jString: String): Json" - ] + "pascal": ["function JsonFromString(const jString: String): Json"] } }, { @@ -53792,9 +46938,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -53805,9 +46949,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -53820,19 +46962,13 @@ "static": "json" }, "signatures": { - "python": [ - "def json_has_key(j, key):" - ], - "cpp": [ - "bool json_has_key(json j, string key)" - ], + "python": ["def json_has_key(j, key):"], + "cpp": ["bool json_has_key(json j, string key)"], "csharp": [ "public bool Json.HasKey(string key);", "public static bool SplashKit.JsonHasKey(Json j, string key);" ], - "pascal": [ - "function JsonHasKey(j: Json; key: String): Boolean" - ] + "pascal": ["function JsonHasKey(j: Json; key: String): Boolean"] } }, { @@ -53860,9 +46996,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -53873,9 +47007,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -53886,9 +47018,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "double" } @@ -53902,9 +47032,7 @@ "static": "json" }, "signatures": { - "python": [ - "def json_read_array_of_double(j, key, out_result):" - ], + "python": ["def json_read_array_of_double(j, key, out_result):"], "cpp": [ "void json_read_array(json j, string key, vector &out_result)" ], @@ -53942,9 +47070,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -53955,9 +47081,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -53968,9 +47092,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "json" } @@ -53984,9 +47106,7 @@ "static": "json" }, "signatures": { - "python": [ - "def json_read_array_of_json(j, key, out_result):" - ], + "python": ["def json_read_array_of_json(j, key, out_result):"], "cpp": [ "void json_read_array(json j, string key, vector &out_result)" ], @@ -54024,9 +47144,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54037,9 +47155,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54050,9 +47166,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "string" } @@ -54066,9 +47180,7 @@ "static": "json" }, "signatures": { - "python": [ - "def json_read_array_of_string(j, key, out_result):" - ], + "python": ["def json_read_array_of_string(j, key, out_result):"], "cpp": [ "void json_read_array(json j, string key, vector &out_result)" ], @@ -54106,9 +47218,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54119,9 +47229,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54132,9 +47240,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "bool" } @@ -54148,9 +47254,7 @@ "static": "json" }, "signatures": { - "python": [ - "def json_read_array_of_bool(j, key, out_result):" - ], + "python": ["def json_read_array_of_bool(j, key, out_result):"], "cpp": [ "void json_read_array(json j, string key, vector &out_result)" ], @@ -54188,9 +47292,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54201,9 +47303,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -54216,19 +47316,13 @@ "static": "json" }, "signatures": { - "python": [ - "def json_read_bool(j, key):" - ], - "cpp": [ - "bool json_read_bool(json j, string key)" - ], + "python": ["def json_read_bool(j, key):"], + "cpp": ["bool json_read_bool(json j, string key)"], "csharp": [ "public bool Json.ReadBool(string key);", "public static bool SplashKit.JsonReadBool(Json j, string key);" ], - "pascal": [ - "function JsonReadBool(j: Json; key: String): Boolean" - ] + "pascal": ["function JsonReadBool(j: Json; key: String): Boolean"] } }, { @@ -54256,9 +47350,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54269,9 +47361,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -54284,19 +47374,13 @@ "static": "json" }, "signatures": { - "python": [ - "def json_read_number(j, key):" - ], - "cpp": [ - "float json_read_number(json j, string key)" - ], + "python": ["def json_read_number(j, key):"], + "cpp": ["float json_read_number(json j, string key)"], "csharp": [ "public float Json.ReadNumber(string key);", "public static float SplashKit.JsonReadNumber(Json j, string key);" ], - "pascal": [ - "function JsonReadNumber(j: Json; key: String): Single" - ] + "pascal": ["function JsonReadNumber(j: Json; key: String): Single"] } }, { @@ -54324,9 +47408,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54337,9 +47419,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -54352,12 +47432,8 @@ "static": "json" }, "signatures": { - "python": [ - "def json_read_number_as_double(j, key):" - ], - "cpp": [ - "double json_read_number_as_double(json j, string key)" - ], + "python": ["def json_read_number_as_double(j, key):"], + "cpp": ["double json_read_number_as_double(json j, string key)"], "csharp": [ "public double Json.ReadDouble(string key);", "public static double SplashKit.JsonReadNumberAsDouble(Json j, string key);" @@ -54392,9 +47468,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54405,9 +47479,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -54420,12 +47492,8 @@ "static": "json" }, "signatures": { - "python": [ - "def json_read_number_as_int(j, key):" - ], - "cpp": [ - "int json_read_number_as_int(json j, string key)" - ], + "python": ["def json_read_number_as_int(j, key):"], + "cpp": ["int json_read_number_as_int(json j, string key)"], "csharp": [ "public int Json.ReadInteger(string key);", "public static int SplashKit.JsonReadNumberAsInt(Json j, string key);" @@ -54460,9 +47528,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54473,9 +47539,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -54488,19 +47552,13 @@ "static": "json" }, "signatures": { - "python": [ - "def json_read_object(j, key):" - ], - "cpp": [ - "json json_read_object(json j, string key)" - ], + "python": ["def json_read_object(j, key):"], + "cpp": ["json json_read_object(json j, string key)"], "csharp": [ "public Json Json.ReadObject(string key);", "public static Json SplashKit.JsonReadObject(Json j, string key);" ], - "pascal": [ - "function JsonReadObject(j: Json; key: String): Json" - ] + "pascal": ["function JsonReadObject(j: Json; key: String): Json"] } }, { @@ -54528,9 +47586,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54541,9 +47597,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -54556,19 +47610,13 @@ "static": "json" }, "signatures": { - "python": [ - "def json_read_string(j, key):" - ], - "cpp": [ - "string json_read_string(json j, string key)" - ], + "python": ["def json_read_string(j, key):"], + "cpp": ["string json_read_string(json j, string key)"], "csharp": [ "public string Json.ReadString(string key);", "public static string SplashKit.JsonReadString(Json j, string key);" ], - "pascal": [ - "function JsonReadString(j: Json; key: String): String" - ] + "pascal": ["function JsonReadString(j: Json; key: String): String"] } }, { @@ -54596,9 +47644,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54609,9 +47655,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54622,9 +47666,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "string" } @@ -54638,9 +47680,7 @@ "static": "json" }, "signatures": { - "python": [ - "def json_set_array_of_string(j, key, value):" - ], + "python": ["def json_set_array_of_string(j, key, value):"], "cpp": [ "void json_set_array(json j, string key, vector value)" ], @@ -54678,9 +47718,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54691,9 +47729,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54704,9 +47740,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "double" } @@ -54720,9 +47754,7 @@ "static": "json" }, "signatures": { - "python": [ - "def json_set_array_of_double(j, key, value):" - ], + "python": ["def json_set_array_of_double(j, key, value):"], "cpp": [ "void json_set_array(json j, string key, vector value)" ], @@ -54760,9 +47792,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54773,9 +47803,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54786,9 +47814,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "bool" } @@ -54802,9 +47828,7 @@ "static": "json" }, "signatures": { - "python": [ - "def json_set_array_of_bool(j, key, value):" - ], + "python": ["def json_set_array_of_bool(j, key, value):"], "cpp": [ "void json_set_array(json j, string key, vector value)" ], @@ -54842,9 +47866,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54855,9 +47877,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54868,9 +47888,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "json" } @@ -54884,9 +47902,7 @@ "static": "json" }, "signatures": { - "python": [ - "def json_set_array_of_json(j, key, value):" - ], + "python": ["def json_set_array_of_json(j, key, value):"], "cpp": [ "void json_set_array(json j, string key, vector value)" ], @@ -54924,9 +47940,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54937,9 +47951,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -54950,9 +47962,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -54965,12 +47975,8 @@ "static": "json" }, "signatures": { - "python": [ - "def json_set_bool(j, key, value):" - ], - "cpp": [ - "void json_set_bool(json j, string key, bool value)" - ], + "python": ["def json_set_bool(j, key, value):"], + "cpp": ["void json_set_bool(json j, string key, bool value)"], "csharp": [ "public void Json.AddBool(string key, bool value);", "public static void SplashKit.JsonSetBool(Json j, string key, bool value);" @@ -55005,9 +48011,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55018,9 +48022,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55031,9 +48033,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55047,12 +48047,8 @@ "static": "json" }, "signatures": { - "python": [ - "def json_set_number_integer(j, key, value):" - ], - "cpp": [ - "void json_set_number(json j, string key, int value)" - ], + "python": ["def json_set_number_integer(j, key, value):"], + "cpp": ["void json_set_number(json j, string key, int value)"], "csharp": [ "public void Json.AddNumber(string key, int value);", "public static void SplashKit.JsonSetNumber(Json j, string key, int value);" @@ -55087,9 +48083,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55100,9 +48094,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55113,9 +48105,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55129,12 +48119,8 @@ "static": "json" }, "signatures": { - "python": [ - "def json_set_number_double(j, key, value):" - ], - "cpp": [ - "void json_set_number(json j, string key, double value)" - ], + "python": ["def json_set_number_double(j, key, value):"], + "cpp": ["void json_set_number(json j, string key, double value)"], "csharp": [ "public void Json.AddNumber(string key, double value);", "public static void SplashKit.JsonSetNumber(Json j, string key, double value);" @@ -55169,9 +48155,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55182,9 +48166,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55195,9 +48177,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55211,12 +48191,8 @@ "static": "json" }, "signatures": { - "python": [ - "def json_set_number_float(j, key, value):" - ], - "cpp": [ - "void json_set_number(json j, string key, float value)" - ], + "python": ["def json_set_number_float(j, key, value):"], + "cpp": ["void json_set_number(json j, string key, float value)"], "csharp": [ "public void Json.AddNumber(string key, float value);", "public static void SplashKit.JsonSetNumber(Json j, string key, float value);" @@ -55251,9 +48227,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55264,9 +48238,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55277,9 +48249,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55292,19 +48262,13 @@ "static": "json" }, "signatures": { - "python": [ - "def json_set_object(j, key, obj):" - ], - "cpp": [ - "void json_set_object(json j, string key, json obj)" - ], + "python": ["def json_set_object(j, key, obj):"], + "cpp": ["void json_set_object(json j, string key, json obj)"], "csharp": [ "public void Json.AddObject(string key, Json obj);", "public static void SplashKit.JsonSetObject(Json j, string key, Json obj);" ], - "pascal": [ - "procedure JsonSetObject(j: Json; key: String; obj: Json)" - ] + "pascal": ["procedure JsonSetObject(j: Json; key: String; obj: Json)"] } }, { @@ -55332,9 +48296,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55345,9 +48307,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55358,9 +48318,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55373,12 +48331,8 @@ "static": "json" }, "signatures": { - "python": [ - "def json_set_string(j, key, value):" - ], - "cpp": [ - "void json_set_string(json j, string key, string value)" - ], + "python": ["def json_set_string(j, key, value):"], + "cpp": ["void json_set_string(json j, string key, string value)"], "csharp": [ "public void Json.AddString(string key, string value);", "public static void SplashKit.JsonSetString(Json j, string key, string value);" @@ -55413,9 +48367,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55425,18 +48377,10 @@ "static": "json" }, "signatures": { - "python": [ - "def json_to_color(j):" - ], - "cpp": [ - "color json_to_color(json j)" - ], - "csharp": [ - "public static Color SplashKit.JsonToColor(Json j);" - ], - "pascal": [ - "function JsonToColor(j: Json): Color" - ] + "python": ["def json_to_color(j):"], + "cpp": ["color json_to_color(json j)"], + "csharp": ["public static Color SplashKit.JsonToColor(Json j);"], + "pascal": ["function JsonToColor(j: Json): Color"] } }, { @@ -55464,9 +48408,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55477,9 +48419,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55490,19 +48430,13 @@ "group": "json" }, "signatures": { - "python": [ - "def json_to_file(j, filename):" - ], - "cpp": [ - "void json_to_file(json j, const string &filename)" - ], + "python": ["def json_to_file(j, filename):"], + "cpp": ["void json_to_file(json j, const string &filename)"], "csharp": [ "public static void Json.ToFile(Json j, string filename);", "public static void SplashKit.JsonToFile(Json j, string filename);" ], - "pascal": [ - "procedure JsonToFile(j: Json; const filename: String)" - ] + "pascal": ["procedure JsonToFile(j: Json; const filename: String)"] } }, { @@ -55530,9 +48464,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55543,19 +48475,13 @@ "group": "json" }, "signatures": { - "python": [ - "def json_to_string(j):" - ], - "cpp": [ - "string json_to_string(json j)" - ], + "python": ["def json_to_string(j):"], + "cpp": ["string json_to_string(json j)"], "csharp": [ "public static string Json.ToJsonString(Json j);", "public static string SplashKit.JsonToString(Json j);" ], - "pascal": [ - "function JsonToString(j: Json): String" - ] + "pascal": ["function JsonToString(j: Json): String"] } } ], @@ -55577,15 +48503,9 @@ "new_identifier": null } ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "structs": [], + "enums": [], + "defines": [] }, "logging": { "brief": "SplashKit Logging facilitates streamlined logging with customizable severity levels and modes.", @@ -55608,25 +48528,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "logging", "static": "logging" }, "signatures": { - "python": [ - "def close_log_process():" - ], - "cpp": [ - "void close_log_process()" - ], - "csharp": [ - "public static void SplashKit.CloseLogProcess();" - ], - "pascal": [ - "procedure CloseLogProcess()" - ] + "python": ["def close_log_process():"], + "cpp": ["void close_log_process()"], + "csharp": ["public static void SplashKit.CloseLogProcess();"], + "pascal": ["procedure CloseLogProcess()"] } }, { @@ -55654,9 +48565,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55666,18 +48575,12 @@ "static": "logging" }, "signatures": { - "python": [ - "def init_custom_logger(mode):" - ], - "cpp": [ - "void init_custom_logger(log_mode mode)" - ], + "python": ["def init_custom_logger(mode):"], + "cpp": ["void init_custom_logger(log_mode mode)"], "csharp": [ "public static void SplashKit.InitCustomLogger(LogMode mode);" ], - "pascal": [ - "procedure InitCustomLogger(mode: LogMode)" - ] + "pascal": ["procedure InitCustomLogger(mode: LogMode)"] } }, { @@ -55705,9 +48608,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55718,9 +48619,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55731,9 +48630,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55783,9 +48680,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -55796,9 +48691,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55808,27 +48701,17 @@ "static": "logging" }, "signatures": { - "python": [ - "def log(level, message):" - ], - "cpp": [ - "void log(log_level level, string message)" - ], + "python": ["def log(level, message):"], + "cpp": ["void log(log_level level, string message)"], "csharp": [ "public static void SplashKit.Log(LogLevel level, string message);" ], - "pascal": [ - "procedure Log(level: LogLevel; message: String)" - ] + "pascal": ["procedure Log(level: LogLevel; message: String)"] } } ], - "typedefs": [ - - ], - "structs": [ - - ], + "typedefs": [], + "structs": [], "enums": [ { "signature": "enum log_level {NONE,INFO,DEBUG,WARNING,ERROR,FATAL};", @@ -55897,9 +48780,7 @@ } } ], - "defines": [ - - ] + "defines": [] }, "networking": { "brief": "SplashKit's network-related functions allow you to communicate data\nacross networks.", @@ -55922,25 +48803,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "networking", "static": "networking" }, "signatures": { - "python": [ - "def accept_all_new_connections():" - ], - "cpp": [ - "bool accept_all_new_connections()" - ], - "csharp": [ - "public static bool SplashKit.AcceptAllNewConnections();" - ], - "pascal": [ - "function AcceptAllNewConnections(): Boolean" - ] + "python": ["def accept_all_new_connections():"], + "cpp": ["bool accept_all_new_connections()"], + "csharp": ["public static bool SplashKit.AcceptAllNewConnections();"], + "pascal": ["function AcceptAllNewConnections(): Boolean"] } }, { @@ -55968,9 +48840,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -55983,12 +48853,8 @@ "self": "server" }, "signatures": { - "python": [ - "def accept_new_connection(server):" - ], - "cpp": [ - "bool accept_new_connection(server_socket server)" - ], + "python": ["def accept_new_connection(server):"], + "cpp": ["bool accept_new_connection(server_socket server)"], "csharp": [ "public bool ServerSocket.AcceptNewConnection();", "public static bool SplashKit.AcceptNewConnection(ServerSocket server);" @@ -56023,9 +48889,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -56036,9 +48900,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56051,9 +48913,7 @@ "static": "networking" }, "signatures": { - "python": [ - "def broadcast_message(a_msg, svr):" - ], + "python": ["def broadcast_message(a_msg, svr):"], "cpp": [ "void broadcast_message(const string &a_msg, server_socket svr)" ], @@ -56091,9 +48951,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56104,18 +48962,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def broadcast_message_to_all(a_msg):" - ], - "cpp": [ - "void broadcast_message(const string &a_msg)" - ], + "python": ["def broadcast_message_to_all(a_msg):"], + "cpp": ["void broadcast_message(const string &a_msg)"], "csharp": [ "public static void SplashKit.BroadcastMessage(string aMsg);" ], - "pascal": [ - "procedure BroadcastMessage(const aMsg: String)" - ] + "pascal": ["procedure BroadcastMessage(const aMsg: String)"] } }, { @@ -56143,9 +48995,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -56156,9 +49006,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56169,9 +49017,7 @@ "static": "networking" }, "signatures": { - "python": [ - "def broadcast_message_to_server_named(a_msg, name):" - ], + "python": ["def broadcast_message_to_server_named(a_msg, name):"], "cpp": [ "void broadcast_message(const string &a_msg, const string &name)" ], @@ -56200,25 +49046,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "networking", "static": "networking" }, "signatures": { - "python": [ - "def check_network_activity():" - ], - "cpp": [ - "void check_network_activity()" - ], - "csharp": [ - "public static void SplashKit.CheckNetworkActivity();" - ], - "pascal": [ - "procedure CheckNetworkActivity()" - ] + "python": ["def check_network_activity():"], + "cpp": ["void check_network_activity()"], + "csharp": ["public static void SplashKit.CheckNetworkActivity();"], + "pascal": ["procedure CheckNetworkActivity()"] } }, { @@ -56246,9 +49083,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56259,18 +49094,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def clear_messages_from_name(name):" - ], - "cpp": [ - "void clear_messages(const string &name)" - ], + "python": ["def clear_messages_from_name(name):"], + "cpp": ["void clear_messages(const string &name)"], "csharp": [ "public static void SplashKit.ClearMessages(string name);" ], - "pascal": [ - "procedure ClearMessages(const name: String)" - ] + "pascal": ["procedure ClearMessages(const name: String)"] } }, { @@ -56298,9 +49127,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56314,19 +49141,13 @@ "self": "a_connection" }, "signatures": { - "python": [ - "def clear_messages_from_connection(a_connection):" - ], - "cpp": [ - "void clear_messages(connection a_connection)" - ], + "python": ["def clear_messages_from_connection(a_connection):"], + "cpp": ["void clear_messages(connection a_connection)"], "csharp": [ "public void Connection.ClearMessages();", "public static void SplashKit.ClearMessages(Connection aConnection);" ], - "pascal": [ - "procedure ClearMessages(aConnection: Connection)" - ] + "pascal": ["procedure ClearMessages(aConnection: Connection)"] } }, { @@ -56354,9 +49175,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56370,19 +49189,13 @@ "self": "svr" }, "signatures": { - "python": [ - "def clear_messages_from_server(svr):" - ], - "cpp": [ - "void clear_messages(server_socket svr)" - ], + "python": ["def clear_messages_from_server(svr):"], + "cpp": ["void clear_messages(server_socket svr)"], "csharp": [ "public void ServerSocket.ClearMessages();", "public static void SplashKit.ClearMessages(ServerSocket svr);" ], - "pascal": [ - "procedure ClearMessages(svr: ServerSocket)" - ] + "pascal": ["procedure ClearMessages(svr: ServerSocket)"] } }, { @@ -56402,25 +49215,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "networking", "static": "networking" }, "signatures": { - "python": [ - "def close_all_connections():" - ], - "cpp": [ - "void close_all_connections()" - ], - "csharp": [ - "public static void SplashKit.CloseAllConnections();" - ], - "pascal": [ - "procedure CloseAllConnections()" - ] + "python": ["def close_all_connections():"], + "cpp": ["void close_all_connections()"], + "csharp": ["public static void SplashKit.CloseAllConnections();"], + "pascal": ["procedure CloseAllConnections()"] } }, { @@ -56440,25 +49244,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "networking", "static": "networking" }, "signatures": { - "python": [ - "def close_all_servers():" - ], - "cpp": [ - "void close_all_servers()" - ], - "csharp": [ - "public static void SplashKit.CloseAllServers();" - ], - "pascal": [ - "procedure CloseAllServers()" - ] + "python": ["def close_all_servers():"], + "cpp": ["void close_all_servers()"], + "csharp": ["public static void SplashKit.CloseAllServers();"], + "pascal": ["procedure CloseAllServers()"] } }, { @@ -56486,9 +49281,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56502,12 +49295,8 @@ "self": "a_connection" }, "signatures": { - "python": [ - "def close_connection(a_connection):" - ], - "cpp": [ - "bool close_connection(connection a_connection)" - ], + "python": ["def close_connection(a_connection):"], + "cpp": ["bool close_connection(connection a_connection)"], "csharp": [ "public bool Connection.Close();", "public static bool SplashKit.CloseConnection(Connection aConnection);" @@ -56542,9 +49331,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56555,18 +49342,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def close_connection_named(name):" - ], - "cpp": [ - "bool close_connection(const string &name)" - ], + "python": ["def close_connection_named(name):"], + "cpp": ["bool close_connection(const string &name)"], "csharp": [ "public static bool SplashKit.CloseConnection(string name);" ], - "pascal": [ - "function CloseConnection(const name: String): Boolean" - ] + "pascal": ["function CloseConnection(const name: String): Boolean"] } }, { @@ -56594,9 +49375,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56610,19 +49389,13 @@ "self": "msg" }, "signatures": { - "python": [ - "def close_message(msg):" - ], - "cpp": [ - "void close_message(message msg)" - ], + "python": ["def close_message(msg):"], + "cpp": ["void close_message(message msg)"], "csharp": [ "public void Message.Close();", "public static void SplashKit.CloseMessage(Message msg);" ], - "pascal": [ - "procedure CloseMessage(msg: Message)" - ] + "pascal": ["procedure CloseMessage(msg: Message)"] } }, { @@ -56650,9 +49423,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56663,18 +49434,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def close_server_named(name):" - ], - "cpp": [ - "bool close_server(const string &name)" - ], - "csharp": [ - "public static bool SplashKit.CloseServer(string name);" - ], - "pascal": [ - "function CloseServer(const name: String): Boolean" - ] + "python": ["def close_server_named(name):"], + "cpp": ["bool close_server(const string &name)"], + "csharp": ["public static bool SplashKit.CloseServer(string name);"], + "pascal": ["function CloseServer(const name: String): Boolean"] } }, { @@ -56702,9 +49465,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56718,19 +49479,13 @@ "self": "svr" }, "signatures": { - "python": [ - "def close_server(svr):" - ], - "cpp": [ - "bool close_server(server_socket svr)" - ], + "python": ["def close_server(svr):"], + "cpp": ["bool close_server(server_socket svr)"], "csharp": [ "public bool ServerSocket.Close();", "public static bool SplashKit.CloseServer(ServerSocket svr);" ], - "pascal": [ - "function CloseServer(svr: ServerSocket): Boolean" - ] + "pascal": ["function CloseServer(svr: ServerSocket): Boolean"] } }, { @@ -56758,9 +49513,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56771,18 +49524,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def connection_count_named(name):" - ], - "cpp": [ - "unsigned int connection_count(const string &name)" - ], + "python": ["def connection_count_named(name):"], + "cpp": ["unsigned int connection_count(const string &name)"], "csharp": [ "public static uint SplashKit.ConnectionCount(string name);" ], - "pascal": [ - "function ConnectionCount(const name: String): Cardinal" - ] + "pascal": ["function ConnectionCount(const name: String): Cardinal"] } }, { @@ -56810,9 +49557,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56825,19 +49570,13 @@ "self": "server" }, "signatures": { - "python": [ - "def connection_count(server):" - ], - "cpp": [ - "unsigned int connection_count(server_socket server)" - ], + "python": ["def connection_count(server):"], + "cpp": ["unsigned int connection_count(server_socket server)"], "csharp": [ "public uint ServerSocket.ConnectionCount { get }", "public static uint SplashKit.ConnectionCount(ServerSocket server);" ], - "pascal": [ - "function ConnectionCount(server: ServerSocket): Cardinal" - ] + "pascal": ["function ConnectionCount(server: ServerSocket): Cardinal"] } }, { @@ -56865,9 +49604,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56880,19 +49617,13 @@ "self": "a_connection" }, "signatures": { - "python": [ - "def connection_ip(a_connection):" - ], - "cpp": [ - "unsigned int connection_ip(connection a_connection)" - ], + "python": ["def connection_ip(a_connection):"], + "cpp": ["unsigned int connection_ip(connection a_connection)"], "csharp": [ "public uint Connection.IP { get }", "public static uint SplashKit.ConnectionIP(Connection aConnection);" ], - "pascal": [ - "function ConnectionIP(aConnection: Connection): Cardinal" - ] + "pascal": ["function ConnectionIP(aConnection: Connection): Cardinal"] } }, { @@ -56920,9 +49651,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56933,18 +49662,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def connection_ip_from_name(name):" - ], - "cpp": [ - "unsigned int connection_ip(const string &name)" - ], - "csharp": [ - "public static uint SplashKit.ConnectionIP(string name);" - ], - "pascal": [ - "function ConnectionIP(const name: String): Cardinal" - ] + "python": ["def connection_ip_from_name(name):"], + "cpp": ["unsigned int connection_ip(const string &name)"], + "csharp": ["public static uint SplashKit.ConnectionIP(string name);"], + "pascal": ["function ConnectionIP(const name: String): Cardinal"] } }, { @@ -56972,9 +49693,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -56984,18 +49703,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def connection_named(name):" - ], - "cpp": [ - "connection connection_named(const string &name)" - ], + "python": ["def connection_named(name):"], + "cpp": ["connection connection_named(const string &name)"], "csharp": [ "public static Connection SplashKit.ConnectionNamed(string name);" ], - "pascal": [ - "function ConnectionNamed(const name: String): Connection" - ] + "pascal": ["function ConnectionNamed(const name: String): Connection"] } }, { @@ -57023,9 +49736,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57038,19 +49749,13 @@ "self": "a_connection" }, "signatures": { - "python": [ - "def connection_port(a_connection):" - ], - "cpp": [ - "unsigned short connection_port(connection a_connection)" - ], + "python": ["def connection_port(a_connection):"], + "cpp": ["unsigned short connection_port(connection a_connection)"], "csharp": [ "public ushort Connection.Port { get }", "public static ushort SplashKit.ConnectionPort(Connection aConnection);" ], - "pascal": [ - "function ConnectionPort(aConnection: Connection): Word" - ] + "pascal": ["function ConnectionPort(aConnection: Connection): Word"] } }, { @@ -57078,9 +49783,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57091,18 +49794,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def connection_port_from_name(name):" - ], - "cpp": [ - "unsigned short connection_port(const string &name)" - ], + "python": ["def connection_port_from_name(name):"], + "cpp": ["unsigned short connection_port(const string &name)"], "csharp": [ "public static ushort SplashKit.ConnectionPort(string name);" ], - "pascal": [ - "function ConnectionPort(const name: String): Word" - ] + "pascal": ["function ConnectionPort(const name: String): Word"] } }, { @@ -57130,9 +49827,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -57143,9 +49838,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57158,9 +49851,7 @@ "static": "networking" }, "signatures": { - "python": [ - "def create_server_with_port(name, port):" - ], + "python": ["def create_server_with_port(name, port):"], "cpp": [ "server_socket create_server(const string &name, unsigned short port)" ], @@ -57198,9 +49889,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -57211,9 +49900,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -57224,9 +49911,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57279,9 +49964,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57291,18 +49974,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def dec_to_hex(a_dec):" - ], - "cpp": [ - "string dec_to_hex(unsigned int a_dec)" - ], - "csharp": [ - "public static string SplashKit.DecToHex(uint aDec);" - ], - "pascal": [ - "function DecToHex(aDec: Cardinal): String" - ] + "python": ["def dec_to_hex(a_dec):"], + "cpp": ["string dec_to_hex(unsigned int a_dec)"], + "csharp": ["public static string SplashKit.DecToHex(uint aDec);"], + "pascal": ["function DecToHex(aDec: Cardinal): String"] } }, { @@ -57330,9 +50005,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57342,18 +50015,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def dec_to_ipv4(ip):" - ], - "cpp": [ - "string dec_to_ipv4(unsigned int ip)" - ], - "csharp": [ - "public static string SplashKit.DecToIpv4(uint ip);" - ], - "pascal": [ - "function DecToIpv4(ip: Cardinal): String" - ] + "python": ["def dec_to_ipv4(ip):"], + "cpp": ["string dec_to_ipv4(unsigned int ip)"], + "csharp": ["public static string SplashKit.DecToIpv4(uint ip);"], + "pascal": ["function DecToIpv4(ip: Cardinal): String"] } }, { @@ -57381,9 +50046,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57396,12 +50059,8 @@ "self": "server" }, "signatures": { - "python": [ - "def fetch_new_connection(server):" - ], - "cpp": [ - "connection fetch_new_connection(server_socket server)" - ], + "python": ["def fetch_new_connection(server):"], + "cpp": ["connection fetch_new_connection(server_socket server)"], "csharp": [ "public Connection ServerSocket.FetchNewConnection();", "public static Connection SplashKit.FetchNewConnection(ServerSocket server);" @@ -57436,9 +50095,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57448,18 +50105,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def has_connection(name):" - ], - "cpp": [ - "bool has_connection(const string &name)" - ], + "python": ["def has_connection(name):"], + "cpp": ["bool has_connection(const string &name)"], "csharp": [ "public static bool SplashKit.HasConnection(string name);" ], - "pascal": [ - "function HasConnection(const name: String): Boolean" - ] + "pascal": ["function HasConnection(const name: String): Boolean"] } }, { @@ -57479,27 +50130,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "has_messages", "group": "networking", "static": "networking" }, "signatures": { - "python": [ - "def has_messages():" - ], - "cpp": [ - "bool has_messages()" - ], + "python": ["def has_messages():"], + "cpp": ["bool has_messages()"], "csharp": [ "public static bool Networking.HasMessages { get }", "public static bool SplashKit.HasMessages();" ], - "pascal": [ - "function HasMessages(): Boolean" - ] + "pascal": ["function HasMessages(): Boolean"] } }, { @@ -57527,9 +50171,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57543,19 +50185,13 @@ "self": "con" }, "signatures": { - "python": [ - "def has_messages_on_connection(con):" - ], - "cpp": [ - "bool has_messages(connection con)" - ], + "python": ["def has_messages_on_connection(con):"], + "cpp": ["bool has_messages(connection con)"], "csharp": [ "public bool Connection.HasMessages { get }", "public static bool SplashKit.HasMessages(Connection con);" ], - "pascal": [ - "function HasMessages(con: Connection): Boolean" - ] + "pascal": ["function HasMessages(con: Connection): Boolean"] } }, { @@ -57583,9 +50219,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57596,18 +50230,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def has_messages_on_name(name):" - ], - "cpp": [ - "bool has_messages(const string &name)" - ], - "csharp": [ - "public static bool SplashKit.HasMessages(string name);" - ], - "pascal": [ - "function HasMessages(const name: String): Boolean" - ] + "python": ["def has_messages_on_name(name):"], + "cpp": ["bool has_messages(const string &name)"], + "csharp": ["public static bool SplashKit.HasMessages(string name);"], + "pascal": ["function HasMessages(const name: String): Boolean"] } }, { @@ -57635,9 +50261,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57651,19 +50275,13 @@ "self": "svr" }, "signatures": { - "python": [ - "def has_messages_on_server(svr):" - ], - "cpp": [ - "bool has_messages(server_socket svr)" - ], + "python": ["def has_messages_on_server(svr):"], + "cpp": ["bool has_messages(server_socket svr)"], "csharp": [ "public bool ServerSocket.HasMessages { get }", "public static bool SplashKit.HasMessages(ServerSocket svr);" ], - "pascal": [ - "function HasMessages(svr: ServerSocket): Boolean" - ] + "pascal": ["function HasMessages(svr: ServerSocket): Boolean"] } }, { @@ -57683,25 +50301,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "networking", "static": "networking" }, "signatures": { - "python": [ - "def has_new_connections():" - ], - "cpp": [ - "bool has_new_connections()" - ], - "csharp": [ - "public static bool SplashKit.HasNewConnections();" - ], - "pascal": [ - "function HasNewConnections(): Boolean" - ] + "python": ["def has_new_connections():"], + "cpp": ["bool has_new_connections()"], + "csharp": ["public static bool SplashKit.HasNewConnections();"], + "pascal": ["function HasNewConnections(): Boolean"] } }, { @@ -57729,9 +50338,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57741,18 +50348,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def has_server(name):" - ], - "cpp": [ - "bool has_server(const string &name)" - ], - "csharp": [ - "public static bool SplashKit.HasServer(string name);" - ], - "pascal": [ - "function HasServer(const name: String): Boolean" - ] + "python": ["def has_server(name):"], + "cpp": ["bool has_server(const string &name)"], + "csharp": ["public static bool SplashKit.HasServer(string name);"], + "pascal": ["function HasServer(const name: String): Boolean"] } }, { @@ -57780,9 +50379,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57792,18 +50389,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def hex_str_to_ipv4(a_hex):" - ], - "cpp": [ - "string hex_str_to_ipv4(const string &a_hex)" - ], + "python": ["def hex_str_to_ipv4(a_hex):"], + "cpp": ["string hex_str_to_ipv4(const string &a_hex)"], "csharp": [ "public static string SplashKit.HexStrToIpv4(string aHex);" ], - "pascal": [ - "function HexStrToIpv4(const aHex: String): String" - ] + "pascal": ["function HexStrToIpv4(const aHex: String): String"] } }, { @@ -57831,9 +50422,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57843,18 +50432,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def hex_to_dec_string(a_hex):" - ], - "cpp": [ - "string hex_to_dec_string(const string &a_hex)" - ], + "python": ["def hex_to_dec_string(a_hex):"], + "cpp": ["string hex_to_dec_string(const string &a_hex)"], "csharp": [ "public static string SplashKit.HexToDecString(string aHex);" ], - "pascal": [ - "function HexToDecString(const aHex: String): String" - ] + "pascal": ["function HexToDecString(const aHex: String): String"] } }, { @@ -57882,9 +50465,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57894,18 +50475,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def hex_to_mac(hex_str):" - ], - "cpp": [ - "string hex_to_mac(const string &hex_str)" - ], - "csharp": [ - "public static string SplashKit.HexToMac(string hexStr);" - ], - "pascal": [ - "function HexToMac(const hexStr: String): String" - ] + "python": ["def hex_to_mac(hex_str):"], + "cpp": ["string hex_to_mac(const string &hex_str)"], + "csharp": ["public static string SplashKit.HexToMac(string hexStr);"], + "pascal": ["function HexToMac(const hexStr: String): String"] } }, { @@ -57933,9 +50506,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57945,18 +50516,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def ipv4_to_dec(a_ip):" - ], - "cpp": [ - "unsigned int ipv4_to_dec(const string &a_ip)" - ], - "csharp": [ - "public static uint SplashKit.Ipv4ToDec(string aIP);" - ], - "pascal": [ - "function Ipv4ToDec(const aIP: String): Cardinal" - ] + "python": ["def ipv4_to_dec(a_ip):"], + "cpp": ["unsigned int ipv4_to_dec(const string &a_ip)"], + "csharp": ["public static uint SplashKit.Ipv4ToDec(string aIP);"], + "pascal": ["function Ipv4ToDec(const aIP: String): Cardinal"] } }, { @@ -57984,9 +50547,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -57996,18 +50557,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def ipv4_to_hex(a_ip):" - ], - "cpp": [ - "string ipv4_to_hex(const string &a_ip)" - ], - "csharp": [ - "public static string SplashKit.Ipv4ToHex(string aIP);" - ], - "pascal": [ - "function Ipv4ToHex(const aIP: String): String" - ] + "python": ["def ipv4_to_hex(a_ip):"], + "cpp": ["string ipv4_to_hex(const string &a_ip)"], + "csharp": ["public static string SplashKit.Ipv4ToHex(string aIP);"], + "pascal": ["function Ipv4ToHex(const aIP: String): String"] } }, { @@ -58035,9 +50588,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58050,19 +50601,13 @@ "self": "con" }, "signatures": { - "python": [ - "def is_connection_open(con):" - ], - "cpp": [ - "bool is_connection_open(connection con)" - ], + "python": ["def is_connection_open(con):"], + "cpp": ["bool is_connection_open(connection con)"], "csharp": [ "public bool Connection.IsOpen { get }", "public static bool SplashKit.IsConnectionOpen(Connection con);" ], - "pascal": [ - "function IsConnectionOpen(con: Connection): Boolean" - ] + "pascal": ["function IsConnectionOpen(con: Connection): Boolean"] } }, { @@ -58090,9 +50635,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58103,18 +50646,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def is_connection_open_from_name(name):" - ], - "cpp": [ - "bool is_connection_open(const string &name)" - ], + "python": ["def is_connection_open_from_name(name):"], + "cpp": ["bool is_connection_open(const string &name)"], "csharp": [ "public static bool SplashKit.IsConnectionOpen(string name);" ], - "pascal": [ - "function IsConnectionOpen(const name: String): Boolean" - ] + "pascal": ["function IsConnectionOpen(const name: String): Boolean"] } }, { @@ -58142,9 +50679,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58154,18 +50689,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def is_valid_ipv4(ip):" - ], - "cpp": [ - "bool is_valid_ipv4(const string &ip)" - ], - "csharp": [ - "public static bool SplashKit.IsValidIpv4(string ip);" - ], - "pascal": [ - "function IsValidIpv4(const ip: String): Boolean" - ] + "python": ["def is_valid_ipv4(ip):"], + "cpp": ["bool is_valid_ipv4(const string &ip)"], + "csharp": ["public static bool SplashKit.IsValidIpv4(string ip);"], + "pascal": ["function IsValidIpv4(const ip: String): Boolean"] } }, { @@ -58193,9 +50720,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58205,18 +50730,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def is_valid_mac(mac_address):" - ], - "cpp": [ - "bool is_valid_mac(const string &mac_address)" - ], + "python": ["def is_valid_mac(mac_address):"], + "cpp": ["bool is_valid_mac(const string &mac_address)"], "csharp": [ "public static bool SplashKit.IsValidMac(string macAddress);" ], - "pascal": [ - "function IsValidMac(const macAddress: String): Boolean" - ] + "pascal": ["function IsValidMac(const macAddress: String): Boolean"] } }, { @@ -58244,9 +50763,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58257,18 +50774,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def last_connection_named(name):" - ], - "cpp": [ - "connection last_connection(const string &name)" - ], + "python": ["def last_connection_named(name):"], + "cpp": ["connection last_connection(const string &name)"], "csharp": [ "public static Connection SplashKit.LastConnection(string name);" ], - "pascal": [ - "function LastConnection(const name: String): Connection" - ] + "pascal": ["function LastConnection(const name: String): Connection"] } }, { @@ -58296,9 +50807,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58311,12 +50820,8 @@ "self": "server" }, "signatures": { - "python": [ - "def last_connection(server):" - ], - "cpp": [ - "connection last_connection(server_socket server)" - ], + "python": ["def last_connection(server):"], + "cpp": ["connection last_connection(server_socket server)"], "csharp": [ "public Connection ServerSocket.LastConnection { get }", "public static Connection SplashKit.LastConnection(ServerSocket server);" @@ -58351,9 +50856,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58363,18 +50866,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def mac_to_hex(mac_address):" - ], - "cpp": [ - "string mac_to_hex(const string &mac_address)" - ], + "python": ["def mac_to_hex(mac_address):"], + "cpp": ["string mac_to_hex(const string &mac_address)"], "csharp": [ "public static string SplashKit.MacToHex(string macAddress);" ], - "pascal": [ - "function MacToHex(const macAddress: String): String" - ] + "pascal": ["function MacToHex(const macAddress: String): String"] } }, { @@ -58402,9 +50899,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58414,18 +50909,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def message_connection(msg):" - ], - "cpp": [ - "connection message_connection(message msg)" - ], + "python": ["def message_connection(msg):"], + "cpp": ["connection message_connection(message msg)"], "csharp": [ "public static Connection SplashKit.MessageConnection(Message msg);" ], - "pascal": [ - "function MessageConnection(msg: Message): Connection" - ] + "pascal": ["function MessageConnection(msg: Message): Connection"] } }, { @@ -58453,9 +50942,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58469,19 +50956,13 @@ "self": "svr" }, "signatures": { - "python": [ - "def message_count_on_server(svr):" - ], - "cpp": [ - "unsigned int message_count(server_socket svr)" - ], + "python": ["def message_count_on_server(svr):"], + "cpp": ["unsigned int message_count(server_socket svr)"], "csharp": [ "public uint ServerSocket.MessageCount { get }", "public static uint SplashKit.MessageCount(ServerSocket svr);" ], - "pascal": [ - "function MessageCount(svr: ServerSocket): Cardinal" - ] + "pascal": ["function MessageCount(svr: ServerSocket): Cardinal"] } }, { @@ -58509,9 +50990,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58525,19 +51004,13 @@ "self": "a_connection" }, "signatures": { - "python": [ - "def message_count_on_connection(a_connection):" - ], - "cpp": [ - "unsigned int message_count(connection a_connection)" - ], + "python": ["def message_count_on_connection(a_connection):"], + "cpp": ["unsigned int message_count(connection a_connection)"], "csharp": [ "public uint Connection.MessageCount { get }", "public static uint SplashKit.MessageCount(Connection aConnection);" ], - "pascal": [ - "function MessageCount(aConnection: Connection): Cardinal" - ] + "pascal": ["function MessageCount(aConnection: Connection): Cardinal"] } }, { @@ -58565,9 +51038,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58578,18 +51049,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def message_count_from_name(name):" - ], - "cpp": [ - "unsigned int message_count(const string &name)" - ], - "csharp": [ - "public static uint SplashKit.MessageCount(string name);" - ], - "pascal": [ - "function MessageCount(const name: String): Cardinal" - ] + "python": ["def message_count_from_name(name):"], + "cpp": ["unsigned int message_count(const string &name)"], + "csharp": ["public static uint SplashKit.MessageCount(string name);"], + "pascal": ["function MessageCount(const name: String): Cardinal"] } }, { @@ -58617,9 +51080,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58632,19 +51093,13 @@ "self": "msg" }, "signatures": { - "python": [ - "def message_data(msg):" - ], - "cpp": [ - "string message_data(message msg)" - ], + "python": ["def message_data(msg):"], + "cpp": ["string message_data(message msg)"], "csharp": [ "public string Message.Data { get }", "public static string SplashKit.MessageData(Message msg);" ], - "pascal": [ - "function MessageData(msg: Message): String" - ] + "pascal": ["function MessageData(msg: Message): String"] } }, { @@ -58672,9 +51127,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58687,19 +51140,13 @@ "self": "msg" }, "signatures": { - "python": [ - "def message_data_bytes(msg):" - ], - "cpp": [ - "vector message_data_bytes(message msg)" - ], + "python": ["def message_data_bytes(msg):"], + "cpp": ["vector message_data_bytes(message msg)"], "csharp": [ "public List Message.DataBytes { get }", "public static List SplashKit.MessageDataBytes(Message msg);" ], - "pascal": [ - "function MessageDataBytes(msg: Message): ArrayOfChar" - ] + "pascal": ["function MessageDataBytes(msg: Message): ArrayOfChar"] } }, { @@ -58727,9 +51174,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58742,19 +51187,13 @@ "self": "msg" }, "signatures": { - "python": [ - "def message_host(msg):" - ], - "cpp": [ - "string message_host(message msg)" - ], + "python": ["def message_host(msg):"], + "cpp": ["string message_host(message msg)"], "csharp": [ "public string Message.Host { get }", "public static string SplashKit.MessageHost(Message msg);" ], - "pascal": [ - "function MessageHost(msg: Message): String" - ] + "pascal": ["function MessageHost(msg: Message): String"] } }, { @@ -58782,9 +51221,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58797,19 +51234,13 @@ "self": "msg" }, "signatures": { - "python": [ - "def message_port(msg):" - ], - "cpp": [ - "unsigned short message_port(message msg)" - ], + "python": ["def message_port(msg):"], + "cpp": ["unsigned short message_port(message msg)"], "csharp": [ "public ushort Message.Port { get }", "public static ushort SplashKit.MessagePort(Message msg);" ], - "pascal": [ - "function MessagePort(msg: Message): Word" - ] + "pascal": ["function MessagePort(msg: Message): Word"] } }, { @@ -58837,9 +51268,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58852,19 +51281,13 @@ "self": "msg" }, "signatures": { - "python": [ - "def message_protocol(msg):" - ], - "cpp": [ - "connection_type message_protocol(message msg)" - ], + "python": ["def message_protocol(msg):"], + "cpp": ["connection_type message_protocol(message msg)"], "csharp": [ "public ConnectionType Message.Protocol { get }", "public static ConnectionType SplashKit.MessageProtocol(Message msg);" ], - "pascal": [ - "function MessageProtocol(msg: Message): ConnectionType" - ] + "pascal": ["function MessageProtocol(msg: Message): ConnectionType"] } }, { @@ -58884,25 +51307,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "networking", "static": "networking" }, "signatures": { - "python": [ - "def my_ip():" - ], - "cpp": [ - "string my_ip()" - ], - "csharp": [ - "public static string SplashKit.MyIP();" - ], - "pascal": [ - "function MyIP(): String" - ] + "python": ["def my_ip():"], + "cpp": ["string my_ip()"], + "csharp": ["public static string SplashKit.MyIP();"], + "pascal": ["function MyIP(): String"] } }, { @@ -58930,9 +51344,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -58943,9 +51355,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -58955,9 +51365,7 @@ "static": "networking" }, "signatures": { - "python": [ - "def name_for_connection(host, port):" - ], + "python": ["def name_for_connection(host, port):"], "cpp": [ "string name_for_connection(const string host, const unsigned int port)" ], @@ -58994,9 +51402,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59009,12 +51415,8 @@ "self": "server" }, "signatures": { - "python": [ - "def new_connection_count(server):" - ], - "cpp": [ - "int new_connection_count(server_socket server)" - ], + "python": ["def new_connection_count(server):"], + "cpp": ["int new_connection_count(server_socket server)"], "csharp": [ "public int ServerSocket.NewConnectionCount { get }", "public static int SplashKit.NewConnectionCount(ServerSocket server);" @@ -59049,9 +51451,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -59062,9 +51462,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -59075,9 +51473,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59089,9 +51485,7 @@ "static": "networking" }, "signatures": { - "python": [ - "def open_connection(name, host, port):" - ], + "python": ["def open_connection(name, host, port):"], "cpp": [ "connection open_connection(const string &name, const string &host, unsigned short port)" ], @@ -59129,9 +51523,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -59142,9 +51534,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -59155,9 +51545,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -59168,9 +51556,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59215,25 +51601,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "networking", "static": "networking" }, "signatures": { - "python": [ - "def read_message():" - ], - "cpp": [ - "message read_message()" - ], - "csharp": [ - "public static Message SplashKit.ReadMessage();" - ], - "pascal": [ - "function ReadMessage(): Message" - ] + "python": ["def read_message():"], + "cpp": ["message read_message()"], + "csharp": ["public static Message SplashKit.ReadMessage();"], + "pascal": ["function ReadMessage(): Message"] } }, { @@ -59261,9 +51638,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59277,19 +51652,13 @@ "self": "a_connection" }, "signatures": { - "python": [ - "def read_message_from_connection(a_connection):" - ], - "cpp": [ - "message read_message(connection a_connection)" - ], + "python": ["def read_message_from_connection(a_connection):"], + "cpp": ["message read_message(connection a_connection)"], "csharp": [ "public Message Connection.ReadMessage();", "public static Message SplashKit.ReadMessage(Connection aConnection);" ], - "pascal": [ - "function ReadMessage(aConnection: Connection): Message" - ] + "pascal": ["function ReadMessage(aConnection: Connection): Message"] } }, { @@ -59317,9 +51686,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59330,18 +51697,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def read_message_from_name(name):" - ], - "cpp": [ - "message read_message(const string &name)" - ], + "python": ["def read_message_from_name(name):"], + "cpp": ["message read_message(const string &name)"], "csharp": [ "public static Message SplashKit.ReadMessage(string name);" ], - "pascal": [ - "function ReadMessage(const name: String): Message" - ] + "pascal": ["function ReadMessage(const name: String): Message"] } }, { @@ -59369,9 +51730,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59385,19 +51744,13 @@ "self": "svr" }, "signatures": { - "python": [ - "def read_message_from_server(svr):" - ], - "cpp": [ - "message read_message(server_socket svr)" - ], + "python": ["def read_message_from_server(svr):"], + "cpp": ["message read_message(server_socket svr)"], "csharp": [ "public Message ServerSocket.ReadMessage();", "public static Message SplashKit.ReadMessage(ServerSocket svr);" ], - "pascal": [ - "function ReadMessage(svr: ServerSocket): Message" - ] + "pascal": ["function ReadMessage(svr: ServerSocket): Message"] } }, { @@ -59425,9 +51778,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59438,18 +51789,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def read_message_data_from_name(name):" - ], - "cpp": [ - "string read_message_data(const string &name)" - ], + "python": ["def read_message_data_from_name(name):"], + "cpp": ["string read_message_data(const string &name)"], "csharp": [ "public static string SplashKit.ReadMessageData(string name);" ], - "pascal": [ - "function ReadMessageData(const name: String): String" - ] + "pascal": ["function ReadMessageData(const name: String): String"] } }, { @@ -59477,9 +51822,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59493,12 +51836,8 @@ "self": "a_connection" }, "signatures": { - "python": [ - "def read_message_data_from_connection(a_connection):" - ], - "cpp": [ - "string read_message_data(connection a_connection)" - ], + "python": ["def read_message_data_from_connection(a_connection):"], + "cpp": ["string read_message_data(connection a_connection)"], "csharp": [ "public string Connection.ReadMessageData();", "public static string SplashKit.ReadMessageData(Connection aConnection);" @@ -59533,9 +51872,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59549,19 +51886,13 @@ "self": "svr" }, "signatures": { - "python": [ - "def read_message_data_from_server(svr):" - ], - "cpp": [ - "string read_message_data(server_socket svr)" - ], + "python": ["def read_message_data_from_server(svr):"], + "cpp": ["string read_message_data(server_socket svr)"], "csharp": [ "public string ServerSocket.ReadMessageData();", "public static string SplashKit.ReadMessageData(ServerSocket svr);" ], - "pascal": [ - "function ReadMessageData(svr: ServerSocket): String" - ] + "pascal": ["function ReadMessageData(svr: ServerSocket): String"] } }, { @@ -59589,9 +51920,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59604,19 +51933,13 @@ "self": "a_connection" }, "signatures": { - "python": [ - "def reconnect(a_connection):" - ], - "cpp": [ - "void reconnect(connection a_connection)" - ], + "python": ["def reconnect(a_connection):"], + "cpp": ["void reconnect(connection a_connection)"], "csharp": [ "public void Connection.Reconnect();", "public static void SplashKit.Reconnect(Connection aConnection);" ], - "pascal": [ - "procedure Reconnect(aConnection: Connection)" - ] + "pascal": ["procedure Reconnect(aConnection: Connection)"] } }, { @@ -59644,9 +51967,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59657,18 +51978,10 @@ "static": "networking" }, "signatures": { - "python": [ - "def reconnect_from_name(name):" - ], - "cpp": [ - "void reconnect(const string &name)" - ], - "csharp": [ - "public static void SplashKit.Reconnect(string name);" - ], - "pascal": [ - "procedure Reconnect(const name: String)" - ] + "python": ["def reconnect_from_name(name):"], + "cpp": ["void reconnect(const string &name)"], + "csharp": ["public static void SplashKit.Reconnect(string name);"], + "pascal": ["procedure Reconnect(const name: String)"] } }, { @@ -59688,25 +52001,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "networking", "static": "networking" }, "signatures": { - "python": [ - "def release_all_connections():" - ], - "cpp": [ - "void release_all_connections()" - ], - "csharp": [ - "public static void SplashKit.ReleaseAllConnections();" - ], - "pascal": [ - "procedure ReleaseAllConnections()" - ] + "python": ["def release_all_connections():"], + "cpp": ["void release_all_connections()"], + "csharp": ["public static void SplashKit.ReleaseAllConnections();"], + "pascal": ["procedure ReleaseAllConnections()"] } }, { @@ -59734,9 +52038,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59749,19 +52051,13 @@ "self": "server" }, "signatures": { - "python": [ - "def reset_new_connection_count(server):" - ], - "cpp": [ - "void reset_new_connection_count(server_socket server)" - ], + "python": ["def reset_new_connection_count(server):"], + "cpp": ["void reset_new_connection_count(server_socket server)"], "csharp": [ "public void ServerSocket.ResetNewConnectionCount();", "public static void SplashKit.ResetNewConnectionCount(ServerSocket server);" ], - "pascal": [ - "procedure ResetNewConnectionCount(server: ServerSocket)" - ] + "pascal": ["procedure ResetNewConnectionCount(server: ServerSocket)"] } }, { @@ -59789,9 +52085,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -59802,9 +52096,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59815,9 +52107,7 @@ "static": "networking" }, "signatures": { - "python": [ - "def retrieve_connection_named(name, idx):" - ], + "python": ["def retrieve_connection_named(name, idx):"], "cpp": [ "connection retrieve_connection(const string &name, int idx)" ], @@ -59854,9 +52144,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -59867,9 +52155,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59882,9 +52168,7 @@ "self": "server" }, "signatures": { - "python": [ - "def retrieve_connection(server, idx):" - ], + "python": ["def retrieve_connection(server, idx):"], "cpp": [ "connection retrieve_connection(server_socket server, int idx)" ], @@ -59922,9 +52206,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -59935,9 +52217,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -59951,9 +52231,7 @@ "static": "networking" }, "signatures": { - "python": [ - "def send_message_to_connection(a_msg, a_connection):" - ], + "python": ["def send_message_to_connection(a_msg, a_connection):"], "cpp": [ "bool send_message_to(const string &a_msg, connection a_connection)" ], @@ -59991,9 +52269,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60004,9 +52280,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60017,9 +52291,7 @@ "static": "networking" }, "signatures": { - "python": [ - "def send_message_to_name(a_msg, name):" - ], + "python": ["def send_message_to_name(a_msg, name):"], "cpp": [ "bool send_message_to(const string &a_msg, const string &name)" ], @@ -60056,9 +52328,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60069,12 +52339,8 @@ "static": "networking" }, "signatures": { - "python": [ - "def server_has_new_connection_named(name):" - ], - "cpp": [ - "bool server_has_new_connection(const string &name)" - ], + "python": ["def server_has_new_connection_named(name):"], + "cpp": ["bool server_has_new_connection(const string &name)"], "csharp": [ "public static bool SplashKit.ServerHasNewConnection(string name);" ], @@ -60108,9 +52374,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60123,12 +52387,8 @@ "self": "server" }, "signatures": { - "python": [ - "def server_has_new_connection(server):" - ], - "cpp": [ - "bool server_has_new_connection(server_socket server)" - ], + "python": ["def server_has_new_connection(server):"], + "cpp": ["bool server_has_new_connection(server_socket server)"], "csharp": [ "public bool ServerSocket.HasNewConnections { get }", "public static bool SplashKit.ServerHasNewConnection(ServerSocket server);" @@ -60163,9 +52423,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60175,18 +52433,12 @@ "static": "networking" }, "signatures": { - "python": [ - "def server_named(name):" - ], - "cpp": [ - "server_socket server_named(const string &name)" - ], + "python": ["def server_named(name):"], + "cpp": ["server_socket server_named(const string &name)"], "csharp": [ "public static ServerSocket SplashKit.ServerNamed(string name);" ], - "pascal": [ - "function ServerNamed(const name: String): ServerSocket" - ] + "pascal": ["function ServerNamed(const name: String): ServerSocket"] } }, { @@ -60214,9 +52466,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60227,19 +52477,13 @@ "static": "networking" }, "signatures": { - "python": [ - "def set_udp_packet_size(udp_packet_size):" - ], - "cpp": [ - "void set_udp_packet_size(unsigned int udp_packet_size)" - ], + "python": ["def set_udp_packet_size(udp_packet_size):"], + "cpp": ["void set_udp_packet_size(unsigned int udp_packet_size)"], "csharp": [ "public static void Networking.UDPPacketSize { set }", "public static void SplashKit.SetUDPPacketSize(uint udpPacketSize);" ], - "pascal": [ - "procedure SetUDPPacketSize(udpPacketSize: Cardinal)" - ] + "pascal": ["procedure SetUDPPacketSize(udpPacketSize: Cardinal)"] } }, { @@ -60259,27 +52503,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "udp_packet_size", "group": "networking", "static": "networking" }, "signatures": { - "python": [ - "def udp_packet_size():" - ], - "cpp": [ - "unsigned int udp_packet_size()" - ], + "python": ["def udp_packet_size():"], + "cpp": ["unsigned int udp_packet_size()"], "csharp": [ "public static uint Networking.UDPPacketSize { get }", "public static uint SplashKit.UDPPacketSize();" ], - "pascal": [ - "function UDPPacketSize(): Cardinal" - ] + "pascal": ["function UDPPacketSize(): Cardinal"] } }, { @@ -60307,9 +52544,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60320,9 +52555,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60333,9 +52566,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60344,9 +52575,7 @@ "group": "networking" }, "signatures": { - "python": [ - "def download_bitmap(name, url, port):" - ], + "python": ["def download_bitmap(name, url, port):"], "cpp": [ "bitmap download_bitmap(const string &name, const string &url, unsigned short port)" ], @@ -60383,9 +52612,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60396,9 +52623,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60409,9 +52634,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60420,9 +52643,7 @@ "group": "networking" }, "signatures": { - "python": [ - "def download_font(name, url, port):" - ], + "python": ["def download_font(name, url, port):"], "cpp": [ "font download_font(const string &name, const string &url, unsigned short port)" ], @@ -60459,9 +52680,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60472,9 +52691,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60485,9 +52702,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60496,9 +52711,7 @@ "group": "networking" }, "signatures": { - "python": [ - "def download_music(name, url, port):" - ], + "python": ["def download_music(name, url, port):"], "cpp": [ "music download_music(const string &name, const string &url, unsigned short port)" ], @@ -60535,9 +52748,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60548,9 +52759,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60561,9 +52770,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60572,9 +52779,7 @@ "group": "networking" }, "signatures": { - "python": [ - "def download_sound_effect(name, url, port):" - ], + "python": ["def download_sound_effect(name, url, port):"], "cpp": [ "sound_effect download_sound_effect(const string &name, const string &url, unsigned short port)" ], @@ -60611,9 +52816,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60626,19 +52829,13 @@ "self": "response" }, "signatures": { - "python": [ - "def free_response(response):" - ], - "cpp": [ - "void free_response(http_response response)" - ], + "python": ["def free_response(response):"], + "cpp": ["void free_response(http_response response)"], "csharp": [ "public void HttpResponse.Free();", "public static void SplashKit.FreeResponse(HttpResponse response);" ], - "pascal": [ - "procedure FreeResponse(response: HttpResponse)" - ] + "pascal": ["procedure FreeResponse(response: HttpResponse)"] } }, { @@ -60666,9 +52863,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60679,9 +52874,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60690,9 +52883,7 @@ "group": "networking" }, "signatures": { - "python": [ - "def http_get(url, port):" - ], + "python": ["def http_get(url, port):"], "cpp": [ "http_response http_get(const string &url, unsigned short port)" ], @@ -60729,9 +52920,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60742,9 +52931,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60755,9 +52942,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60768,9 +52953,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "string" } @@ -60780,9 +52963,7 @@ "group": "networking" }, "signatures": { - "python": [ - "def http_post_with_headers(url, port, body, headers):" - ], + "python": ["def http_post_with_headers(url, port, body, headers):"], "cpp": [ "http_response http_post(const string &url, unsigned short port, const string &body, const vector &headers)" ], @@ -60819,9 +53000,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60832,9 +53011,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60845,9 +53022,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60856,9 +53031,7 @@ "group": "networking" }, "signatures": { - "python": [ - "def http_post(url, port, body):" - ], + "python": ["def http_post(url, port, body):"], "cpp": [ "http_response http_post(const string &url, unsigned short port, string body)" ], @@ -60895,9 +53068,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60906,12 +53077,8 @@ "group": "networking" }, "signatures": { - "python": [ - "def http_response_to_string(response):" - ], - "cpp": [ - "string http_response_to_string(http_response response)" - ], + "python": ["def http_response_to_string(response):"], + "cpp": ["string http_response_to_string(http_response response)"], "csharp": [ "public static string SplashKit.HttpResponseToString(HttpResponse response);" ], @@ -60945,9 +53112,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -60958,9 +53123,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -60969,9 +53132,7 @@ "group": "networking" }, "signatures": { - "python": [ - "def save_response_to_file(response, path):" - ], + "python": ["def save_response_to_file(response, path):"], "cpp": [ "void save_response_to_file(http_response response, string path)" ], @@ -61008,9 +53169,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61023,19 +53182,13 @@ "static": "web_server" }, "signatures": { - "python": [ - "def has_incoming_requests(server):" - ], - "cpp": [ - "bool has_incoming_requests(web_server server)" - ], + "python": ["def has_incoming_requests(server):"], + "cpp": ["bool has_incoming_requests(web_server server)"], "csharp": [ "public bool WebServer.HasIncomingRequests { get }", "public static bool SplashKit.HasIncomingRequests(WebServer server);" ], - "pascal": [ - "function HasIncomingRequests(server: WebServer): Boolean" - ] + "pascal": ["function HasIncomingRequests(server: WebServer): Boolean"] } }, { @@ -61063,9 +53216,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -61076,9 +53227,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61091,9 +53240,7 @@ "self": "request" }, "signatures": { - "python": [ - "def is_delete_request_for(request, path):" - ], + "python": ["def is_delete_request_for(request, path):"], "cpp": [ "bool is_delete_request_for(http_request request, const string &path)" ], @@ -61131,9 +53278,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -61144,9 +53289,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61159,9 +53302,7 @@ "self": "request" }, "signatures": { - "python": [ - "def is_get_request_for(request, path):" - ], + "python": ["def is_get_request_for(request, path):"], "cpp": [ "bool is_get_request_for(http_request request, const string &path)" ], @@ -61199,9 +53340,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -61212,9 +53351,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61227,9 +53364,7 @@ "self": "request" }, "signatures": { - "python": [ - "def is_options_request_for(request, path):" - ], + "python": ["def is_options_request_for(request, path):"], "cpp": [ "bool is_options_request_for(http_request request, const string &path)" ], @@ -61267,9 +53402,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -61280,9 +53413,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61295,9 +53426,7 @@ "self": "request" }, "signatures": { - "python": [ - "def is_post_request_for(request, path):" - ], + "python": ["def is_post_request_for(request, path):"], "cpp": [ "bool is_post_request_for(http_request request, const string &path)" ], @@ -61335,9 +53464,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -61348,9 +53475,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61363,9 +53488,7 @@ "self": "request" }, "signatures": { - "python": [ - "def is_put_request_for(request, path):" - ], + "python": ["def is_put_request_for(request, path):"], "cpp": [ "bool is_put_request_for(http_request request, const string &path)" ], @@ -61403,9 +53526,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -61416,9 +53537,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -61429,9 +53548,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61444,9 +53561,7 @@ "self": "request" }, "signatures": { - "python": [ - "def is_request_for(request, method, path):" - ], + "python": ["def is_request_for(request, method, path):"], "cpp": [ "bool is_request_for(http_request request, http_method method, const string &path)" ], @@ -61484,9 +53599,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -61497,9 +53610,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61512,9 +53623,7 @@ "self": "request" }, "signatures": { - "python": [ - "def is_trace_request_for(request, path):" - ], + "python": ["def is_trace_request_for(request, path):"], "cpp": [ "bool is_trace_request_for(http_request request, const string &path)" ], @@ -61552,9 +53661,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61567,19 +53674,13 @@ "static": "web_server" }, "signatures": { - "python": [ - "def next_web_request(server):" - ], - "cpp": [ - "http_request next_web_request(web_server server)" - ], + "python": ["def next_web_request(server):"], + "cpp": ["http_request next_web_request(web_server server)"], "csharp": [ "public HttpRequest WebServer.NextWebRequest { get }", "public static HttpRequest SplashKit.NextWebRequest(WebServer server);" ], - "pascal": [ - "function NextWebRequest(server: WebServer): HttpRequest" - ] + "pascal": ["function NextWebRequest(server: WebServer): HttpRequest"] } }, { @@ -61607,9 +53708,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61622,19 +53721,13 @@ "self": "r" }, "signatures": { - "python": [ - "def request_body(r):" - ], - "cpp": [ - "string request_body(http_request r)" - ], + "python": ["def request_body(r):"], + "cpp": ["string request_body(http_request r)"], "csharp": [ "public string HttpRequest.Body { get }", "public static string SplashKit.RequestBody(HttpRequest r);" ], - "pascal": [ - "function RequestBody(r: HttpRequest): String" - ] + "pascal": ["function RequestBody(r: HttpRequest): String"] } }, { @@ -61662,9 +53755,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -61675,9 +53766,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61690,9 +53779,7 @@ "self": "r" }, "signatures": { - "python": [ - "def request_has_query_parameter(r, name):" - ], + "python": ["def request_has_query_parameter(r, name):"], "cpp": [ "bool request_has_query_parameter(http_request r, const string &name)" ], @@ -61730,9 +53817,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61745,19 +53830,13 @@ "self": "r" }, "signatures": { - "python": [ - "def request_headers(r):" - ], - "cpp": [ - "vector request_headers(http_request r)" - ], + "python": ["def request_headers(r):"], + "cpp": ["vector request_headers(http_request r)"], "csharp": [ "public List HttpRequest.Headers { get }", "public static List SplashKit.RequestHeaders(HttpRequest r);" ], - "pascal": [ - "function RequestHeaders(r: HttpRequest): ArrayOfString" - ] + "pascal": ["function RequestHeaders(r: HttpRequest): ArrayOfString"] } }, { @@ -61785,9 +53864,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61800,19 +53877,13 @@ "self": "r" }, "signatures": { - "python": [ - "def request_method(r):" - ], - "cpp": [ - "http_method request_method(http_request r)" - ], + "python": ["def request_method(r):"], + "cpp": ["http_method request_method(http_request r)"], "csharp": [ "public HttpMethod HttpRequest.Method { get }", "public static HttpMethod SplashKit.RequestMethod(HttpRequest r);" ], - "pascal": [ - "function RequestMethod(r: HttpRequest): HttpMethod" - ] + "pascal": ["function RequestMethod(r: HttpRequest): HttpMethod"] } }, { @@ -61840,9 +53911,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -61853,9 +53922,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -61866,9 +53933,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61881,9 +53946,7 @@ "self": "r" }, "signatures": { - "python": [ - "def request_query_parameter(r, name, default_value):" - ], + "python": ["def request_query_parameter(r, name, default_value):"], "cpp": [ "string request_query_parameter(http_request r, const string &name, const string &default_value)" ], @@ -61921,9 +53984,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61936,19 +53997,13 @@ "self": "r" }, "signatures": { - "python": [ - "def request_query_string(r):" - ], - "cpp": [ - "string request_query_string(http_request r)" - ], + "python": ["def request_query_string(r):"], + "cpp": ["string request_query_string(http_request r)"], "csharp": [ "public string HttpRequest.QueryString { get }", "public static string SplashKit.RequestQueryString(HttpRequest r);" ], - "pascal": [ - "function RequestQueryString(r: HttpRequest): String" - ] + "pascal": ["function RequestQueryString(r: HttpRequest): String"] } }, { @@ -61976,9 +54031,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -61991,19 +54044,13 @@ "self": "r" }, "signatures": { - "python": [ - "def request_uri(r):" - ], - "cpp": [ - "string request_uri(http_request r)" - ], + "python": ["def request_uri(r):"], + "cpp": ["string request_uri(http_request r)"], "csharp": [ "public string HttpRequest.URI { get }", "public static string SplashKit.RequestURI(HttpRequest r);" ], - "pascal": [ - "function RequestURI(r: HttpRequest): String" - ] + "pascal": ["function RequestURI(r: HttpRequest): String"] } }, { @@ -62031,9 +54078,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62046,19 +54091,13 @@ "self": "r" }, "signatures": { - "python": [ - "def request_uri_stubs(r):" - ], - "cpp": [ - "vector request_uri_stubs(http_request r)" - ], + "python": ["def request_uri_stubs(r):"], + "cpp": ["vector request_uri_stubs(http_request r)"], "csharp": [ "public List HttpRequest.URIStubs { get }", "public static List SplashKit.RequestURIStubs(HttpRequest r);" ], - "pascal": [ - "function RequestURIStubs(r: HttpRequest): ArrayOfString" - ] + "pascal": ["function RequestURIStubs(r: HttpRequest): ArrayOfString"] } }, { @@ -62086,9 +54125,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62099,9 +54136,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62114,9 +54149,7 @@ "self": "r" }, "signatures": { - "python": [ - "def send_css_file_response(r, filename):" - ], + "python": ["def send_css_file_response(r, filename):"], "cpp": [ "void send_css_file_response(http_request r, const string &filename)" ], @@ -62154,9 +54187,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62167,9 +54198,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62180,9 +54209,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62195,9 +54222,7 @@ "self": "r" }, "signatures": { - "python": [ - "def send_file_response(r, filename, content_type):" - ], + "python": ["def send_file_response(r, filename, content_type):"], "cpp": [ "void send_file_response(http_request r, const string &filename, const string &content_type)" ], @@ -62235,9 +54260,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62248,9 +54271,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62263,9 +54284,7 @@ "self": "r" }, "signatures": { - "python": [ - "def send_html_file_response(r, filename):" - ], + "python": ["def send_html_file_response(r, filename):"], "cpp": [ "void send_html_file_response(http_request r, const string &filename)" ], @@ -62303,9 +54322,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62316,9 +54333,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62331,9 +54346,7 @@ "self": "r" }, "signatures": { - "python": [ - "def send_javascript_file_response(r, filename):" - ], + "python": ["def send_javascript_file_response(r, filename):"], "cpp": [ "void send_javascript_file_response(http_request r, const string &filename)" ], @@ -62371,9 +54384,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62387,19 +54398,13 @@ "static": "web_server" }, "signatures": { - "python": [ - "def send_response_empty(r):" - ], - "cpp": [ - "void send_response(http_request r)" - ], + "python": ["def send_response_empty(r):"], + "cpp": ["void send_response(http_request r)"], "csharp": [ "public void HttpRequest.SendResponse();", "public static void SplashKit.SendResponse(HttpRequest r);" ], - "pascal": [ - "procedure SendResponse(r: HttpRequest)" - ] + "pascal": ["procedure SendResponse(r: HttpRequest)"] } }, { @@ -62427,9 +54432,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62440,9 +54443,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62455,12 +54456,8 @@ "self": "r" }, "signatures": { - "python": [ - "def send_response(r, message):" - ], - "cpp": [ - "void send_response(http_request r, const string &message)" - ], + "python": ["def send_response(r, message):"], + "cpp": ["void send_response(http_request r, const string &message)"], "csharp": [ "public void HttpRequest.SendResponse(string message);", "public static void SplashKit.SendResponse(HttpRequest r, string message);" @@ -62495,9 +54492,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62508,9 +54503,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62524,12 +54517,8 @@ "static": "web_server" }, "signatures": { - "python": [ - "def send_response_json_with_status(r, code):" - ], - "cpp": [ - "void send_response(http_request r, http_status_code code)" - ], + "python": ["def send_response_json_with_status(r, code):"], + "cpp": ["void send_response(http_request r, http_status_code code)"], "csharp": [ "public void HttpRequest.SendResponse(HttpStatusCode code);", "public static void SplashKit.SendResponse(HttpRequest r, HttpStatusCode code);" @@ -62564,9 +54553,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62577,9 +54564,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62590,9 +54575,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62606,9 +54589,7 @@ "static": "web_server" }, "signatures": { - "python": [ - "def send_response_with_status(r, code, message):" - ], + "python": ["def send_response_with_status(r, code, message):"], "cpp": [ "void send_response(http_request r, http_status_code code, const string &message)" ], @@ -62646,9 +54627,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62659,9 +54638,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62672,9 +54649,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62685,9 +54660,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62741,9 +54714,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62754,9 +54725,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62767,9 +54736,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62780,9 +54747,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62793,9 +54758,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": true, "type_parameter": "string" } @@ -62849,9 +54812,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -62862,9 +54823,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62878,19 +54837,13 @@ "self": "r" }, "signatures": { - "python": [ - "def send_response_json(r, j):" - ], - "cpp": [ - "void send_response(http_request r, json j)" - ], + "python": ["def send_response_json(r, j):"], + "cpp": ["void send_response(http_request r, json j)"], "csharp": [ "public void HttpRequest.SendResponse(Json j);", "public static void SplashKit.SendResponse(HttpRequest r, Json j);" ], - "pascal": [ - "procedure SendResponse(r: HttpRequest; j: Json)" - ] + "pascal": ["procedure SendResponse(r: HttpRequest; j: Json)"] } }, { @@ -62918,9 +54871,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -62930,18 +54881,12 @@ "static": "web_server" }, "signatures": { - "python": [ - "def split_uri_stubs(uri):" - ], - "cpp": [ - "vector split_uri_stubs(const string &uri)" - ], + "python": ["def split_uri_stubs(uri):"], + "cpp": ["vector split_uri_stubs(const string &uri)"], "csharp": [ "public static List SplashKit.SplitURIStubs(string uri);" ], - "pascal": [ - "function SplitURIStubs(const uri: String): ArrayOfString" - ] + "pascal": ["function SplitURIStubs(const uri: String): ArrayOfString"] } }, { @@ -62961,8 +54906,7 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "class": "web_server", "constructor": true, @@ -62971,19 +54915,13 @@ "static": "web_server" }, "signatures": { - "python": [ - "def start_web_server_with_default_port():" - ], - "cpp": [ - "web_server start_web_server()" - ], + "python": ["def start_web_server_with_default_port():"], + "cpp": ["web_server start_web_server()"], "csharp": [ "public static WebServer SplashKit.StartWebServer();", "public WebServer();" ], - "pascal": [ - "function StartWebServer(): WebServer" - ] + "pascal": ["function StartWebServer(): WebServer"] } }, { @@ -63011,9 +54949,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -63025,19 +54961,13 @@ "static": "web_server" }, "signatures": { - "python": [ - "def start_web_server(port):" - ], - "cpp": [ - "web_server start_web_server(unsigned short port)" - ], + "python": ["def start_web_server(port):"], + "cpp": ["web_server start_web_server(unsigned short port)"], "csharp": [ "public static WebServer SplashKit.StartWebServer(ushort port);", "public WebServer(ushort port);" ], - "pascal": [ - "function StartWebServer(port: Word): WebServer" - ] + "pascal": ["function StartWebServer(port: Word): WebServer"] } }, { @@ -63065,9 +54995,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -63081,19 +55009,13 @@ "static": "web_server" }, "signatures": { - "python": [ - "def stop_web_server(server):" - ], - "cpp": [ - "void stop_web_server(web_server server)" - ], + "python": ["def stop_web_server(server):"], + "cpp": ["void stop_web_server(web_server server)"], "csharp": [ "public void WebServer.Stop();", "public static void SplashKit.StopWebServer(WebServer server);" ], - "pascal": [ - "procedure StopWebServer(server: WebServer)" - ] + "pascal": ["procedure StopWebServer(server: WebServer)"] } } ], @@ -63195,9 +55117,7 @@ "new_identifier": null } ], - "structs": [ - - ], + "structs": [], "enums": [ { "signature": "enum connection_type {TCP,UDP,UNKNOWN};", @@ -63266,9 +55186,7 @@ } } ], - "defines": [ - - ] + "defines": [] }, "physics": { "brief": "SplashKit Collisions library allow you to perform tests between\nbitmaps, sprites and shapes to determin if a collision has occured.Provides matrix functions to work on 2d coordinates.Provides vector functions to work on vectors.", @@ -63299,9 +55217,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63312,9 +55228,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63325,9 +55239,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -63341,9 +55253,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_circle_collision_at_point(bmp, pt, circ):" - ], + "python": ["def bitmap_circle_collision_at_point(bmp, pt, circ):"], "cpp": [ "bool bitmap_circle_collision(bitmap bmp, const point_2d &pt, const circle &circ)" ], @@ -63381,9 +55291,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63394,9 +55302,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63407,9 +55313,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63420,9 +55324,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -63435,9 +55337,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_circle_collision(bmp, x, y, circ):" - ], + "python": ["def bitmap_circle_collision(bmp, x, y, circ):"], "cpp": [ "bool bitmap_circle_collision(bitmap bmp, double x, double y, const circle &circ)" ], @@ -63475,9 +55375,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63488,9 +55386,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63501,9 +55397,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63514,9 +55408,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -63570,9 +55462,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63583,9 +55473,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63596,9 +55484,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63609,9 +55495,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -63665,9 +55549,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63678,9 +55560,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63691,9 +55571,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63704,9 +55582,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63717,9 +55593,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -63773,9 +55647,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63786,9 +55658,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63799,9 +55669,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63812,9 +55680,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63825,9 +55691,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63838,9 +55702,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -63853,9 +55715,7 @@ "self": "bmp1" }, "signatures": { - "python": [ - "def bitmap_collision(bmp1, x1, y1, bmp2, x2, y2):" - ], + "python": ["def bitmap_collision(bmp1, x1, y1, bmp2, x2, y2):"], "cpp": [ "bool bitmap_collision(bitmap bmp1, double x1, double y1, bitmap bmp2, double x2, double y2)" ], @@ -63893,9 +55753,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63906,9 +55764,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63919,9 +55775,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -63932,9 +55786,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -63948,9 +55800,7 @@ "self": "bmp1" }, "signatures": { - "python": [ - "def bitmap_collision_at_points(bmp1, pt1, bmp2, pt2):" - ], + "python": ["def bitmap_collision_at_points(bmp1, pt1, bmp2, pt2):"], "cpp": [ "bool bitmap_collision(bitmap bmp1, const point_2d &pt1, bitmap bmp2, const point_2d &pt2)" ], @@ -63988,9 +55838,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64001,9 +55849,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64014,9 +55860,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64027,9 +55871,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64040,9 +55882,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64053,9 +55893,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -64109,9 +55947,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64122,9 +55958,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64135,9 +55969,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64148,9 +55980,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64161,9 +55991,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64174,9 +56002,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -64230,9 +56056,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64243,9 +56067,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64256,9 +56078,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64269,9 +56089,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64282,9 +56100,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64295,9 +56111,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64308,9 +56122,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64321,9 +56133,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -64377,9 +56187,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64390,9 +56198,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64403,9 +56209,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -64459,9 +56263,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64472,9 +56274,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64485,9 +56285,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -64501,9 +56299,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_point_collision_at_point(bmp, bmp_pt, pt):" - ], + "python": ["def bitmap_point_collision_at_point(bmp, bmp_pt, pt):"], "cpp": [ "bool bitmap_point_collision(bitmap bmp, const point_2d &bmp_pt, const point_2d &pt)" ], @@ -64541,9 +56337,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64554,9 +56348,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64567,9 +56359,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64580,9 +56370,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64593,9 +56381,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -64608,9 +56394,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_point_collision(bmp, bmp_x, bmp_y, x, y):" - ], + "python": ["def bitmap_point_collision(bmp, bmp_x, bmp_y, x, y):"], "cpp": [ "bool bitmap_point_collision(bitmap bmp, double bmp_x, double bmp_y, double x, double y)" ], @@ -64648,9 +56432,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64661,9 +56443,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64674,9 +56454,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64687,9 +56465,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -64743,9 +56519,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64756,9 +56530,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64769,9 +56541,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64782,9 +56552,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -64838,9 +56606,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64851,9 +56617,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64864,9 +56628,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64877,9 +56639,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64890,9 +56650,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64903,9 +56661,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -64959,9 +56715,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64972,9 +56726,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -64985,9 +56737,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -65001,9 +56751,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_quad_collision_at_point(bmp, pt, q):" - ], + "python": ["def bitmap_quad_collision_at_point(bmp, pt, q):"], "cpp": [ "bool bitmap_quad_collision(bitmap bmp, const point_2d &pt, const quad &q)" ], @@ -65041,9 +56789,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65054,9 +56800,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65067,9 +56811,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65080,9 +56822,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -65095,9 +56835,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_quad_collision(bmp, x, y, q):" - ], + "python": ["def bitmap_quad_collision(bmp, x, y, q):"], "cpp": [ "bool bitmap_quad_collision(bitmap bmp, double x, double y, const quad &q)" ], @@ -65135,9 +56873,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65148,9 +56884,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65161,9 +56895,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65174,9 +56906,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -65230,9 +56960,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65243,9 +56971,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65256,9 +56982,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65269,9 +56993,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -65325,9 +57047,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65338,9 +57058,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65351,9 +57069,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65364,9 +57080,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65377,9 +57091,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -65393,9 +57105,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_quad_collision_for_cell(bmp, cell, x, y, q):" - ], + "python": ["def bitmap_quad_collision_for_cell(bmp, cell, x, y, q):"], "cpp": [ "bool bitmap_quad_collision(bitmap bmp, int cell, double x, double y, const quad &q)" ], @@ -65433,9 +57143,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65446,9 +57154,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65459,9 +57165,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65472,9 +57176,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -65528,9 +57230,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65541,9 +57241,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65554,9 +57252,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65567,9 +57263,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65580,9 +57274,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -65595,9 +57287,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_ray_collision(bmp, x, y, origin, heading):" - ], + "python": ["def bitmap_ray_collision(bmp, x, y, origin, heading):"], "cpp": [ "bool bitmap_ray_collision(bitmap bmp, double x, double y, const point_2d &origin, const vector_2d &heading)" ], @@ -65635,9 +57325,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65648,9 +57336,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65661,9 +57347,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65674,9 +57358,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65687,9 +57369,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -65743,9 +57423,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65756,9 +57434,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65769,9 +57445,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65782,9 +57456,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65795,9 +57467,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -65851,9 +57521,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65864,9 +57532,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65877,9 +57543,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65890,9 +57554,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65903,9 +57565,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65916,9 +57576,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -65972,9 +57630,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65985,9 +57641,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -65998,9 +57652,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -66014,9 +57666,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_rectangle_collision_at_point(bmp, pt, rect):" - ], + "python": ["def bitmap_rectangle_collision_at_point(bmp, pt, rect):"], "cpp": [ "bool bitmap_rectangle_collision(bitmap bmp, const point_2d &pt, const rectangle &rect)" ], @@ -66054,9 +57704,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66067,9 +57715,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66080,9 +57726,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66093,9 +57737,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -66108,9 +57750,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_rectangle_collision(bmp, x, y, rect):" - ], + "python": ["def bitmap_rectangle_collision(bmp, x, y, rect):"], "cpp": [ "bool bitmap_rectangle_collision(bitmap bmp, double x, double y, const rectangle &rect)" ], @@ -66148,9 +57788,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66161,9 +57799,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66174,9 +57810,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66187,9 +57821,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -66243,9 +57875,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66256,9 +57886,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66269,9 +57897,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66282,9 +57908,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -66338,9 +57962,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66351,9 +57973,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66364,9 +57984,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66377,9 +57995,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66390,9 +58006,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -66446,9 +58060,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66459,9 +58071,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66472,9 +58082,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -66488,9 +58096,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_triangle_collision_at_point(bmp, pt, tri):" - ], + "python": ["def bitmap_triangle_collision_at_point(bmp, pt, tri):"], "cpp": [ "bool bitmap_triangle_collision(bitmap bmp, const point_2d &pt, const triangle &tri)" ], @@ -66528,9 +58134,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66541,9 +58145,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66554,9 +58156,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66567,9 +58167,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -66582,9 +58180,7 @@ "self": "bmp" }, "signatures": { - "python": [ - "def bitmap_triangle_collision(bmp, x, y, tri):" - ], + "python": ["def bitmap_triangle_collision(bmp, x, y, tri):"], "cpp": [ "bool bitmap_triangle_collision(bitmap bmp, double x, double y, const triangle &tri)" ], @@ -66622,9 +58218,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66635,9 +58229,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66648,9 +58240,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66661,9 +58251,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -66717,9 +58305,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66730,9 +58316,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66743,9 +58327,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66756,9 +58338,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -66812,9 +58392,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66825,9 +58403,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66838,9 +58414,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66851,9 +58425,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66864,9 +58436,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -66920,9 +58490,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66933,9 +58501,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -66986,9 +58552,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -66999,9 +58563,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67052,9 +58614,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67065,9 +58625,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67118,9 +58676,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67131,9 +58687,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67184,9 +58738,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67197,9 +58749,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67250,9 +58800,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67263,9 +58811,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67316,9 +58862,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67329,9 +58873,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67382,9 +58924,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67395,9 +58935,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67448,9 +58986,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67461,9 +58997,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67514,9 +59048,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67527,9 +59059,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67580,9 +59110,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67593,9 +59121,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67646,9 +59172,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67659,9 +59183,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67712,9 +59234,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67725,9 +59245,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67778,9 +59296,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67791,9 +59307,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67844,9 +59358,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67857,9 +59369,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67910,9 +59420,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67923,9 +59431,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -67976,9 +59482,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -67989,9 +59493,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68042,9 +59544,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68055,9 +59555,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68108,9 +59606,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68121,9 +59617,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68174,9 +59668,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68187,9 +59679,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68240,9 +59730,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68253,9 +59741,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68306,9 +59792,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68319,9 +59803,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68372,9 +59854,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68385,9 +59865,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68438,9 +59916,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68451,9 +59927,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68504,9 +59978,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68517,9 +59989,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68570,9 +60040,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68583,9 +60051,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68596,9 +60062,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68649,9 +60113,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68662,9 +60124,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68675,9 +60135,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68728,9 +60186,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68741,9 +60197,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68754,9 +60208,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68807,9 +60259,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68820,9 +60270,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68833,9 +60281,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68886,9 +60332,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68899,9 +60343,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68912,9 +60354,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -68965,9 +60405,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68978,9 +60416,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -68991,9 +60427,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69044,9 +60478,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69057,9 +60489,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69070,9 +60500,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69123,9 +60551,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69136,9 +60562,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69149,9 +60573,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69202,9 +60624,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69215,9 +60635,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69228,9 +60646,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69281,9 +60697,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69294,9 +60708,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69307,9 +60719,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69360,9 +60770,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69373,9 +60781,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69386,9 +60792,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69439,9 +60843,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69452,9 +60854,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69465,9 +60865,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69518,9 +60916,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69531,9 +60927,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69544,9 +60938,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69597,9 +60989,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69610,9 +61000,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69623,9 +61011,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69676,9 +61062,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69689,9 +61073,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69702,9 +61084,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69755,9 +61135,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69768,9 +61146,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69781,9 +61157,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69834,9 +61208,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69847,9 +61219,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69860,9 +61230,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69913,9 +61281,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69926,9 +61292,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -69939,9 +61303,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -69992,9 +61354,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70005,9 +61365,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70018,9 +61376,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70071,9 +61427,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70084,9 +61438,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70097,9 +61449,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70150,9 +61500,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70163,9 +61511,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70176,9 +61522,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70229,9 +61573,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70242,9 +61584,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70255,9 +61595,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70308,9 +61646,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70321,9 +61657,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70334,9 +61668,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70387,9 +61719,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70400,9 +61730,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70413,9 +61741,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70466,9 +61792,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70479,9 +61803,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70492,9 +61814,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70545,9 +61865,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70558,9 +61876,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70571,9 +61887,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70584,9 +61898,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70599,9 +61911,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_bitmap_collision(s, bmp, x, y):" - ], + "python": ["def sprite_bitmap_collision(s, bmp, x, y):"], "cpp": [ "bool sprite_bitmap_collision(sprite s, bitmap bmp, double x, double y)" ], @@ -70639,9 +61949,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70652,9 +61960,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70665,9 +61971,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70678,9 +61982,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70734,9 +62036,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70747,9 +62047,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70760,9 +62058,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70773,9 +62069,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70786,9 +62080,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70842,9 +62134,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70855,9 +62145,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70870,12 +62158,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_circle_collision(s, c):" - ], - "cpp": [ - "bool sprite_circle_collision(sprite s, const circle &c)" - ], + "python": ["def sprite_circle_collision(s, c):"], + "cpp": ["bool sprite_circle_collision(sprite s, const circle &c)"], "csharp": [ "public bool Sprite.CircleCollision(Circle c);", "public static bool SplashKit.SpriteCircleCollision(Sprite s, Circle c);" @@ -70910,9 +62194,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70923,9 +62205,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -70938,12 +62218,8 @@ "static": "collisions" }, "signatures": { - "python": [ - "def sprite_collision(s1, s2):" - ], - "cpp": [ - "bool sprite_collision(sprite s1, sprite s2)" - ], + "python": ["def sprite_collision(s1, s2):"], + "cpp": ["bool sprite_collision(sprite s1, sprite s2)"], "csharp": [ "public bool Sprite.SpriteCollision(Sprite s2);", "public static bool SplashKit.SpriteCollision(Sprite s1, Sprite s2);" @@ -70978,9 +62254,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -70991,9 +62265,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71006,12 +62278,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_point_collision(s, pt):" - ], - "cpp": [ - "bool sprite_point_collision(sprite s, const point_2d &pt)" - ], + "python": ["def sprite_point_collision(s, pt):"], + "cpp": ["bool sprite_point_collision(sprite s, const point_2d &pt)"], "csharp": [ "public bool Sprite.PointCollision(Point2D pt);", "public static bool SplashKit.SpritePointCollision(Sprite s, Point2D pt);" @@ -71046,9 +62314,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -71059,9 +62325,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71074,12 +62338,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_quad_collision(s, q):" - ], - "cpp": [ - "bool sprite_quad_collision(sprite s, const quad &q)" - ], + "python": ["def sprite_quad_collision(s, q):"], + "cpp": ["bool sprite_quad_collision(sprite s, const quad &q)"], "csharp": [ "public bool Sprite.QuadCollision(Quad q);", "public static bool SplashKit.SpriteQuadCollision(Sprite s, Quad q);" @@ -71114,9 +62374,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -71127,9 +62385,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -71140,9 +62396,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71155,9 +62409,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_ray_collision(s, origin, heading):" - ], + "python": ["def sprite_ray_collision(s, origin, heading):"], "cpp": [ "bool sprite_ray_collision(sprite s, const point_2d &origin, const vector_2d &heading)" ], @@ -71195,9 +62447,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -71208,9 +62458,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71223,9 +62471,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_rectangle_collision(s, rect):" - ], + "python": ["def sprite_rectangle_collision(s, rect):"], "cpp": [ "bool sprite_rectangle_collision(sprite s, const rectangle &rect)" ], @@ -71263,9 +62509,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -71276,9 +62520,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71291,9 +62533,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_triangle_collision(s, t):" - ], + "python": ["def sprite_triangle_collision(s, t):"], "cpp": [ "bool sprite_triangle_collision(sprite s, const triangle &t)" ], @@ -71331,9 +62571,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -71344,9 +62582,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71357,12 +62593,8 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def apply_matrix_to_quad(matrix, q):" - ], - "cpp": [ - "void apply_matrix(const matrix_2d &matrix, quad &q)" - ], + "python": ["def apply_matrix_to_quad(matrix, q):"], + "cpp": ["void apply_matrix(const matrix_2d &matrix, quad &q)"], "csharp": [ "public static void SplashKit.ApplyMatrix(Matrix2D matrix, ref Quad q);" ], @@ -71396,9 +62628,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -71409,9 +62639,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71422,12 +62650,8 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def apply_matrix_to_triangle(m, tri):" - ], - "cpp": [ - "void apply_matrix(const matrix_2d &m, triangle &tri)" - ], + "python": ["def apply_matrix_to_triangle(m, tri):"], + "cpp": ["void apply_matrix(const matrix_2d &m, triangle &tri)"], "csharp": [ "public static void SplashKit.ApplyMatrix(Matrix2D m, ref Triangle tri);" ], @@ -71453,25 +62677,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "physics", "static": "matrix_2d" }, "signatures": { - "python": [ - "def identity_matrix():" - ], - "cpp": [ - "matrix_2d identity_matrix()" - ], - "csharp": [ - "public static Matrix2D SplashKit.IdentityMatrix();" - ], - "pascal": [ - "function IdentityMatrix(): Matrix2D" - ] + "python": ["def identity_matrix():"], + "cpp": ["matrix_2d identity_matrix()"], + "csharp": ["public static Matrix2D SplashKit.IdentityMatrix();"], + "pascal": ["function IdentityMatrix(): Matrix2D"] } }, { @@ -71499,9 +62714,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71511,18 +62724,12 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def matrix_inverse(m):" - ], - "cpp": [ - "matrix_2d matrix_inverse(const matrix_2d &m)" - ], + "python": ["def matrix_inverse(m):"], + "cpp": ["matrix_2d matrix_inverse(const matrix_2d &m)"], "csharp": [ "public static Matrix2D SplashKit.MatrixInverse(Matrix2D m);" ], - "pascal": [ - "function MatrixInverse(const m: Matrix2D): Matrix2D" - ] + "pascal": ["function MatrixInverse(const m: Matrix2D): Matrix2D"] } }, { @@ -71550,9 +62757,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -71563,9 +62768,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71576,9 +62779,7 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def matrix_multiply_point(m, pt):" - ], + "python": ["def matrix_multiply_point(m, pt):"], "cpp": [ "point_2d matrix_multiply(const matrix_2d &m, const point_2d &pt)" ], @@ -71615,9 +62816,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -71628,9 +62827,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71641,9 +62838,7 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def matrix_multiply_matrix(m1, m2):" - ], + "python": ["def matrix_multiply_matrix(m1, m2):"], "cpp": [ "matrix_2d matrix_multiply(const matrix_2d &m1, const matrix_2d &m2)" ], @@ -71680,9 +62875,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -71693,9 +62886,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71706,9 +62897,7 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def matrix_multiply_vector(m, v):" - ], + "python": ["def matrix_multiply_vector(m, v):"], "cpp": [ "vector_2d matrix_multiply(const matrix_2d &m, const vector_2d &v)" ], @@ -71745,9 +62934,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71757,18 +62944,12 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def matrix_to_string(matrix):" - ], - "cpp": [ - "string matrix_to_string(const matrix_2d &matrix)" - ], + "python": ["def matrix_to_string(matrix):"], + "cpp": ["string matrix_to_string(const matrix_2d &matrix)"], "csharp": [ "public static string SplashKit.MatrixToString(Matrix2D matrix);" ], - "pascal": [ - "function MatrixToString(const matrix: Matrix2D): String" - ] + "pascal": ["function MatrixToString(const matrix: Matrix2D): String"] } }, { @@ -71796,9 +62977,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71808,18 +62987,12 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def rotation_matrix(deg):" - ], - "cpp": [ - "matrix_2d rotation_matrix(double deg)" - ], + "python": ["def rotation_matrix(deg):"], + "cpp": ["matrix_2d rotation_matrix(double deg)"], "csharp": [ "public static Matrix2D SplashKit.RotationMatrix(double deg);" ], - "pascal": [ - "function RotationMatrix(deg: Double): Matrix2D" - ] + "pascal": ["function RotationMatrix(deg: Double): Matrix2D"] } }, { @@ -71847,9 +63020,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71860,18 +63031,12 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def scale_matrix_from_point(scale):" - ], - "cpp": [ - "matrix_2d scale_matrix(const point_2d &scale)" - ], + "python": ["def scale_matrix_from_point(scale):"], + "cpp": ["matrix_2d scale_matrix(const point_2d &scale)"], "csharp": [ "public static Matrix2D SplashKit.ScaleMatrix(Point2D scale);" ], - "pascal": [ - "function ScaleMatrix(const scale: Point2D): Matrix2D" - ] + "pascal": ["function ScaleMatrix(const scale: Point2D): Matrix2D"] } }, { @@ -71899,9 +63064,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71912,18 +63075,12 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def scale_matrix_from_vector(scale):" - ], - "cpp": [ - "matrix_2d scale_matrix(const vector_2d &scale)" - ], + "python": ["def scale_matrix_from_vector(scale):"], + "cpp": ["matrix_2d scale_matrix(const vector_2d &scale)"], "csharp": [ "public static Matrix2D SplashKit.ScaleMatrix(Vector2D scale);" ], - "pascal": [ - "function ScaleMatrix(const scale: Vector2D): Matrix2D" - ] + "pascal": ["function ScaleMatrix(const scale: Vector2D): Matrix2D"] } }, { @@ -71951,9 +63108,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -71963,18 +63118,12 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def scale_matrix(scale):" - ], - "cpp": [ - "matrix_2d scale_matrix(double scale)" - ], + "python": ["def scale_matrix(scale):"], + "cpp": ["matrix_2d scale_matrix(double scale)"], "csharp": [ "public static Matrix2D SplashKit.ScaleMatrix(double scale);" ], - "pascal": [ - "function ScaleMatrix(scale: Double): Matrix2D" - ] + "pascal": ["function ScaleMatrix(scale: Double): Matrix2D"] } }, { @@ -72002,9 +63151,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72015,9 +63162,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72028,9 +63173,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72079,9 +63222,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72092,18 +63233,12 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def translation_matrix_to_point(pt):" - ], - "cpp": [ - "matrix_2d translation_matrix(const point_2d &pt)" - ], + "python": ["def translation_matrix_to_point(pt):"], + "cpp": ["matrix_2d translation_matrix(const point_2d &pt)"], "csharp": [ "public static Matrix2D SplashKit.TranslationMatrix(Point2D pt);" ], - "pascal": [ - "function TranslationMatrix(const pt: Point2D): Matrix2D" - ] + "pascal": ["function TranslationMatrix(const pt: Point2D): Matrix2D"] } }, { @@ -72131,9 +63266,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72144,18 +63277,12 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def translation_matrix_from_vector(pt):" - ], - "cpp": [ - "matrix_2d translation_matrix(const vector_2d &pt)" - ], + "python": ["def translation_matrix_from_vector(pt):"], + "cpp": ["matrix_2d translation_matrix(const vector_2d &pt)"], "csharp": [ "public static Matrix2D SplashKit.TranslationMatrix(Vector2D pt);" ], - "pascal": [ - "function TranslationMatrix(const pt: Vector2D): Matrix2D" - ] + "pascal": ["function TranslationMatrix(const pt: Vector2D): Matrix2D"] } }, { @@ -72183,9 +63310,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72196,9 +63321,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72208,12 +63331,8 @@ "static": "matrix_2d" }, "signatures": { - "python": [ - "def translation_matrix(dx, dy):" - ], - "cpp": [ - "matrix_2d translation_matrix(double dx, double dy)" - ], + "python": ["def translation_matrix(dx, dy):"], + "cpp": ["matrix_2d translation_matrix(double dx, double dy)"], "csharp": [ "public static Matrix2D SplashKit.TranslationMatrix(double dx, double dy);" ], @@ -72247,9 +63366,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72260,9 +63377,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72272,9 +63387,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def angle_between(v1, v2):" - ], + "python": ["def angle_between(v1, v2):"], "cpp": [ "double angle_between(const vector_2d &v1, const vector_2d &v2)" ], @@ -72311,9 +63424,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72324,9 +63435,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72336,9 +63445,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def dot_product(v1, v2):" - ], + "python": ["def dot_product(v1, v2):"], "cpp": [ "double dot_product(const vector_2d &v1, const vector_2d &v2)" ], @@ -72375,9 +63482,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72387,18 +63492,10 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def is_zero_vector(v):" - ], - "cpp": [ - "bool is_zero_vector(const vector_2d &v)" - ], - "csharp": [ - "public static bool SplashKit.IsZeroVector(Vector2D v);" - ], - "pascal": [ - "function IsZeroVector(const v: Vector2D): Boolean" - ] + "python": ["def is_zero_vector(v):"], + "cpp": ["bool is_zero_vector(const vector_2d &v)"], + "csharp": ["public static bool SplashKit.IsZeroVector(Vector2D v);"], + "pascal": ["function IsZeroVector(const v: Vector2D): Boolean"] } }, { @@ -72426,9 +63523,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72439,9 +63534,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72452,9 +63545,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72465,9 +63556,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72477,9 +63566,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def ray_intersection_point(from_pt, heading, l, pt):" - ], + "python": ["def ray_intersection_point(from_pt, heading, l, pt):"], "cpp": [ "bool ray_intersection_point(const point_2d &from_pt, const vector_2d &heading, const line &l, point_2d &pt)" ], @@ -72516,9 +63603,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72528,18 +63613,12 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def unit_vector(v):" - ], - "cpp": [ - "vector_2d unit_vector(const vector_2d &v)" - ], + "python": ["def unit_vector(v):"], + "cpp": ["vector_2d unit_vector(const vector_2d &v)"], "csharp": [ "public static Vector2D SplashKit.UnitVector(Vector2D v);" ], - "pascal": [ - "function UnitVector(const v: Vector2D): Vector2D" - ] + "pascal": ["function UnitVector(const v: Vector2D): Vector2D"] } }, { @@ -72567,9 +63646,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72580,9 +63657,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72592,9 +63667,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_add(v1, v2):" - ], + "python": ["def vector_add(v1, v2):"], "cpp": [ "vector_2d vector_add(const vector_2d &v1, const vector_2d &v2)" ], @@ -72631,9 +63704,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72643,18 +63714,10 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_angle(v):" - ], - "cpp": [ - "double vector_angle(const vector_2d v)" - ], - "csharp": [ - "public static double SplashKit.VectorAngle(Vector2D v);" - ], - "pascal": [ - "function VectorAngle(v: Vector2D): Double" - ] + "python": ["def vector_angle(v):"], + "cpp": ["double vector_angle(const vector_2d v)"], + "csharp": ["public static double SplashKit.VectorAngle(Vector2D v);"], + "pascal": ["function VectorAngle(v: Vector2D): Double"] } }, { @@ -72682,9 +63745,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72695,9 +63756,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72707,9 +63766,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_from_angle(angle, magnitude):" - ], + "python": ["def vector_from_angle(angle, magnitude):"], "cpp": [ "vector_2d vector_from_angle(double angle, double magnitude)" ], @@ -72746,9 +63803,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72758,18 +63813,12 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_from_line(l):" - ], - "cpp": [ - "vector_2d vector_from_line(const line &l)" - ], + "python": ["def vector_from_line(l):"], + "cpp": ["vector_2d vector_from_line(const line &l)"], "csharp": [ "public static Vector2D SplashKit.VectorFromLine(Line l);" ], - "pascal": [ - "function VectorFromLine(const l: Line): Vector2D" - ] + "pascal": ["function VectorFromLine(const l: Line): Vector2D"] } }, { @@ -72797,9 +63846,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72810,9 +63857,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72822,9 +63867,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_from_point_to_rect(pt, rect):" - ], + "python": ["def vector_from_point_to_rect(pt, rect):"], "cpp": [ "vector_2d vector_from_point_to_rect(const point_2d &pt, const rectangle &rect)" ], @@ -72861,9 +63904,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72874,9 +63915,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72886,9 +63925,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_in_rect(v, rect):" - ], + "python": ["def vector_in_rect(v, rect):"], "cpp": [ "bool vector_in_rect(const vector_2d &v, const rectangle &rect)" ], @@ -72925,9 +63962,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -72937,18 +63972,12 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_invert(v):" - ], - "cpp": [ - "vector_2d vector_invert(const vector_2d &v)" - ], + "python": ["def vector_invert(v):"], + "cpp": ["vector_2d vector_invert(const vector_2d &v)"], "csharp": [ "public static Vector2D SplashKit.VectorInvert(Vector2D v);" ], - "pascal": [ - "function VectorInvert(const v: Vector2D): Vector2D" - ] + "pascal": ["function VectorInvert(const v: Vector2D): Vector2D"] } }, { @@ -72976,9 +64005,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -72989,9 +64016,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73001,12 +64026,8 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_limit(v, limit):" - ], - "cpp": [ - "vector_2d vector_limit(const vector_2d &v, double limit)" - ], + "python": ["def vector_limit(v, limit):"], + "cpp": ["vector_2d vector_limit(const vector_2d &v, double limit)"], "csharp": [ "public static Vector2D SplashKit.VectorLimit(Vector2D v, double limit);" ], @@ -73040,9 +64061,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73052,18 +64071,12 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_magnitude(v):" - ], - "cpp": [ - "double vector_magnitude(const vector_2d &v)" - ], + "python": ["def vector_magnitude(v):"], + "cpp": ["double vector_magnitude(const vector_2d &v)"], "csharp": [ "public static double SplashKit.VectorMagnitude(Vector2D v);" ], - "pascal": [ - "function VectorMagnitude(const v: Vector2D): Double" - ] + "pascal": ["function VectorMagnitude(const v: Vector2D): Double"] } }, { @@ -73091,9 +64104,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73103,12 +64114,8 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_magnitude_squared(v):" - ], - "cpp": [ - "double vector_magnitude_squared(const vector_2d &v)" - ], + "python": ["def vector_magnitude_squared(v):"], + "cpp": ["double vector_magnitude_squared(const vector_2d &v)"], "csharp": [ "public static double SplashKit.VectorMagnitudeSquared(Vector2D v);" ], @@ -73142,9 +64149,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73155,9 +64160,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73167,12 +64170,8 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_multiply(v1, s):" - ], - "cpp": [ - "vector_2d vector_multiply(const vector_2d &v1, double s)" - ], + "python": ["def vector_multiply(v1, s):"], + "cpp": ["vector_2d vector_multiply(const vector_2d &v1, double s)"], "csharp": [ "public static Vector2D SplashKit.VectorMultiply(Vector2D v1, double s);" ], @@ -73206,9 +64205,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73218,18 +64215,12 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_normal(v):" - ], - "cpp": [ - "vector_2d vector_normal(const vector_2d &v)" - ], + "python": ["def vector_normal(v):"], + "cpp": ["vector_2d vector_normal(const vector_2d &v)"], "csharp": [ "public static Vector2D SplashKit.VectorNormal(Vector2D v);" ], - "pascal": [ - "function VectorNormal(const v: Vector2D): Vector2D" - ] + "pascal": ["function VectorNormal(const v: Vector2D): Vector2D"] } }, { @@ -73257,9 +64248,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73270,9 +64259,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73283,9 +64270,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73334,9 +64319,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73347,9 +64330,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73360,9 +64341,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73372,9 +64351,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_out_of_circle_from_point(pt, c, velocity):" - ], + "python": ["def vector_out_of_circle_from_point(pt, c, velocity):"], "cpp": [ "vector_2d vector_out_of_circle_from_point(const point_2d &pt, const circle &c, const vector_2d &velocity)" ], @@ -73411,9 +64388,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73424,9 +64399,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73437,9 +64410,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73449,9 +64420,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_out_of_rect_from_circle(c, rect, velocity):" - ], + "python": ["def vector_out_of_rect_from_circle(c, rect, velocity):"], "cpp": [ "vector_2d vector_out_of_rect_from_circle(const circle &c, const rectangle &rect, const vector_2d &velocity)" ], @@ -73488,9 +64457,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73501,9 +64468,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73514,9 +64479,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73526,9 +64489,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_out_of_rect_from_point(pt, rect, velocity):" - ], + "python": ["def vector_out_of_rect_from_point(pt, rect, velocity):"], "cpp": [ "vector_2d vector_out_of_rect_from_point(const point_2d &pt, const rectangle &rect, const vector_2d &velocity)" ], @@ -73565,9 +64526,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73578,9 +64537,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73591,9 +64548,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73642,9 +64597,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73655,9 +64608,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73667,9 +64618,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_point_to_point(start, end_pt):" - ], + "python": ["def vector_point_to_point(start, end_pt):"], "cpp": [ "vector_2d vector_point_to_point(const point_2d &start, const point_2d &end_pt)" ], @@ -73706,9 +64655,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73719,9 +64666,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73731,9 +64676,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_subtract(v1, v2):" - ], + "python": ["def vector_subtract(v1, v2):"], "cpp": [ "vector_2d vector_subtract(const vector_2d &v1, const vector_2d &v2)" ], @@ -73770,9 +64713,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73783,18 +64724,10 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_to_point(p1):" - ], - "cpp": [ - "vector_2d vector_to(const point_2d &p1)" - ], - "csharp": [ - "public static Vector2D SplashKit.VectorTo(Point2D p1);" - ], - "pascal": [ - "function VectorTo(const p1: Point2D): Vector2D" - ] + "python": ["def vector_to_point(p1):"], + "cpp": ["vector_2d vector_to(const point_2d &p1)"], + "csharp": ["public static Vector2D SplashKit.VectorTo(Point2D p1);"], + "pascal": ["function VectorTo(const p1: Point2D): Vector2D"] } }, { @@ -73822,9 +64755,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73835,9 +64766,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73847,18 +64776,12 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_to(x, y):" - ], - "cpp": [ - "vector_2d vector_to(double x, double y)" - ], + "python": ["def vector_to(x, y):"], + "cpp": ["vector_2d vector_to(double x, double y)"], "csharp": [ "public static Vector2D SplashKit.VectorTo(double x, double y);" ], - "pascal": [ - "function VectorTo(x: Double; y: Double): Vector2D" - ] + "pascal": ["function VectorTo(x: Double; y: Double): Vector2D"] } }, { @@ -73886,9 +64809,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73898,18 +64819,12 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vector_to_string(v):" - ], - "cpp": [ - "string vector_to_string(const vector_2d &v)" - ], + "python": ["def vector_to_string(v):"], + "cpp": ["string vector_to_string(const vector_2d &v)"], "csharp": [ "public static string SplashKit.VectorToString(Vector2D v);" ], - "pascal": [ - "function VectorToString(const v: Vector2D): String" - ] + "pascal": ["function VectorToString(const v: Vector2D): String"] } }, { @@ -73937,9 +64852,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -73950,9 +64863,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -73962,9 +64873,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vectors_equal(v1, v2):" - ], + "python": ["def vectors_equal(v1, v2):"], "cpp": [ "bool vectors_equal(const vector_2d &v1, const vector_2d v2)" ], @@ -74001,9 +64910,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -74014,9 +64921,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74026,9 +64931,7 @@ "static": "vector_2d" }, "signatures": { - "python": [ - "def vectors_not_equal(v1, v2):" - ], + "python": ["def vectors_not_equal(v1, v2):"], "cpp": [ "bool vectors_not_equal(const vector_2d &v1, const vector_2d v2)" ], @@ -74041,9 +64944,7 @@ } } ], - "typedefs": [ - - ], + "typedefs": [], "structs": [ { "signature": "struct matrix_2d {double elements[3][3];};", @@ -74058,10 +64959,7 @@ "is_const": false, "is_reference": false, "is_array": true, - "array_dimension_sizes": [ - 3, - 3 - ], + "array_dimension_sizes": [3, 3], "is_vector": false, "type_parameter": null } @@ -74070,24 +64968,15 @@ "group": "physics", "static": "matrix_2d" }, - "properties": { - }, - "constructors": [ - - ], - "methods": [ - - ], + "properties": {}, + "constructors": [], + "methods": [], "is_alias": false, "is_struct": true } ], - "enums": [ - - ], - "defines": [ - - ] + "enums": [], + "defines": [] }, "raspberry": { "brief": "Provides support for using an ADC device with the GPIO pins on the Raspberry Pi.Splashkit allows you to read and write to the GPIO pins on the Raspberry Pi.Provides support for using a motor driver with the GPIO pins on the Raspberry Pi.Provides support for using servo motors with the GPIO pins on the Raspberry Pi.", @@ -74118,9 +65007,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74130,18 +65017,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def adc_device_named(name):" - ], - "cpp": [ - "adc_device adc_device_named(const string &name)" - ], + "python": ["def adc_device_named(name):"], + "cpp": ["adc_device adc_device_named(const string &name)"], "csharp": [ "public static AdcDevice SplashKit.AdcDeviceNamed(string name);" ], - "pascal": [ - "function AdcDeviceNamed(const name: String): AdcDevice" - ] + "pascal": ["function AdcDeviceNamed(const name: String): AdcDevice"] } }, { @@ -74169,9 +65050,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74185,19 +65064,13 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def close_adc(adc):" - ], - "cpp": [ - "void close_adc(adc_device adc)" - ], + "python": ["def close_adc(adc):"], + "cpp": ["void close_adc(adc_device adc)"], "csharp": [ "public void AdcDevice.Close();", "public static void SplashKit.CloseAdc(AdcDevice adc);" ], - "pascal": [ - "procedure CloseAdc(adc: AdcDevice)" - ] + "pascal": ["procedure CloseAdc(adc: AdcDevice)"] } }, { @@ -74225,9 +65098,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74238,18 +65109,10 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def close_adc_named(name):" - ], - "cpp": [ - "void close_adc(const string &name)" - ], - "csharp": [ - "public static void SplashKit.CloseAdc(string name);" - ], - "pascal": [ - "procedure CloseAdc(const name: String)" - ] + "python": ["def close_adc_named(name):"], + "cpp": ["void close_adc(const string &name)"], + "csharp": ["public static void SplashKit.CloseAdc(string name);"], + "pascal": ["procedure CloseAdc(const name: String)"] } }, { @@ -74269,25 +65132,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "raspberry", "static": "raspberry" }, "signatures": { - "python": [ - "def close_all_adc():" - ], - "cpp": [ - "void close_all_adc()" - ], - "csharp": [ - "public static void SplashKit.CloseAllAdc();" - ], - "pascal": [ - "procedure CloseAllAdc()" - ] + "python": ["def close_all_adc():"], + "cpp": ["void close_all_adc()"], + "csharp": ["public static void SplashKit.CloseAllAdc();"], + "pascal": ["procedure CloseAllAdc()"] } }, { @@ -74315,9 +65169,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74327,18 +65179,10 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def has_adc_device(name):" - ], - "cpp": [ - "bool has_adc_device(const string &name)" - ], - "csharp": [ - "public static bool SplashKit.HasAdcDevice(string name);" - ], - "pascal": [ - "function HasAdcDevice(const name: String): Boolean" - ] + "python": ["def has_adc_device(name):"], + "cpp": ["bool has_adc_device(const string &name)"], + "csharp": ["public static bool SplashKit.HasAdcDevice(string name);"], + "pascal": ["function HasAdcDevice(const name: String): Boolean"] } }, { @@ -74366,9 +65210,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -74379,9 +65221,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74393,9 +65233,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def open_adc(name, type_of_adc):" - ], + "python": ["def open_adc(name, type_of_adc):"], "cpp": [ "adc_device open_adc(const string &name, adc_type type_of_adc)" ], @@ -74433,9 +65271,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -74446,9 +65282,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -74459,9 +65293,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -74472,9 +65304,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74487,9 +65317,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def open_adc_with_bus(name, bus, address, type_of_adc):" - ], + "python": ["def open_adc_with_bus(name, bus, address, type_of_adc):"], "cpp": [ "adc_device open_adc(const string &name, int bus, int address, adc_type type_of_adc)" ], @@ -74527,9 +65355,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -74540,9 +65366,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74555,12 +65379,8 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def read_adc(adc, channel):" - ], - "cpp": [ - "int read_adc(adc_device adc, adc_pin channel)" - ], + "python": ["def read_adc(adc, channel):"], + "cpp": ["int read_adc(adc_device adc, adc_pin channel)"], "csharp": [ "public int AdcDevice.Read(AdcPin channel);", "public static int SplashKit.ReadAdc(AdcDevice adc, AdcPin channel);" @@ -74595,9 +65415,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -74608,9 +65426,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74621,12 +65437,8 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def read_adc_named(name, channel):" - ], - "cpp": [ - "int read_adc(const string &name, adc_pin channel)" - ], + "python": ["def read_adc_named(name, channel):"], + "cpp": ["int read_adc(const string &name, adc_pin channel)"], "csharp": [ "public static int SplashKit.ReadAdc(string name, AdcPin channel);" ], @@ -74660,9 +65472,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74672,18 +65482,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def get_alpha_font_14_seg(ascii_char):" - ], - "cpp": [ - "unsigned short get_alpha_font_14_seg(char ascii_char)" - ], + "python": ["def get_alpha_font_14_seg(ascii_char):"], + "cpp": ["unsigned short get_alpha_font_14_seg(char ascii_char)"], "csharp": [ "public static ushort SplashKit.GetAlphaFont14Seg(char asciiChar);" ], - "pascal": [ - "function GetAlphaFont14Seg(asciiChar: Char): Word" - ] + "pascal": ["function GetAlphaFont14Seg(asciiChar: Char): Word"] } }, { @@ -74711,9 +65515,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74723,18 +65525,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def gpio_pin_to_int(value):" - ], - "cpp": [ - "int gpio_pin_to_int(gpio_pin_value value)" - ], + "python": ["def gpio_pin_to_int(value):"], + "cpp": ["int gpio_pin_to_int(gpio_pin_value value)"], "csharp": [ "public static int SplashKit.GpioPinToInt(GpioPinValue value);" ], - "pascal": [ - "function GpioPinToInt(value: GpioPinValue): Integer" - ] + "pascal": ["function GpioPinToInt(value: GpioPinValue): Integer"] } }, { @@ -74754,25 +65550,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "raspberry", "static": "raspberry" }, "signatures": { - "python": [ - "def has_gpio():" - ], - "cpp": [ - "bool has_gpio()" - ], - "csharp": [ - "public static bool SplashKit.HasGpio();" - ], - "pascal": [ - "function HasGpio(): Boolean" - ] + "python": ["def has_gpio():"], + "cpp": ["bool has_gpio()"], + "csharp": ["public static bool SplashKit.HasGpio();"], + "pascal": ["function HasGpio(): Boolean"] } }, { @@ -74792,25 +65579,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "raspberry", "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_cleanup():" - ], - "cpp": [ - "void raspi_cleanup()" - ], - "csharp": [ - "public static void SplashKit.RaspiCleanup();" - ], - "pascal": [ - "procedure RaspiCleanup()" - ] + "python": ["def raspi_cleanup():"], + "cpp": ["void raspi_cleanup()"], + "csharp": ["public static void SplashKit.RaspiCleanup();"], + "pascal": ["procedure RaspiCleanup()"] } }, { @@ -74838,9 +65616,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74850,18 +65626,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_get_mode(pin):" - ], - "cpp": [ - "gpio_pin_mode raspi_get_mode(gpio_pin pin)" - ], + "python": ["def raspi_get_mode(pin):"], + "cpp": ["gpio_pin_mode raspi_get_mode(gpio_pin pin)"], "csharp": [ "public static GpioPinMode SplashKit.RaspiGetMode(GpioPin pin);" ], - "pascal": [ - "function RaspiGetMode(pin: GpioPin): GpioPinMode" - ] + "pascal": ["function RaspiGetMode(pin: GpioPin): GpioPinMode"] } }, { @@ -74889,9 +65659,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74901,18 +65669,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_get_servo_pulsewidth(pin):" - ], - "cpp": [ - "int raspi_get_servo_pulsewidth(gpio_pin pin)" - ], + "python": ["def raspi_get_servo_pulsewidth(pin):"], + "cpp": ["int raspi_get_servo_pulsewidth(gpio_pin pin)"], "csharp": [ "public static int SplashKit.RaspiGetServoPulsewidth(GpioPin pin);" ], - "pascal": [ - "function RaspiGetServoPulsewidth(pin: GpioPin): Integer" - ] + "pascal": ["function RaspiGetServoPulsewidth(pin: GpioPin): Integer"] } }, { @@ -74940,9 +65702,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -74953,9 +65713,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -74965,12 +65723,8 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_i2c_open(bus, address):" - ], - "cpp": [ - "int raspi_i2c_open(int bus, int address)" - ], + "python": ["def raspi_i2c_open(bus, address):"], + "cpp": ["int raspi_i2c_open(int bus, int address)"], "csharp": [ "public static int SplashKit.RaspiI2cOpen(int bus, int address);" ], @@ -75004,9 +65758,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75017,9 +65769,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75029,18 +65779,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_i2c_write(handle, data):" - ], - "cpp": [ - "void raspi_i2c_write(int handle, int data)" - ], + "python": ["def raspi_i2c_write(handle, data):"], + "cpp": ["void raspi_i2c_write(int handle, int data)"], "csharp": [ "public static void SplashKit.RaspiI2cWrite(int handle, int data);" ], - "pascal": [ - "procedure RaspiI2cWrite(handle: Integer; data: Integer)" - ] + "pascal": ["procedure RaspiI2cWrite(handle: Integer; data: Integer)"] } }, { @@ -75068,9 +65812,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75081,9 +65823,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75094,9 +65834,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75107,9 +65845,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75120,9 +65856,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_i2c_write_data(handle, reg, data, bytes):" - ], + "python": ["def raspi_i2c_write_data(handle, reg, data, bytes):"], "cpp": [ "void raspi_i2c_write(int handle, int reg, int data, int bytes)" ], @@ -75151,25 +65885,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "raspberry", "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_init():" - ], - "cpp": [ - "void raspi_init()" - ], - "csharp": [ - "public static void SplashKit.RaspiInit();" - ], - "pascal": [ - "procedure RaspiInit()" - ] + "python": ["def raspi_init():"], + "cpp": ["void raspi_init()"], + "csharp": ["public static void SplashKit.RaspiInit();"], + "pascal": ["procedure RaspiInit()"] } }, { @@ -75197,9 +65922,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75209,18 +65932,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_read(pin):" - ], - "cpp": [ - "gpio_pin_value raspi_read(gpio_pin pin)" - ], + "python": ["def raspi_read(pin):"], + "cpp": ["gpio_pin_value raspi_read(gpio_pin pin)"], "csharp": [ "public static GpioPinValue SplashKit.RaspiRead(GpioPin pin);" ], - "pascal": [ - "function RaspiRead(pin: GpioPin): GpioPinValue" - ] + "pascal": ["function RaspiRead(pin: GpioPin): GpioPinValue"] } }, { @@ -75248,9 +65965,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75261,9 +65976,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75273,18 +65986,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_set_mode(pin, mode):" - ], - "cpp": [ - "void raspi_set_mode(gpio_pin pin, gpio_pin_mode mode)" - ], + "python": ["def raspi_set_mode(pin, mode):"], + "cpp": ["void raspi_set_mode(gpio_pin pin, gpio_pin_mode mode)"], "csharp": [ "public static void SplashKit.RaspiSetMode(GpioPin pin, GpioPinMode mode);" ], - "pascal": [ - "procedure RaspiSetMode(pin: GpioPin; mode: GpioPinMode)" - ] + "pascal": ["procedure RaspiSetMode(pin: GpioPin; mode: GpioPinMode)"] } }, { @@ -75312,9 +66019,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75325,9 +66030,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75337,9 +66040,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_set_pull_up_down(pin, pud):" - ], + "python": ["def raspi_set_pull_up_down(pin, pud):"], "cpp": [ "void raspi_set_pull_up_down(gpio_pin pin, pull_up_down pud)" ], @@ -75376,9 +66077,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75389,9 +66088,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75401,12 +66098,8 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_set_pwm_dutycycle(pin, dutycycle):" - ], - "cpp": [ - "void raspi_set_pwm_dutycycle(gpio_pin pin, int dutycycle)" - ], + "python": ["def raspi_set_pwm_dutycycle(pin, dutycycle):"], + "cpp": ["void raspi_set_pwm_dutycycle(gpio_pin pin, int dutycycle)"], "csharp": [ "public static void SplashKit.RaspiSetPwmDutycycle(GpioPin pin, int dutycycle);" ], @@ -75440,9 +66133,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75453,9 +66144,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75465,12 +66154,8 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_set_pwm_frequency(pin, frequency):" - ], - "cpp": [ - "void raspi_set_pwm_frequency(gpio_pin pin, int frequency)" - ], + "python": ["def raspi_set_pwm_frequency(pin, frequency):"], + "cpp": ["void raspi_set_pwm_frequency(gpio_pin pin, int frequency)"], "csharp": [ "public static void SplashKit.RaspiSetPwmFrequency(GpioPin pin, int frequency);" ], @@ -75504,9 +66189,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75517,9 +66200,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75529,18 +66210,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_set_pwm_range(pin, range):" - ], - "cpp": [ - "void raspi_set_pwm_range(gpio_pin pin, int range)" - ], + "python": ["def raspi_set_pwm_range(pin, range):"], + "cpp": ["void raspi_set_pwm_range(gpio_pin pin, int range)"], "csharp": [ "public static void SplashKit.RaspiSetPwmRange(GpioPin pin, int range);" ], - "pascal": [ - "procedure RaspiSetPwmRange(pin: GpioPin; range: Integer)" - ] + "pascal": ["procedure RaspiSetPwmRange(pin: GpioPin; range: Integer)"] } }, { @@ -75568,9 +66243,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75581,9 +66254,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75593,9 +66264,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_set_servo_pulsewidth(pin, pulsewidth):" - ], + "python": ["def raspi_set_servo_pulsewidth(pin, pulsewidth):"], "cpp": [ "void raspi_set_servo_pulsewidth(gpio_pin pin, int pulsewidth)" ], @@ -75632,9 +66301,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75644,18 +66311,10 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_spi_close(handle):" - ], - "cpp": [ - "int raspi_spi_close(int handle)" - ], - "csharp": [ - "public static int SplashKit.RaspiSpiClose(int handle);" - ], - "pascal": [ - "function RaspiSpiClose(handle: Integer): Integer" - ] + "python": ["def raspi_spi_close(handle):"], + "cpp": ["int raspi_spi_close(int handle)"], + "csharp": ["public static int SplashKit.RaspiSpiClose(int handle);"], + "pascal": ["function RaspiSpiClose(handle: Integer): Integer"] } }, { @@ -75683,9 +66342,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75696,9 +66353,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75709,9 +66364,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75721,12 +66374,8 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_spi_open(channel, speed, spi_flags):" - ], - "cpp": [ - "int raspi_spi_open(int channel, int speed, int spi_flags)" - ], + "python": ["def raspi_spi_open(channel, speed, spi_flags):"], + "cpp": ["int raspi_spi_open(int channel, int speed, int spi_flags)"], "csharp": [ "public static int SplashKit.RaspiSpiOpen(int channel, int speed, int spiFlags);" ], @@ -75760,9 +66409,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75773,9 +66420,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75786,9 +66431,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75799,9 +66442,7 @@ "is_const": false, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75850,9 +66491,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75863,9 +66502,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75875,18 +66512,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def raspi_write(pin, value):" - ], - "cpp": [ - "void raspi_write(gpio_pin pin, gpio_pin_value value)" - ], + "python": ["def raspi_write(pin, value):"], + "cpp": ["void raspi_write(gpio_pin pin, gpio_pin_value value)"], "csharp": [ "public static void SplashKit.RaspiWrite(GpioPin pin, GpioPinValue value);" ], - "pascal": [ - "procedure RaspiWrite(pin: GpioPin; value: GpioPinValue)" - ] + "pascal": ["procedure RaspiWrite(pin: GpioPin; value: GpioPinValue)"] } }, { @@ -75914,9 +66545,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75926,18 +66555,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def remote_raspi_cleanup(pi):" - ], - "cpp": [ - "bool remote_raspi_cleanup(connection pi)" - ], + "python": ["def remote_raspi_cleanup(pi):"], + "cpp": ["bool remote_raspi_cleanup(connection pi)"], "csharp": [ "public static bool SplashKit.RemoteRaspiCleanup(Connection pi);" ], - "pascal": [ - "function RemoteRaspiCleanup(pi: Connection): Boolean" - ] + "pascal": ["function RemoteRaspiCleanup(pi: Connection): Boolean"] } }, { @@ -75965,9 +66588,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -75978,9 +66599,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -75990,9 +66609,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def remote_raspi_get_mode(pi, pin):" - ], + "python": ["def remote_raspi_get_mode(pi, pin):"], "cpp": [ "gpio_pin_mode remote_raspi_get_mode(connection pi, gpio_pin pin)" ], @@ -76029,9 +66646,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76042,9 +66657,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76055,9 +66668,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76067,9 +66678,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def remote_raspi_init(name, host, port):" - ], + "python": ["def remote_raspi_init(name, host, port):"], "cpp": [ "connection remote_raspi_init(const string &name, const string &host, unsigned short port)" ], @@ -76106,9 +66715,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76119,9 +66726,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76131,9 +66736,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def remote_raspi_read(pi, pin):" - ], + "python": ["def remote_raspi_read(pi, pin):"], "cpp": [ "gpio_pin_value remote_raspi_read(connection pi, gpio_pin pin)" ], @@ -76170,9 +66773,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76183,9 +66784,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76196,9 +66795,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76208,9 +66805,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def remote_raspi_set_mode(pi, pin, mode):" - ], + "python": ["def remote_raspi_set_mode(pi, pin, mode):"], "cpp": [ "void remote_raspi_set_mode(connection pi, gpio_pin pin, gpio_pin_mode mode)" ], @@ -76247,9 +66842,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76260,9 +66853,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76273,9 +66864,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76285,9 +66874,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def remote_raspi_set_pull_up_down(pi, pin, pud):" - ], + "python": ["def remote_raspi_set_pull_up_down(pi, pin, pud):"], "cpp": [ "void remote_raspi_set_pull_up_down(connection pi, gpio_pin pin, pull_up_down pud)" ], @@ -76324,9 +66911,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76337,9 +66922,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76350,9 +66933,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76362,9 +66943,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def remote_raspi_set_pwm_dutycycle(pi, pin, dutycycle):" - ], + "python": ["def remote_raspi_set_pwm_dutycycle(pi, pin, dutycycle):"], "cpp": [ "void remote_raspi_set_pwm_dutycycle(connection pi, gpio_pin pin, int dutycycle)" ], @@ -76401,9 +66980,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76414,9 +66991,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76427,9 +67002,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76439,9 +67012,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def remote_raspi_set_pwm_frequency(pi, pin, frequency):" - ], + "python": ["def remote_raspi_set_pwm_frequency(pi, pin, frequency):"], "cpp": [ "void remote_raspi_set_pwm_frequency(connection pi, gpio_pin pin, int frequency)" ], @@ -76478,9 +67049,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76491,9 +67060,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76504,9 +67071,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76516,9 +67081,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def remote_raspi_set_pwm_range(pi, pin, range):" - ], + "python": ["def remote_raspi_set_pwm_range(pi, pin, range):"], "cpp": [ "void remote_raspi_set_pwm_range(connection pi, gpio_pin pin, int range)" ], @@ -76555,9 +67118,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76568,9 +67129,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76581,9 +67140,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76593,9 +67150,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def remote_raspi_write(pi, pin, value):" - ], + "python": ["def remote_raspi_write(pi, pin, value):"], "cpp": [ "void remote_raspi_write(connection pi, gpio_pin pin, gpio_pin_value value)" ], @@ -76624,25 +67179,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "raspberry", "static": "raspberry" }, "signatures": { - "python": [ - "def close_all_motors():" - ], - "cpp": [ - "void close_all_motors()" - ], - "csharp": [ - "public static void SplashKit.CloseAllMotors();" - ], - "pascal": [ - "procedure CloseAllMotors()" - ] + "python": ["def close_all_motors():"], + "cpp": ["void close_all_motors()"], + "csharp": ["public static void SplashKit.CloseAllMotors();"], + "pascal": ["procedure CloseAllMotors()"] } }, { @@ -76670,9 +67216,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76683,18 +67227,10 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def close_motor_named(name):" - ], - "cpp": [ - "void close_motor(const string &name)" - ], - "csharp": [ - "public static void SplashKit.CloseMotor(string name);" - ], - "pascal": [ - "procedure CloseMotor(const name: String)" - ] + "python": ["def close_motor_named(name):"], + "cpp": ["void close_motor(const string &name)"], + "csharp": ["public static void SplashKit.CloseMotor(string name);"], + "pascal": ["procedure CloseMotor(const name: String)"] } }, { @@ -76722,9 +67258,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76734,18 +67268,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def close_motor(dev):" - ], - "cpp": [ - "void close_motor(motor_device dev)" - ], + "python": ["def close_motor(dev):"], + "cpp": ["void close_motor(motor_device dev)"], "csharp": [ "public static void SplashKit.CloseMotor(MotorDevice dev);" ], - "pascal": [ - "procedure CloseMotor(dev: MotorDevice)" - ] + "pascal": ["procedure CloseMotor(dev: MotorDevice)"] } }, { @@ -76773,9 +67301,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76788,18 +67314,12 @@ "self": "dev" }, "signatures": { - "python": [ - "def free_motor_device(dev):" - ], - "cpp": [ - "void free_motor_device(motor_device dev)" - ], + "python": ["def free_motor_device(dev):"], + "cpp": ["void free_motor_device(motor_device dev)"], "csharp": [ "public static void SplashKit.FreeMotorDevice(MotorDevice dev);" ], - "pascal": [ - "procedure FreeMotorDevice(dev: MotorDevice)" - ] + "pascal": ["procedure FreeMotorDevice(dev: MotorDevice)"] } }, { @@ -76827,9 +67347,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76839,18 +67357,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def has_motor_device(name):" - ], - "cpp": [ - "bool has_motor_device(const string &name)" - ], + "python": ["def has_motor_device(name):"], + "cpp": ["bool has_motor_device(const string &name)"], "csharp": [ "public static bool SplashKit.HasMotorDevice(string name);" ], - "pascal": [ - "function HasMotorDevice(const name: String): Boolean" - ] + "pascal": ["function HasMotorDevice(const name: String): Boolean"] } }, { @@ -76878,9 +67390,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76890,18 +67400,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def motor_named(name):" - ], - "cpp": [ - "motor_device motor_named(const string &name)" - ], + "python": ["def motor_named(name):"], + "cpp": ["motor_device motor_named(const string &name)"], "csharp": [ "public static MotorDevice SplashKit.MotorNamed(string name);" ], - "pascal": [ - "function MotorNamed(const name: String): MotorDevice" - ] + "pascal": ["function MotorNamed(const name: String): MotorDevice"] } }, { @@ -76929,9 +67433,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76942,9 +67444,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76955,9 +67455,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76968,9 +67466,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -76981,9 +67477,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -76993,9 +67487,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def open_motor(name, type, in1_pin, in2_pin, en_pin):" - ], + "python": ["def open_motor(name, type, in1_pin, in2_pin, en_pin):"], "cpp": [ "motor_device open_motor(const string &name, motor_driver_type type, gpio_pin in1_pin, gpio_pin in2_pin, gpio_pin en_pin)" ], @@ -77032,9 +67524,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -77045,9 +67535,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77057,9 +67545,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def set_motor_direction(dev, dir):" - ], + "python": ["def set_motor_direction(dev, dir):"], "cpp": [ "void set_motor_direction(motor_device dev, motor_direction dir)" ], @@ -77096,9 +67582,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -77109,9 +67593,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77121,18 +67603,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def set_motor_speed(dev, speed):" - ], - "cpp": [ - "void set_motor_speed(motor_device dev, double speed)" - ], + "python": ["def set_motor_speed(dev, speed):"], + "cpp": ["void set_motor_speed(motor_device dev, double speed)"], "csharp": [ "public static void SplashKit.SetMotorSpeed(MotorDevice dev, double speed);" ], - "pascal": [ - "procedure SetMotorSpeed(dev: MotorDevice; speed: Double)" - ] + "pascal": ["procedure SetMotorSpeed(dev: MotorDevice; speed: Double)"] } }, { @@ -77160,9 +67636,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77172,18 +67646,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def stop_motor(dev):" - ], - "cpp": [ - "void stop_motor(motor_device dev)" - ], + "python": ["def stop_motor(dev):"], + "cpp": ["void stop_motor(motor_device dev)"], "csharp": [ "public static void SplashKit.StopMotor(MotorDevice dev);" ], - "pascal": [ - "procedure StopMotor(dev: MotorDevice)" - ] + "pascal": ["procedure StopMotor(dev: MotorDevice)"] } }, { @@ -77203,25 +67671,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "raspberry", "static": "raspberry" }, "signatures": { - "python": [ - "def close_all_servos():" - ], - "cpp": [ - "void close_all_servos()" - ], - "csharp": [ - "public static void SplashKit.CloseAllServos();" - ], - "pascal": [ - "procedure CloseAllServos()" - ] + "python": ["def close_all_servos():"], + "cpp": ["void close_all_servos()"], + "csharp": ["public static void SplashKit.CloseAllServos();"], + "pascal": ["procedure CloseAllServos()"] } }, { @@ -77249,9 +67708,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77262,18 +67719,10 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def close_servo_named(name):" - ], - "cpp": [ - "void close_servo(const string &name)" - ], - "csharp": [ - "public static void SplashKit.CloseServo(string name);" - ], - "pascal": [ - "procedure CloseServo(const name: String)" - ] + "python": ["def close_servo_named(name):"], + "cpp": ["void close_servo(const string &name)"], + "csharp": ["public static void SplashKit.CloseServo(string name);"], + "pascal": ["procedure CloseServo(const name: String)"] } }, { @@ -77301,9 +67750,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77317,19 +67764,13 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def close_servo(dev):" - ], - "cpp": [ - "void close_servo(servo_device dev)" - ], + "python": ["def close_servo(dev):"], + "cpp": ["void close_servo(servo_device dev)"], "csharp": [ "public void ServoDevice.Close();", "public static void SplashKit.CloseServo(ServoDevice dev);" ], - "pascal": [ - "procedure CloseServo(dev: ServoDevice)" - ] + "pascal": ["procedure CloseServo(dev: ServoDevice)"] } }, { @@ -77357,9 +67798,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77369,18 +67808,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def has_servo_device(name):" - ], - "cpp": [ - "bool has_servo_device(const string &name)" - ], + "python": ["def has_servo_device(name):"], + "cpp": ["bool has_servo_device(const string &name)"], "csharp": [ "public static bool SplashKit.HasServoDevice(string name);" ], - "pascal": [ - "function HasServoDevice(const name: String): Boolean" - ] + "pascal": ["function HasServoDevice(const name: String): Boolean"] } }, { @@ -77408,9 +67841,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -77421,9 +67852,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77435,9 +67864,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def open_servo(name, control_pin):" - ], + "python": ["def open_servo(name, control_pin):"], "cpp": [ "servo_device open_servo(const string &name, gpio_pin control_pin)" ], @@ -77475,9 +67902,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77487,18 +67912,12 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def servo_named(name):" - ], - "cpp": [ - "servo_device servo_named(const string &name)" - ], + "python": ["def servo_named(name):"], + "cpp": ["servo_device servo_named(const string &name)"], "csharp": [ "public static ServoDevice SplashKit.ServoNamed(string name);" ], - "pascal": [ - "function ServoNamed(const name: String): ServoDevice" - ] + "pascal": ["function ServoNamed(const name: String): ServoDevice"] } }, { @@ -77526,9 +67945,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -77539,9 +67956,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77554,9 +67969,7 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def set_servo_angle(dev, angle_degrees):" - ], + "python": ["def set_servo_angle(dev, angle_degrees):"], "cpp": [ "void set_servo_angle(servo_device dev, double angle_degrees)" ], @@ -77594,9 +68007,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77609,19 +68020,13 @@ "static": "raspberry" }, "signatures": { - "python": [ - "def stop_servo(dev):" - ], - "cpp": [ - "void stop_servo(servo_device dev)" - ], + "python": ["def stop_servo(dev):"], + "cpp": ["void stop_servo(servo_device dev)"], "csharp": [ "public void ServoDevice.Stop();", "public static void SplashKit.StopServo(ServoDevice dev);" ], - "pascal": [ - "procedure StopServo(dev: ServoDevice)" - ] + "pascal": ["procedure StopServo(dev: ServoDevice)"] } } ], @@ -77675,15 +68080,9 @@ "new_identifier": null } ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "structs": [], + "enums": [], + "defines": [] }, "resource_bundles": { "brief": "SplashKit resource bundles allow you to quickly and easily load a\nnumber of resources in the `Resources` folder.", @@ -77714,9 +68113,7 @@ "is_const": true, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77726,18 +68123,12 @@ "static": "resource_bundle" }, "signatures": { - "python": [ - "def free_resource_bundle(name):" - ], - "cpp": [ - "void free_resource_bundle(const string name)" - ], + "python": ["def free_resource_bundle(name):"], + "cpp": ["void free_resource_bundle(const string name)"], "csharp": [ "public static void SplashKit.FreeResourceBundle(string name);" ], - "pascal": [ - "procedure FreeResourceBundle(name: String)" - ] + "pascal": ["procedure FreeResourceBundle(name: String)"] } }, { @@ -77765,9 +68156,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77777,18 +68166,12 @@ "static": "resource_bundle" }, "signatures": { - "python": [ - "def has_resource_bundle(name):" - ], - "cpp": [ - "bool has_resource_bundle(const string &name)" - ], + "python": ["def has_resource_bundle(name):"], + "cpp": ["bool has_resource_bundle(const string &name)"], "csharp": [ "public static bool SplashKit.HasResourceBundle(string name);" ], - "pascal": [ - "function HasResourceBundle(const name: String): Boolean" - ] + "pascal": ["function HasResourceBundle(const name: String): Boolean"] } }, { @@ -77816,9 +68199,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -77829,9 +68210,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77841,9 +68220,7 @@ "static": "resource_bundle" }, "signatures": { - "python": [ - "def load_resource_bundle(name, filename):" - ], + "python": ["def load_resource_bundle(name, filename):"], "cpp": [ "void load_resource_bundle(const string &name, const string &filename)" ], @@ -77856,18 +68233,10 @@ } } ], - "typedefs": [ - - ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "typedefs": [], + "structs": [], + "enums": [], + "defines": [] }, "resources": { "brief": "SplashKit resource functions allow you to locate resources in a\nproject's `Resources` folder.", @@ -77898,9 +68267,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77910,18 +68277,12 @@ "static": "resources" }, "signatures": { - "python": [ - "def deregister_free_notifier(handler):" - ], - "cpp": [ - "void deregister_free_notifier(free_notifier *handler)" - ], + "python": ["def deregister_free_notifier(handler):"], + "cpp": ["void deregister_free_notifier(free_notifier *handler)"], "csharp": [ "public static void SplashKit.DeregisterFreeNotifier(FreeNotifier handler);" ], - "pascal": [ - "procedure DeregisterFreeNotifier(handler: FreeNotifier)" - ] + "pascal": ["procedure DeregisterFreeNotifier(handler: FreeNotifier)"] } }, { @@ -77949,9 +68310,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -77962,9 +68321,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -77974,9 +68331,7 @@ "static": "resources" }, "signatures": { - "python": [ - "def path_to_resource(filename, kind):" - ], + "python": ["def path_to_resource(filename, kind):"], "cpp": [ "string path_to_resource(const string &filename, resource_kind kind)" ], @@ -78005,25 +68360,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "resources", "static": "resources" }, "signatures": { - "python": [ - "def path_to_resources():" - ], - "cpp": [ - "string path_to_resources()" - ], - "csharp": [ - "public static string SplashKit.PathToResources();" - ], - "pascal": [ - "function PathToResources(): String" - ] + "python": ["def path_to_resources():"], + "cpp": ["string path_to_resources()"], + "csharp": ["public static string SplashKit.PathToResources();"], + "pascal": ["function PathToResources(): String"] } }, { @@ -78051,9 +68397,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78064,18 +68408,12 @@ "static": "resources" }, "signatures": { - "python": [ - "def path_to_resources_for_kind(kind):" - ], - "cpp": [ - "string path_to_resources(resource_kind kind)" - ], + "python": ["def path_to_resources_for_kind(kind):"], + "cpp": ["string path_to_resources(resource_kind kind)"], "csharp": [ "public static string SplashKit.PathToResources(ResourceKind kind);" ], - "pascal": [ - "function PathToResources(kind: ResourceKind): String" - ] + "pascal": ["function PathToResources(kind: ResourceKind): String"] } }, { @@ -78103,9 +68441,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78115,18 +68451,12 @@ "static": "resources" }, "signatures": { - "python": [ - "def register_free_notifier(fn):" - ], - "cpp": [ - "void register_free_notifier(free_notifier *fn)" - ], + "python": ["def register_free_notifier(fn):"], + "cpp": ["void register_free_notifier(free_notifier *fn)"], "csharp": [ "public static void SplashKit.RegisterFreeNotifier(FreeNotifier fn);" ], - "pascal": [ - "procedure RegisterFreeNotifier(fn: FreeNotifier)" - ] + "pascal": ["procedure RegisterFreeNotifier(fn: FreeNotifier)"] } }, { @@ -78154,9 +68484,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78166,18 +68494,12 @@ "static": "resources" }, "signatures": { - "python": [ - "def set_resources_path(path):" - ], - "cpp": [ - "void set_resources_path(const string &path)" - ], + "python": ["def set_resources_path(path):"], + "cpp": ["void set_resources_path(const string &path)"], "csharp": [ "public static void SplashKit.SetResourcesPath(string path);" ], - "pascal": [ - "procedure SetResourcesPath(const path: String)" - ] + "pascal": ["procedure SetResourcesPath(const path: String)"] } } ], @@ -78208,18 +68530,14 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } } } ], - "structs": [ - - ], + "structs": [], "enums": [ { "signature": "enum resource_kind {ANIMATION_RESOURCE,BUNDLE_RESOURCE,FONT_RESOURCE,IMAGE_RESOURCE,JSON_RESOURCE,MUSIC_RESOURCE,SERVER_RESOURCE,SOUND_RESOURCE,TIMER_RESOURCE,OTHER_RESOURCE};", @@ -78270,9 +68588,7 @@ } } ], - "defines": [ - - ] + "defines": [] }, "sprites": { "brief": "SplashKit Sprites allows you to create images you can easily\nmove and animate.", @@ -78303,9 +68619,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -78316,9 +68630,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78329,9 +68641,7 @@ "static": "sprite" }, "signatures": { - "python": [ - "def call_for_all_sprites_with_value(fn, val):" - ], + "python": ["def call_for_all_sprites_with_value(fn, val):"], "cpp": [ "void call_for_all_sprites(sprite_float_function *fn, float val)" ], @@ -78368,9 +68678,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78380,18 +68688,12 @@ "static": "sprite" }, "signatures": { - "python": [ - "def call_for_all_sprites(fn):" - ], - "cpp": [ - "void call_for_all_sprites(sprite_function *fn)" - ], + "python": ["def call_for_all_sprites(fn):"], + "cpp": ["void call_for_all_sprites(sprite_function *fn)"], "csharp": [ "public static void SplashKit.CallForAllSprites(SpriteFunction fn);" ], - "pascal": [ - "procedure CallForAllSprites(fn: SpriteFunction)" - ] + "pascal": ["procedure CallForAllSprites(fn: SpriteFunction)"] } }, { @@ -78419,9 +68721,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78431,18 +68731,12 @@ "static": "sprite" }, "signatures": { - "python": [ - "def call_on_sprite_event(handler):" - ], - "cpp": [ - "void call_on_sprite_event(sprite_event_handler *handler)" - ], + "python": ["def call_on_sprite_event(handler):"], + "cpp": ["void call_on_sprite_event(sprite_event_handler *handler)"], "csharp": [ "public static void SplashKit.CallOnSpriteEvent(SpriteEventHandler handler);" ], - "pascal": [ - "procedure CallOnSpriteEvent(handler: SpriteEventHandler)" - ] + "pascal": ["procedure CallOnSpriteEvent(handler: SpriteEventHandler)"] } }, { @@ -78470,9 +68764,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78484,19 +68776,13 @@ "static": "sprite" }, "signatures": { - "python": [ - "def create_sprite(layer):" - ], - "cpp": [ - "sprite create_sprite(bitmap layer)" - ], + "python": ["def create_sprite(layer):"], + "cpp": ["sprite create_sprite(bitmap layer)"], "csharp": [ "public static Sprite SplashKit.CreateSprite(Bitmap layer);", "public Sprite(Bitmap layer);" ], - "pascal": [ - "function CreateSprite(layer: Bitmap): Sprite" - ] + "pascal": ["function CreateSprite(layer: Bitmap): Sprite"] } }, { @@ -78524,9 +68810,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -78537,9 +68821,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78552,12 +68834,8 @@ "static": "sprite" }, "signatures": { - "python": [ - "def create_sprite_with_animation(layer, ani):" - ], - "cpp": [ - "sprite create_sprite(bitmap layer, animation_script ani)" - ], + "python": ["def create_sprite_with_animation(layer, ani):"], + "cpp": ["sprite create_sprite(bitmap layer, animation_script ani)"], "csharp": [ "public static Sprite SplashKit.CreateSprite(Bitmap layer, AnimationScript ani);", "public Sprite(Bitmap layer, AnimationScript ani);" @@ -78592,9 +68870,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78607,19 +68883,13 @@ "static": "sprite" }, "signatures": { - "python": [ - "def create_sprite_with_bitmap_named(bitmap_name):" - ], - "cpp": [ - "sprite create_sprite(const string &bitmap_name)" - ], + "python": ["def create_sprite_with_bitmap_named(bitmap_name):"], + "cpp": ["sprite create_sprite(const string &bitmap_name)"], "csharp": [ "public static Sprite SplashKit.CreateSprite(string bitmapName);", "public Sprite(string bitmapName);" ], - "pascal": [ - "function CreateSprite(const bitmapName: String): Sprite" - ] + "pascal": ["function CreateSprite(const bitmapName: String): Sprite"] } }, { @@ -78647,9 +68917,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -78660,9 +68928,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78675,12 +68941,8 @@ "static": "sprite" }, "signatures": { - "python": [ - "def create_sprite_named(name, layer):" - ], - "cpp": [ - "sprite create_sprite(const string &name, bitmap layer)" - ], + "python": ["def create_sprite_named(name, layer):"], + "cpp": ["sprite create_sprite(const string &name, bitmap layer)"], "csharp": [ "public static Sprite SplashKit.CreateSprite(string name, Bitmap layer);", "public Sprite(string name, Bitmap layer);" @@ -78715,9 +68977,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -78728,9 +68988,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -78741,9 +68999,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78796,9 +69052,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -78809,9 +69063,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78864,9 +69116,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -78876,18 +69126,12 @@ "static": "sprite" }, "signatures": { - "python": [ - "def create_sprite_pack(name):" - ], - "cpp": [ - "void create_sprite_pack(const string &name)" - ], + "python": ["def create_sprite_pack(name):"], + "cpp": ["void create_sprite_pack(const string &name)"], "csharp": [ "public static void SplashKit.CreateSpritePack(string name);" ], - "pascal": [ - "procedure CreateSpritePack(const name: String)" - ] + "pascal": ["procedure CreateSpritePack(const name: String)"] } }, { @@ -78907,25 +69151,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "sprites", "static": "sprite" }, "signatures": { - "python": [ - "def current_sprite_pack():" - ], - "cpp": [ - "string current_sprite_pack()" - ], - "csharp": [ - "public static string SplashKit.CurrentSpritePack();" - ], - "pascal": [ - "function CurrentSpritePack(): String" - ] + "python": ["def current_sprite_pack():"], + "cpp": ["string current_sprite_pack()"], + "csharp": ["public static string SplashKit.CurrentSpritePack();"], + "pascal": ["function CurrentSpritePack(): String"] } }, { @@ -78945,25 +69180,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "sprites", "static": "sprite" }, "signatures": { - "python": [ - "def draw_all_sprites():" - ], - "cpp": [ - "void draw_all_sprites()" - ], - "csharp": [ - "public static void SplashKit.DrawAllSprites();" - ], - "pascal": [ - "procedure DrawAllSprites()" - ] + "python": ["def draw_all_sprites():"], + "cpp": ["void draw_all_sprites()"], + "csharp": ["public static void SplashKit.DrawAllSprites();"], + "pascal": ["procedure DrawAllSprites()"] } }, { @@ -78991,9 +69217,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79004,9 +69228,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79020,19 +69242,13 @@ "self": "s" }, "signatures": { - "python": [ - "def draw_sprite_offset_by(s, offset):" - ], - "cpp": [ - "void draw_sprite(sprite s, const vector_2d &offset)" - ], + "python": ["def draw_sprite_offset_by(s, offset):"], + "cpp": ["void draw_sprite(sprite s, const vector_2d &offset)"], "csharp": [ "public void Sprite.Draw(Vector2D offset);", "public static void SplashKit.DrawSprite(Sprite s, Vector2D offset);" ], - "pascal": [ - "procedure DrawSprite(s: Sprite; const offset: Vector2D)" - ] + "pascal": ["procedure DrawSprite(s: Sprite; const offset: Vector2D)"] } }, { @@ -79060,9 +69276,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79075,19 +69289,13 @@ "self": "s" }, "signatures": { - "python": [ - "def draw_sprite(s):" - ], - "cpp": [ - "void draw_sprite(sprite s)" - ], + "python": ["def draw_sprite(s):"], + "cpp": ["void draw_sprite(sprite s)"], "csharp": [ "public void Sprite.Draw();", "public static void SplashKit.DrawSprite(Sprite s);" ], - "pascal": [ - "procedure DrawSprite(s: Sprite)" - ] + "pascal": ["procedure DrawSprite(s: Sprite)"] } }, { @@ -79115,9 +69323,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79128,9 +69334,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79141,9 +69345,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79157,9 +69359,7 @@ "self": "s" }, "signatures": { - "python": [ - "def draw_sprite_offset_x_y(s, x_offset, y_offset):" - ], + "python": ["def draw_sprite_offset_x_y(s, x_offset, y_offset):"], "cpp": [ "void draw_sprite(sprite s, double x_offset, double y_offset)" ], @@ -79189,25 +69389,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "sprites", "static": "sprite" }, "signatures": { - "python": [ - "def free_all_sprites():" - ], - "cpp": [ - "void free_all_sprites()" - ], - "csharp": [ - "public static void SplashKit.FreeAllSprites();" - ], - "pascal": [ - "procedure FreeAllSprites()" - ] + "python": ["def free_all_sprites():"], + "cpp": ["void free_all_sprites()"], + "csharp": ["public static void SplashKit.FreeAllSprites();"], + "pascal": ["procedure FreeAllSprites()"] } }, { @@ -79235,9 +69426,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79250,18 +69439,10 @@ "self": "s" }, "signatures": { - "python": [ - "def free_sprite(s):" - ], - "cpp": [ - "void free_sprite(sprite s)" - ], - "csharp": [ - "public static void SplashKit.FreeSprite(Sprite s);" - ], - "pascal": [ - "procedure FreeSprite(s: Sprite)" - ] + "python": ["def free_sprite(s):"], + "cpp": ["void free_sprite(sprite s)"], + "csharp": ["public static void SplashKit.FreeSprite(Sprite s);"], + "pascal": ["procedure FreeSprite(s: Sprite)"] } }, { @@ -79289,9 +69470,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79301,18 +69480,12 @@ "static": "sprite" }, "signatures": { - "python": [ - "def free_sprite_pack(name):" - ], - "cpp": [ - "void free_sprite_pack(const string &name)" - ], + "python": ["def free_sprite_pack(name):"], + "cpp": ["void free_sprite_pack(const string &name)"], "csharp": [ "public static void SplashKit.FreeSpritePack(string name);" ], - "pascal": [ - "procedure FreeSpritePack(const name: String)" - ] + "pascal": ["procedure FreeSpritePack(const name: String)"] } }, { @@ -79340,9 +69513,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79352,18 +69523,10 @@ "static": "sprite" }, "signatures": { - "python": [ - "def has_sprite(name):" - ], - "cpp": [ - "bool has_sprite(const string &name)" - ], - "csharp": [ - "public static bool SplashKit.HasSprite(string name);" - ], - "pascal": [ - "function HasSprite(const name: String): Boolean" - ] + "python": ["def has_sprite(name):"], + "cpp": ["bool has_sprite(const string &name)"], + "csharp": ["public static bool SplashKit.HasSprite(string name);"], + "pascal": ["function HasSprite(const name: String): Boolean"] } }, { @@ -79391,9 +69554,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79403,18 +69564,12 @@ "static": "sprite" }, "signatures": { - "python": [ - "def has_sprite_pack(name):" - ], - "cpp": [ - "bool has_sprite_pack(const string &name)" - ], + "python": ["def has_sprite_pack(name):"], + "cpp": ["bool has_sprite_pack(const string &name)"], "csharp": [ "public static bool SplashKit.HasSpritePack(string name);" ], - "pascal": [ - "function HasSpritePack(const name: String): Boolean" - ] + "pascal": ["function HasSpritePack(const name: String): Boolean"] } }, { @@ -79442,9 +69597,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79457,19 +69610,13 @@ "self": "s" }, "signatures": { - "python": [ - "def move_sprite(s):" - ], - "cpp": [ - "void move_sprite(sprite s)" - ], + "python": ["def move_sprite(s):"], + "cpp": ["void move_sprite(sprite s)"], "csharp": [ "public void Sprite.Move();", "public static void SplashKit.MoveSprite(Sprite s);" ], - "pascal": [ - "procedure MoveSprite(s: Sprite)" - ] + "pascal": ["procedure MoveSprite(s: Sprite)"] } }, { @@ -79497,9 +69644,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79510,9 +69655,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79526,12 +69669,8 @@ "self": "s" }, "signatures": { - "python": [ - "def move_sprite_by_vector(s, distance):" - ], - "cpp": [ - "void move_sprite(sprite s, const vector_2d &distance)" - ], + "python": ["def move_sprite_by_vector(s, distance):"], + "cpp": ["void move_sprite(sprite s, const vector_2d &distance)"], "csharp": [ "public void Sprite.Move(Vector2D distance);", "public static void SplashKit.MoveSprite(Sprite s, Vector2D distance);" @@ -79566,9 +69705,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79579,9 +69716,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79592,9 +69727,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79608,9 +69741,7 @@ "self": "s" }, "signatures": { - "python": [ - "def move_sprite_by_vector_percent(s, distance, pct):" - ], + "python": ["def move_sprite_by_vector_percent(s, distance, pct):"], "cpp": [ "void move_sprite(sprite s, const vector_2d &distance, float pct)" ], @@ -79648,9 +69779,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79661,9 +69790,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79677,19 +69804,13 @@ "self": "s" }, "signatures": { - "python": [ - "def move_sprite_percent(s, pct):" - ], - "cpp": [ - "void move_sprite(sprite s, float pct)" - ], + "python": ["def move_sprite_percent(s, pct):"], + "cpp": ["void move_sprite(sprite s, float pct)"], "csharp": [ "public void Sprite.Move(float pct);", "public static void SplashKit.MoveSprite(Sprite s, float pct);" ], - "pascal": [ - "procedure MoveSprite(s: Sprite; pct: Single)" - ] + "pascal": ["procedure MoveSprite(s: Sprite; pct: Single)"] } }, { @@ -79717,9 +69838,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79730,9 +69849,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79743,9 +69860,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79758,19 +69873,13 @@ "self": "s" }, "signatures": { - "python": [ - "def move_sprite_to(s, x, y):" - ], - "cpp": [ - "void move_sprite_to(sprite s, double x, double y)" - ], + "python": ["def move_sprite_to(s, x, y):"], + "cpp": ["void move_sprite_to(sprite s, double x, double y)"], "csharp": [ "public void Sprite.MoveTo(double x, double y);", "public static void SplashKit.MoveSpriteTo(Sprite s, double x, double y);" ], - "pascal": [ - "procedure MoveSpriteTo(s: Sprite; x: Double; y: Double)" - ] + "pascal": ["procedure MoveSpriteTo(s: Sprite; x: Double; y: Double)"] } }, { @@ -79798,9 +69907,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79810,18 +69917,12 @@ "static": "sprite" }, "signatures": { - "python": [ - "def select_sprite_pack(name):" - ], - "cpp": [ - "void select_sprite_pack(const string &name)" - ], + "python": ["def select_sprite_pack(name):"], + "cpp": ["void select_sprite_pack(const string &name)"], "csharp": [ "public static void SplashKit.SelectSpritePack(string name);" ], - "pascal": [ - "procedure SelectSpritePack(const name: String)" - ] + "pascal": ["procedure SelectSpritePack(const name: String)"] } }, { @@ -79849,9 +69950,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79862,9 +69961,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79875,9 +69972,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79890,9 +69985,7 @@ "static": "sprite" }, "signatures": { - "python": [ - "def sprite_add_layer(s, new_layer, layer_name):" - ], + "python": ["def sprite_add_layer(s, new_layer, layer_name):"], "cpp": [ "int sprite_add_layer(sprite s, bitmap new_layer, const string &layer_name)" ], @@ -79930,9 +70023,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -79943,9 +70034,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -79958,9 +70047,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_add_to_velocity(s, value):" - ], + "python": ["def sprite_add_to_velocity(s, value):"], "cpp": [ "void sprite_add_to_velocity(sprite s, const vector_2d &value)" ], @@ -79998,9 +70085,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -80011,9 +70096,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80026,19 +70109,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_add_value(s, name):" - ], - "cpp": [ - "void sprite_add_value(sprite s, const string &name)" - ], + "python": ["def sprite_add_value(s, name):"], + "cpp": ["void sprite_add_value(sprite s, const string &name)"], "csharp": [ "public void Sprite.AddValue(string name);", "public static void SplashKit.SpriteAddValue(Sprite s, string name);" ], - "pascal": [ - "procedure SpriteAddValue(s: Sprite; const name: String)" - ] + "pascal": ["procedure SpriteAddValue(s: Sprite; const name: String)"] } }, { @@ -80066,9 +70143,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -80079,9 +70154,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -80092,9 +70165,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80108,9 +70179,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_add_value_with_default(s, name, init_val):" - ], + "python": ["def sprite_add_value_with_default(s, name, init_val):"], "cpp": [ "void sprite_add_value(sprite s, const string &name, float init_val)" ], @@ -80148,9 +70217,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80163,19 +70230,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_anchor_point(s):" - ], - "cpp": [ - "point_2d sprite_anchor_point(sprite s)" - ], + "python": ["def sprite_anchor_point(s):"], + "cpp": ["point_2d sprite_anchor_point(sprite s)"], "csharp": [ "public Point2D Sprite.AnchorPoint { get }", "public static Point2D SplashKit.SpriteAnchorPoint(Sprite s);" ], - "pascal": [ - "function SpriteAnchorPoint(s: Sprite): Point2D" - ] + "pascal": ["function SpriteAnchorPoint(s: Sprite): Point2D"] } }, { @@ -80203,9 +70264,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80215,18 +70274,12 @@ "static": "sprite" }, "signatures": { - "python": [ - "def sprite_anchor_position(s):" - ], - "cpp": [ - "point_2d sprite_anchor_position(sprite s)" - ], + "python": ["def sprite_anchor_position(s):"], + "cpp": ["point_2d sprite_anchor_position(sprite s)"], "csharp": [ "public static Point2D SplashKit.SpriteAnchorPosition(Sprite s);" ], - "pascal": [ - "function SpriteAnchorPosition(s: Sprite): Point2D" - ] + "pascal": ["function SpriteAnchorPosition(s: Sprite): Point2D"] } }, { @@ -80254,9 +70307,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80269,19 +70320,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_animation_has_ended(s):" - ], - "cpp": [ - "bool sprite_animation_has_ended(sprite s)" - ], + "python": ["def sprite_animation_has_ended(s):"], + "cpp": ["bool sprite_animation_has_ended(sprite s)"], "csharp": [ "public bool Sprite.AnimationHasEnded { get }", "public static bool SplashKit.SpriteAnimationHasEnded(Sprite s);" ], - "pascal": [ - "function SpriteAnimationHasEnded(s: Sprite): Boolean" - ] + "pascal": ["function SpriteAnimationHasEnded(s: Sprite): Boolean"] } }, { @@ -80309,9 +70354,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80324,19 +70367,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_animation_name(s):" - ], - "cpp": [ - "string sprite_animation_name(sprite s)" - ], + "python": ["def sprite_animation_name(s):"], + "cpp": ["string sprite_animation_name(sprite s)"], "csharp": [ "public string Sprite.AnimationName();", "public static string SplashKit.SpriteAnimationName(Sprite s);" ], - "pascal": [ - "function SpriteAnimationName(s: Sprite): String" - ] + "pascal": ["function SpriteAnimationName(s: Sprite): String"] } }, { @@ -80364,9 +70401,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -80377,9 +70412,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80389,18 +70422,12 @@ "static": "sprite" }, "signatures": { - "python": [ - "def sprite_at(s, pt):" - ], - "cpp": [ - "bool sprite_at(sprite s, const point_2d &pt)" - ], + "python": ["def sprite_at(s, pt):"], + "cpp": ["bool sprite_at(sprite s, const point_2d &pt)"], "csharp": [ "public static bool SplashKit.SpriteAt(Sprite s, Point2D pt);" ], - "pascal": [ - "function SpriteAt(s: Sprite; const pt: Point2D): Boolean" - ] + "pascal": ["function SpriteAt(s: Sprite; const pt: Point2D): Boolean"] } }, { @@ -80428,9 +70455,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -80441,9 +70466,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80456,9 +70479,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_bring_layer_forward(s, visible_layer):" - ], + "python": ["def sprite_bring_layer_forward(s, visible_layer):"], "cpp": [ "void sprite_bring_layer_forward(sprite s, int visible_layer)" ], @@ -80496,9 +70517,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -80509,9 +70528,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80524,9 +70541,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_bring_layer_to_front(s, visible_layer):" - ], + "python": ["def sprite_bring_layer_to_front(s, visible_layer):"], "cpp": [ "void sprite_bring_layer_to_front(sprite s, int visible_layer)" ], @@ -80564,9 +70579,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -80577,9 +70590,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80592,9 +70603,7 @@ "static": "sprite" }, "signatures": { - "python": [ - "def sprite_call_on_event(s, handler):" - ], + "python": ["def sprite_call_on_event(s, handler):"], "cpp": [ "void sprite_call_on_event(sprite s, sprite_event_handler *handler)" ], @@ -80632,9 +70641,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80647,19 +70654,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_center_point(s):" - ], - "cpp": [ - "point_2d sprite_center_point(sprite s)" - ], + "python": ["def sprite_center_point(s):"], + "cpp": ["point_2d sprite_center_point(sprite s)"], "csharp": [ "public Point2D Sprite.SpriteCenterPoint { get }", "public static Point2D SplashKit.SpriteCenterPoint(Sprite s);" ], - "pascal": [ - "function SpriteCenterPoint(s: Sprite): Point2D" - ] + "pascal": ["function SpriteCenterPoint(s: Sprite): Point2D"] } }, { @@ -80687,9 +70688,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80702,19 +70701,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_circle(s):" - ], - "cpp": [ - "circle sprite_circle(sprite s)" - ], + "python": ["def sprite_circle(s):"], + "cpp": ["circle sprite_circle(sprite s)"], "csharp": [ "public Circle Sprite.Circle();", "public static Circle SplashKit.SpriteCircle(Sprite s);" ], - "pascal": [ - "function SpriteCircle(s: Sprite): Circle" - ] + "pascal": ["function SpriteCircle(s: Sprite): Circle"] } }, { @@ -80742,9 +70735,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80757,19 +70748,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_collision_bitmap(s):" - ], - "cpp": [ - "bitmap sprite_collision_bitmap(sprite s)" - ], + "python": ["def sprite_collision_bitmap(s):"], + "cpp": ["bitmap sprite_collision_bitmap(sprite s)"], "csharp": [ "public Bitmap Sprite.CollisionBitmap { get }", "public static Bitmap SplashKit.SpriteCollisionBitmap(Sprite s);" ], - "pascal": [ - "function SpriteCollisionBitmap(s: Sprite): Bitmap" - ] + "pascal": ["function SpriteCollisionBitmap(s: Sprite): Bitmap"] } }, { @@ -80797,9 +70782,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80812,19 +70795,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_collision_circle(s):" - ], - "cpp": [ - "circle sprite_collision_circle(sprite s)" - ], + "python": ["def sprite_collision_circle(s):"], + "cpp": ["circle sprite_collision_circle(sprite s)"], "csharp": [ "public Circle Sprite.CollisionCircle();", "public static Circle SplashKit.SpriteCollisionCircle(Sprite s);" ], - "pascal": [ - "function SpriteCollisionCircle(s: Sprite): Circle" - ] + "pascal": ["function SpriteCollisionCircle(s: Sprite): Circle"] } }, { @@ -80852,9 +70829,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80867,12 +70842,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_collision_kind(s):" - ], - "cpp": [ - "collision_test_kind sprite_collision_kind(sprite s)" - ], + "python": ["def sprite_collision_kind(s):"], + "cpp": ["collision_test_kind sprite_collision_kind(sprite s)"], "csharp": [ "public CollisionTestKind Sprite.CollisionKind { get }", "public static CollisionTestKind SplashKit.SpriteCollisionKind(Sprite s);" @@ -80907,9 +70878,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80922,19 +70891,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_collision_rectangle(s):" - ], - "cpp": [ - "rectangle sprite_collision_rectangle(sprite s)" - ], + "python": ["def sprite_collision_rectangle(s):"], + "cpp": ["rectangle sprite_collision_rectangle(sprite s)"], "csharp": [ "public Rectangle Sprite.CollisionRectangle { get }", "public static Rectangle SplashKit.SpriteCollisionRectangle(Sprite s);" ], - "pascal": [ - "function SpriteCollisionRectangle(s: Sprite): Rectangle" - ] + "pascal": ["function SpriteCollisionRectangle(s: Sprite): Rectangle"] } }, { @@ -80962,9 +70925,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -80977,19 +70938,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_current_cell(s):" - ], - "cpp": [ - "int sprite_current_cell(sprite s)" - ], + "python": ["def sprite_current_cell(s):"], + "cpp": ["int sprite_current_cell(sprite s)"], "csharp": [ "public int Sprite.CurrentCell { get }", "public static int SplashKit.SpriteCurrentCell(Sprite s);" ], - "pascal": [ - "function SpriteCurrentCell(s: Sprite): Integer" - ] + "pascal": ["function SpriteCurrentCell(s: Sprite): Integer"] } }, { @@ -81017,9 +70972,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81032,12 +70985,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_current_cell_rectangle(s):" - ], - "cpp": [ - "rectangle sprite_current_cell_rectangle(sprite s)" - ], + "python": ["def sprite_current_cell_rectangle(s):"], + "cpp": ["rectangle sprite_current_cell_rectangle(sprite s)"], "csharp": [ "public Rectangle Sprite.CurrentCellRectangle { get }", "public static Rectangle SplashKit.SpriteCurrentCellRectangle(Sprite s);" @@ -81072,9 +71021,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81087,19 +71034,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_dx(s):" - ], - "cpp": [ - "double sprite_dx(sprite s)" - ], + "python": ["def sprite_dx(s):"], + "cpp": ["double sprite_dx(sprite s)"], "csharp": [ "public double Sprite.Dx { get }", "public static double SplashKit.SpriteDx(Sprite s);" ], - "pascal": [ - "function SpriteDx(s: Sprite): Double" - ] + "pascal": ["function SpriteDx(s: Sprite): Double"] } }, { @@ -81127,9 +71068,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81142,19 +71081,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_dy(s):" - ], - "cpp": [ - "double sprite_dy(sprite s)" - ], + "python": ["def sprite_dy(s):"], + "cpp": ["double sprite_dy(sprite s)"], "csharp": [ "public double Sprite.Dy { get }", "public static double SplashKit.SpriteDy(Sprite s);" ], - "pascal": [ - "function SpriteDy(s: Sprite): Double" - ] + "pascal": ["function SpriteDy(s: Sprite): Double"] } }, { @@ -81182,9 +71115,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -81195,9 +71126,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81207,12 +71136,8 @@ "static": "sprite" }, "signatures": { - "python": [ - "def sprite_has_value(s, name):" - ], - "cpp": [ - "bool sprite_has_value(sprite s, string name)" - ], + "python": ["def sprite_has_value(s, name):"], + "cpp": ["bool sprite_has_value(sprite s, string name)"], "csharp": [ "public static bool SplashKit.SpriteHasValue(Sprite s, string name);" ], @@ -81246,9 +71171,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81261,19 +71184,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_heading(s):" - ], - "cpp": [ - "float sprite_heading(sprite s)" - ], + "python": ["def sprite_heading(s):"], + "cpp": ["float sprite_heading(sprite s)"], "csharp": [ "public float Sprite.Heading { get }", "public static float SplashKit.SpriteHeading(Sprite s);" ], - "pascal": [ - "function SpriteHeading(s: Sprite): Single" - ] + "pascal": ["function SpriteHeading(s: Sprite): Single"] } }, { @@ -81301,9 +71218,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81316,19 +71231,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_height(s):" - ], - "cpp": [ - "int sprite_height(sprite s)" - ], + "python": ["def sprite_height(s):"], + "cpp": ["int sprite_height(sprite s)"], "csharp": [ "public int Sprite.Height { get }", "public static int SplashKit.SpriteHeight(Sprite s);" ], - "pascal": [ - "function SpriteHeight(s: Sprite): Integer" - ] + "pascal": ["function SpriteHeight(s: Sprite): Integer"] } }, { @@ -81356,9 +71265,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -81369,9 +71276,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81385,19 +71290,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_hide_layer_named(s, name):" - ], - "cpp": [ - "void sprite_hide_layer(sprite s, const string &name)" - ], + "python": ["def sprite_hide_layer_named(s, name):"], + "cpp": ["void sprite_hide_layer(sprite s, const string &name)"], "csharp": [ "public void Sprite.HideLayer(string name);", "public static void SplashKit.SpriteHideLayer(Sprite s, string name);" ], - "pascal": [ - "procedure SpriteHideLayer(s: Sprite; const name: String)" - ] + "pascal": ["procedure SpriteHideLayer(s: Sprite; const name: String)"] } }, { @@ -81425,9 +71324,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -81438,9 +71335,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81453,19 +71348,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_hide_layer(s, id):" - ], - "cpp": [ - "void sprite_hide_layer(sprite s, int id)" - ], + "python": ["def sprite_hide_layer(s, id):"], + "cpp": ["void sprite_hide_layer(sprite s, int id)"], "csharp": [ "public void Sprite.HideLayer(int id);", "public static void SplashKit.SpriteHideLayer(Sprite s, int id);" ], - "pascal": [ - "procedure SpriteHideLayer(s: Sprite; id: Integer)" - ] + "pascal": ["procedure SpriteHideLayer(s: Sprite; id: Integer)"] } }, { @@ -81493,9 +71382,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -81506,9 +71393,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81522,12 +71407,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_named(s, name):" - ], - "cpp": [ - "bitmap sprite_layer(sprite s, const string &name)" - ], + "python": ["def sprite_layer_named(s, name):"], + "cpp": ["bitmap sprite_layer(sprite s, const string &name)"], "csharp": [ "public Bitmap Sprite.Layer(string name);", "public static Bitmap SplashKit.SpriteLayer(Sprite s, string name);" @@ -81562,9 +71443,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -81575,9 +71454,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81591,19 +71468,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_at_index(s, idx):" - ], - "cpp": [ - "bitmap sprite_layer(sprite s, int idx)" - ], + "python": ["def sprite_layer_at_index(s, idx):"], + "cpp": ["bitmap sprite_layer(sprite s, int idx)"], "csharp": [ "public Bitmap Sprite.Layer(int idx);", "public static Bitmap SplashKit.SpriteLayer(Sprite s, int idx);" ], - "pascal": [ - "function SpriteLayer(s: Sprite; idx: Integer): Bitmap" - ] + "pascal": ["function SpriteLayer(s: Sprite; idx: Integer): Bitmap"] } }, { @@ -81631,9 +71502,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -81644,9 +71513,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81660,12 +71527,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_circle_named(s, name):" - ], - "cpp": [ - "circle sprite_layer_circle(sprite s, const string &name)" - ], + "python": ["def sprite_layer_circle_named(s, name):"], + "cpp": ["circle sprite_layer_circle(sprite s, const string &name)"], "csharp": [ "public Circle Sprite.LayerCircle(string name);", "public static Circle SplashKit.SpriteLayerCircle(Sprite s, string name);" @@ -81700,9 +71563,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -81713,9 +71574,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81729,12 +71588,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_circle_at_index(s, idx):" - ], - "cpp": [ - "circle sprite_layer_circle(sprite s, int idx)" - ], + "python": ["def sprite_layer_circle_at_index(s, idx):"], + "cpp": ["circle sprite_layer_circle(sprite s, int idx)"], "csharp": [ "public Circle Sprite.LayerCircle(int idx);", "public static Circle SplashKit.SpriteLayerCircle(Sprite s, int idx);" @@ -81769,9 +71624,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81784,19 +71637,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_count(s):" - ], - "cpp": [ - "int sprite_layer_count(sprite s)" - ], + "python": ["def sprite_layer_count(s):"], + "cpp": ["int sprite_layer_count(sprite s)"], "csharp": [ "public int Sprite.LayerCount { get }", "public static int SplashKit.SpriteLayerCount(Sprite s);" ], - "pascal": [ - "function SpriteLayerCount(s: Sprite): Integer" - ] + "pascal": ["function SpriteLayerCount(s: Sprite): Integer"] } }, { @@ -81824,9 +71671,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -81837,9 +71682,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81853,12 +71696,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_height_named(s, name):" - ], - "cpp": [ - "int sprite_layer_height(sprite s, const string &name)" - ], + "python": ["def sprite_layer_height_named(s, name):"], + "cpp": ["int sprite_layer_height(sprite s, const string &name)"], "csharp": [ "public int Sprite.LayerHeight(string name);", "public static int SplashKit.SpriteLayerHeight(Sprite s, string name);" @@ -81893,9 +71732,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -81906,9 +71743,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81921,12 +71756,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_height(s, idx):" - ], - "cpp": [ - "int sprite_layer_height(sprite s, int idx)" - ], + "python": ["def sprite_layer_height(s, idx):"], + "cpp": ["int sprite_layer_height(sprite s, int idx)"], "csharp": [ "public int Sprite.LayerHeight(int idx);", "public static int SplashKit.SpriteLayerHeight(Sprite s, int idx);" @@ -81961,9 +71792,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -81974,9 +71803,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -81989,12 +71816,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_index(s, name):" - ], - "cpp": [ - "int sprite_layer_index(sprite s, const string &name)" - ], + "python": ["def sprite_layer_index(s, name):"], + "cpp": ["int sprite_layer_index(sprite s, const string &name)"], "csharp": [ "public int Sprite.IndexOfLayer(string name);", "public static int SplashKit.SpriteLayerIndex(Sprite s, string name);" @@ -82029,9 +71852,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -82042,9 +71863,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82057,12 +71876,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_name(s, idx):" - ], - "cpp": [ - "string sprite_layer_name(sprite s, int idx)" - ], + "python": ["def sprite_layer_name(s, idx):"], + "cpp": ["string sprite_layer_name(sprite s, int idx)"], "csharp": [ "public string Sprite.LayerName(int idx);", "public static string SplashKit.SpriteLayerName(Sprite s, int idx);" @@ -82097,9 +71912,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -82110,9 +71923,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82126,9 +71937,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_offset_named(s, name):" - ], + "python": ["def sprite_layer_offset_named(s, name):"], "cpp": [ "vector_2d sprite_layer_offset(sprite s, const string &name)" ], @@ -82166,9 +71975,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -82179,9 +71986,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82194,12 +71999,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_offset(s, idx):" - ], - "cpp": [ - "vector_2d sprite_layer_offset(sprite s, int idx)" - ], + "python": ["def sprite_layer_offset(s, idx):"], + "cpp": ["vector_2d sprite_layer_offset(sprite s, int idx)"], "csharp": [ "public Vector2D Sprite.LayerOffset(int idx);", "public static Vector2D SplashKit.SpriteLayerOffset(Sprite s, int idx);" @@ -82234,9 +72035,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -82247,9 +72046,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82263,9 +72060,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_rectangle_named(s, name):" - ], + "python": ["def sprite_layer_rectangle_named(s, name):"], "cpp": [ "rectangle sprite_layer_rectangle(sprite s, const string &name)" ], @@ -82303,9 +72098,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -82316,9 +72109,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82332,12 +72123,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_rectangle_at_index(s, idx):" - ], - "cpp": [ - "rectangle sprite_layer_rectangle(sprite s, int idx)" - ], + "python": ["def sprite_layer_rectangle_at_index(s, idx):"], + "cpp": ["rectangle sprite_layer_rectangle(sprite s, int idx)"], "csharp": [ "public Rectangle Sprite.LayerRectangle(int idx);", "public static Rectangle SplashKit.SpriteLayerRectangle(Sprite s, int idx);" @@ -82372,9 +72159,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -82385,9 +72170,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82401,12 +72184,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_width_named(s, name):" - ], - "cpp": [ - "int sprite_layer_width(sprite s, const string &name)" - ], + "python": ["def sprite_layer_width_named(s, name):"], + "cpp": ["int sprite_layer_width(sprite s, const string &name)"], "csharp": [ "public int Sprite.LayerWidth(string name);", "public static int SplashKit.SpriteLayerWidth(Sprite s, string name);" @@ -82441,9 +72220,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -82454,9 +72231,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82469,12 +72244,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_layer_width(s, idx):" - ], - "cpp": [ - "int sprite_layer_width(sprite s, int idx)" - ], + "python": ["def sprite_layer_width(s, idx):"], + "cpp": ["int sprite_layer_width(sprite s, int idx)"], "csharp": [ "public int Sprite.LayerWidth(int idx);", "public static int SplashKit.SpriteLayerWidth(Sprite s, int idx);" @@ -82509,9 +72280,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82524,19 +72293,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_location_matrix(s):" - ], - "cpp": [ - "matrix_2d sprite_location_matrix(sprite s)" - ], + "python": ["def sprite_location_matrix(s):"], + "cpp": ["matrix_2d sprite_location_matrix(sprite s)"], "csharp": [ "public Matrix2D Sprite.LocationMatrix { get }", "public static Matrix2D SplashKit.SpriteLocationMatrix(Sprite s);" ], - "pascal": [ - "function SpriteLocationMatrix(s: Sprite): Matrix2D" - ] + "pascal": ["function SpriteLocationMatrix(s: Sprite): Matrix2D"] } }, { @@ -82564,9 +72327,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82579,19 +72340,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_mass(s):" - ], - "cpp": [ - "float sprite_mass(sprite s)" - ], + "python": ["def sprite_mass(s):"], + "cpp": ["float sprite_mass(sprite s)"], "csharp": [ "public float Sprite.Mass { get }", "public static float SplashKit.SpriteMass(Sprite s);" ], - "pascal": [ - "function SpriteMass(s: Sprite): Single" - ] + "pascal": ["function SpriteMass(s: Sprite): Single"] } }, { @@ -82619,9 +72374,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82634,19 +72387,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_move_from_anchor_point(s):" - ], - "cpp": [ - "bool sprite_move_from_anchor_point(sprite s)" - ], + "python": ["def sprite_move_from_anchor_point(s):"], + "cpp": ["bool sprite_move_from_anchor_point(sprite s)"], "csharp": [ "public bool Sprite.MoveFromAnchorPoint { get }", "public static bool SplashKit.SpriteMoveFromAnchorPoint(Sprite s);" ], - "pascal": [ - "function SpriteMoveFromAnchorPoint(s: Sprite): Boolean" - ] + "pascal": ["function SpriteMoveFromAnchorPoint(s: Sprite): Boolean"] } }, { @@ -82674,9 +72421,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -82687,9 +72432,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -82700,9 +72443,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82756,9 +72497,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82771,19 +72510,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_name(s):" - ], - "cpp": [ - "string sprite_name(sprite s)" - ], + "python": ["def sprite_name(s):"], + "cpp": ["string sprite_name(sprite s)"], "csharp": [ "public string Sprite.Name { get }", "public static string SplashKit.SpriteName(Sprite s);" ], - "pascal": [ - "function SpriteName(s: Sprite): String" - ] + "pascal": ["function SpriteName(s: Sprite): String"] } }, { @@ -82811,9 +72544,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82823,18 +72554,12 @@ "static": "sprite" }, "signatures": { - "python": [ - "def sprite_named(name):" - ], - "cpp": [ - "sprite sprite_named(const string &name)" - ], + "python": ["def sprite_named(name):"], + "cpp": ["sprite sprite_named(const string &name)"], "csharp": [ "public static Sprite SplashKit.SpriteNamed(string name);" ], - "pascal": [ - "function SpriteNamed(const name: String): Sprite" - ] + "pascal": ["function SpriteNamed(const name: String): Sprite"] } }, { @@ -82862,9 +72587,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82877,19 +72600,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_offscreen(s):" - ], - "cpp": [ - "bool sprite_offscreen(sprite s)" - ], + "python": ["def sprite_offscreen(s):"], + "cpp": ["bool sprite_offscreen(sprite s)"], "csharp": [ "public bool Sprite.Offscreen();", "public static bool SplashKit.SpriteOffscreen(Sprite s);" ], - "pascal": [ - "function SpriteOffscreen(s: Sprite): Boolean" - ] + "pascal": ["function SpriteOffscreen(s: Sprite): Boolean"] } }, { @@ -82917,9 +72634,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -82930,9 +72645,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -82946,12 +72659,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_on_screen_at_point(s, pt):" - ], - "cpp": [ - "bool sprite_on_screen_at(sprite s, const point_2d &pt)" - ], + "python": ["def sprite_on_screen_at_point(s, pt):"], + "cpp": ["bool sprite_on_screen_at(sprite s, const point_2d &pt)"], "csharp": [ "public bool Sprite.OnScreenAt(Point2D pt);", "public static bool SplashKit.SpriteOnScreenAt(Sprite s, Point2D pt);" @@ -82986,9 +72695,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -82999,9 +72706,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83012,9 +72717,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83027,12 +72730,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_on_screen_at(s, x, y):" - ], - "cpp": [ - "bool sprite_on_screen_at(sprite s, double x, double y)" - ], + "python": ["def sprite_on_screen_at(s, x, y):"], + "cpp": ["bool sprite_on_screen_at(sprite s, double x, double y)"], "csharp": [ "public bool Sprite.OnScreenAt(double x, double y);", "public static bool SplashKit.SpriteOnScreenAt(Sprite s, double x, double y);" @@ -83067,9 +72766,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83082,19 +72779,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_position(s):" - ], - "cpp": [ - "point_2d sprite_position(sprite s)" - ], + "python": ["def sprite_position(s):"], + "cpp": ["point_2d sprite_position(sprite s)"], "csharp": [ "public Point2D Sprite.Position { get }", "public static Point2D SplashKit.SpritePosition(Sprite s);" ], - "pascal": [ - "function SpritePosition(s: Sprite): Point2D" - ] + "pascal": ["function SpritePosition(s: Sprite): Point2D"] } }, { @@ -83122,9 +72813,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83137,19 +72826,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_replay_animation(s):" - ], - "cpp": [ - "void sprite_replay_animation(sprite s)" - ], + "python": ["def sprite_replay_animation(s):"], + "cpp": ["void sprite_replay_animation(sprite s)"], "csharp": [ "public void Sprite.ReplayAnimation();", "public static void SplashKit.SpriteReplayAnimation(Sprite s);" ], - "pascal": [ - "procedure SpriteReplayAnimation(s: Sprite)" - ] + "pascal": ["procedure SpriteReplayAnimation(s: Sprite)"] } }, { @@ -83177,9 +72860,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83190,9 +72871,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83206,12 +72885,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_replay_animation_with_sound(s, with_sound):" - ], - "cpp": [ - "void sprite_replay_animation(sprite s, bool with_sound)" - ], + "python": ["def sprite_replay_animation_with_sound(s, with_sound):"], + "cpp": ["void sprite_replay_animation(sprite s, bool with_sound)"], "csharp": [ "public void Sprite.ReplayAnimation(bool withSound);", "public static void SplashKit.SpriteReplayAnimation(Sprite s, bool withSound);" @@ -83246,9 +72921,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83261,19 +72934,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_rotation(s):" - ], - "cpp": [ - "float sprite_rotation(sprite s)" - ], + "python": ["def sprite_rotation(s):"], + "cpp": ["float sprite_rotation(sprite s)"], "csharp": [ "public float Sprite.Rotation { get }", "public static float SplashKit.SpriteRotation(Sprite s);" ], - "pascal": [ - "function SpriteRotation(s: Sprite): Single" - ] + "pascal": ["function SpriteRotation(s: Sprite): Single"] } }, { @@ -83301,9 +72968,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83316,19 +72981,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_scale(s):" - ], - "cpp": [ - "float sprite_scale(sprite s)" - ], + "python": ["def sprite_scale(s):"], + "cpp": ["float sprite_scale(sprite s)"], "csharp": [ "public float Sprite.Scale { get }", "public static float SplashKit.SpriteScale(Sprite s);" ], - "pascal": [ - "function SpriteScale(s: Sprite): Single" - ] + "pascal": ["function SpriteScale(s: Sprite): Single"] } }, { @@ -83356,9 +73015,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83371,19 +73028,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_screen_rectangle(s):" - ], - "cpp": [ - "rectangle sprite_screen_rectangle(sprite s)" - ], + "python": ["def sprite_screen_rectangle(s):"], + "cpp": ["rectangle sprite_screen_rectangle(sprite s)"], "csharp": [ "public Rectangle Sprite.ScreenRectangle { get }", "public static Rectangle SplashKit.SpriteScreenRectangle(Sprite s);" ], - "pascal": [ - "function SpriteScreenRectangle(s: Sprite): Rectangle" - ] + "pascal": ["function SpriteScreenRectangle(s: Sprite): Rectangle"] } }, { @@ -83411,9 +73062,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83424,9 +73073,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83439,9 +73086,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_send_layer_backward(s, visible_layer):" - ], + "python": ["def sprite_send_layer_backward(s, visible_layer):"], "cpp": [ "void sprite_send_layer_backward(sprite s, int visible_layer)" ], @@ -83479,9 +73124,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83492,9 +73135,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83507,9 +73148,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_send_layer_to_back(s, visible_layer):" - ], + "python": ["def sprite_send_layer_to_back(s, visible_layer):"], "cpp": [ "void sprite_send_layer_to_back(sprite s, int visible_layer)" ], @@ -83547,9 +73186,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83560,9 +73197,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83575,12 +73210,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_anchor_point(s, pt):" - ], - "cpp": [ - "void sprite_set_anchor_point(sprite s, const point_2d &pt)" - ], + "python": ["def sprite_set_anchor_point(s, pt):"], + "cpp": ["void sprite_set_anchor_point(sprite s, const point_2d &pt)"], "csharp": [ "public void Sprite.AnchorPoint { set }", "public static void SplashKit.SpriteSetAnchorPoint(Sprite s, Point2D pt);" @@ -83615,9 +73246,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83628,9 +73257,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83643,12 +73270,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_collision_bitmap(s, bmp):" - ], - "cpp": [ - "void sprite_set_collision_bitmap(sprite s, bitmap bmp)" - ], + "python": ["def sprite_set_collision_bitmap(s, bmp):"], + "cpp": ["void sprite_set_collision_bitmap(sprite s, bitmap bmp)"], "csharp": [ "public void Sprite.CollisionBitmap { set }", "public static void SplashKit.SpriteSetCollisionBitmap(Sprite s, Bitmap bmp);" @@ -83683,9 +73306,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83696,9 +73317,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83711,9 +73330,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_collision_kind(s, value):" - ], + "python": ["def sprite_set_collision_kind(s, value):"], "cpp": [ "void sprite_set_collision_kind(sprite s, collision_test_kind value)" ], @@ -83751,9 +73368,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83764,9 +73379,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83779,19 +73392,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_dx(s, value):" - ], - "cpp": [ - "void sprite_set_dx(sprite s, double value)" - ], + "python": ["def sprite_set_dx(s, value):"], + "cpp": ["void sprite_set_dx(sprite s, double value)"], "csharp": [ "public void Sprite.Dx { set }", "public static void SplashKit.SpriteSetDx(Sprite s, double value);" ], - "pascal": [ - "procedure SpriteSetDx(s: Sprite; value: Double)" - ] + "pascal": ["procedure SpriteSetDx(s: Sprite; value: Double)"] } }, { @@ -83819,9 +73426,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83832,9 +73437,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83847,19 +73450,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_dy(s, value):" - ], - "cpp": [ - "void sprite_set_dy(sprite s, double value)" - ], + "python": ["def sprite_set_dy(s, value):"], + "cpp": ["void sprite_set_dy(sprite s, double value)"], "csharp": [ "public void Sprite.Dy { set }", "public static void SplashKit.SpriteSetDy(Sprite s, double value);" ], - "pascal": [ - "procedure SpriteSetDy(s: Sprite; value: Double)" - ] + "pascal": ["procedure SpriteSetDy(s: Sprite; value: Double)"] } }, { @@ -83887,9 +73484,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83900,9 +73495,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83915,19 +73508,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_heading(s, value):" - ], - "cpp": [ - "void sprite_set_heading(sprite s, float value)" - ], + "python": ["def sprite_set_heading(s, value):"], + "cpp": ["void sprite_set_heading(sprite s, float value)"], "csharp": [ "public void Sprite.Heading { set }", "public static void SplashKit.SpriteSetHeading(Sprite s, float value);" ], - "pascal": [ - "procedure SpriteSetHeading(s: Sprite; value: Single)" - ] + "pascal": ["procedure SpriteSetHeading(s: Sprite; value: Single)"] } }, { @@ -83955,9 +73542,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83968,9 +73553,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -83981,9 +73564,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -83997,9 +73578,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_layer_offset_named(s, name, value):" - ], + "python": ["def sprite_set_layer_offset_named(s, name, value):"], "cpp": [ "void sprite_set_layer_offset(sprite s, const string &name, const vector_2d &value)" ], @@ -84037,9 +73616,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84050,9 +73627,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84063,9 +73638,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84079,9 +73652,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_layer_offset_at_index(s, idx, value):" - ], + "python": ["def sprite_set_layer_offset_at_index(s, idx, value):"], "cpp": [ "void sprite_set_layer_offset(sprite s, int idx, const vector_2d &value)" ], @@ -84119,9 +73690,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84132,9 +73701,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84147,19 +73714,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_mass(s, value):" - ], - "cpp": [ - "void sprite_set_mass(sprite s, float value)" - ], + "python": ["def sprite_set_mass(s, value):"], + "cpp": ["void sprite_set_mass(sprite s, float value)"], "csharp": [ "public void Sprite.Mass { set }", "public static void SplashKit.SpriteSetMass(Sprite s, float value);" ], - "pascal": [ - "procedure SpriteSetMass(s: Sprite; value: Single)" - ] + "pascal": ["procedure SpriteSetMass(s: Sprite; value: Single)"] } }, { @@ -84187,9 +73748,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84200,9 +73759,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84215,9 +73772,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_move_from_anchor_point(s, value):" - ], + "python": ["def sprite_set_move_from_anchor_point(s, value):"], "cpp": [ "void sprite_set_move_from_anchor_point(sprite s, bool value)" ], @@ -84255,9 +73810,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84268,9 +73821,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84283,12 +73834,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_position(s, value):" - ], - "cpp": [ - "void sprite_set_position(sprite s, const point_2d &value)" - ], + "python": ["def sprite_set_position(s, value):"], + "cpp": ["void sprite_set_position(sprite s, const point_2d &value)"], "csharp": [ "public void Sprite.Position { set }", "public static void SplashKit.SpriteSetPosition(Sprite s, Point2D value);" @@ -84323,9 +73870,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84336,9 +73881,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84351,19 +73894,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_rotation(s, value):" - ], - "cpp": [ - "void sprite_set_rotation(sprite s, float value)" - ], + "python": ["def sprite_set_rotation(s, value):"], + "cpp": ["void sprite_set_rotation(sprite s, float value)"], "csharp": [ "public void Sprite.Rotation { set }", "public static void SplashKit.SpriteSetRotation(Sprite s, float value);" ], - "pascal": [ - "procedure SpriteSetRotation(s: Sprite; value: Single)" - ] + "pascal": ["procedure SpriteSetRotation(s: Sprite; value: Single)"] } }, { @@ -84391,9 +73928,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84404,9 +73939,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84419,19 +73952,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_scale(s, value):" - ], - "cpp": [ - "void sprite_set_scale(sprite s, float value)" - ], + "python": ["def sprite_set_scale(s, value):"], + "cpp": ["void sprite_set_scale(sprite s, float value)"], "csharp": [ "public void Sprite.Scale { set }", "public static void SplashKit.SpriteSetScale(Sprite s, float value);" ], - "pascal": [ - "procedure SpriteSetScale(s: Sprite; value: Single)" - ] + "pascal": ["procedure SpriteSetScale(s: Sprite; value: Single)"] } }, { @@ -84459,9 +73986,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84472,9 +73997,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84487,19 +74010,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_speed(s, value):" - ], - "cpp": [ - "void sprite_set_speed(sprite s, double value)" - ], + "python": ["def sprite_set_speed(s, value):"], + "cpp": ["void sprite_set_speed(sprite s, double value)"], "csharp": [ "public void Sprite.Speed { set }", "public static void SplashKit.SpriteSetSpeed(Sprite s, double value);" ], - "pascal": [ - "procedure SpriteSetSpeed(s: Sprite; value: Double)" - ] + "pascal": ["procedure SpriteSetSpeed(s: Sprite; value: Double)"] } }, { @@ -84527,9 +74044,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84540,9 +74055,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84553,9 +74066,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84569,9 +74080,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_value_named(s, name, val):" - ], + "python": ["def sprite_set_value_named(s, name, val):"], "cpp": [ "void sprite_set_value(sprite s, const string &name, float val)" ], @@ -84609,9 +74118,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84622,9 +74129,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84637,12 +74142,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_velocity(s, value):" - ], - "cpp": [ - "void sprite_set_velocity(sprite s, const vector_2d &value)" - ], + "python": ["def sprite_set_velocity(s, value):"], + "cpp": ["void sprite_set_velocity(sprite s, const vector_2d &value)"], "csharp": [ "public void Sprite.Velocity { set }", "public static void SplashKit.SpriteSetVelocity(Sprite s, Vector2D value);" @@ -84677,9 +74178,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84690,9 +74189,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84705,19 +74202,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_x(s, value):" - ], - "cpp": [ - "void sprite_set_x(sprite s, double value)" - ], + "python": ["def sprite_set_x(s, value):"], + "cpp": ["void sprite_set_x(sprite s, double value)"], "csharp": [ "public void Sprite.X { set }", "public static void SplashKit.SpriteSetX(Sprite s, double value);" ], - "pascal": [ - "procedure SpriteSetX(s: Sprite; value: Double)" - ] + "pascal": ["procedure SpriteSetX(s: Sprite; value: Double)"] } }, { @@ -84745,9 +74236,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84758,9 +74247,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84773,19 +74260,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_set_y(s, value):" - ], - "cpp": [ - "void sprite_set_y(sprite s, double value)" - ], + "python": ["def sprite_set_y(s, value):"], + "cpp": ["void sprite_set_y(sprite s, double value)"], "csharp": [ "public void Sprite.Y { set }", "public static void SplashKit.SpriteSetY(Sprite s, double value);" ], - "pascal": [ - "procedure SpriteSetY(s: Sprite; value: Double)" - ] + "pascal": ["procedure SpriteSetY(s: Sprite; value: Double)"] } }, { @@ -84813,9 +74294,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84826,9 +74305,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84842,12 +74319,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_show_layer_named(s, name):" - ], - "cpp": [ - "int sprite_show_layer(sprite s, const string &name)" - ], + "python": ["def sprite_show_layer_named(s, name):"], + "cpp": ["int sprite_show_layer(sprite s, const string &name)"], "csharp": [ "public int Sprite.ShowLayer(string name);", "public static int SplashKit.SpriteShowLayer(Sprite s, string name);" @@ -84882,9 +74355,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -84895,9 +74366,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84910,12 +74379,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_show_layer(s, id):" - ], - "cpp": [ - "int sprite_show_layer(sprite s, int id)" - ], + "python": ["def sprite_show_layer(s, id):"], + "cpp": ["int sprite_show_layer(sprite s, int id)"], "csharp": [ "public int Sprite.ShowLayer(int id);", "public static int SplashKit.SpriteShowLayer(Sprite s, int id);" @@ -84950,9 +74415,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -84965,19 +74428,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_speed(s):" - ], - "cpp": [ - "double sprite_speed(sprite s)" - ], + "python": ["def sprite_speed(s):"], + "cpp": ["double sprite_speed(sprite s)"], "csharp": [ "public double Sprite.Speed { get }", "public static double SplashKit.SpriteSpeed(Sprite s);" ], - "pascal": [ - "function SpriteSpeed(s: Sprite): Double" - ] + "pascal": ["function SpriteSpeed(s: Sprite): Double"] } }, { @@ -85005,9 +74462,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85018,9 +74473,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85034,12 +74487,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_start_animation_named(s, named):" - ], - "cpp": [ - "void sprite_start_animation(sprite s, const string &named)" - ], + "python": ["def sprite_start_animation_named(s, named):"], + "cpp": ["void sprite_start_animation(sprite s, const string &named)"], "csharp": [ "public void Sprite.StartAnimation(string named);", "public static void SplashKit.SpriteStartAnimation(Sprite s, string named);" @@ -85074,9 +74523,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85087,9 +74534,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85100,9 +74545,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85156,9 +74599,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85169,9 +74610,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85184,19 +74623,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_start_animation(s, idx):" - ], - "cpp": [ - "void sprite_start_animation(sprite s, int idx)" - ], + "python": ["def sprite_start_animation(s, idx):"], + "cpp": ["void sprite_start_animation(sprite s, int idx)"], "csharp": [ "public void Sprite.StartAnimation(int idx);", "public static void SplashKit.SpriteStartAnimation(Sprite s, int idx);" ], - "pascal": [ - "procedure SpriteStartAnimation(s: Sprite; idx: Integer)" - ] + "pascal": ["procedure SpriteStartAnimation(s: Sprite; idx: Integer)"] } }, { @@ -85224,9 +74657,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85237,9 +74668,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85250,9 +74679,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85306,9 +74733,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85319,9 +74744,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85334,9 +74757,7 @@ "static": "sprite" }, "signatures": { - "python": [ - "def sprite_stop_calling_on_event(s, handler):" - ], + "python": ["def sprite_stop_calling_on_event(s, handler):"], "cpp": [ "void sprite_stop_calling_on_event(sprite s, sprite_event_handler *handler)" ], @@ -85374,9 +74795,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85387,9 +74806,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85403,9 +74820,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_toggle_layer_visible_named(s, name):" - ], + "python": ["def sprite_toggle_layer_visible_named(s, name):"], "cpp": [ "void sprite_toggle_layer_visible(sprite s, const string &name)" ], @@ -85443,9 +74858,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85456,9 +74869,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85471,12 +74882,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_toggle_layer_visible(s, id):" - ], - "cpp": [ - "void sprite_toggle_layer_visible(sprite s, int id)" - ], + "python": ["def sprite_toggle_layer_visible(s, id):"], + "cpp": ["void sprite_toggle_layer_visible(sprite s, int id)"], "csharp": [ "public void Sprite.ToggleLayerVisible(int id);", "public static void SplashKit.SpriteToggleLayerVisible(Sprite s, int id);" @@ -85511,9 +74918,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85524,9 +74929,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85539,12 +74942,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_value(s, name):" - ], - "cpp": [ - "float sprite_value(sprite s, const string &name)" - ], + "python": ["def sprite_value(s, name):"], + "cpp": ["float sprite_value(sprite s, const string &name)"], "csharp": [ "public float Sprite.Value(string name);", "public static float SplashKit.SpriteValue(Sprite s, string name);" @@ -85579,9 +74978,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85594,19 +74991,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_value_count(s):" - ], - "cpp": [ - "int sprite_value_count(sprite s)" - ], + "python": ["def sprite_value_count(s):"], + "cpp": ["int sprite_value_count(sprite s)"], "csharp": [ "public int Sprite.ValueCount { get }", "public static int SplashKit.SpriteValueCount(Sprite s);" ], - "pascal": [ - "function SpriteValueCount(s: Sprite): Integer" - ] + "pascal": ["function SpriteValueCount(s: Sprite): Integer"] } }, { @@ -85634,9 +75025,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85649,19 +75038,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_velocity(s):" - ], - "cpp": [ - "vector_2d sprite_velocity(sprite s)" - ], + "python": ["def sprite_velocity(s):"], + "cpp": ["vector_2d sprite_velocity(sprite s)"], "csharp": [ "public Vector2D Sprite.Velocity { get }", "public static Vector2D SplashKit.SpriteVelocity(Sprite s);" ], - "pascal": [ - "function SpriteVelocity(s: Sprite): Vector2D" - ] + "pascal": ["function SpriteVelocity(s: Sprite): Vector2D"] } }, { @@ -85689,9 +75072,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85702,9 +75083,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85718,9 +75097,7 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_visible_index_of_layer_named(s, name):" - ], + "python": ["def sprite_visible_index_of_layer_named(s, name):"], "cpp": [ "int sprite_visible_index_of_layer(sprite s, const string &name)" ], @@ -85758,9 +75135,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85771,9 +75146,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85786,12 +75159,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_visible_index_of_layer(s, id):" - ], - "cpp": [ - "int sprite_visible_index_of_layer(sprite s, int id)" - ], + "python": ["def sprite_visible_index_of_layer(s, id):"], + "cpp": ["int sprite_visible_index_of_layer(sprite s, int id)"], "csharp": [ "public int Sprite.VisibleIndexOfLayer(int id);", "public static int SplashKit.SpriteVisibleIndexOfLayer(Sprite s, int id);" @@ -85826,9 +75195,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85839,9 +75206,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85854,12 +75219,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_visible_layer(s, idx):" - ], - "cpp": [ - "int sprite_visible_layer(sprite s, int idx)" - ], + "python": ["def sprite_visible_layer(s, idx):"], + "cpp": ["int sprite_visible_layer(sprite s, int idx)"], "csharp": [ "public int Sprite.VisibleLayer(int idx);", "public static int SplashKit.SpriteVisibleLayer(Sprite s, int idx);" @@ -85894,9 +75255,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85909,19 +75268,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_visible_layer_count(s):" - ], - "cpp": [ - "int sprite_visible_layer_count(sprite s)" - ], + "python": ["def sprite_visible_layer_count(s):"], + "cpp": ["int sprite_visible_layer_count(sprite s)"], "csharp": [ "public int Sprite.VisibleLayerCount { get }", "public static int SplashKit.SpriteVisibleLayerCount(Sprite s);" ], - "pascal": [ - "function SpriteVisibleLayerCount(s: Sprite): Integer" - ] + "pascal": ["function SpriteVisibleLayerCount(s: Sprite): Integer"] } }, { @@ -85949,9 +75302,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -85962,9 +75313,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -85977,12 +75326,8 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_visible_layer_id(s, idx):" - ], - "cpp": [ - "int sprite_visible_layer_id(sprite s, int idx)" - ], + "python": ["def sprite_visible_layer_id(s, idx):"], + "cpp": ["int sprite_visible_layer_id(sprite s, int idx)"], "csharp": [ "public int Sprite.VisibleLayerIdAt(int idx);", "public static int SplashKit.SpriteVisibleLayerId(Sprite s, int idx);" @@ -86017,9 +75362,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86032,19 +75375,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_width(s):" - ], - "cpp": [ - "int sprite_width(sprite s)" - ], + "python": ["def sprite_width(s):"], + "cpp": ["int sprite_width(sprite s)"], "csharp": [ "public int Sprite.Width { get }", "public static int SplashKit.SpriteWidth(Sprite s);" ], - "pascal": [ - "function SpriteWidth(s: Sprite): Integer" - ] + "pascal": ["function SpriteWidth(s: Sprite): Integer"] } }, { @@ -86072,9 +75409,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86087,19 +75422,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_x(s):" - ], - "cpp": [ - "double sprite_x(sprite s)" - ], + "python": ["def sprite_x(s):"], + "cpp": ["double sprite_x(sprite s)"], "csharp": [ "public double Sprite.X { get }", "public static double SplashKit.SpriteX(Sprite s);" ], - "pascal": [ - "function SpriteX(s: Sprite): Double" - ] + "pascal": ["function SpriteX(s: Sprite): Double"] } }, { @@ -86127,9 +75456,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86142,19 +75469,13 @@ "self": "s" }, "signatures": { - "python": [ - "def sprite_y(s):" - ], - "cpp": [ - "double sprite_y(sprite s)" - ], + "python": ["def sprite_y(s):"], + "cpp": ["double sprite_y(sprite s)"], "csharp": [ "public double Sprite.Y { get }", "public static double SplashKit.SpriteY(Sprite s);" ], - "pascal": [ - "function SpriteY(s: Sprite): Double" - ] + "pascal": ["function SpriteY(s: Sprite): Double"] } }, { @@ -86182,9 +75503,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86194,9 +75513,7 @@ "static": "sprite" }, "signatures": { - "python": [ - "def stop_calling_on_sprite_event(handler):" - ], + "python": ["def stop_calling_on_sprite_event(handler):"], "cpp": [ "void stop_calling_on_sprite_event(sprite_event_handler *handler)" ], @@ -86225,25 +75542,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "sprites", "static": "sprite" }, "signatures": { - "python": [ - "def update_all_sprites():" - ], - "cpp": [ - "void update_all_sprites()" - ], - "csharp": [ - "public static void SplashKit.UpdateAllSprites();" - ], - "pascal": [ - "procedure UpdateAllSprites()" - ] + "python": ["def update_all_sprites():"], + "cpp": ["void update_all_sprites()"], + "csharp": ["public static void SplashKit.UpdateAllSprites();"], + "pascal": ["procedure UpdateAllSprites()"] } }, { @@ -86271,9 +75579,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86284,18 +75590,12 @@ "static": "sprite" }, "signatures": { - "python": [ - "def update_all_sprites_percent(pct):" - ], - "cpp": [ - "void update_all_sprites(float pct)" - ], + "python": ["def update_all_sprites_percent(pct):"], + "cpp": ["void update_all_sprites(float pct)"], "csharp": [ "public static void SplashKit.UpdateAllSprites(float pct);" ], - "pascal": [ - "procedure UpdateAllSprites(pct: Single)" - ] + "pascal": ["procedure UpdateAllSprites(pct: Single)"] } }, { @@ -86323,9 +75623,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86338,19 +75636,13 @@ "self": "s" }, "signatures": { - "python": [ - "def update_sprite(s):" - ], - "cpp": [ - "void update_sprite(sprite s)" - ], + "python": ["def update_sprite(s):"], + "cpp": ["void update_sprite(sprite s)"], "csharp": [ "public void Sprite.Update();", "public static void SplashKit.UpdateSprite(Sprite s);" ], - "pascal": [ - "procedure UpdateSprite(s: Sprite)" - ] + "pascal": ["procedure UpdateSprite(s: Sprite)"] } }, { @@ -86378,9 +75670,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -86391,9 +75681,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86407,19 +75695,13 @@ "self": "s" }, "signatures": { - "python": [ - "def update_sprite_with_sound(s, with_sound):" - ], - "cpp": [ - "void update_sprite(sprite s, bool with_sound)" - ], + "python": ["def update_sprite_with_sound(s, with_sound):"], + "cpp": ["void update_sprite(sprite s, bool with_sound)"], "csharp": [ "public void Sprite.Update(bool withSound);", "public static void SplashKit.UpdateSprite(Sprite s, bool withSound);" ], - "pascal": [ - "procedure UpdateSprite(s: Sprite; withSound: Boolean)" - ] + "pascal": ["procedure UpdateSprite(s: Sprite; withSound: Boolean)"] } }, { @@ -86447,9 +75729,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -86460,9 +75740,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86476,19 +75754,13 @@ "self": "s" }, "signatures": { - "python": [ - "def update_sprite_percent(s, pct):" - ], - "cpp": [ - "void update_sprite(sprite s, float pct)" - ], + "python": ["def update_sprite_percent(s, pct):"], + "cpp": ["void update_sprite(sprite s, float pct)"], "csharp": [ "public void Sprite.Update(float pct);", "public static void SplashKit.UpdateSprite(Sprite s, float pct);" ], - "pascal": [ - "procedure UpdateSprite(s: Sprite; pct: Single)" - ] + "pascal": ["procedure UpdateSprite(s: Sprite; pct: Single)"] } }, { @@ -86516,9 +75788,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -86529,9 +75799,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -86542,9 +75810,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86561,9 +75827,7 @@ "python": [ "def update_sprite_percent_with_sound(s, pct, with_sound):" ], - "cpp": [ - "void update_sprite(sprite s, float pct, bool with_sound)" - ], + "cpp": ["void update_sprite(sprite s, float pct, bool with_sound)"], "csharp": [ "public void Sprite.Update(float pct, bool withSound);", "public static void SplashKit.UpdateSprite(Sprite s, float pct, bool withSound);" @@ -86598,9 +75862,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86613,19 +75875,13 @@ "self": "s" }, "signatures": { - "python": [ - "def update_sprite_animation(s):" - ], - "cpp": [ - "void update_sprite_animation(sprite s)" - ], + "python": ["def update_sprite_animation(s):"], + "cpp": ["void update_sprite_animation(sprite s)"], "csharp": [ "public void Sprite.UpdateAnimation();", "public static void SplashKit.UpdateSpriteAnimation(Sprite s);" ], - "pascal": [ - "procedure UpdateSpriteAnimation(s: Sprite)" - ] + "pascal": ["procedure UpdateSpriteAnimation(s: Sprite)"] } }, { @@ -86653,9 +75909,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -86666,9 +75920,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86682,12 +75934,8 @@ "self": "s" }, "signatures": { - "python": [ - "def update_sprite_animation_with_sound(s, with_sound):" - ], - "cpp": [ - "void update_sprite_animation(sprite s, bool with_sound)" - ], + "python": ["def update_sprite_animation_with_sound(s, with_sound):"], + "cpp": ["void update_sprite_animation(sprite s, bool with_sound)"], "csharp": [ "public void Sprite.UpdateAnimation(bool withSound);", "public static void SplashKit.UpdateSpriteAnimation(Sprite s, bool withSound);" @@ -86722,9 +75970,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -86735,9 +75981,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86751,19 +75995,13 @@ "self": "s" }, "signatures": { - "python": [ - "def update_sprite_animation_percent(s, pct):" - ], - "cpp": [ - "void update_sprite_animation(sprite s, float pct)" - ], + "python": ["def update_sprite_animation_percent(s, pct):"], + "cpp": ["void update_sprite_animation(sprite s, float pct)"], "csharp": [ "public void Sprite.UpdateAnimation(float pct);", "public static void SplashKit.UpdateSpriteAnimation(Sprite s, float pct);" ], - "pascal": [ - "procedure UpdateSpriteAnimation(s: Sprite; pct: Single)" - ] + "pascal": ["procedure UpdateSpriteAnimation(s: Sprite; pct: Single)"] } }, { @@ -86791,9 +76029,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -86804,9 +76040,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -86817,9 +76051,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86873,9 +76105,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -86886,9 +76116,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86902,9 +76130,7 @@ "self": "s" }, "signatures": { - "python": [ - "def vector_from_center_sprite_to_point_point(s, pt):" - ], + "python": ["def vector_from_center_sprite_to_point_point(s, pt):"], "cpp": [ "vector_2d vector_from_center_sprite_to_point(sprite s, const point_2d &pt)" ], @@ -86942,9 +76168,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -86955,9 +76179,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -86970,19 +76192,13 @@ "self": "s1" }, "signatures": { - "python": [ - "def vector_from_to(s1, s2):" - ], - "cpp": [ - "vector_2d vector_from_to(sprite s1, sprite s2)" - ], + "python": ["def vector_from_to(s1, s2):"], + "cpp": ["vector_2d vector_from_to(sprite s1, sprite s2)"], "csharp": [ "public Vector2D Sprite.VectorTo(Sprite s2);", "public static Vector2D SplashKit.VectorFromTo(Sprite s1, Sprite s2);" ], - "pascal": [ - "function VectorFromTo(s1: Sprite; s2: Sprite): Vector2D" - ] + "pascal": ["function VectorFromTo(s1: Sprite; s2: Sprite): Vector2D"] } } ], @@ -87029,9 +76245,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -87042,9 +76256,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87076,9 +76288,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -87089,9 +76299,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87123,18 +76331,14 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } } } ], - "structs": [ - - ], + "structs": [], "enums": [ { "signature": "enum collision_test_kind {PIXEL_COLLISIONS,AABB_COLLISIONS};", @@ -87191,9 +76395,7 @@ } } ], - "defines": [ - - ] + "defines": [] }, "terminal": { "brief": "SplashKit Terminal allows you to read and write values to the\nterminal in a consistent manner.", @@ -87216,25 +76418,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "terminal", "static": "terminal" }, "signatures": { - "python": [ - "def read_char():" - ], - "cpp": [ - "char read_char()" - ], - "csharp": [ - "public static char SplashKit.ReadChar();" - ], - "pascal": [ - "function ReadChar(): Char" - ] + "python": ["def read_char():"], + "cpp": ["char read_char()"], + "csharp": ["public static char SplashKit.ReadChar();"], + "pascal": ["function ReadChar(): Char"] } }, { @@ -87254,25 +76447,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "terminal", "static": "terminal" }, "signatures": { - "python": [ - "def read_line():" - ], - "cpp": [ - "string read_line()" - ], - "csharp": [ - "public static string SplashKit.ReadLine();" - ], - "pascal": [ - "function ReadLine(): String" - ] + "python": ["def read_line():"], + "cpp": ["string read_line()"], + "csharp": ["public static string SplashKit.ReadLine();"], + "pascal": ["function ReadLine(): String"] } }, { @@ -87292,25 +76476,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "terminal", "static": "terminal" }, "signatures": { - "python": [ - "def terminal_has_input():" - ], - "cpp": [ - "bool terminal_has_input()" - ], - "csharp": [ - "public static bool SplashKit.TerminalHasInput();" - ], - "pascal": [ - "function TerminalHasInput(): Boolean" - ] + "python": ["def terminal_has_input():"], + "cpp": ["bool terminal_has_input()"], + "csharp": ["public static bool SplashKit.TerminalHasInput();"], + "pascal": ["function TerminalHasInput(): Boolean"] } }, { @@ -87338,9 +76513,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87351,18 +76524,10 @@ "static": "terminal" }, "signatures": { - "python": [ - "def write_char(data):" - ], - "cpp": [ - "void write(char data)" - ], - "csharp": [ - "public static void SplashKit.Write(char data);" - ], - "pascal": [ - "procedure Write(data: Char)" - ] + "python": ["def write_char(data):"], + "cpp": ["void write(char data)"], + "csharp": ["public static void SplashKit.Write(char data);"], + "pascal": ["procedure Write(data: Char)"] } }, { @@ -87390,9 +76555,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87403,18 +76566,10 @@ "static": "terminal" }, "signatures": { - "python": [ - "def write_double(data):" - ], - "cpp": [ - "void write(double data)" - ], - "csharp": [ - "public static void SplashKit.Write(double data);" - ], - "pascal": [ - "procedure Write(data: Double)" - ] + "python": ["def write_double(data):"], + "cpp": ["void write(double data)"], + "csharp": ["public static void SplashKit.Write(double data);"], + "pascal": ["procedure Write(data: Double)"] } }, { @@ -87442,9 +76597,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87455,18 +76608,10 @@ "static": "terminal" }, "signatures": { - "python": [ - "def write_int(data):" - ], - "cpp": [ - "void write(int data)" - ], - "csharp": [ - "public static void SplashKit.Write(int data);" - ], - "pascal": [ - "procedure Write(data: Integer)" - ] + "python": ["def write_int(data):"], + "cpp": ["void write(int data)"], + "csharp": ["public static void SplashKit.Write(int data);"], + "pascal": ["procedure Write(data: Integer)"] } }, { @@ -87494,9 +76639,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87506,18 +76649,10 @@ "static": "terminal" }, "signatures": { - "python": [ - "def write(text):" - ], - "cpp": [ - "void write(string text)" - ], - "csharp": [ - "public static void SplashKit.Write(string text);" - ], - "pascal": [ - "procedure Write(text: String)" - ] + "python": ["def write(text):"], + "cpp": ["void write(string text)"], + "csharp": ["public static void SplashKit.Write(string text);"], + "pascal": ["procedure Write(text: String)"] } }, { @@ -87545,9 +76680,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87558,18 +76691,10 @@ "static": "terminal" }, "signatures": { - "python": [ - "def write_line_char(data):" - ], - "cpp": [ - "void write_line(char data)" - ], - "csharp": [ - "public static void SplashKit.WriteLine(char data);" - ], - "pascal": [ - "procedure WriteLine(data: Char)" - ] + "python": ["def write_line_char(data):"], + "cpp": ["void write_line(char data)"], + "csharp": ["public static void SplashKit.WriteLine(char data);"], + "pascal": ["procedure WriteLine(data: Char)"] } }, { @@ -87589,26 +76714,17 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "suffix": "empty", "group": "terminal", "static": "terminal" }, "signatures": { - "python": [ - "def write_line_empty():" - ], - "cpp": [ - "void write_line()" - ], - "csharp": [ - "public static void SplashKit.WriteLine();" - ], - "pascal": [ - "procedure WriteLine()" - ] + "python": ["def write_line_empty():"], + "cpp": ["void write_line()"], + "csharp": ["public static void SplashKit.WriteLine();"], + "pascal": ["procedure WriteLine()"] } }, { @@ -87636,9 +76752,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87649,18 +76763,10 @@ "static": "terminal" }, "signatures": { - "python": [ - "def write_line_double(data):" - ], - "cpp": [ - "void write_line(double data)" - ], - "csharp": [ - "public static void SplashKit.WriteLine(double data);" - ], - "pascal": [ - "procedure WriteLine(data: Double)" - ] + "python": ["def write_line_double(data):"], + "cpp": ["void write_line(double data)"], + "csharp": ["public static void SplashKit.WriteLine(double data);"], + "pascal": ["procedure WriteLine(data: Double)"] } }, { @@ -87688,9 +76794,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87701,18 +76805,10 @@ "static": "terminal" }, "signatures": { - "python": [ - "def write_line_int(data):" - ], - "cpp": [ - "void write_line(int data)" - ], - "csharp": [ - "public static void SplashKit.WriteLine(int data);" - ], - "pascal": [ - "procedure WriteLine(data: Integer)" - ] + "python": ["def write_line_int(data):"], + "cpp": ["void write_line(int data)"], + "csharp": ["public static void SplashKit.WriteLine(int data);"], + "pascal": ["procedure WriteLine(data: Integer)"] } }, { @@ -87740,9 +76836,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87752,33 +76846,17 @@ "static": "terminal" }, "signatures": { - "python": [ - "def write_line(line):" - ], - "cpp": [ - "void write_line(string line)" - ], - "csharp": [ - "public static void SplashKit.WriteLine(string line);" - ], - "pascal": [ - "procedure WriteLine(line: String)" - ] + "python": ["def write_line(line):"], + "cpp": ["void write_line(string line)"], + "csharp": ["public static void SplashKit.WriteLine(string line);"], + "pascal": ["procedure WriteLine(line: String)"] } } ], - "typedefs": [ - - ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "typedefs": [], + "structs": [], + "enums": [], + "defines": [] }, "timers": { "brief": "Timers in SplashKit can be used to track the passing of time.", @@ -87809,9 +76887,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87823,19 +76899,13 @@ "static": "timers" }, "signatures": { - "python": [ - "def create_timer(name):" - ], - "cpp": [ - "timer create_timer(string name)" - ], + "python": ["def create_timer(name):"], + "cpp": ["timer create_timer(string name)"], "csharp": [ "public static Timer SplashKit.CreateTimer(string name);", "public Timer(string name);" ], - "pascal": [ - "function CreateTimer(name: String): Timer" - ] + "pascal": ["function CreateTimer(name: String): Timer"] } }, { @@ -87855,25 +76925,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "timers", "static": "timers" }, "signatures": { - "python": [ - "def free_all_timers():" - ], - "cpp": [ - "void free_all_timers()" - ], - "csharp": [ - "public static void SplashKit.FreeAllTimers();" - ], - "pascal": [ - "procedure FreeAllTimers()" - ] + "python": ["def free_all_timers():"], + "cpp": ["void free_all_timers()"], + "csharp": ["public static void SplashKit.FreeAllTimers();"], + "pascal": ["procedure FreeAllTimers()"] } }, { @@ -87901,9 +76962,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87917,19 +76976,13 @@ "static": "timers" }, "signatures": { - "python": [ - "def free_timer(to_free):" - ], - "cpp": [ - "void free_timer(timer to_free)" - ], + "python": ["def free_timer(to_free):"], + "cpp": ["void free_timer(timer to_free)"], "csharp": [ "public void Timer.Free();", "public static void SplashKit.FreeTimer(Timer toFree);" ], - "pascal": [ - "procedure FreeTimer(toFree: Timer)" - ] + "pascal": ["procedure FreeTimer(toFree: Timer)"] } }, { @@ -87957,9 +77010,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -87970,18 +77021,10 @@ "static": "timers" }, "signatures": { - "python": [ - "def has_timer_named(name):" - ], - "cpp": [ - "bool has_timer(string name)" - ], - "csharp": [ - "public static bool SplashKit.HasTimer(string name);" - ], - "pascal": [ - "function HasTimer(name: String): Boolean" - ] + "python": ["def has_timer_named(name):"], + "cpp": ["bool has_timer(string name)"], + "csharp": ["public static bool SplashKit.HasTimer(string name);"], + "pascal": ["function HasTimer(name: String): Boolean"] } }, { @@ -88009,9 +77052,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88022,18 +77063,10 @@ "static": "timers" }, "signatures": { - "python": [ - "def pause_timer_named(name):" - ], - "cpp": [ - "void pause_timer(string name)" - ], - "csharp": [ - "public static void SplashKit.PauseTimer(string name);" - ], - "pascal": [ - "procedure PauseTimer(name: String)" - ] + "python": ["def pause_timer_named(name):"], + "cpp": ["void pause_timer(string name)"], + "csharp": ["public static void SplashKit.PauseTimer(string name);"], + "pascal": ["procedure PauseTimer(name: String)"] } }, { @@ -88061,9 +77094,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88076,19 +77107,13 @@ "self": "to_pause" }, "signatures": { - "python": [ - "def pause_timer(to_pause):" - ], - "cpp": [ - "void pause_timer(timer to_pause)" - ], + "python": ["def pause_timer(to_pause):"], + "cpp": ["void pause_timer(timer to_pause)"], "csharp": [ "public void Timer.Pause();", "public static void SplashKit.PauseTimer(Timer toPause);" ], - "pascal": [ - "procedure PauseTimer(toPause: Timer)" - ] + "pascal": ["procedure PauseTimer(toPause: Timer)"] } }, { @@ -88116,9 +77141,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88129,18 +77152,10 @@ "static": "timers" }, "signatures": { - "python": [ - "def reset_timer_named(name):" - ], - "cpp": [ - "void reset_timer(string name)" - ], - "csharp": [ - "public static void SplashKit.ResetTimer(string name);" - ], - "pascal": [ - "procedure ResetTimer(name: String)" - ] + "python": ["def reset_timer_named(name):"], + "cpp": ["void reset_timer(string name)"], + "csharp": ["public static void SplashKit.ResetTimer(string name);"], + "pascal": ["procedure ResetTimer(name: String)"] } }, { @@ -88168,9 +77183,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88183,19 +77196,13 @@ "self": "tmr" }, "signatures": { - "python": [ - "def reset_timer(tmr):" - ], - "cpp": [ - "void reset_timer(timer tmr)" - ], + "python": ["def reset_timer(tmr):"], + "cpp": ["void reset_timer(timer tmr)"], "csharp": [ "public void Timer.Reset();", "public static void SplashKit.ResetTimer(Timer tmr);" ], - "pascal": [ - "procedure ResetTimer(tmr: Timer)" - ] + "pascal": ["procedure ResetTimer(tmr: Timer)"] } }, { @@ -88223,9 +77230,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88236,18 +77241,10 @@ "static": "timers" }, "signatures": { - "python": [ - "def resume_timer_named(name):" - ], - "cpp": [ - "void resume_timer(string name)" - ], - "csharp": [ - "public static void SplashKit.ResumeTimer(string name);" - ], - "pascal": [ - "procedure ResumeTimer(name: String)" - ] + "python": ["def resume_timer_named(name):"], + "cpp": ["void resume_timer(string name)"], + "csharp": ["public static void SplashKit.ResumeTimer(string name);"], + "pascal": ["procedure ResumeTimer(name: String)"] } }, { @@ -88275,9 +77272,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88290,19 +77285,13 @@ "self": "to_resume" }, "signatures": { - "python": [ - "def resume_timer(to_resume):" - ], - "cpp": [ - "void resume_timer(timer to_resume)" - ], + "python": ["def resume_timer(to_resume):"], + "cpp": ["void resume_timer(timer to_resume)"], "csharp": [ "public void Timer.Resume();", "public static void SplashKit.ResumeTimer(Timer toResume);" ], - "pascal": [ - "procedure ResumeTimer(toResume: Timer)" - ] + "pascal": ["procedure ResumeTimer(toResume: Timer)"] } }, { @@ -88330,9 +77319,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88343,18 +77330,10 @@ "static": "timers" }, "signatures": { - "python": [ - "def start_timer_named(name):" - ], - "cpp": [ - "void start_timer(string name)" - ], - "csharp": [ - "public static void SplashKit.StartTimer(string name);" - ], - "pascal": [ - "procedure StartTimer(name: String)" - ] + "python": ["def start_timer_named(name):"], + "cpp": ["void start_timer(string name)"], + "csharp": ["public static void SplashKit.StartTimer(string name);"], + "pascal": ["procedure StartTimer(name: String)"] } }, { @@ -88382,9 +77361,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88397,19 +77374,13 @@ "self": "to_start" }, "signatures": { - "python": [ - "def start_timer(to_start):" - ], - "cpp": [ - "void start_timer(timer to_start)" - ], + "python": ["def start_timer(to_start):"], + "cpp": ["void start_timer(timer to_start)"], "csharp": [ "public void Timer.Start();", "public static void SplashKit.StartTimer(Timer toStart);" ], - "pascal": [ - "procedure StartTimer(toStart: Timer)" - ] + "pascal": ["procedure StartTimer(toStart: Timer)"] } }, { @@ -88437,9 +77408,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88450,18 +77419,10 @@ "static": "timers" }, "signatures": { - "python": [ - "def stop_timer_named(name):" - ], - "cpp": [ - "void stop_timer(string name)" - ], - "csharp": [ - "public static void SplashKit.StopTimer(string name);" - ], - "pascal": [ - "procedure StopTimer(name: String)" - ] + "python": ["def stop_timer_named(name):"], + "cpp": ["void stop_timer(string name)"], + "csharp": ["public static void SplashKit.StopTimer(string name);"], + "pascal": ["procedure StopTimer(name: String)"] } }, { @@ -88489,9 +77450,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88504,19 +77463,13 @@ "self": "to_stop" }, "signatures": { - "python": [ - "def stop_timer(to_stop):" - ], - "cpp": [ - "void stop_timer(timer to_stop)" - ], + "python": ["def stop_timer(to_stop):"], + "cpp": ["void stop_timer(timer to_stop)"], "csharp": [ "public void Timer.Stop();", "public static void SplashKit.StopTimer(Timer toStop);" ], - "pascal": [ - "procedure StopTimer(toStop: Timer)" - ] + "pascal": ["procedure StopTimer(toStop: Timer)"] } }, { @@ -88544,9 +77497,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88556,18 +77507,10 @@ "static": "timers" }, "signatures": { - "python": [ - "def timer_named(name):" - ], - "cpp": [ - "timer timer_named(string name)" - ], - "csharp": [ - "public static Timer SplashKit.TimerNamed(string name);" - ], - "pascal": [ - "function TimerNamed(name: String): Timer" - ] + "python": ["def timer_named(name):"], + "cpp": ["timer timer_named(string name)"], + "csharp": ["public static Timer SplashKit.TimerNamed(string name);"], + "pascal": ["function TimerNamed(name: String): Timer"] } }, { @@ -88595,9 +77538,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88608,18 +77549,10 @@ "static": "timers" }, "signatures": { - "python": [ - "def timer_paused_named(name):" - ], - "cpp": [ - "bool timer_paused(string name)" - ], - "csharp": [ - "public static bool SplashKit.TimerPaused(string name);" - ], - "pascal": [ - "function TimerPaused(name: String): Boolean" - ] + "python": ["def timer_paused_named(name):"], + "cpp": ["bool timer_paused(string name)"], + "csharp": ["public static bool SplashKit.TimerPaused(string name);"], + "pascal": ["function TimerPaused(name: String): Boolean"] } }, { @@ -88647,9 +77580,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88662,19 +77593,13 @@ "self": "to_get" }, "signatures": { - "python": [ - "def timer_paused(to_get):" - ], - "cpp": [ - "bool timer_paused(timer to_get)" - ], + "python": ["def timer_paused(to_get):"], + "cpp": ["bool timer_paused(timer to_get)"], "csharp": [ "public bool Timer.IsPaused { get }", "public static bool SplashKit.TimerPaused(Timer toGet);" ], - "pascal": [ - "function TimerPaused(toGet: Timer): Boolean" - ] + "pascal": ["function TimerPaused(toGet: Timer): Boolean"] } }, { @@ -88702,9 +77627,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88715,18 +77638,10 @@ "static": "timers" }, "signatures": { - "python": [ - "def timer_started_named(name):" - ], - "cpp": [ - "bool timer_started(string name)" - ], - "csharp": [ - "public static bool SplashKit.TimerStarted(string name);" - ], - "pascal": [ - "function TimerStarted(name: String): Boolean" - ] + "python": ["def timer_started_named(name):"], + "cpp": ["bool timer_started(string name)"], + "csharp": ["public static bool SplashKit.TimerStarted(string name);"], + "pascal": ["function TimerStarted(name: String): Boolean"] } }, { @@ -88754,9 +77669,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88769,19 +77682,13 @@ "self": "to_get" }, "signatures": { - "python": [ - "def timer_started(to_get):" - ], - "cpp": [ - "bool timer_started(timer to_get)" - ], + "python": ["def timer_started(to_get):"], + "cpp": ["bool timer_started(timer to_get)"], "csharp": [ "public bool Timer.IsStarted { get }", "public static bool SplashKit.TimerStarted(Timer toGet);" ], - "pascal": [ - "function TimerStarted(toGet: Timer): Boolean" - ] + "pascal": ["function TimerStarted(toGet: Timer): Boolean"] } }, { @@ -88809,9 +77716,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88822,18 +77727,10 @@ "static": "timers" }, "signatures": { - "python": [ - "def timer_ticks_named(name):" - ], - "cpp": [ - "unsigned int timer_ticks(string name)" - ], - "csharp": [ - "public static uint SplashKit.TimerTicks(string name);" - ], - "pascal": [ - "function TimerTicks(name: String): Cardinal" - ] + "python": ["def timer_ticks_named(name):"], + "cpp": ["unsigned int timer_ticks(string name)"], + "csharp": ["public static uint SplashKit.TimerTicks(string name);"], + "pascal": ["function TimerTicks(name: String): Cardinal"] } }, { @@ -88861,9 +77758,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -88876,19 +77771,13 @@ "self": "to_get" }, "signatures": { - "python": [ - "def timer_ticks(to_get):" - ], - "cpp": [ - "unsigned int timer_ticks(timer to_get)" - ], + "python": ["def timer_ticks(to_get):"], + "cpp": ["unsigned int timer_ticks(timer to_get)"], "csharp": [ "public uint Timer.Ticks { get }", "public static uint SplashKit.TimerTicks(Timer toGet);" ], - "pascal": [ - "function TimerTicks(toGet: Timer): Cardinal" - ] + "pascal": ["function TimerTicks(toGet: Timer): Cardinal"] } } ], @@ -88910,22 +77799,14 @@ "new_identifier": null } ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "structs": [], + "enums": [], + "defines": [] }, "types": { "brief": "SplashKit Types simplifies data type creation and management for streamlined programming.", "description": "", - "functions": [ - - ], + "functions": [], "typedefs": [ { "signature": "typedef struct _animation_data *animation;", @@ -89018,9 +77899,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -89031,9 +77910,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -89041,11 +77918,8 @@ "attributes": { "group": "types" }, - "properties": { - }, - "constructors": [ - - ], + "properties": {}, + "constructors": [], "methods": [ { "signature": "void draw_circle(color clr,const circle &c);", @@ -89072,9 +77946,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -89085,9 +77957,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -89100,19 +77970,13 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_circle_record(clr, c):" - ], - "cpp": [ - "void draw_circle(color clr, const circle &c)" - ], + "python": ["def draw_circle_record(clr, c):"], + "cpp": ["void draw_circle(color clr, const circle &c)"], "csharp": [ "public void Circle.Draw(Color clr);", "public static void SplashKit.DrawCircle(Color clr, Circle c);" ], - "pascal": [ - "procedure DrawCircle(clr: Color; const c: Circle)" - ] + "pascal": ["procedure DrawCircle(clr: Color; const c: Circle)"] } }, { @@ -89140,9 +78004,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -89153,9 +78015,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -89166,9 +78026,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -89181,9 +78039,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def draw_circle_record_with_options(clr, c, opts):" - ], + "python": ["def draw_circle_record_with_options(clr, c, opts):"], "cpp": [ "void draw_circle(color clr, const circle &c, drawing_options opts)" ], @@ -89221,9 +78077,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -89234,9 +78088,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -89249,19 +78101,13 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_circle_record(clr, c):" - ], - "cpp": [ - "void fill_circle(color clr, const circle &c)" - ], + "python": ["def fill_circle_record(clr, c):"], + "cpp": ["void fill_circle(color clr, const circle &c)"], "csharp": [ "public void Circle.Fill(Color clr);", "public static void SplashKit.FillCircle(Color clr, Circle c);" ], - "pascal": [ - "procedure FillCircle(clr: Color; const c: Circle)" - ] + "pascal": ["procedure FillCircle(clr: Color; const c: Circle)"] } }, { @@ -89289,9 +78135,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -89302,9 +78146,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -89315,9 +78157,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -89330,9 +78170,7 @@ "group": "graphics" }, "signatures": { - "python": [ - "def fill_circle_record_with_options(clr, c, opts):" - ], + "python": ["def fill_circle_record_with_options(clr, c, opts):"], "cpp": [ "void fill_circle(color clr, const circle &c, drawing_options opts)" ], @@ -89362,9 +78200,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -89375,9 +78211,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -89388,9 +78222,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -89401,9 +78233,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -89430,28 +78260,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "alice_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_alice_blue():" - ], - "cpp": [ - "#define COLOR_ALICE_BLUE", - "color color_alice_blue()" - ], + "python": ["def color_alice_blue():"], + "cpp": ["#define COLOR_ALICE_BLUE", "color color_alice_blue()"], "csharp": [ "public static Color Color.AliceBlue { get }", "public static Color SplashKit.ColorAliceBlue();" ], - "pascal": [ - "function ColorAliceBlue(): Color" - ] + "pascal": ["function ColorAliceBlue(): Color"] } }, "setter": null @@ -89474,17 +78296,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "antique_white", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_antique_white():" - ], + "python": ["def color_antique_white():"], "cpp": [ "#define COLOR_ANTIQUE_WHITE", "color color_antique_white()" @@ -89493,9 +78312,7 @@ "public static Color Color.AntiqueWhite { get }", "public static Color SplashKit.ColorAntiqueWhite();" ], - "pascal": [ - "function ColorAntiqueWhite(): Color" - ] + "pascal": ["function ColorAntiqueWhite(): Color"] } }, "setter": null @@ -89518,28 +78335,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "aqua", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_aqua():" - ], - "cpp": [ - "#define COLOR_AQUA", - "color color_aqua()" - ], + "python": ["def color_aqua():"], + "cpp": ["#define COLOR_AQUA", "color color_aqua()"], "csharp": [ "public static Color Color.Aqua { get }", "public static Color SplashKit.ColorAqua();" ], - "pascal": [ - "function ColorAqua(): Color" - ] + "pascal": ["function ColorAqua(): Color"] } }, "setter": null @@ -89562,28 +78371,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "aquamarine", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_aquamarine():" - ], - "cpp": [ - "#define COLOR_AQUAMARINE", - "color color_aquamarine()" - ], + "python": ["def color_aquamarine():"], + "cpp": ["#define COLOR_AQUAMARINE", "color color_aquamarine()"], "csharp": [ "public static Color Color.Aquamarine { get }", "public static Color SplashKit.ColorAquamarine();" ], - "pascal": [ - "function ColorAquamarine(): Color" - ] + "pascal": ["function ColorAquamarine(): Color"] } }, "setter": null @@ -89606,28 +78407,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "azure", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_azure():" - ], - "cpp": [ - "#define COLOR_AZURE", - "color color_azure()" - ], + "python": ["def color_azure():"], + "cpp": ["#define COLOR_AZURE", "color color_azure()"], "csharp": [ "public static Color Color.Azure { get }", "public static Color SplashKit.ColorAzure();" ], - "pascal": [ - "function ColorAzure(): Color" - ] + "pascal": ["function ColorAzure(): Color"] } }, "setter": null @@ -89650,28 +78443,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "beige", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_beige():" - ], - "cpp": [ - "#define COLOR_BEIGE", - "color color_beige()" - ], + "python": ["def color_beige():"], + "cpp": ["#define COLOR_BEIGE", "color color_beige()"], "csharp": [ "public static Color Color.Beige { get }", "public static Color SplashKit.ColorBeige();" ], - "pascal": [ - "function ColorBeige(): Color" - ] + "pascal": ["function ColorBeige(): Color"] } }, "setter": null @@ -89694,28 +78479,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "bisque", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_bisque():" - ], - "cpp": [ - "#define COLOR_BISQUE", - "color color_bisque()" - ], + "python": ["def color_bisque():"], + "cpp": ["#define COLOR_BISQUE", "color color_bisque()"], "csharp": [ "public static Color Color.Bisque { get }", "public static Color SplashKit.ColorBisque();" ], - "pascal": [ - "function ColorBisque(): Color" - ] + "pascal": ["function ColorBisque(): Color"] } }, "setter": null @@ -89738,28 +78515,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "black", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_black():" - ], - "cpp": [ - "#define COLOR_BLACK", - "color color_black()" - ], + "python": ["def color_black():"], + "cpp": ["#define COLOR_BLACK", "color color_black()"], "csharp": [ "public static Color Color.Black { get }", "public static Color SplashKit.ColorBlack();" ], - "pascal": [ - "function ColorBlack(): Color" - ] + "pascal": ["function ColorBlack(): Color"] } }, "setter": null @@ -89782,17 +78551,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "blanched_almond", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_blanched_almond():" - ], + "python": ["def color_blanched_almond():"], "cpp": [ "#define COLOR_BLANCHED_ALMOND", "color color_blanched_almond()" @@ -89801,9 +78567,7 @@ "public static Color Color.BlanchedAlmond { get }", "public static Color SplashKit.ColorBlanchedAlmond();" ], - "pascal": [ - "function ColorBlanchedAlmond(): Color" - ] + "pascal": ["function ColorBlanchedAlmond(): Color"] } }, "setter": null @@ -89826,28 +78590,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_blue():" - ], - "cpp": [ - "#define COLOR_BLUE", - "color color_blue()" - ], + "python": ["def color_blue():"], + "cpp": ["#define COLOR_BLUE", "color color_blue()"], "csharp": [ "public static Color Color.Blue { get }", "public static Color SplashKit.ColorBlue();" ], - "pascal": [ - "function ColorBlue(): Color" - ] + "pascal": ["function ColorBlue(): Color"] } }, "setter": null @@ -89870,17 +78626,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "blue_violet", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_blue_violet():" - ], + "python": ["def color_blue_violet():"], "cpp": [ "#define COLOR_BLUE_VIOLET", "color color_blue_violet()" @@ -89889,9 +78642,7 @@ "public static Color Color.BlueViolet { get }", "public static Color SplashKit.ColorBlueViolet();" ], - "pascal": [ - "function ColorBlueViolet(): Color" - ] + "pascal": ["function ColorBlueViolet(): Color"] } }, "setter": null @@ -89914,17 +78665,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "bright_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_bright_green():" - ], + "python": ["def color_bright_green():"], "cpp": [ "#define COLOR_BRIGHT_GREEN", "color color_bright_green()" @@ -89933,9 +78681,7 @@ "public static Color Color.BrightGreen { get }", "public static Color SplashKit.ColorBrightGreen();" ], - "pascal": [ - "function ColorBrightGreen(): Color" - ] + "pascal": ["function ColorBrightGreen(): Color"] } }, "setter": null @@ -89958,28 +78704,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "brown", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_brown():" - ], - "cpp": [ - "#define COLOR_BROWN", - "color color_brown()" - ], + "python": ["def color_brown():"], + "cpp": ["#define COLOR_BROWN", "color color_brown()"], "csharp": [ "public static Color Color.Brown { get }", "public static Color SplashKit.ColorBrown();" ], - "pascal": [ - "function ColorBrown(): Color" - ] + "pascal": ["function ColorBrown(): Color"] } }, "setter": null @@ -90002,28 +78740,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "burly_wood", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_burly_wood():" - ], - "cpp": [ - "#define COLOR_BURLY_WOOD", - "color color_burly_wood()" - ], + "python": ["def color_burly_wood():"], + "cpp": ["#define COLOR_BURLY_WOOD", "color color_burly_wood()"], "csharp": [ "public static Color Color.BurlyWood { get }", "public static Color SplashKit.ColorBurlyWood();" ], - "pascal": [ - "function ColorBurlyWood(): Color" - ] + "pascal": ["function ColorBurlyWood(): Color"] } }, "setter": null @@ -90046,28 +78776,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "cadet_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_cadet_blue():" - ], - "cpp": [ - "#define COLOR_CADET_BLUE", - "color color_cadet_blue()" - ], + "python": ["def color_cadet_blue():"], + "cpp": ["#define COLOR_CADET_BLUE", "color color_cadet_blue()"], "csharp": [ "public static Color Color.CadetBlue { get }", "public static Color SplashKit.ColorCadetBlue();" ], - "pascal": [ - "function ColorCadetBlue(): Color" - ] + "pascal": ["function ColorCadetBlue(): Color"] } }, "setter": null @@ -90090,28 +78812,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "chartreuse", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_chartreuse():" - ], - "cpp": [ - "#define COLOR_CHARTREUSE", - "color color_chartreuse()" - ], + "python": ["def color_chartreuse():"], + "cpp": ["#define COLOR_CHARTREUSE", "color color_chartreuse()"], "csharp": [ "public static Color Color.Chartreuse { get }", "public static Color SplashKit.ColorChartreuse();" ], - "pascal": [ - "function ColorChartreuse(): Color" - ] + "pascal": ["function ColorChartreuse(): Color"] } }, "setter": null @@ -90134,28 +78848,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "chocolate", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_chocolate():" - ], - "cpp": [ - "#define COLOR_CHOCOLATE", - "color color_chocolate()" - ], + "python": ["def color_chocolate():"], + "cpp": ["#define COLOR_CHOCOLATE", "color color_chocolate()"], "csharp": [ "public static Color Color.Chocolate { get }", "public static Color SplashKit.ColorChocolate();" ], - "pascal": [ - "function ColorChocolate(): Color" - ] + "pascal": ["function ColorChocolate(): Color"] } }, "setter": null @@ -90178,28 +78884,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "coral", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_coral():" - ], - "cpp": [ - "#define COLOR_CORAL", - "color color_coral()" - ], + "python": ["def color_coral():"], + "cpp": ["#define COLOR_CORAL", "color color_coral()"], "csharp": [ "public static Color Color.Coral { get }", "public static Color SplashKit.ColorCoral();" ], - "pascal": [ - "function ColorCoral(): Color" - ] + "pascal": ["function ColorCoral(): Color"] } }, "setter": null @@ -90222,17 +78920,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "cornflower_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_cornflower_blue():" - ], + "python": ["def color_cornflower_blue():"], "cpp": [ "#define COLOR_CORNFLOWER_BLUE", "color color_cornflower_blue()" @@ -90241,9 +78936,7 @@ "public static Color Color.CornflowerBlue { get }", "public static Color SplashKit.ColorCornflowerBlue();" ], - "pascal": [ - "function ColorCornflowerBlue(): Color" - ] + "pascal": ["function ColorCornflowerBlue(): Color"] } }, "setter": null @@ -90266,28 +78959,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "cornsilk", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_cornsilk():" - ], - "cpp": [ - "#define COLOR_CORNSILK", - "color color_cornsilk()" - ], + "python": ["def color_cornsilk():"], + "cpp": ["#define COLOR_CORNSILK", "color color_cornsilk()"], "csharp": [ "public static Color Color.Cornsilk { get }", "public static Color SplashKit.ColorCornsilk();" ], - "pascal": [ - "function ColorCornsilk(): Color" - ] + "pascal": ["function ColorCornsilk(): Color"] } }, "setter": null @@ -90310,28 +78995,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "crimson", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_crimson():" - ], - "cpp": [ - "#define COLOR_CRIMSON", - "color color_crimson()" - ], + "python": ["def color_crimson():"], + "cpp": ["#define COLOR_CRIMSON", "color color_crimson()"], "csharp": [ "public static Color Color.Crimson { get }", "public static Color SplashKit.ColorCrimson();" ], - "pascal": [ - "function ColorCrimson(): Color" - ] + "pascal": ["function ColorCrimson(): Color"] } }, "setter": null @@ -90354,28 +79031,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "cyan", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_cyan():" - ], - "cpp": [ - "#define COLOR_CYAN", - "color color_cyan()" - ], + "python": ["def color_cyan():"], + "cpp": ["#define COLOR_CYAN", "color color_cyan()"], "csharp": [ "public static Color Color.Cyan { get }", "public static Color SplashKit.ColorCyan();" ], - "pascal": [ - "function ColorCyan(): Color" - ] + "pascal": ["function ColorCyan(): Color"] } }, "setter": null @@ -90398,28 +79067,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_blue():" - ], - "cpp": [ - "#define COLOR_DARK_BLUE", - "color color_dark_blue()" - ], + "python": ["def color_dark_blue():"], + "cpp": ["#define COLOR_DARK_BLUE", "color color_dark_blue()"], "csharp": [ "public static Color Color.DarkBlue { get }", "public static Color SplashKit.ColorDarkBlue();" ], - "pascal": [ - "function ColorDarkBlue(): Color" - ] + "pascal": ["function ColorDarkBlue(): Color"] } }, "setter": null @@ -90442,28 +79103,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_cyan", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_cyan():" - ], - "cpp": [ - "#define COLOR_DARK_CYAN", - "color color_dark_cyan()" - ], + "python": ["def color_dark_cyan():"], + "cpp": ["#define COLOR_DARK_CYAN", "color color_dark_cyan()"], "csharp": [ "public static Color Color.DarkCyan { get }", "public static Color SplashKit.ColorDarkCyan();" ], - "pascal": [ - "function ColorDarkCyan(): Color" - ] + "pascal": ["function ColorDarkCyan(): Color"] } }, "setter": null @@ -90486,17 +79139,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_goldenrod", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_goldenrod():" - ], + "python": ["def color_dark_goldenrod():"], "cpp": [ "#define COLOR_DARK_GOLDENROD", "color color_dark_goldenrod()" @@ -90505,9 +79155,7 @@ "public static Color Color.DarkGoldenrod { get }", "public static Color SplashKit.ColorDarkGoldenrod();" ], - "pascal": [ - "function ColorDarkGoldenrod(): Color" - ] + "pascal": ["function ColorDarkGoldenrod(): Color"] } }, "setter": null @@ -90530,28 +79178,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_gray():" - ], - "cpp": [ - "#define COLOR_DARK_GRAY", - "color color_dark_gray()" - ], + "python": ["def color_dark_gray():"], + "cpp": ["#define COLOR_DARK_GRAY", "color color_dark_gray()"], "csharp": [ "public static Color Color.DarkGray { get }", "public static Color SplashKit.ColorDarkGray();" ], - "pascal": [ - "function ColorDarkGray(): Color" - ] + "pascal": ["function ColorDarkGray(): Color"] } }, "setter": null @@ -90574,28 +79214,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_green():" - ], - "cpp": [ - "#define COLOR_DARK_GREEN", - "color color_dark_green()" - ], + "python": ["def color_dark_green():"], + "cpp": ["#define COLOR_DARK_GREEN", "color color_dark_green()"], "csharp": [ "public static Color Color.DarkGreen { get }", "public static Color SplashKit.ColorDarkGreen();" ], - "pascal": [ - "function ColorDarkGreen(): Color" - ] + "pascal": ["function ColorDarkGreen(): Color"] } }, "setter": null @@ -90618,28 +79250,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_khaki", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_khaki():" - ], - "cpp": [ - "#define COLOR_DARK_KHAKI", - "color color_dark_khaki()" - ], + "python": ["def color_dark_khaki():"], + "cpp": ["#define COLOR_DARK_KHAKI", "color color_dark_khaki()"], "csharp": [ "public static Color Color.DarkKhaki { get }", "public static Color SplashKit.ColorDarkKhaki();" ], - "pascal": [ - "function ColorDarkKhaki(): Color" - ] + "pascal": ["function ColorDarkKhaki(): Color"] } }, "setter": null @@ -90662,17 +79286,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_magenta", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_magenta():" - ], + "python": ["def color_dark_magenta():"], "cpp": [ "#define COLOR_DARK_MAGENTA", "color color_dark_magenta()" @@ -90681,9 +79302,7 @@ "public static Color Color.DarkMagenta { get }", "public static Color SplashKit.ColorDarkMagenta();" ], - "pascal": [ - "function ColorDarkMagenta(): Color" - ] + "pascal": ["function ColorDarkMagenta(): Color"] } }, "setter": null @@ -90706,17 +79325,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_olive_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_olive_green():" - ], + "python": ["def color_dark_olive_green():"], "cpp": [ "#define COLOR_DARK_OLIVE_GREEN", "color color_dark_olive_green()" @@ -90725,9 +79341,7 @@ "public static Color Color.DarkOliveGreen { get }", "public static Color SplashKit.ColorDarkOliveGreen();" ], - "pascal": [ - "function ColorDarkOliveGreen(): Color" - ] + "pascal": ["function ColorDarkOliveGreen(): Color"] } }, "setter": null @@ -90750,17 +79364,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_orange", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_orange():" - ], + "python": ["def color_dark_orange():"], "cpp": [ "#define COLOR_DARK_ORANGE", "color color_dark_orange()" @@ -90769,9 +79380,7 @@ "public static Color Color.DarkOrange { get }", "public static Color SplashKit.ColorDarkOrange();" ], - "pascal": [ - "function ColorDarkOrange(): Color" - ] + "pascal": ["function ColorDarkOrange(): Color"] } }, "setter": null @@ -90794,17 +79403,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_orchid", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_orchid():" - ], + "python": ["def color_dark_orchid():"], "cpp": [ "#define COLOR_DARK_ORCHID", "color color_dark_orchid()" @@ -90813,9 +79419,7 @@ "public static Color Color.DarkOrchid { get }", "public static Color SplashKit.ColorDarkOrchid();" ], - "pascal": [ - "function ColorDarkOrchid(): Color" - ] + "pascal": ["function ColorDarkOrchid(): Color"] } }, "setter": null @@ -90838,28 +79442,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_red():" - ], - "cpp": [ - "#define COLOR_DARK_RED", - "color color_dark_red()" - ], + "python": ["def color_dark_red():"], + "cpp": ["#define COLOR_DARK_RED", "color color_dark_red()"], "csharp": [ "public static Color Color.DarkRed { get }", "public static Color SplashKit.ColorDarkRed();" ], - "pascal": [ - "function ColorDarkRed(): Color" - ] + "pascal": ["function ColorDarkRed(): Color"] } }, "setter": null @@ -90882,17 +79478,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_salmon", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_salmon():" - ], + "python": ["def color_dark_salmon():"], "cpp": [ "#define COLOR_DARK_SALMON", "color color_dark_salmon()" @@ -90901,9 +79494,7 @@ "public static Color Color.DarkSalmon { get }", "public static Color SplashKit.ColorDarkSalmon();" ], - "pascal": [ - "function ColorDarkSalmon(): Color" - ] + "pascal": ["function ColorDarkSalmon(): Color"] } }, "setter": null @@ -90926,17 +79517,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_sea_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_sea_green():" - ], + "python": ["def color_dark_sea_green():"], "cpp": [ "#define COLOR_DARK_SEA_GREEN", "color color_dark_sea_green()" @@ -90945,9 +79533,7 @@ "public static Color Color.DarkSeaGreen { get }", "public static Color SplashKit.ColorDarkSeaGreen();" ], - "pascal": [ - "function ColorDarkSeaGreen(): Color" - ] + "pascal": ["function ColorDarkSeaGreen(): Color"] } }, "setter": null @@ -90970,17 +79556,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_slate_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_slate_blue():" - ], + "python": ["def color_dark_slate_blue():"], "cpp": [ "#define COLOR_DARK_SLATE_BLUE", "color color_dark_slate_blue()" @@ -90989,9 +79572,7 @@ "public static Color Color.DarkSlateBlue { get }", "public static Color SplashKit.ColorDarkSlateBlue();" ], - "pascal": [ - "function ColorDarkSlateBlue(): Color" - ] + "pascal": ["function ColorDarkSlateBlue(): Color"] } }, "setter": null @@ -91014,17 +79595,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_slate_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_slate_gray():" - ], + "python": ["def color_dark_slate_gray():"], "cpp": [ "#define COLOR_DARK_SLATE_GRAY", "color color_dark_slate_gray()" @@ -91033,9 +79611,7 @@ "public static Color Color.DarkSlateGray { get }", "public static Color SplashKit.ColorDarkSlateGray();" ], - "pascal": [ - "function ColorDarkSlateGray(): Color" - ] + "pascal": ["function ColorDarkSlateGray(): Color"] } }, "setter": null @@ -91058,17 +79634,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_turquoise", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_turquoise():" - ], + "python": ["def color_dark_turquoise():"], "cpp": [ "#define COLOR_DARK_TURQUOISE", "color color_dark_turquoise()" @@ -91077,9 +79650,7 @@ "public static Color Color.DarkTurquoise { get }", "public static Color SplashKit.ColorDarkTurquoise();" ], - "pascal": [ - "function ColorDarkTurquoise(): Color" - ] + "pascal": ["function ColorDarkTurquoise(): Color"] } }, "setter": null @@ -91102,17 +79673,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dark_violet", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dark_violet():" - ], + "python": ["def color_dark_violet():"], "cpp": [ "#define COLOR_DARK_VIOLET", "color color_dark_violet()" @@ -91121,9 +79689,7 @@ "public static Color Color.DarkViolet { get }", "public static Color SplashKit.ColorDarkViolet();" ], - "pascal": [ - "function ColorDarkViolet(): Color" - ] + "pascal": ["function ColorDarkViolet(): Color"] } }, "setter": null @@ -91146,28 +79712,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "deep_pink", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_deep_pink():" - ], - "cpp": [ - "#define COLOR_DEEP_PINK", - "color color_deep_pink()" - ], + "python": ["def color_deep_pink():"], + "cpp": ["#define COLOR_DEEP_PINK", "color color_deep_pink()"], "csharp": [ "public static Color Color.DeepPink { get }", "public static Color SplashKit.ColorDeepPink();" ], - "pascal": [ - "function ColorDeepPink(): Color" - ] + "pascal": ["function ColorDeepPink(): Color"] } }, "setter": null @@ -91190,17 +79748,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "deep_sky_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_deep_sky_blue():" - ], + "python": ["def color_deep_sky_blue():"], "cpp": [ "#define COLOR_DEEP_SKY_BLUE", "color color_deep_sky_blue()" @@ -91209,9 +79764,7 @@ "public static Color Color.DeepSkyBlue { get }", "public static Color SplashKit.ColorDeepSkyBlue();" ], - "pascal": [ - "function ColorDeepSkyBlue(): Color" - ] + "pascal": ["function ColorDeepSkyBlue(): Color"] } }, "setter": null @@ -91234,28 +79787,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dim_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dim_gray():" - ], - "cpp": [ - "#define COLOR_DIM_GRAY", - "color color_dim_gray()" - ], + "python": ["def color_dim_gray():"], + "cpp": ["#define COLOR_DIM_GRAY", "color color_dim_gray()"], "csharp": [ "public static Color Color.DimGray { get }", "public static Color SplashKit.ColorDimGray();" ], - "pascal": [ - "function ColorDimGray(): Color" - ] + "pascal": ["function ColorDimGray(): Color"] } }, "setter": null @@ -91278,17 +79823,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "dodger_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_dodger_blue():" - ], + "python": ["def color_dodger_blue():"], "cpp": [ "#define COLOR_DODGER_BLUE", "color color_dodger_blue()" @@ -91297,9 +79839,7 @@ "public static Color Color.DodgerBlue { get }", "public static Color SplashKit.ColorDodgerBlue();" ], - "pascal": [ - "function ColorDodgerBlue(): Color" - ] + "pascal": ["function ColorDodgerBlue(): Color"] } }, "setter": null @@ -91322,28 +79862,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "firebrick", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_firebrick():" - ], - "cpp": [ - "#define COLOR_FIREBRICK", - "color color_firebrick()" - ], + "python": ["def color_firebrick():"], + "cpp": ["#define COLOR_FIREBRICK", "color color_firebrick()"], "csharp": [ "public static Color Color.Firebrick { get }", "public static Color SplashKit.ColorFirebrick();" ], - "pascal": [ - "function ColorFirebrick(): Color" - ] + "pascal": ["function ColorFirebrick(): Color"] } }, "setter": null @@ -91366,17 +79898,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "floral_white", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_floral_white():" - ], + "python": ["def color_floral_white():"], "cpp": [ "#define COLOR_FLORAL_WHITE", "color color_floral_white()" @@ -91385,9 +79914,7 @@ "public static Color Color.FloralWhite { get }", "public static Color SplashKit.ColorFloralWhite();" ], - "pascal": [ - "function ColorFloralWhite(): Color" - ] + "pascal": ["function ColorFloralWhite(): Color"] } }, "setter": null @@ -91410,17 +79937,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "forest_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_forest_green():" - ], + "python": ["def color_forest_green():"], "cpp": [ "#define COLOR_FOREST_GREEN", "color color_forest_green()" @@ -91429,9 +79953,7 @@ "public static Color Color.ForestGreen { get }", "public static Color SplashKit.ColorForestGreen();" ], - "pascal": [ - "function ColorForestGreen(): Color" - ] + "pascal": ["function ColorForestGreen(): Color"] } }, "setter": null @@ -91454,28 +79976,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "fuchsia", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_fuchsia():" - ], - "cpp": [ - "#define COLOR_FUCHSIA", - "color color_fuchsia()" - ], + "python": ["def color_fuchsia():"], + "cpp": ["#define COLOR_FUCHSIA", "color color_fuchsia()"], "csharp": [ "public static Color Color.Fuchsia { get }", "public static Color SplashKit.ColorFuchsia();" ], - "pascal": [ - "function ColorFuchsia(): Color" - ] + "pascal": ["function ColorFuchsia(): Color"] } }, "setter": null @@ -91498,28 +80012,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "gainsboro", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_gainsboro():" - ], - "cpp": [ - "#define COLOR_GAINSBORO", - "color color_gainsboro()" - ], + "python": ["def color_gainsboro():"], + "cpp": ["#define COLOR_GAINSBORO", "color color_gainsboro()"], "csharp": [ "public static Color Color.Gainsboro { get }", "public static Color SplashKit.ColorGainsboro();" ], - "pascal": [ - "function ColorGainsboro(): Color" - ] + "pascal": ["function ColorGainsboro(): Color"] } }, "setter": null @@ -91542,17 +80048,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "ghost_white", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_ghost_white():" - ], + "python": ["def color_ghost_white():"], "cpp": [ "#define COLOR_GHOST_WHITE", "color color_ghost_white()" @@ -91561,9 +80064,7 @@ "public static Color Color.GhostWhite { get }", "public static Color SplashKit.ColorGhostWhite();" ], - "pascal": [ - "function ColorGhostWhite(): Color" - ] + "pascal": ["function ColorGhostWhite(): Color"] } }, "setter": null @@ -91586,28 +80087,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "gold", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_gold():" - ], - "cpp": [ - "#define COLOR_GOLD", - "color color_gold()" - ], + "python": ["def color_gold():"], + "cpp": ["#define COLOR_GOLD", "color color_gold()"], "csharp": [ "public static Color Color.Gold { get }", "public static Color SplashKit.ColorGold();" ], - "pascal": [ - "function ColorGold(): Color" - ] + "pascal": ["function ColorGold(): Color"] } }, "setter": null @@ -91630,28 +80123,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "goldenrod", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_goldenrod():" - ], - "cpp": [ - "#define COLOR_GOLDENROD", - "color color_goldenrod()" - ], + "python": ["def color_goldenrod():"], + "cpp": ["#define COLOR_GOLDENROD", "color color_goldenrod()"], "csharp": [ "public static Color Color.Goldenrod { get }", "public static Color SplashKit.ColorGoldenrod();" ], - "pascal": [ - "function ColorGoldenrod(): Color" - ] + "pascal": ["function ColorGoldenrod(): Color"] } }, "setter": null @@ -91674,28 +80159,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_gray():" - ], - "cpp": [ - "#define COLOR_GRAY", - "color color_gray()" - ], + "python": ["def color_gray():"], + "cpp": ["#define COLOR_GRAY", "color color_gray()"], "csharp": [ "public static Color Color.Gray { get }", "public static Color SplashKit.ColorGray();" ], - "pascal": [ - "function ColorGray(): Color" - ] + "pascal": ["function ColorGray(): Color"] } }, "setter": null @@ -91718,28 +80195,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_green():" - ], - "cpp": [ - "#define COLOR_GREEN", - "color color_green()" - ], + "python": ["def color_green():"], + "cpp": ["#define COLOR_GREEN", "color color_green()"], "csharp": [ "public static Color Color.Green { get }", "public static Color SplashKit.ColorGreen();" ], - "pascal": [ - "function ColorGreen(): Color" - ] + "pascal": ["function ColorGreen(): Color"] } }, "setter": null @@ -91762,17 +80231,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "green_yellow", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_green_yellow():" - ], + "python": ["def color_green_yellow():"], "cpp": [ "#define COLOR_GREEN_YELLOW", "color color_green_yellow()" @@ -91781,9 +80247,7 @@ "public static Color Color.GreenYellow { get }", "public static Color SplashKit.ColorGreenYellow();" ], - "pascal": [ - "function ColorGreenYellow(): Color" - ] + "pascal": ["function ColorGreenYellow(): Color"] } }, "setter": null @@ -91806,28 +80270,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "honeydew", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_honeydew():" - ], - "cpp": [ - "#define COLOR_HONEYDEW", - "color color_honeydew()" - ], + "python": ["def color_honeydew():"], + "cpp": ["#define COLOR_HONEYDEW", "color color_honeydew()"], "csharp": [ "public static Color Color.Honeydew { get }", "public static Color SplashKit.ColorHoneydew();" ], - "pascal": [ - "function ColorHoneydew(): Color" - ] + "pascal": ["function ColorHoneydew(): Color"] } }, "setter": null @@ -91850,28 +80306,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "hot_pink", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_hot_pink():" - ], - "cpp": [ - "#define COLOR_HOT_PINK", - "color color_hot_pink()" - ], + "python": ["def color_hot_pink():"], + "cpp": ["#define COLOR_HOT_PINK", "color color_hot_pink()"], "csharp": [ "public static Color Color.HotPink { get }", "public static Color SplashKit.ColorHotPink();" ], - "pascal": [ - "function ColorHotPink(): Color" - ] + "pascal": ["function ColorHotPink(): Color"] } }, "setter": null @@ -91894,28 +80342,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "indian_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_indian_red():" - ], - "cpp": [ - "#define COLOR_INDIAN_RED", - "color color_indian_red()" - ], + "python": ["def color_indian_red():"], + "cpp": ["#define COLOR_INDIAN_RED", "color color_indian_red()"], "csharp": [ "public static Color Color.IndianRed { get }", "public static Color SplashKit.ColorIndianRed();" ], - "pascal": [ - "function ColorIndianRed(): Color" - ] + "pascal": ["function ColorIndianRed(): Color"] } }, "setter": null @@ -91938,28 +80378,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "indigo", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_indigo():" - ], - "cpp": [ - "#define COLOR_INDIGO", - "color color_indigo()" - ], + "python": ["def color_indigo():"], + "cpp": ["#define COLOR_INDIGO", "color color_indigo()"], "csharp": [ "public static Color Color.Indigo { get }", "public static Color SplashKit.ColorIndigo();" ], - "pascal": [ - "function ColorIndigo(): Color" - ] + "pascal": ["function ColorIndigo(): Color"] } }, "setter": null @@ -91982,28 +80414,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "ivory", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_ivory():" - ], - "cpp": [ - "#define COLOR_IVORY", - "color color_ivory()" - ], + "python": ["def color_ivory():"], + "cpp": ["#define COLOR_IVORY", "color color_ivory()"], "csharp": [ "public static Color Color.Ivory { get }", "public static Color SplashKit.ColorIvory();" ], - "pascal": [ - "function ColorIvory(): Color" - ] + "pascal": ["function ColorIvory(): Color"] } }, "setter": null @@ -92026,28 +80450,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "khaki", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_khaki():" - ], - "cpp": [ - "#define COLOR_KHAKI", - "color color_khaki()" - ], + "python": ["def color_khaki():"], + "cpp": ["#define COLOR_KHAKI", "color color_khaki()"], "csharp": [ "public static Color Color.Khaki { get }", "public static Color SplashKit.ColorKhaki();" ], - "pascal": [ - "function ColorKhaki(): Color" - ] + "pascal": ["function ColorKhaki(): Color"] } }, "setter": null @@ -92070,28 +80486,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lavender", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lavender():" - ], - "cpp": [ - "#define COLOR_LAVENDER", - "color color_lavender()" - ], + "python": ["def color_lavender():"], + "cpp": ["#define COLOR_LAVENDER", "color color_lavender()"], "csharp": [ "public static Color Color.Lavender { get }", "public static Color SplashKit.ColorLavender();" ], - "pascal": [ - "function ColorLavender(): Color" - ] + "pascal": ["function ColorLavender(): Color"] } }, "setter": null @@ -92114,17 +80522,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lavender_blush", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lavender_blush():" - ], + "python": ["def color_lavender_blush():"], "cpp": [ "#define COLOR_LAVENDER_BLUSH", "color color_lavender_blush()" @@ -92133,9 +80538,7 @@ "public static Color Color.LavenderBlush { get }", "public static Color SplashKit.ColorLavenderBlush();" ], - "pascal": [ - "function ColorLavenderBlush(): Color" - ] + "pascal": ["function ColorLavenderBlush(): Color"] } }, "setter": null @@ -92158,28 +80561,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lawn_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lawn_green():" - ], - "cpp": [ - "#define COLOR_LAWN_GREEN", - "color color_lawn_green()" - ], + "python": ["def color_lawn_green():"], + "cpp": ["#define COLOR_LAWN_GREEN", "color color_lawn_green()"], "csharp": [ "public static Color Color.LawnGreen { get }", "public static Color SplashKit.ColorLawnGreen();" ], - "pascal": [ - "function ColorLawnGreen(): Color" - ] + "pascal": ["function ColorLawnGreen(): Color"] } }, "setter": null @@ -92202,17 +80597,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lemon_chiffon", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lemon_chiffon():" - ], + "python": ["def color_lemon_chiffon():"], "cpp": [ "#define COLOR_LEMON_CHIFFON", "color color_lemon_chiffon()" @@ -92221,9 +80613,7 @@ "public static Color Color.LemonChiffon { get }", "public static Color SplashKit.ColorLemonChiffon();" ], - "pascal": [ - "function ColorLemonChiffon(): Color" - ] + "pascal": ["function ColorLemonChiffon(): Color"] } }, "setter": null @@ -92246,28 +80636,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_blue():" - ], - "cpp": [ - "#define COLOR_LIGHT_BLUE", - "color color_light_blue()" - ], + "python": ["def color_light_blue():"], + "cpp": ["#define COLOR_LIGHT_BLUE", "color color_light_blue()"], "csharp": [ "public static Color Color.LightBlue { get }", "public static Color SplashKit.ColorLightBlue();" ], - "pascal": [ - "function ColorLightBlue(): Color" - ] + "pascal": ["function ColorLightBlue(): Color"] } }, "setter": null @@ -92290,17 +80672,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_coral", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_coral():" - ], + "python": ["def color_light_coral():"], "cpp": [ "#define COLOR_LIGHT_CORAL", "color color_light_coral()" @@ -92309,9 +80688,7 @@ "public static Color Color.LightCoral { get }", "public static Color SplashKit.ColorLightCoral();" ], - "pascal": [ - "function ColorLightCoral(): Color" - ] + "pascal": ["function ColorLightCoral(): Color"] } }, "setter": null @@ -92334,28 +80711,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_cyan", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_cyan():" - ], - "cpp": [ - "#define COLOR_LIGHT_CYAN", - "color color_light_cyan()" - ], + "python": ["def color_light_cyan():"], + "cpp": ["#define COLOR_LIGHT_CYAN", "color color_light_cyan()"], "csharp": [ "public static Color Color.LightCyan { get }", "public static Color SplashKit.ColorLightCyan();" ], - "pascal": [ - "function ColorLightCyan(): Color" - ] + "pascal": ["function ColorLightCyan(): Color"] } }, "setter": null @@ -92378,17 +80747,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_goldenrod_yellow", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_goldenrod_yellow():" - ], + "python": ["def color_light_goldenrod_yellow():"], "cpp": [ "#define COLOR_LIGHT_GOLDENROD_YELLOW", "color color_light_goldenrod_yellow()" @@ -92397,9 +80763,7 @@ "public static Color Color.LightGoldenrodYellow { get }", "public static Color SplashKit.ColorLightGoldenrodYellow();" ], - "pascal": [ - "function ColorLightGoldenrodYellow(): Color" - ] + "pascal": ["function ColorLightGoldenrodYellow(): Color"] } }, "setter": null @@ -92422,28 +80786,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_gray():" - ], - "cpp": [ - "#define COLOR_LIGHT_GRAY", - "color color_light_gray()" - ], + "python": ["def color_light_gray():"], + "cpp": ["#define COLOR_LIGHT_GRAY", "color color_light_gray()"], "csharp": [ "public static Color Color.LightGray { get }", "public static Color SplashKit.ColorLightGray();" ], - "pascal": [ - "function ColorLightGray(): Color" - ] + "pascal": ["function ColorLightGray(): Color"] } }, "setter": null @@ -92466,17 +80822,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_green():" - ], + "python": ["def color_light_green():"], "cpp": [ "#define COLOR_LIGHT_GREEN", "color color_light_green()" @@ -92485,9 +80838,7 @@ "public static Color Color.LightGreen { get }", "public static Color SplashKit.ColorLightGreen();" ], - "pascal": [ - "function ColorLightGreen(): Color" - ] + "pascal": ["function ColorLightGreen(): Color"] } }, "setter": null @@ -92510,28 +80861,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_pink", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_pink():" - ], - "cpp": [ - "#define COLOR_LIGHT_PINK", - "color color_light_pink()" - ], + "python": ["def color_light_pink():"], + "cpp": ["#define COLOR_LIGHT_PINK", "color color_light_pink()"], "csharp": [ "public static Color Color.LightPink { get }", "public static Color SplashKit.ColorLightPink();" ], - "pascal": [ - "function ColorLightPink(): Color" - ] + "pascal": ["function ColorLightPink(): Color"] } }, "setter": null @@ -92554,17 +80897,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_salmon", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_salmon():" - ], + "python": ["def color_light_salmon():"], "cpp": [ "#define COLOR_LIGHT_SALMON", "color color_light_salmon()" @@ -92573,9 +80913,7 @@ "public static Color Color.LightSalmon { get }", "public static Color SplashKit.ColorLightSalmon();" ], - "pascal": [ - "function ColorLightSalmon(): Color" - ] + "pascal": ["function ColorLightSalmon(): Color"] } }, "setter": null @@ -92598,17 +80936,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_sea_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_sea_green():" - ], + "python": ["def color_light_sea_green():"], "cpp": [ "#define COLOR_LIGHT_SEA_GREEN", "color color_light_sea_green()" @@ -92617,9 +80952,7 @@ "public static Color Color.LightSeaGreen { get }", "public static Color SplashKit.ColorLightSeaGreen();" ], - "pascal": [ - "function ColorLightSeaGreen(): Color" - ] + "pascal": ["function ColorLightSeaGreen(): Color"] } }, "setter": null @@ -92642,17 +80975,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_sky_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_sky_blue():" - ], + "python": ["def color_light_sky_blue():"], "cpp": [ "#define COLOR_LIGHT_SKY_BLUE", "color color_light_sky_blue()" @@ -92661,9 +80991,7 @@ "public static Color Color.LightSkyBlue { get }", "public static Color SplashKit.ColorLightSkyBlue();" ], - "pascal": [ - "function ColorLightSkyBlue(): Color" - ] + "pascal": ["function ColorLightSkyBlue(): Color"] } }, "setter": null @@ -92686,17 +81014,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_slate_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_slate_gray():" - ], + "python": ["def color_light_slate_gray():"], "cpp": [ "#define COLOR_LIGHT_SLATE_GRAY", "color color_light_slate_gray()" @@ -92705,9 +81030,7 @@ "public static Color Color.LightSlateGray { get }", "public static Color SplashKit.ColorLightSlateGray();" ], - "pascal": [ - "function ColorLightSlateGray(): Color" - ] + "pascal": ["function ColorLightSlateGray(): Color"] } }, "setter": null @@ -92730,17 +81053,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_steel_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_steel_blue():" - ], + "python": ["def color_light_steel_blue():"], "cpp": [ "#define COLOR_LIGHT_STEEL_BLUE", "color color_light_steel_blue()" @@ -92749,9 +81069,7 @@ "public static Color Color.LightSteelBlue { get }", "public static Color SplashKit.ColorLightSteelBlue();" ], - "pascal": [ - "function ColorLightSteelBlue(): Color" - ] + "pascal": ["function ColorLightSteelBlue(): Color"] } }, "setter": null @@ -92774,17 +81092,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "light_yellow", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_light_yellow():" - ], + "python": ["def color_light_yellow():"], "cpp": [ "#define COLOR_LIGHT_YELLOW", "color color_light_yellow()" @@ -92793,9 +81108,7 @@ "public static Color Color.LightYellow { get }", "public static Color SplashKit.ColorLightYellow();" ], - "pascal": [ - "function ColorLightYellow(): Color" - ] + "pascal": ["function ColorLightYellow(): Color"] } }, "setter": null @@ -92818,28 +81131,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lime", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lime():" - ], - "cpp": [ - "#define COLOR_LIME", - "color color_lime()" - ], + "python": ["def color_lime():"], + "cpp": ["#define COLOR_LIME", "color color_lime()"], "csharp": [ "public static Color Color.Lime { get }", "public static Color SplashKit.ColorLime();" ], - "pascal": [ - "function ColorLime(): Color" - ] + "pascal": ["function ColorLime(): Color"] } }, "setter": null @@ -92862,28 +81167,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "lime_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_lime_green():" - ], - "cpp": [ - "#define COLOR_LIME_GREEN", - "color color_lime_green()" - ], + "python": ["def color_lime_green():"], + "cpp": ["#define COLOR_LIME_GREEN", "color color_lime_green()"], "csharp": [ "public static Color Color.LimeGreen { get }", "public static Color SplashKit.ColorLimeGreen();" ], - "pascal": [ - "function ColorLimeGreen(): Color" - ] + "pascal": ["function ColorLimeGreen(): Color"] } }, "setter": null @@ -92906,28 +81203,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "linen", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_linen():" - ], - "cpp": [ - "#define COLOR_LINEN", - "color color_linen()" - ], + "python": ["def color_linen():"], + "cpp": ["#define COLOR_LINEN", "color color_linen()"], "csharp": [ "public static Color Color.Linen { get }", "public static Color SplashKit.ColorLinen();" ], - "pascal": [ - "function ColorLinen(): Color" - ] + "pascal": ["function ColorLinen(): Color"] } }, "setter": null @@ -92950,28 +81239,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "magenta", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_magenta():" - ], - "cpp": [ - "#define COLOR_MAGENTA", - "color color_magenta()" - ], + "python": ["def color_magenta():"], + "cpp": ["#define COLOR_MAGENTA", "color color_magenta()"], "csharp": [ "public static Color Color.Magenta { get }", "public static Color SplashKit.ColorMagenta();" ], - "pascal": [ - "function ColorMagenta(): Color" - ] + "pascal": ["function ColorMagenta(): Color"] } }, "setter": null @@ -92994,28 +81275,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "maroon", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_maroon():" - ], - "cpp": [ - "#define COLOR_MAROON", - "color color_maroon()" - ], + "python": ["def color_maroon():"], + "cpp": ["#define COLOR_MAROON", "color color_maroon()"], "csharp": [ "public static Color Color.Maroon { get }", "public static Color SplashKit.ColorMaroon();" ], - "pascal": [ - "function ColorMaroon(): Color" - ] + "pascal": ["function ColorMaroon(): Color"] } }, "setter": null @@ -93038,17 +81311,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_aquamarine", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_aquamarine():" - ], + "python": ["def color_medium_aquamarine():"], "cpp": [ "#define COLOR_MEDIUM_AQUAMARINE", "color color_medium_aquamarine()" @@ -93057,9 +81327,7 @@ "public static Color Color.MediumAquamarine { get }", "public static Color SplashKit.ColorMediumAquamarine();" ], - "pascal": [ - "function ColorMediumAquamarine(): Color" - ] + "pascal": ["function ColorMediumAquamarine(): Color"] } }, "setter": null @@ -93082,17 +81350,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_blue():" - ], + "python": ["def color_medium_blue():"], "cpp": [ "#define COLOR_MEDIUM_BLUE", "color color_medium_blue()" @@ -93101,9 +81366,7 @@ "public static Color Color.MediumBlue { get }", "public static Color SplashKit.ColorMediumBlue();" ], - "pascal": [ - "function ColorMediumBlue(): Color" - ] + "pascal": ["function ColorMediumBlue(): Color"] } }, "setter": null @@ -93126,17 +81389,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_orchid", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_orchid():" - ], + "python": ["def color_medium_orchid():"], "cpp": [ "#define COLOR_MEDIUM_ORCHID", "color color_medium_orchid()" @@ -93145,9 +81405,7 @@ "public static Color Color.MediumOrchid { get }", "public static Color SplashKit.ColorMediumOrchid();" ], - "pascal": [ - "function ColorMediumOrchid(): Color" - ] + "pascal": ["function ColorMediumOrchid(): Color"] } }, "setter": null @@ -93170,17 +81428,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_purple", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_purple():" - ], + "python": ["def color_medium_purple():"], "cpp": [ "#define COLOR_MEDIUM_PURPLE", "color color_medium_purple()" @@ -93189,9 +81444,7 @@ "public static Color Color.MediumPurple { get }", "public static Color SplashKit.ColorMediumPurple();" ], - "pascal": [ - "function ColorMediumPurple(): Color" - ] + "pascal": ["function ColorMediumPurple(): Color"] } }, "setter": null @@ -93214,17 +81467,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_sea_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_sea_green():" - ], + "python": ["def color_medium_sea_green():"], "cpp": [ "#define COLOR_MEDIUM_SEA_GREEN", "color color_medium_sea_green()" @@ -93233,9 +81483,7 @@ "public static Color Color.MediumSeaGreen { get }", "public static Color SplashKit.ColorMediumSeaGreen();" ], - "pascal": [ - "function ColorMediumSeaGreen(): Color" - ] + "pascal": ["function ColorMediumSeaGreen(): Color"] } }, "setter": null @@ -93258,17 +81506,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_slate_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_slate_blue():" - ], + "python": ["def color_medium_slate_blue():"], "cpp": [ "#define COLOR_MEDIUM_SLATE_BLUE", "color color_medium_slate_blue()" @@ -93277,9 +81522,7 @@ "public static Color Color.MediumSlateBlue { get }", "public static Color SplashKit.ColorMediumSlateBlue();" ], - "pascal": [ - "function ColorMediumSlateBlue(): Color" - ] + "pascal": ["function ColorMediumSlateBlue(): Color"] } }, "setter": null @@ -93302,17 +81545,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_spring_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_spring_green():" - ], + "python": ["def color_medium_spring_green():"], "cpp": [ "#define COLOR_MEDIUM_SPRING_GREEN", "color color_medium_spring_green()" @@ -93321,9 +81561,7 @@ "public static Color Color.MediumSpringGreen { get }", "public static Color SplashKit.ColorMediumSpringGreen();" ], - "pascal": [ - "function ColorMediumSpringGreen(): Color" - ] + "pascal": ["function ColorMediumSpringGreen(): Color"] } }, "setter": null @@ -93346,17 +81584,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_turquoise", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_turquoise():" - ], + "python": ["def color_medium_turquoise():"], "cpp": [ "#define COLOR_MEDIUM_TURQUOISE", "color color_medium_turquoise()" @@ -93365,9 +81600,7 @@ "public static Color Color.MediumTurquoise { get }", "public static Color SplashKit.ColorMediumTurquoise();" ], - "pascal": [ - "function ColorMediumTurquoise(): Color" - ] + "pascal": ["function ColorMediumTurquoise(): Color"] } }, "setter": null @@ -93390,17 +81623,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "medium_violet_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_medium_violet_red():" - ], + "python": ["def color_medium_violet_red():"], "cpp": [ "#define COLOR_MEDIUM_VIOLET_RED", "color color_medium_violet_red()" @@ -93409,9 +81639,7 @@ "public static Color Color.MediumVioletRed { get }", "public static Color SplashKit.ColorMediumVioletRed();" ], - "pascal": [ - "function ColorMediumVioletRed(): Color" - ] + "pascal": ["function ColorMediumVioletRed(): Color"] } }, "setter": null @@ -93434,17 +81662,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "midnight_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_midnight_blue():" - ], + "python": ["def color_midnight_blue():"], "cpp": [ "#define COLOR_MIDNIGHT_BLUE", "color color_midnight_blue()" @@ -93453,9 +81678,7 @@ "public static Color Color.MidnightBlue { get }", "public static Color SplashKit.ColorMidnightBlue();" ], - "pascal": [ - "function ColorMidnightBlue(): Color" - ] + "pascal": ["function ColorMidnightBlue(): Color"] } }, "setter": null @@ -93478,28 +81701,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "mint_cream", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_mint_cream():" - ], - "cpp": [ - "#define COLOR_MINT_CREAM", - "color color_mint_cream()" - ], + "python": ["def color_mint_cream():"], + "cpp": ["#define COLOR_MINT_CREAM", "color color_mint_cream()"], "csharp": [ "public static Color Color.MintCream { get }", "public static Color SplashKit.ColorMintCream();" ], - "pascal": [ - "function ColorMintCream(): Color" - ] + "pascal": ["function ColorMintCream(): Color"] } }, "setter": null @@ -93522,28 +81737,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "misty_rose", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_misty_rose():" - ], - "cpp": [ - "#define COLOR_MISTY_ROSE", - "color color_misty_rose()" - ], + "python": ["def color_misty_rose():"], + "cpp": ["#define COLOR_MISTY_ROSE", "color color_misty_rose()"], "csharp": [ "public static Color Color.MistyRose { get }", "public static Color SplashKit.ColorMistyRose();" ], - "pascal": [ - "function ColorMistyRose(): Color" - ] + "pascal": ["function ColorMistyRose(): Color"] } }, "setter": null @@ -93566,28 +81773,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "moccasin", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_moccasin():" - ], - "cpp": [ - "#define COLOR_MOCCASIN", - "color color_moccasin()" - ], + "python": ["def color_moccasin():"], + "cpp": ["#define COLOR_MOCCASIN", "color color_moccasin()"], "csharp": [ "public static Color Color.Moccasin { get }", "public static Color SplashKit.ColorMoccasin();" ], - "pascal": [ - "function ColorMoccasin(): Color" - ] + "pascal": ["function ColorMoccasin(): Color"] } }, "setter": null @@ -93610,17 +81809,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "navajo_white", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_navajo_white():" - ], + "python": ["def color_navajo_white():"], "cpp": [ "#define COLOR_NAVAJO_WHITE", "color color_navajo_white()" @@ -93629,9 +81825,7 @@ "public static Color Color.NavajoWhite { get }", "public static Color SplashKit.ColorNavajoWhite();" ], - "pascal": [ - "function ColorNavajoWhite(): Color" - ] + "pascal": ["function ColorNavajoWhite(): Color"] } }, "setter": null @@ -93654,28 +81848,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "navy", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_navy():" - ], - "cpp": [ - "#define COLOR_NAVY", - "color color_navy()" - ], + "python": ["def color_navy():"], + "cpp": ["#define COLOR_NAVY", "color color_navy()"], "csharp": [ "public static Color Color.Navy { get }", "public static Color SplashKit.ColorNavy();" ], - "pascal": [ - "function ColorNavy(): Color" - ] + "pascal": ["function ColorNavy(): Color"] } }, "setter": null @@ -93698,28 +81884,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "old_lace", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_old_lace():" - ], - "cpp": [ - "#define COLOR_OLD_LACE", - "color color_old_lace()" - ], + "python": ["def color_old_lace():"], + "cpp": ["#define COLOR_OLD_LACE", "color color_old_lace()"], "csharp": [ "public static Color Color.OldLace { get }", "public static Color SplashKit.ColorOldLace();" ], - "pascal": [ - "function ColorOldLace(): Color" - ] + "pascal": ["function ColorOldLace(): Color"] } }, "setter": null @@ -93742,28 +81920,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "olive", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_olive():" - ], - "cpp": [ - "#define COLOR_OLIVE", - "color color_olive()" - ], + "python": ["def color_olive():"], + "cpp": ["#define COLOR_OLIVE", "color color_olive()"], "csharp": [ "public static Color Color.Olive { get }", "public static Color SplashKit.ColorOlive();" ], - "pascal": [ - "function ColorOlive(): Color" - ] + "pascal": ["function ColorOlive(): Color"] } }, "setter": null @@ -93786,28 +81956,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "olive_drab", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_olive_drab():" - ], - "cpp": [ - "#define COLOR_OLIVE_DRAB", - "color color_olive_drab()" - ], + "python": ["def color_olive_drab():"], + "cpp": ["#define COLOR_OLIVE_DRAB", "color color_olive_drab()"], "csharp": [ "public static Color Color.OliveDrab { get }", "public static Color SplashKit.ColorOliveDrab();" ], - "pascal": [ - "function ColorOliveDrab(): Color" - ] + "pascal": ["function ColorOliveDrab(): Color"] } }, "setter": null @@ -93830,28 +81992,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "orange", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_orange():" - ], - "cpp": [ - "#define COLOR_ORANGE", - "color color_orange()" - ], + "python": ["def color_orange():"], + "cpp": ["#define COLOR_ORANGE", "color color_orange()"], "csharp": [ "public static Color Color.Orange { get }", "public static Color SplashKit.ColorOrange();" ], - "pascal": [ - "function ColorOrange(): Color" - ] + "pascal": ["function ColorOrange(): Color"] } }, "setter": null @@ -93874,28 +82028,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "orange_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_orange_red():" - ], - "cpp": [ - "#define COLOR_ORANGE_RED", - "color color_orange_red()" - ], + "python": ["def color_orange_red():"], + "cpp": ["#define COLOR_ORANGE_RED", "color color_orange_red()"], "csharp": [ "public static Color Color.OrangeRed { get }", "public static Color SplashKit.ColorOrangeRed();" ], - "pascal": [ - "function ColorOrangeRed(): Color" - ] + "pascal": ["function ColorOrangeRed(): Color"] } }, "setter": null @@ -93918,28 +82064,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "orchid", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_orchid():" - ], - "cpp": [ - "#define COLOR_ORCHID", - "color color_orchid()" - ], + "python": ["def color_orchid():"], + "cpp": ["#define COLOR_ORCHID", "color color_orchid()"], "csharp": [ "public static Color Color.Orchid { get }", "public static Color SplashKit.ColorOrchid();" ], - "pascal": [ - "function ColorOrchid(): Color" - ] + "pascal": ["function ColorOrchid(): Color"] } }, "setter": null @@ -93962,17 +82100,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "pale_goldenrod", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_pale_goldenrod():" - ], + "python": ["def color_pale_goldenrod():"], "cpp": [ "#define COLOR_PALE_GOLDENROD", "color color_pale_goldenrod()" @@ -93981,9 +82116,7 @@ "public static Color Color.PaleGoldenrod { get }", "public static Color SplashKit.ColorPaleGoldenrod();" ], - "pascal": [ - "function ColorPaleGoldenrod(): Color" - ] + "pascal": ["function ColorPaleGoldenrod(): Color"] } }, "setter": null @@ -94006,28 +82139,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "pale_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_pale_green():" - ], - "cpp": [ - "#define COLOR_PALE_GREEN", - "color color_pale_green()" - ], + "python": ["def color_pale_green():"], + "cpp": ["#define COLOR_PALE_GREEN", "color color_pale_green()"], "csharp": [ "public static Color Color.PaleGreen { get }", "public static Color SplashKit.ColorPaleGreen();" ], - "pascal": [ - "function ColorPaleGreen(): Color" - ] + "pascal": ["function ColorPaleGreen(): Color"] } }, "setter": null @@ -94050,17 +82175,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "pale_turquoise", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_pale_turquoise():" - ], + "python": ["def color_pale_turquoise():"], "cpp": [ "#define COLOR_PALE_TURQUOISE", "color color_pale_turquoise()" @@ -94069,9 +82191,7 @@ "public static Color Color.PaleTurquoise { get }", "public static Color SplashKit.ColorPaleTurquoise();" ], - "pascal": [ - "function ColorPaleTurquoise(): Color" - ] + "pascal": ["function ColorPaleTurquoise(): Color"] } }, "setter": null @@ -94094,17 +82214,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "pale_violet_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_pale_violet_red():" - ], + "python": ["def color_pale_violet_red():"], "cpp": [ "#define COLOR_PALE_VIOLET_RED", "color color_pale_violet_red()" @@ -94113,9 +82230,7 @@ "public static Color Color.PaleVioletRed { get }", "public static Color SplashKit.ColorPaleVioletRed();" ], - "pascal": [ - "function ColorPaleVioletRed(): Color" - ] + "pascal": ["function ColorPaleVioletRed(): Color"] } }, "setter": null @@ -94138,17 +82253,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "papaya_whip", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_papaya_whip():" - ], + "python": ["def color_papaya_whip():"], "cpp": [ "#define COLOR_PAPAYA_WHIP", "color color_papaya_whip()" @@ -94157,9 +82269,7 @@ "public static Color Color.PapayaWhip { get }", "public static Color SplashKit.ColorPapayaWhip();" ], - "pascal": [ - "function ColorPapayaWhip(): Color" - ] + "pascal": ["function ColorPapayaWhip(): Color"] } }, "setter": null @@ -94182,28 +82292,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "peach_puff", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_peach_puff():" - ], - "cpp": [ - "#define COLOR_PEACH_PUFF", - "color color_peach_puff()" - ], + "python": ["def color_peach_puff():"], + "cpp": ["#define COLOR_PEACH_PUFF", "color color_peach_puff()"], "csharp": [ "public static Color Color.PeachPuff { get }", "public static Color SplashKit.ColorPeachPuff();" ], - "pascal": [ - "function ColorPeachPuff(): Color" - ] + "pascal": ["function ColorPeachPuff(): Color"] } }, "setter": null @@ -94226,28 +82328,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "peru", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_peru():" - ], - "cpp": [ - "#define COLOR_PERU", - "color color_peru()" - ], + "python": ["def color_peru():"], + "cpp": ["#define COLOR_PERU", "color color_peru()"], "csharp": [ "public static Color Color.Peru { get }", "public static Color SplashKit.ColorPeru();" ], - "pascal": [ - "function ColorPeru(): Color" - ] + "pascal": ["function ColorPeru(): Color"] } }, "setter": null @@ -94270,28 +82364,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "pink", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_pink():" - ], - "cpp": [ - "#define COLOR_PINK", - "color color_pink()" - ], + "python": ["def color_pink():"], + "cpp": ["#define COLOR_PINK", "color color_pink()"], "csharp": [ "public static Color Color.Pink { get }", "public static Color SplashKit.ColorPink();" ], - "pascal": [ - "function ColorPink(): Color" - ] + "pascal": ["function ColorPink(): Color"] } }, "setter": null @@ -94314,28 +82400,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "plum", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_plum():" - ], - "cpp": [ - "#define COLOR_PLUM", - "color color_plum()" - ], + "python": ["def color_plum():"], + "cpp": ["#define COLOR_PLUM", "color color_plum()"], "csharp": [ "public static Color Color.Plum { get }", "public static Color SplashKit.ColorPlum();" ], - "pascal": [ - "function ColorPlum(): Color" - ] + "pascal": ["function ColorPlum(): Color"] } }, "setter": null @@ -94358,17 +82436,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "powder_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_powder_blue():" - ], + "python": ["def color_powder_blue():"], "cpp": [ "#define COLOR_POWDER_BLUE", "color color_powder_blue()" @@ -94377,9 +82452,7 @@ "public static Color Color.PowderBlue { get }", "public static Color SplashKit.ColorPowderBlue();" ], - "pascal": [ - "function ColorPowderBlue(): Color" - ] + "pascal": ["function ColorPowderBlue(): Color"] } }, "setter": null @@ -94402,28 +82475,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "purple", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_purple():" - ], - "cpp": [ - "#define COLOR_PURPLE", - "color color_purple()" - ], + "python": ["def color_purple():"], + "cpp": ["#define COLOR_PURPLE", "color color_purple()"], "csharp": [ "public static Color Color.Purple { get }", "public static Color SplashKit.ColorPurple();" ], - "pascal": [ - "function ColorPurple(): Color" - ] + "pascal": ["function ColorPurple(): Color"] } }, "setter": null @@ -94446,28 +82511,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_red():" - ], - "cpp": [ - "#define COLOR_RED", - "color color_red()" - ], + "python": ["def color_red():"], + "cpp": ["#define COLOR_RED", "color color_red()"], "csharp": [ "public static Color Color.Red { get }", "public static Color SplashKit.ColorRed();" ], - "pascal": [ - "function ColorRed(): Color" - ] + "pascal": ["function ColorRed(): Color"] } }, "setter": null @@ -94490,28 +82547,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "rosy_brown", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_rosy_brown():" - ], - "cpp": [ - "#define COLOR_ROSY_BROWN", - "color color_rosy_brown()" - ], + "python": ["def color_rosy_brown():"], + "cpp": ["#define COLOR_ROSY_BROWN", "color color_rosy_brown()"], "csharp": [ "public static Color Color.RosyBrown { get }", "public static Color SplashKit.ColorRosyBrown();" ], - "pascal": [ - "function ColorRosyBrown(): Color" - ] + "pascal": ["function ColorRosyBrown(): Color"] } }, "setter": null @@ -94534,28 +82583,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "royal_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_royal_blue():" - ], - "cpp": [ - "#define COLOR_ROYAL_BLUE", - "color color_royal_blue()" - ], + "python": ["def color_royal_blue():"], + "cpp": ["#define COLOR_ROYAL_BLUE", "color color_royal_blue()"], "csharp": [ "public static Color Color.RoyalBlue { get }", "public static Color SplashKit.ColorRoyalBlue();" ], - "pascal": [ - "function ColorRoyalBlue(): Color" - ] + "pascal": ["function ColorRoyalBlue(): Color"] } }, "setter": null @@ -94578,17 +82619,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "saddle_brown", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_saddle_brown():" - ], + "python": ["def color_saddle_brown():"], "cpp": [ "#define COLOR_SADDLE_BROWN", "color color_saddle_brown()" @@ -94597,9 +82635,7 @@ "public static Color Color.SaddleBrown { get }", "public static Color SplashKit.ColorSaddleBrown();" ], - "pascal": [ - "function ColorSaddleBrown(): Color" - ] + "pascal": ["function ColorSaddleBrown(): Color"] } }, "setter": null @@ -94622,28 +82658,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "salmon", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_salmon():" - ], - "cpp": [ - "#define COLOR_SALMON", - "color color_salmon()" - ], + "python": ["def color_salmon():"], + "cpp": ["#define COLOR_SALMON", "color color_salmon()"], "csharp": [ "public static Color Color.Salmon { get }", "public static Color SplashKit.ColorSalmon();" ], - "pascal": [ - "function ColorSalmon(): Color" - ] + "pascal": ["function ColorSalmon(): Color"] } }, "setter": null @@ -94666,17 +82694,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "sandy_brown", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_sandy_brown():" - ], + "python": ["def color_sandy_brown():"], "cpp": [ "#define COLOR_SANDY_BROWN", "color color_sandy_brown()" @@ -94685,9 +82710,7 @@ "public static Color Color.SandyBrown { get }", "public static Color SplashKit.ColorSandyBrown();" ], - "pascal": [ - "function ColorSandyBrown(): Color" - ] + "pascal": ["function ColorSandyBrown(): Color"] } }, "setter": null @@ -94710,28 +82733,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "sea_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_sea_green():" - ], - "cpp": [ - "#define COLOR_SEA_GREEN", - "color color_sea_green()" - ], + "python": ["def color_sea_green():"], + "cpp": ["#define COLOR_SEA_GREEN", "color color_sea_green()"], "csharp": [ "public static Color Color.SeaGreen { get }", "public static Color SplashKit.ColorSeaGreen();" ], - "pascal": [ - "function ColorSeaGreen(): Color" - ] + "pascal": ["function ColorSeaGreen(): Color"] } }, "setter": null @@ -94754,28 +82769,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "sea_shell", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_sea_shell():" - ], - "cpp": [ - "#define COLOR_SEA_SHELL", - "color color_sea_shell()" - ], + "python": ["def color_sea_shell():"], + "cpp": ["#define COLOR_SEA_SHELL", "color color_sea_shell()"], "csharp": [ "public static Color Color.SeaShell { get }", "public static Color SplashKit.ColorSeaShell();" ], - "pascal": [ - "function ColorSeaShell(): Color" - ] + "pascal": ["function ColorSeaShell(): Color"] } }, "setter": null @@ -94798,28 +82805,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "sienna", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_sienna():" - ], - "cpp": [ - "#define COLOR_SIENNA", - "color color_sienna()" - ], + "python": ["def color_sienna():"], + "cpp": ["#define COLOR_SIENNA", "color color_sienna()"], "csharp": [ "public static Color Color.Sienna { get }", "public static Color SplashKit.ColorSienna();" ], - "pascal": [ - "function ColorSienna(): Color" - ] + "pascal": ["function ColorSienna(): Color"] } }, "setter": null @@ -94842,28 +82841,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "silver", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_silver():" - ], - "cpp": [ - "#define COLOR_SILVER", - "color color_silver()" - ], + "python": ["def color_silver():"], + "cpp": ["#define COLOR_SILVER", "color color_silver()"], "csharp": [ "public static Color Color.Silver { get }", "public static Color SplashKit.ColorSilver();" ], - "pascal": [ - "function ColorSilver(): Color" - ] + "pascal": ["function ColorSilver(): Color"] } }, "setter": null @@ -94886,28 +82877,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "sky_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_sky_blue():" - ], - "cpp": [ - "#define COLOR_SKY_BLUE", - "color color_sky_blue()" - ], + "python": ["def color_sky_blue():"], + "cpp": ["#define COLOR_SKY_BLUE", "color color_sky_blue()"], "csharp": [ "public static Color Color.SkyBlue { get }", "public static Color SplashKit.ColorSkyBlue();" ], - "pascal": [ - "function ColorSkyBlue(): Color" - ] + "pascal": ["function ColorSkyBlue(): Color"] } }, "setter": null @@ -94930,28 +82913,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "slate_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_slate_blue():" - ], - "cpp": [ - "#define COLOR_SLATE_BLUE", - "color color_slate_blue()" - ], + "python": ["def color_slate_blue():"], + "cpp": ["#define COLOR_SLATE_BLUE", "color color_slate_blue()"], "csharp": [ "public static Color Color.SlateBlue { get }", "public static Color SplashKit.ColorSlateBlue();" ], - "pascal": [ - "function ColorSlateBlue(): Color" - ] + "pascal": ["function ColorSlateBlue(): Color"] } }, "setter": null @@ -94974,28 +82949,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "slate_gray", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_slate_gray():" - ], - "cpp": [ - "#define COLOR_SLATE_GRAY", - "color color_slate_gray()" - ], + "python": ["def color_slate_gray():"], + "cpp": ["#define COLOR_SLATE_GRAY", "color color_slate_gray()"], "csharp": [ "public static Color Color.SlateGray { get }", "public static Color SplashKit.ColorSlateGray();" ], - "pascal": [ - "function ColorSlateGray(): Color" - ] + "pascal": ["function ColorSlateGray(): Color"] } }, "setter": null @@ -95018,28 +82985,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "snow", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_snow():" - ], - "cpp": [ - "#define COLOR_SNOW", - "color color_snow()" - ], + "python": ["def color_snow():"], + "cpp": ["#define COLOR_SNOW", "color color_snow()"], "csharp": [ "public static Color Color.Snow { get }", "public static Color SplashKit.ColorSnow();" ], - "pascal": [ - "function ColorSnow(): Color" - ] + "pascal": ["function ColorSnow(): Color"] } }, "setter": null @@ -95062,17 +83021,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "spring_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_spring_green():" - ], + "python": ["def color_spring_green():"], "cpp": [ "#define COLOR_SPRING_GREEN", "color color_spring_green()" @@ -95081,9 +83037,7 @@ "public static Color Color.SpringGreen { get }", "public static Color SplashKit.ColorSpringGreen();" ], - "pascal": [ - "function ColorSpringGreen(): Color" - ] + "pascal": ["function ColorSpringGreen(): Color"] } }, "setter": null @@ -95106,28 +83060,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "steel_blue", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_steel_blue():" - ], - "cpp": [ - "#define COLOR_STEEL_BLUE", - "color color_steel_blue()" - ], + "python": ["def color_steel_blue():"], + "cpp": ["#define COLOR_STEEL_BLUE", "color color_steel_blue()"], "csharp": [ "public static Color Color.SteelBlue { get }", "public static Color SplashKit.ColorSteelBlue();" ], - "pascal": [ - "function ColorSteelBlue(): Color" - ] + "pascal": ["function ColorSteelBlue(): Color"] } }, "setter": null @@ -95150,17 +83096,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "swinburne_red", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_swinburne_red():" - ], + "python": ["def color_swinburne_red():"], "cpp": [ "#define COLOR_SWINBURNE_RED", "color color_swinburne_red()" @@ -95169,9 +83112,7 @@ "public static Color Color.SwinburneRed { get }", "public static Color SplashKit.ColorSwinburneRed();" ], - "pascal": [ - "function ColorSwinburneRed(): Color" - ] + "pascal": ["function ColorSwinburneRed(): Color"] } }, "setter": null @@ -95194,28 +83135,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "tan", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_tan():" - ], - "cpp": [ - "#define COLOR_TAN", - "color color_tan()" - ], + "python": ["def color_tan():"], + "cpp": ["#define COLOR_TAN", "color color_tan()"], "csharp": [ "public static Color Color.Tan { get }", "public static Color SplashKit.ColorTan();" ], - "pascal": [ - "function ColorTan(): Color" - ] + "pascal": ["function ColorTan(): Color"] } }, "setter": null @@ -95238,28 +83171,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "teal", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_teal():" - ], - "cpp": [ - "#define COLOR_TEAL", - "color color_teal()" - ], + "python": ["def color_teal():"], + "cpp": ["#define COLOR_TEAL", "color color_teal()"], "csharp": [ "public static Color Color.Teal { get }", "public static Color SplashKit.ColorTeal();" ], - "pascal": [ - "function ColorTeal(): Color" - ] + "pascal": ["function ColorTeal(): Color"] } }, "setter": null @@ -95282,28 +83207,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "thistle", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_thistle():" - ], - "cpp": [ - "#define COLOR_THISTLE", - "color color_thistle()" - ], + "python": ["def color_thistle():"], + "cpp": ["#define COLOR_THISTLE", "color color_thistle()"], "csharp": [ "public static Color Color.Thistle { get }", "public static Color SplashKit.ColorThistle();" ], - "pascal": [ - "function ColorThistle(): Color" - ] + "pascal": ["function ColorThistle(): Color"] } }, "setter": null @@ -95326,28 +83243,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "tomato", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_tomato():" - ], - "cpp": [ - "#define COLOR_TOMATO", - "color color_tomato()" - ], + "python": ["def color_tomato():"], + "cpp": ["#define COLOR_TOMATO", "color color_tomato()"], "csharp": [ "public static Color Color.Tomato { get }", "public static Color SplashKit.ColorTomato();" ], - "pascal": [ - "function ColorTomato(): Color" - ] + "pascal": ["function ColorTomato(): Color"] } }, "setter": null @@ -95370,17 +83279,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "transparent", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_transparent():" - ], + "python": ["def color_transparent():"], "cpp": [ "#define COLOR_TRANSPARENT", "color color_transparent()" @@ -95389,9 +83295,7 @@ "public static Color Color.Transparent { get }", "public static Color SplashKit.ColorTransparent();" ], - "pascal": [ - "function ColorTransparent(): Color" - ] + "pascal": ["function ColorTransparent(): Color"] } }, "setter": null @@ -95414,28 +83318,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "turquoise", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_turquoise():" - ], - "cpp": [ - "#define COLOR_TURQUOISE", - "color color_turquoise()" - ], + "python": ["def color_turquoise():"], + "cpp": ["#define COLOR_TURQUOISE", "color color_turquoise()"], "csharp": [ "public static Color Color.Turquoise { get }", "public static Color SplashKit.ColorTurquoise();" ], - "pascal": [ - "function ColorTurquoise(): Color" - ] + "pascal": ["function ColorTurquoise(): Color"] } }, "setter": null @@ -95458,28 +83354,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "violet", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_violet():" - ], - "cpp": [ - "#define COLOR_VIOLET", - "color color_violet()" - ], + "python": ["def color_violet():"], + "cpp": ["#define COLOR_VIOLET", "color color_violet()"], "csharp": [ "public static Color Color.Violet { get }", "public static Color SplashKit.ColorViolet();" ], - "pascal": [ - "function ColorViolet(): Color" - ] + "pascal": ["function ColorViolet(): Color"] } }, "setter": null @@ -95502,28 +83390,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "wheat", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_wheat():" - ], - "cpp": [ - "#define COLOR_WHEAT", - "color color_wheat()" - ], + "python": ["def color_wheat():"], + "cpp": ["#define COLOR_WHEAT", "color color_wheat()"], "csharp": [ "public static Color Color.Wheat { get }", "public static Color SplashKit.ColorWheat();" ], - "pascal": [ - "function ColorWheat(): Color" - ] + "pascal": ["function ColorWheat(): Color"] } }, "setter": null @@ -95546,28 +83426,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "white", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_white():" - ], - "cpp": [ - "#define COLOR_WHITE", - "color color_white()" - ], + "python": ["def color_white():"], + "cpp": ["#define COLOR_WHITE", "color color_white()"], "csharp": [ "public static Color Color.White { get }", "public static Color SplashKit.ColorWhite();" ], - "pascal": [ - "function ColorWhite(): Color" - ] + "pascal": ["function ColorWhite(): Color"] } }, "setter": null @@ -95590,17 +83462,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "white_smoke", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_white_smoke():" - ], + "python": ["def color_white_smoke():"], "cpp": [ "#define COLOR_WHITE_SMOKE", "color color_white_smoke()" @@ -95609,9 +83478,7 @@ "public static Color Color.WhiteSmoke { get }", "public static Color SplashKit.ColorWhiteSmoke();" ], - "pascal": [ - "function ColorWhiteSmoke(): Color" - ] + "pascal": ["function ColorWhiteSmoke(): Color"] } }, "setter": null @@ -95634,28 +83501,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "yellow", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_yellow():" - ], - "cpp": [ - "#define COLOR_YELLOW", - "color color_yellow()" - ], + "python": ["def color_yellow():"], + "cpp": ["#define COLOR_YELLOW", "color color_yellow()"], "csharp": [ "public static Color Color.Yellow { get }", "public static Color SplashKit.ColorYellow();" ], - "pascal": [ - "function ColorYellow(): Color" - ] + "pascal": ["function ColorYellow(): Color"] } }, "setter": null @@ -95678,17 +83537,14 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "getter": "yellow_green", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def color_yellow_green():" - ], + "python": ["def color_yellow_green():"], "cpp": [ "#define COLOR_YELLOW_GREEN", "color color_yellow_green()" @@ -95697,17 +83553,13 @@ "public static Color Color.YellowGreen { get }", "public static Color SplashKit.ColorYellowGreen();" ], - "pascal": [ - "function ColorYellowGreen(): Color" - ] + "pascal": ["function ColorYellowGreen(): Color"] } }, "setter": null } }, - "constructors": [ - - ], + "constructors": [], "methods": [ { "signature": "color hsb_color(double hue,double saturation,double brightness);", @@ -95734,9 +83586,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -95747,9 +83597,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -95760,9 +83608,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -95773,9 +83619,7 @@ "group": "color" }, "signatures": { - "python": [ - "def hsb_color(hue, saturation, brightness):" - ], + "python": ["def hsb_color(hue, saturation, brightness):"], "cpp": [ "color hsb_color(double hue, double saturation, double brightness)" ], @@ -95805,27 +83649,20 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "method": "random", "static": "color", "group": "color" }, "signatures": { - "python": [ - "def random_color():" - ], - "cpp": [ - "color random_color()" - ], + "python": ["def random_color():"], + "cpp": ["color random_color()"], "csharp": [ "public static Color Color.Random();", "public static Color SplashKit.RandomColor();" ], - "pascal": [ - "function RandomColor(): Color" - ] + "pascal": ["function RandomColor(): Color"] } }, { @@ -95853,9 +83690,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -95866,19 +83701,13 @@ "group": "color" }, "signatures": { - "python": [ - "def random_rgb_color(alpha):" - ], - "cpp": [ - "color random_rgb_color(int alpha)" - ], + "python": ["def random_rgb_color(alpha):"], + "cpp": ["color random_rgb_color(int alpha)"], "csharp": [ "public static Color Color.RandomRGB(int alpha);", "public static Color SplashKit.RandomRGBColor(int alpha);" ], - "pascal": [ - "function RandomRGBColor(alpha: Integer): Color" - ] + "pascal": ["function RandomRGBColor(alpha: Integer): Color"] } }, { @@ -95906,9 +83735,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -95919,9 +83746,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -95932,9 +83757,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -95946,12 +83769,8 @@ "group": "color" }, "signatures": { - "python": [ - "def rgb_color_from_double(red, green, blue):" - ], - "cpp": [ - "color rgb_color(double red, double green, double blue)" - ], + "python": ["def rgb_color_from_double(red, green, blue):"], + "cpp": ["color rgb_color(double red, double green, double blue)"], "csharp": [ "public static Color Color.RGBColor(double red, double green, double blue);", "public static Color SplashKit.RGBColor(double red, double green, double blue);" @@ -95986,9 +83805,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -95999,9 +83816,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96012,9 +83827,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -96025,12 +83838,8 @@ "group": "color" }, "signatures": { - "python": [ - "def rgb_color(red, green, blue):" - ], - "cpp": [ - "color rgb_color(int red, int green, int blue)" - ], + "python": ["def rgb_color(red, green, blue):"], + "cpp": ["color rgb_color(int red, int green, int blue)"], "csharp": [ "public static Color Color.RGBColor(int red, int green, int blue);", "public static Color SplashKit.RGBColor(int red, int green, int blue);" @@ -96065,9 +83874,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96078,9 +83885,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96091,9 +83896,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96104,9 +83907,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -96158,9 +83959,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96171,9 +83970,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96184,9 +83981,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96197,9 +83992,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -96210,9 +84003,7 @@ "group": "color" }, "signatures": { - "python": [ - "def rgba_color(red, green, blue, alpha):" - ], + "python": ["def rgba_color(red, green, blue, alpha):"], "cpp": [ "color rgba_color(int red, int green, int blue, int alpha)" ], @@ -96242,9 +84033,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96255,9 +84044,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96268,9 +84055,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96281,9 +84066,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96294,9 +84077,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96307,9 +84088,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96320,9 +84099,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96333,9 +84110,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96346,9 +84121,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96359,9 +84132,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96372,9 +84143,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96385,9 +84154,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96398,9 +84165,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96411,9 +84176,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -96421,14 +84184,9 @@ "attributes": { "group": "types" }, - "properties": { - }, - "constructors": [ - - ], - "methods": [ - - ], + "properties": {}, + "constructors": [], + "methods": [], "is_alias": false, "is_struct": true }, @@ -96445,9 +84203,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96458,9 +84214,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -96468,14 +84222,9 @@ "attributes": { "group": "types" }, - "properties": { - }, - "constructors": [ - - ], - "methods": [ - - ], + "properties": {}, + "constructors": [], + "methods": [], "is_alias": false, "is_struct": true }, @@ -96492,9 +84241,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96505,9 +84252,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -96515,14 +84260,9 @@ "attributes": { "group": "types" }, - "properties": { - }, - "constructors": [ - - ], - "methods": [ - - ], + "properties": {}, + "constructors": [], + "methods": [], "is_alias": false, "is_struct": true }, @@ -96539,9 +84279,7 @@ "is_const": false, "is_reference": false, "is_array": true, - "array_dimension_sizes": [ - 4 - ], + "array_dimension_sizes": [4], "is_vector": false, "type_parameter": null } @@ -96549,14 +84287,9 @@ "attributes": { "group": "types" }, - "properties": { - }, - "constructors": [ - - ], - "methods": [ - - ], + "properties": {}, + "constructors": [], + "methods": [], "is_alias": false, "is_struct": true }, @@ -96573,9 +84306,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96586,9 +84317,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96599,9 +84328,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96612,9 +84339,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -96622,14 +84347,9 @@ "attributes": { "group": "types" }, - "properties": { - }, - "constructors": [ - - ], - "methods": [ - - ], + "properties": {}, + "constructors": [], + "methods": [], "is_alias": false, "is_struct": true }, @@ -96646,9 +84366,7 @@ "is_const": false, "is_reference": false, "is_array": true, - "array_dimension_sizes": [ - 3 - ], + "array_dimension_sizes": [3], "is_vector": false, "type_parameter": null } @@ -96656,14 +84374,9 @@ "attributes": { "group": "types" }, - "properties": { - }, - "constructors": [ - - ], - "methods": [ - - ], + "properties": {}, + "constructors": [], + "methods": [], "is_alias": false, "is_struct": true }, @@ -96680,9 +84393,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -96693,9 +84404,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -96703,14 +84412,9 @@ "attributes": { "group": "types" }, - "properties": { - }, - "constructors": [ - - ], - "methods": [ - - ], + "properties": {}, + "constructors": [], + "methods": [], "is_alias": false, "is_struct": true } @@ -97304,9 +85008,7 @@ } } ], - "defines": [ - - ] + "defines": [] }, "utilities": { "brief": "SplashKit provides some basic data manipulation functions to\nhelp make it easy to get some basic tasks performed.SplashKit random provides a simple implementation of random.SplashKit provides miscellaneous utilities for unclassified functionality.", @@ -97337,9 +85039,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97349,18 +85049,12 @@ "static": "utilities" }, "signatures": { - "python": [ - "def base64_decode(input):" - ], - "cpp": [ - "string base64_decode(const string &input)" - ], + "python": ["def base64_decode(input):"], + "cpp": ["string base64_decode(const string &input)"], "csharp": [ "public static string SplashKit.Base64Decode(string input);" ], - "pascal": [ - "function Base64Decode(const input: String): String" - ] + "pascal": ["function Base64Decode(const input: String): String"] } }, { @@ -97388,9 +85082,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97400,18 +85092,12 @@ "static": "utilities" }, "signatures": { - "python": [ - "def base64_encode(input):" - ], - "cpp": [ - "string base64_encode(const string &input)" - ], + "python": ["def base64_encode(input):"], + "cpp": ["string base64_encode(const string &input)"], "csharp": [ "public static string SplashKit.Base64Encode(string input);" ], - "pascal": [ - "function Base64Encode(const input: String): String" - ] + "pascal": ["function Base64Encode(const input: String): String"] } }, { @@ -97439,9 +85125,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97451,18 +85135,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def bin_to_dec(bin):" - ], - "cpp": [ - "unsigned int bin_to_dec(const string &bin)" - ], - "csharp": [ - "public static uint SplashKit.BinToDec(string bin);" - ], - "pascal": [ - "function BinToDec(const bin: String): Cardinal" - ] + "python": ["def bin_to_dec(bin):"], + "cpp": ["unsigned int bin_to_dec(const string &bin)"], + "csharp": ["public static uint SplashKit.BinToDec(string bin);"], + "pascal": ["function BinToDec(const bin: String): Cardinal"] } }, { @@ -97490,9 +85166,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97502,18 +85176,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def bin_to_hex(bin_str):" - ], - "cpp": [ - "string bin_to_hex(const string &bin_str)" - ], - "csharp": [ - "public static string SplashKit.BinToHex(string binStr);" - ], - "pascal": [ - "function BinToHex(const binStr: String): String" - ] + "python": ["def bin_to_hex(bin_str):"], + "cpp": ["string bin_to_hex(const string &bin_str)"], + "csharp": ["public static string SplashKit.BinToHex(string binStr);"], + "pascal": ["function BinToHex(const binStr: String): String"] } }, { @@ -97541,9 +85207,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97553,18 +85217,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def bin_to_oct(bin_str):" - ], - "cpp": [ - "string bin_to_oct(const string &bin_str)" - ], - "csharp": [ - "public static string SplashKit.BinToOct(string binStr);" - ], - "pascal": [ - "function BinToOct(const binStr: String): String" - ] + "python": ["def bin_to_oct(bin_str):"], + "cpp": ["string bin_to_oct(const string &bin_str)"], + "csharp": ["public static string SplashKit.BinToOct(string binStr);"], + "pascal": ["function BinToOct(const binStr: String): String"] } }, { @@ -97592,9 +85248,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -97605,9 +85259,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97617,12 +85269,8 @@ "static": "utilities" }, "signatures": { - "python": [ - "def contains(text, subtext):" - ], - "cpp": [ - "bool contains(const string &text, const string &subtext)" - ], + "python": ["def contains(text, subtext):"], + "cpp": ["bool contains(const string &text, const string &subtext)"], "csharp": [ "public static bool SplashKit.Contains(string text, string subtext);" ], @@ -97656,9 +85304,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97668,18 +85314,12 @@ "static": "utilities" }, "signatures": { - "python": [ - "def convert_to_double(text):" - ], - "cpp": [ - "double convert_to_double(const string &text)" - ], + "python": ["def convert_to_double(text):"], + "cpp": ["double convert_to_double(const string &text)"], "csharp": [ "public static double SplashKit.ConvertToDouble(string text);" ], - "pascal": [ - "function ConvertToDouble(const text: String): Double" - ] + "pascal": ["function ConvertToDouble(const text: String): Double"] } }, { @@ -97707,9 +85347,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97719,18 +85357,12 @@ "static": "utilities" }, "signatures": { - "python": [ - "def convert_to_integer(text):" - ], - "cpp": [ - "int convert_to_integer(const string &text)" - ], + "python": ["def convert_to_integer(text):"], + "cpp": ["int convert_to_integer(const string &text)"], "csharp": [ "public static int SplashKit.ConvertToInteger(string text);" ], - "pascal": [ - "function ConvertToInteger(const text: String): Integer" - ] + "pascal": ["function ConvertToInteger(const text: String): Integer"] } }, { @@ -97758,9 +85390,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97770,18 +85400,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def dec_to_bin(dec):" - ], - "cpp": [ - "string dec_to_bin(unsigned int dec)" - ], - "csharp": [ - "public static string SplashKit.DecToBin(uint dec);" - ], - "pascal": [ - "function DecToBin(dec: Cardinal): String" - ] + "python": ["def dec_to_bin(dec):"], + "cpp": ["string dec_to_bin(unsigned int dec)"], + "csharp": ["public static string SplashKit.DecToBin(uint dec);"], + "pascal": ["function DecToBin(dec: Cardinal): String"] } }, { @@ -97809,9 +85431,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97821,18 +85441,12 @@ "static": "utilities" }, "signatures": { - "python": [ - "def dec_to_oct(decimal_value):" - ], - "cpp": [ - "string dec_to_oct(unsigned int decimal_value)" - ], + "python": ["def dec_to_oct(decimal_value):"], + "cpp": ["string dec_to_oct(unsigned int decimal_value)"], "csharp": [ "public static string SplashKit.DecToOct(uint decimalValue);" ], - "pascal": [ - "function DecToOct(decimalValue: Cardinal): String" - ] + "pascal": ["function DecToOct(decimalValue: Cardinal): String"] } }, { @@ -97860,9 +85474,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -97873,9 +85485,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97885,12 +85495,8 @@ "static": "utilities" }, "signatures": { - "python": [ - "def greatest_common_divisor(number1, number2):" - ], - "cpp": [ - "int greatest_common_divisor(int number1, int number2)" - ], + "python": ["def greatest_common_divisor(number1, number2):"], + "cpp": ["int greatest_common_divisor(int number1, int number2)"], "csharp": [ "public static int SplashKit.GreatestCommonDivisor(int number1, int number2);" ], @@ -97924,9 +85530,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97936,18 +85540,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def hex_to_bin(hex_str):" - ], - "cpp": [ - "string hex_to_bin(const string &hex_str)" - ], - "csharp": [ - "public static string SplashKit.HexToBin(string hexStr);" - ], - "pascal": [ - "function HexToBin(const hexStr: String): String" - ] + "python": ["def hex_to_bin(hex_str):"], + "cpp": ["string hex_to_bin(const string &hex_str)"], + "csharp": ["public static string SplashKit.HexToBin(string hexStr);"], + "pascal": ["function HexToBin(const hexStr: String): String"] } }, { @@ -97975,9 +85571,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -97987,18 +85581,12 @@ "static": "utilities" }, "signatures": { - "python": [ - "def hex_to_dec(hex_string):" - ], - "cpp": [ - "unsigned int hex_to_dec(const string &hex_string)" - ], + "python": ["def hex_to_dec(hex_string):"], + "cpp": ["unsigned int hex_to_dec(const string &hex_string)"], "csharp": [ "public static uint SplashKit.HexToDec(string hexString);" ], - "pascal": [ - "function HexToDec(const hexString: String): Cardinal" - ] + "pascal": ["function HexToDec(const hexString: String): Cardinal"] } }, { @@ -98026,9 +85614,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98038,18 +85624,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def hex_to_oct(hex_str):" - ], - "cpp": [ - "string hex_to_oct(const string &hex_str)" - ], - "csharp": [ - "public static string SplashKit.HexToOct(string hexStr);" - ], - "pascal": [ - "function HexToOct(const hexStr: String): String" - ] + "python": ["def hex_to_oct(hex_str):"], + "cpp": ["string hex_to_oct(const string &hex_str)"], + "csharp": ["public static string SplashKit.HexToOct(string hexStr);"], + "pascal": ["function HexToOct(const hexStr: String): String"] } }, { @@ -98077,9 +85655,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -98090,9 +85666,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98102,12 +85676,8 @@ "static": "utilities" }, "signatures": { - "python": [ - "def index_of(text, subtext):" - ], - "cpp": [ - "int index_of(const string &text, const string &subtext)" - ], + "python": ["def index_of(text, subtext):"], + "cpp": ["int index_of(const string &text, const string &subtext)"], "csharp": [ "public static int SplashKit.IndexOf(string text, string subtext);" ], @@ -98141,9 +85711,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98153,18 +85721,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def is_binary(bin_str):" - ], - "cpp": [ - "bool is_binary(const string &bin_str)" - ], - "csharp": [ - "public static bool SplashKit.IsBinary(string binStr);" - ], - "pascal": [ - "function IsBinary(const binStr: String): Boolean" - ] + "python": ["def is_binary(bin_str):"], + "cpp": ["bool is_binary(const string &bin_str)"], + "csharp": ["public static bool SplashKit.IsBinary(string binStr);"], + "pascal": ["function IsBinary(const binStr: String): Boolean"] } }, { @@ -98192,9 +85752,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98204,18 +85762,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def is_double(text):" - ], - "cpp": [ - "bool is_double(const string &text)" - ], - "csharp": [ - "public static bool SplashKit.IsDouble(string text);" - ], - "pascal": [ - "function IsDouble(const text: String): Boolean" - ] + "python": ["def is_double(text):"], + "cpp": ["bool is_double(const string &text)"], + "csharp": ["public static bool SplashKit.IsDouble(string text);"], + "pascal": ["function IsDouble(const text: String): Boolean"] } }, { @@ -98243,9 +85793,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98255,18 +85803,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def is_hex(hex_str):" - ], - "cpp": [ - "bool is_hex(const string &hex_str)" - ], - "csharp": [ - "public static bool SplashKit.IsHex(string hexStr);" - ], - "pascal": [ - "function IsHex(const hexStr: String): Boolean" - ] + "python": ["def is_hex(hex_str):"], + "cpp": ["bool is_hex(const string &hex_str)"], + "csharp": ["public static bool SplashKit.IsHex(string hexStr);"], + "pascal": ["function IsHex(const hexStr: String): Boolean"] } }, { @@ -98294,9 +85834,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98306,18 +85844,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def is_integer(text):" - ], - "cpp": [ - "bool is_integer(const string &text)" - ], - "csharp": [ - "public static bool SplashKit.IsInteger(string text);" - ], - "pascal": [ - "function IsInteger(const text: String): Boolean" - ] + "python": ["def is_integer(text):"], + "cpp": ["bool is_integer(const string &text)"], + "csharp": ["public static bool SplashKit.IsInteger(string text);"], + "pascal": ["function IsInteger(const text: String): Boolean"] } }, { @@ -98345,9 +85875,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98357,18 +85885,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def is_number(text):" - ], - "cpp": [ - "bool is_number(const string &text)" - ], - "csharp": [ - "public static bool SplashKit.IsNumber(string text);" - ], - "pascal": [ - "function IsNumber(const text: String): Boolean" - ] + "python": ["def is_number(text):"], + "cpp": ["bool is_number(const string &text)"], + "csharp": ["public static bool SplashKit.IsNumber(string text);"], + "pascal": ["function IsNumber(const text: String): Boolean"] } }, { @@ -98396,9 +85916,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98408,18 +85926,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def is_octal(octal_str):" - ], - "cpp": [ - "bool is_octal(const string &octal_str)" - ], - "csharp": [ - "public static bool SplashKit.IsOctal(string octalStr);" - ], - "pascal": [ - "function IsOctal(const octalStr: String): Boolean" - ] + "python": ["def is_octal(octal_str):"], + "cpp": ["bool is_octal(const string &octal_str)"], + "csharp": ["public static bool SplashKit.IsOctal(string octalStr);"], + "pascal": ["function IsOctal(const octalStr: String): Boolean"] } }, { @@ -98447,9 +85957,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98459,18 +85967,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def is_prime_number(number):" - ], - "cpp": [ - "bool is_prime_number(int number)" - ], - "csharp": [ - "public static bool SplashKit.IsPrimeNumber(int number);" - ], - "pascal": [ - "function IsPrimeNumber(number: Integer): Boolean" - ] + "python": ["def is_prime_number(number):"], + "cpp": ["bool is_prime_number(int number)"], + "csharp": ["public static bool SplashKit.IsPrimeNumber(int number);"], + "pascal": ["function IsPrimeNumber(number: Integer): Boolean"] } }, { @@ -98498,9 +85998,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -98511,9 +86009,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98523,12 +86019,8 @@ "static": "utilities" }, "signatures": { - "python": [ - "def least_common_multiple(number1, number2):" - ], - "cpp": [ - "int least_common_multiple(int number1, int number2)" - ], + "python": ["def least_common_multiple(number1, number2):"], + "cpp": ["int least_common_multiple(int number1, int number2)"], "csharp": [ "public static int SplashKit.LeastCommonMultiple(int number1, int number2);" ], @@ -98562,9 +86054,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98574,18 +86064,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def length_of(text):" - ], - "cpp": [ - "int length_of(const string &text)" - ], - "csharp": [ - "public static int SplashKit.LengthOf(string text);" - ], - "pascal": [ - "function LengthOf(const text: String): Integer" - ] + "python": ["def length_of(text):"], + "cpp": ["int length_of(const string &text)"], + "csharp": ["public static int SplashKit.LengthOf(string text);"], + "pascal": ["function LengthOf(const text: String): Integer"] } }, { @@ -98613,9 +86095,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98625,18 +86105,12 @@ "static": "utilities" }, "signatures": { - "python": [ - "def oct_to_bin(octal_str):" - ], - "cpp": [ - "string oct_to_bin(const string &octal_str)" - ], + "python": ["def oct_to_bin(octal_str):"], + "cpp": ["string oct_to_bin(const string &octal_str)"], "csharp": [ "public static string SplashKit.OctToBin(string octalStr);" ], - "pascal": [ - "function OctToBin(const octalStr: String): String" - ] + "pascal": ["function OctToBin(const octalStr: String): String"] } }, { @@ -98664,9 +86138,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98676,18 +86148,12 @@ "static": "utilities" }, "signatures": { - "python": [ - "def oct_to_dec(octal_string):" - ], - "cpp": [ - "unsigned int oct_to_dec(const string &octal_string)" - ], + "python": ["def oct_to_dec(octal_string):"], + "cpp": ["unsigned int oct_to_dec(const string &octal_string)"], "csharp": [ "public static uint SplashKit.OctToDec(string octalString);" ], - "pascal": [ - "function OctToDec(const octalString: String): Cardinal" - ] + "pascal": ["function OctToDec(const octalString: String): Cardinal"] } }, { @@ -98715,9 +86181,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98727,18 +86191,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def oct_to_hex(oct_str):" - ], - "cpp": [ - "string oct_to_hex(const string &oct_str)" - ], - "csharp": [ - "public static string SplashKit.OctToHex(string octStr);" - ], - "pascal": [ - "function OctToHex(const octStr: String): String" - ] + "python": ["def oct_to_hex(oct_str):"], + "cpp": ["string oct_to_hex(const string &oct_str)"], + "csharp": ["public static string SplashKit.OctToHex(string octStr);"], + "pascal": ["function OctToHex(const octStr: String): String"] } }, { @@ -98766,9 +86222,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -98779,9 +86233,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -98792,9 +86244,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98804,9 +86254,7 @@ "static": "utilities" }, "signatures": { - "python": [ - "def replace_all(text, substr, new_text):" - ], + "python": ["def replace_all(text, substr, new_text):"], "cpp": [ "string replace_all(const string &text, const string &substr, const string &new_text)" ], @@ -98843,9 +86291,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -98856,9 +86302,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98868,12 +86312,8 @@ "static": "utilities" }, "signatures": { - "python": [ - "def split(text, delimiter):" - ], - "cpp": [ - "vector split(const string &text, char delimiter)" - ], + "python": ["def split(text, delimiter):"], + "cpp": ["vector split(const string &text, char delimiter)"], "csharp": [ "public static List SplashKit.Split(string text, char delimiter);" ], @@ -98907,9 +86347,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98919,18 +86357,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def square_root(number):" - ], - "cpp": [ - "double square_root(int number)" - ], - "csharp": [ - "public static double SplashKit.SquareRoot(int number);" - ], - "pascal": [ - "function SquareRoot(number: Integer): Double" - ] + "python": ["def square_root(number):"], + "cpp": ["double square_root(int number)"], + "csharp": ["public static double SplashKit.SquareRoot(int number);"], + "pascal": ["function SquareRoot(number: Integer): Double"] } }, { @@ -98958,9 +86388,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -98970,18 +86398,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def to_double(text):" - ], - "cpp": [ - "double to_double(const string &text)" - ], - "csharp": [ - "public static double SplashKit.ToDouble(string text);" - ], - "pascal": [ - "function ToDouble(const text: String): Double" - ] + "python": ["def to_double(text):"], + "cpp": ["double to_double(const string &text)"], + "csharp": ["public static double SplashKit.ToDouble(string text);"], + "pascal": ["function ToDouble(const text: String): Double"] } }, { @@ -99009,9 +86429,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99021,18 +86439,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def to_integer(text):" - ], - "cpp": [ - "int to_integer(const string &text)" - ], - "csharp": [ - "public static int SplashKit.ToInteger(string text);" - ], - "pascal": [ - "function ToInteger(const text: String): Integer" - ] + "python": ["def to_integer(text):"], + "cpp": ["int to_integer(const string &text)"], + "csharp": ["public static int SplashKit.ToInteger(string text);"], + "pascal": ["function ToInteger(const text: String): Integer"] } }, { @@ -99060,9 +86470,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99072,18 +86480,12 @@ "static": "utilities" }, "signatures": { - "python": [ - "def to_lowercase(text):" - ], - "cpp": [ - "string to_lowercase(const string &text)" - ], + "python": ["def to_lowercase(text):"], + "cpp": ["string to_lowercase(const string &text)"], "csharp": [ "public static string SplashKit.ToLowercase(string text);" ], - "pascal": [ - "function ToLowercase(const text: String): String" - ] + "pascal": ["function ToLowercase(const text: String): String"] } }, { @@ -99111,9 +86513,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -99124,9 +86524,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99140,9 +86538,7 @@ "python": [ "def to_string_from_double_with_precision(value, precision):" ], - "cpp": [ - "string to_string(double value, int precision)" - ], + "cpp": ["string to_string(double value, int precision)"], "csharp": [ "public static string SplashKit.ToString(double value, int precision);" ], @@ -99176,9 +86572,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99189,18 +86583,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def to_string_from_double(value):" - ], - "cpp": [ - "string to_string(double value)" - ], - "csharp": [ - "public static string SplashKit.ToString(double value);" - ], - "pascal": [ - "function ToString(value: Double): String" - ] + "python": ["def to_string_from_double(value):"], + "cpp": ["string to_string(double value)"], + "csharp": ["public static string SplashKit.ToString(double value);"], + "pascal": ["function ToString(value: Double): String"] } }, { @@ -99228,9 +86614,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99241,18 +86625,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def to_string_from_int(value):" - ], - "cpp": [ - "string to_string(int value)" - ], - "csharp": [ - "public static string SplashKit.ToString(int value);" - ], - "pascal": [ - "function ToString(value: Integer): String" - ] + "python": ["def to_string_from_int(value):"], + "cpp": ["string to_string(int value)"], + "csharp": ["public static string SplashKit.ToString(int value);"], + "pascal": ["function ToString(value: Integer): String"] } }, { @@ -99280,9 +86656,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99292,18 +86666,12 @@ "static": "utilities" }, "signatures": { - "python": [ - "def to_uppercase(text):" - ], - "cpp": [ - "string to_uppercase(const string &text)" - ], + "python": ["def to_uppercase(text):"], + "cpp": ["string to_uppercase(const string &text)"], "csharp": [ "public static string SplashKit.ToUppercase(string text);" ], - "pascal": [ - "function ToUppercase(const text: String): String" - ] + "pascal": ["function ToUppercase(const text: String): String"] } }, { @@ -99331,9 +86699,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99343,18 +86709,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def trim(text):" - ], - "cpp": [ - "string trim(const string &text)" - ], - "csharp": [ - "public static string SplashKit.Trim(string text);" - ], - "pascal": [ - "function Trim(const text: String): String" - ] + "python": ["def trim(text):"], + "cpp": ["string trim(const string &text)"], + "csharp": ["public static string SplashKit.Trim(string text);"], + "pascal": ["function Trim(const text: String): String"] } }, { @@ -99382,9 +86740,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -99395,9 +86751,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99408,18 +86762,10 @@ "static": "random" }, "signatures": { - "python": [ - "def rnd_range(min, max):" - ], - "cpp": [ - "int rnd(int min, int max)" - ], - "csharp": [ - "public static int SplashKit.Rnd(int min, int max);" - ], - "pascal": [ - "function Rnd(min: Integer; max: Integer): Integer" - ] + "python": ["def rnd_range(min, max):"], + "cpp": ["int rnd(int min, int max)"], + "csharp": ["public static int SplashKit.Rnd(int min, int max);"], + "pascal": ["function Rnd(min: Integer; max: Integer): Integer"] } }, { @@ -99439,25 +86785,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "utilities", "static": "random" }, "signatures": { - "python": [ - "def rnd():" - ], - "cpp": [ - "float rnd()" - ], - "csharp": [ - "public static float SplashKit.Rnd();" - ], - "pascal": [ - "function Rnd(): Single" - ] + "python": ["def rnd():"], + "cpp": ["float rnd()"], + "csharp": ["public static float SplashKit.Rnd();"], + "pascal": ["function Rnd(): Single"] } }, { @@ -99485,9 +86822,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99498,18 +86833,10 @@ "static": "random" }, "signatures": { - "python": [ - "def rnd_int(ubound):" - ], - "cpp": [ - "int rnd(int ubound)" - ], - "csharp": [ - "public static int SplashKit.Rnd(int ubound);" - ], - "pascal": [ - "function Rnd(ubound: Integer): Integer" - ] + "python": ["def rnd_int(ubound):"], + "cpp": ["int rnd(int ubound)"], + "csharp": ["public static int SplashKit.Rnd(int ubound);"], + "pascal": ["function Rnd(ubound: Integer): Integer"] } }, { @@ -99529,25 +86856,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "utilities", "static": "utilities" }, "signatures": { - "python": [ - "def current_ticks():" - ], - "cpp": [ - "unsigned int current_ticks()" - ], - "csharp": [ - "public static uint SplashKit.CurrentTicks();" - ], - "pascal": [ - "function CurrentTicks(): Cardinal" - ] + "python": ["def current_ticks():"], + "cpp": ["unsigned int current_ticks()"], + "csharp": ["public static uint SplashKit.CurrentTicks();"], + "pascal": ["function CurrentTicks(): Cardinal"] } }, { @@ -99575,9 +86893,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99587,18 +86903,10 @@ "static": "utilities" }, "signatures": { - "python": [ - "def delay(milliseconds):" - ], - "cpp": [ - "void delay(int milliseconds)" - ], - "csharp": [ - "public static void SplashKit.Delay(int milliseconds);" - ], - "pascal": [ - "procedure Delay(milliseconds: Integer)" - ] + "python": ["def delay(milliseconds):"], + "cpp": ["void delay(int milliseconds)"], + "csharp": ["public static void SplashKit.Delay(int milliseconds);"], + "pascal": ["procedure Delay(milliseconds: Integer)"] } }, { @@ -99626,9 +86934,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -99639,9 +86945,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -99652,9 +86956,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -99665,9 +86967,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99677,9 +86977,7 @@ "static": "utilities" }, "signatures": { - "python": [ - "def display_dialog(title, msg, output_font, font_size):" - ], + "python": ["def display_dialog(title, msg, output_font, font_size):"], "cpp": [ "void display_dialog(const string &title, const string &msg, font output_font, int font_size)" ], @@ -99716,9 +87014,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -99729,9 +87025,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99741,12 +87035,8 @@ "static": "utilities" }, "signatures": { - "python": [ - "def file_as_string(filename, kind):" - ], - "cpp": [ - "string file_as_string(string filename, resource_kind kind)" - ], + "python": ["def file_as_string(filename, kind):"], + "cpp": ["string file_as_string(string filename, resource_kind kind)"], "csharp": [ "public static string SplashKit.FileAsString(string filename, ResourceKind kind);" ], @@ -99756,18 +87046,10 @@ } } ], - "typedefs": [ - - ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "typedefs": [], + "structs": [], + "enums": [], + "defines": [] }, "windows": { "brief": "Window Manager in SplashKit can be used create, and manipulate\ngraphics windows", @@ -99798,9 +87080,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -99811,9 +87091,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99826,19 +87104,13 @@ "self": "wind" }, "signatures": { - "python": [ - "def clear_window(wind, clr):" - ], - "cpp": [ - "void clear_window(window wind, color clr)" - ], + "python": ["def clear_window(wind, clr):"], + "cpp": ["void clear_window(window wind, color clr)"], "csharp": [ "public void Window.Clear(Color clr);", "public static void SplashKit.ClearWindow(Window wind, Color clr);" ], - "pascal": [ - "procedure ClearWindow(wind: Window; clr: Color)" - ] + "pascal": ["procedure ClearWindow(wind: Window; clr: Color)"] } }, { @@ -99858,25 +87130,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def close_all_windows():" - ], - "cpp": [ - "void close_all_windows()" - ], - "csharp": [ - "public static void SplashKit.CloseAllWindows();" - ], - "pascal": [ - "procedure CloseAllWindows()" - ] + "python": ["def close_all_windows():"], + "cpp": ["void close_all_windows()"], + "csharp": ["public static void SplashKit.CloseAllWindows();"], + "pascal": ["procedure CloseAllWindows()"] } }, { @@ -99896,25 +87159,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def close_current_window():" - ], - "cpp": [ - "void close_current_window()" - ], - "csharp": [ - "public static void SplashKit.CloseCurrentWindow();" - ], - "pascal": [ - "procedure CloseCurrentWindow()" - ] + "python": ["def close_current_window():"], + "cpp": ["void close_current_window()"], + "csharp": ["public static void SplashKit.CloseCurrentWindow();"], + "pascal": ["procedure CloseCurrentWindow()"] } }, { @@ -99942,9 +87196,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -99955,18 +87207,10 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def close_window_named(name):" - ], - "cpp": [ - "void close_window(const string &name)" - ], - "csharp": [ - "public static void SplashKit.CloseWindow(string name);" - ], - "pascal": [ - "procedure CloseWindow(const name: String)" - ] + "python": ["def close_window_named(name):"], + "cpp": ["void close_window(const string &name)"], + "csharp": ["public static void SplashKit.CloseWindow(string name);"], + "pascal": ["procedure CloseWindow(const name: String)"] } }, { @@ -99994,9 +87238,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -100010,19 +87252,13 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def close_window(wind):" - ], - "cpp": [ - "void close_window(window wind)" - ], + "python": ["def close_window(wind):"], + "cpp": ["void close_window(window wind)"], "csharp": [ "public void Window.Close();", "public static void SplashKit.CloseWindow(Window wind);" ], - "pascal": [ - "procedure CloseWindow(wind: Window)" - ] + "pascal": ["procedure CloseWindow(wind: Window)"] } }, { @@ -100042,25 +87278,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def current_window():" - ], - "cpp": [ - "window current_window()" - ], - "csharp": [ - "public static Window SplashKit.CurrentWindow();" - ], - "pascal": [ - "function CurrentWindow(): Window" - ] + "python": ["def current_window():"], + "cpp": ["window current_window()"], + "csharp": ["public static Window SplashKit.CurrentWindow();"], + "pascal": ["function CurrentWindow(): Window"] } }, { @@ -100080,25 +87307,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def current_window_has_border():" - ], - "cpp": [ - "bool current_window_has_border()" - ], - "csharp": [ - "public static bool SplashKit.CurrentWindowHasBorder();" - ], - "pascal": [ - "function CurrentWindowHasBorder(): Boolean" - ] + "python": ["def current_window_has_border():"], + "cpp": ["bool current_window_has_border()"], + "csharp": ["public static bool SplashKit.CurrentWindowHasBorder();"], + "pascal": ["function CurrentWindowHasBorder(): Boolean"] } }, { @@ -100118,25 +87336,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def current_window_height():" - ], - "cpp": [ - "int current_window_height()" - ], - "csharp": [ - "public static int SplashKit.CurrentWindowHeight();" - ], - "pascal": [ - "function CurrentWindowHeight(): Integer" - ] + "python": ["def current_window_height():"], + "cpp": ["int current_window_height()"], + "csharp": ["public static int SplashKit.CurrentWindowHeight();"], + "pascal": ["function CurrentWindowHeight(): Integer"] } }, { @@ -100156,25 +87365,18 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def current_window_is_fullscreen():" - ], - "cpp": [ - "bool current_window_is_fullscreen()" - ], + "python": ["def current_window_is_fullscreen():"], + "cpp": ["bool current_window_is_fullscreen()"], "csharp": [ "public static bool SplashKit.CurrentWindowIsFullscreen();" ], - "pascal": [ - "function CurrentWindowIsFullscreen(): Boolean" - ] + "pascal": ["function CurrentWindowIsFullscreen(): Boolean"] } }, { @@ -100194,25 +87396,18 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def current_window_position():" - ], - "cpp": [ - "point_2d current_window_position()" - ], + "python": ["def current_window_position():"], + "cpp": ["point_2d current_window_position()"], "csharp": [ "public static Point2D SplashKit.CurrentWindowPosition();" ], - "pascal": [ - "function CurrentWindowPosition(): Point2D" - ] + "pascal": ["function CurrentWindowPosition(): Point2D"] } }, { @@ -100232,25 +87427,18 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def current_window_toggle_border():" - ], - "cpp": [ - "void current_window_toggle_border()" - ], + "python": ["def current_window_toggle_border():"], + "cpp": ["void current_window_toggle_border()"], "csharp": [ "public static void SplashKit.CurrentWindowToggleBorder();" ], - "pascal": [ - "procedure CurrentWindowToggleBorder()" - ] + "pascal": ["procedure CurrentWindowToggleBorder()"] } }, { @@ -100270,25 +87458,18 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def current_window_toggle_fullscreen():" - ], - "cpp": [ - "void current_window_toggle_fullscreen()" - ], + "python": ["def current_window_toggle_fullscreen():"], + "cpp": ["void current_window_toggle_fullscreen()"], "csharp": [ "public static void SplashKit.CurrentWindowToggleFullscreen();" ], - "pascal": [ - "procedure CurrentWindowToggleFullscreen()" - ] + "pascal": ["procedure CurrentWindowToggleFullscreen()"] } }, { @@ -100308,25 +87489,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def current_window_width():" - ], - "cpp": [ - "int current_window_width()" - ], - "csharp": [ - "public static int SplashKit.CurrentWindowWidth();" - ], - "pascal": [ - "function CurrentWindowWidth(): Integer" - ] + "python": ["def current_window_width():"], + "cpp": ["int current_window_width()"], + "csharp": ["public static int SplashKit.CurrentWindowWidth();"], + "pascal": ["function CurrentWindowWidth(): Integer"] } }, { @@ -100346,25 +87518,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def current_window_x():" - ], - "cpp": [ - "int current_window_x()" - ], - "csharp": [ - "public static int SplashKit.CurrentWindowX();" - ], - "pascal": [ - "function CurrentWindowX(): Integer" - ] + "python": ["def current_window_x():"], + "cpp": ["int current_window_x()"], + "csharp": ["public static int SplashKit.CurrentWindowX();"], + "pascal": ["function CurrentWindowX(): Integer"] } }, { @@ -100384,25 +87547,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def current_window_y():" - ], - "cpp": [ - "int current_window_y()" - ], - "csharp": [ - "public static int SplashKit.CurrentWindowY();" - ], - "pascal": [ - "function CurrentWindowY(): Integer" - ] + "python": ["def current_window_y():"], + "cpp": ["int current_window_y()"], + "csharp": ["public static int SplashKit.CurrentWindowY();"], + "pascal": ["function CurrentWindowY(): Integer"] } }, { @@ -100430,9 +87584,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -100442,18 +87594,10 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def has_window(caption):" - ], - "cpp": [ - "bool has_window(string caption)" - ], - "csharp": [ - "public static bool SplashKit.HasWindow(string caption);" - ], - "pascal": [ - "function HasWindow(caption: String): Boolean" - ] + "python": ["def has_window(caption):"], + "cpp": ["bool has_window(string caption)"], + "csharp": ["public static bool SplashKit.HasWindow(string caption);"], + "pascal": ["function HasWindow(caption: String): Boolean"] } }, { @@ -100481,9 +87625,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -100496,19 +87638,13 @@ "self": "wind" }, "signatures": { - "python": [ - "def is_current_window(wind):" - ], - "cpp": [ - "bool is_current_window(window wind)" - ], + "python": ["def is_current_window(wind):"], + "cpp": ["bool is_current_window(window wind)"], "csharp": [ "public bool Window.IsCurrentWindow { get }", "public static bool SplashKit.IsCurrentWindow(Window wind);" ], - "pascal": [ - "function IsCurrentWindow(wind: Window): Boolean" - ] + "pascal": ["function IsCurrentWindow(wind: Window): Boolean"] } }, { @@ -100536,9 +87672,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -100549,9 +87683,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -100561,18 +87693,12 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def move_current_window_to(x, y):" - ], - "cpp": [ - "void move_current_window_to(int x, int y)" - ], + "python": ["def move_current_window_to(x, y):"], + "cpp": ["void move_current_window_to(int x, int y)"], "csharp": [ "public static void SplashKit.MoveCurrentWindowTo(int x, int y);" ], - "pascal": [ - "procedure MoveCurrentWindowTo(x: Integer; y: Integer)" - ] + "pascal": ["procedure MoveCurrentWindowTo(x: Integer; y: Integer)"] } }, { @@ -100600,9 +87726,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -100613,9 +87737,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -100626,9 +87748,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -100639,12 +87759,8 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def move_window_to_named(name, x, y):" - ], - "cpp": [ - "void move_window_to(const string &name, int x, int y)" - ], + "python": ["def move_window_to_named(name, x, y):"], + "cpp": ["void move_window_to(const string &name, int x, int y)"], "csharp": [ "public static void SplashKit.MoveWindowTo(string name, int x, int y);" ], @@ -100678,9 +87794,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -100691,9 +87805,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -100704,9 +87816,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -100719,12 +87829,8 @@ "self": "wind" }, "signatures": { - "python": [ - "def move_window_to(wind, x, y):" - ], - "cpp": [ - "void move_window_to(window wind, int x, int y)" - ], + "python": ["def move_window_to(wind, x, y):"], + "cpp": ["void move_window_to(window wind, int x, int y)"], "csharp": [ "public void Window.MoveTo(int x, int y);", "public static void SplashKit.MoveWindowTo(Window wind, int x, int y);" @@ -100759,9 +87865,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -100772,9 +87876,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -100785,9 +87887,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -100799,12 +87899,8 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def open_window(caption, width, height):" - ], - "cpp": [ - "window open_window(string caption, int width, int height)" - ], + "python": ["def open_window(caption, width, height):"], + "cpp": ["window open_window(string caption, int width, int height)"], "csharp": [ "public static Window SplashKit.OpenWindow(string caption, int width, int height);", "public Window(string caption, int width, int height);" @@ -100839,9 +87935,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -100854,19 +87948,13 @@ "self": "wind" }, "signatures": { - "python": [ - "def refresh_window(wind):" - ], - "cpp": [ - "void refresh_window(window wind)" - ], + "python": ["def refresh_window(wind):"], + "cpp": ["void refresh_window(window wind)"], "csharp": [ "public void Window.Refresh();", "public static void SplashKit.RefreshWindow(Window wind);" ], - "pascal": [ - "procedure RefreshWindow(wind: Window)" - ] + "pascal": ["procedure RefreshWindow(wind: Window)"] } }, { @@ -100894,9 +87982,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -100907,9 +87993,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -100923,12 +88007,8 @@ "self": "wind" }, "signatures": { - "python": [ - "def refresh_window_with_target_fps(wind, target_fps):" - ], - "cpp": [ - "void refresh_window(window wind, unsigned int target_fps)" - ], + "python": ["def refresh_window_with_target_fps(wind, target_fps):"], + "cpp": ["void refresh_window(window wind, unsigned int target_fps)"], "csharp": [ "public void Window.Refresh(uint targetFps);", "public static void SplashKit.RefreshWindow(Window wind, uint targetFps);" @@ -100963,9 +88043,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -100976,9 +88054,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -100988,12 +88064,8 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def resize_current_window(width, height):" - ], - "cpp": [ - "void resize_current_window(int width, int height)" - ], + "python": ["def resize_current_window(width, height):"], + "cpp": ["void resize_current_window(int width, int height)"], "csharp": [ "public static void SplashKit.ResizeCurrentWindow(int width, int height);" ], @@ -101027,9 +88099,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -101040,9 +88110,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -101053,9 +88121,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101068,12 +88134,8 @@ "self": "wnd" }, "signatures": { - "python": [ - "def resize_window(wnd, width, height):" - ], - "cpp": [ - "void resize_window(window wnd, int width, int height)" - ], + "python": ["def resize_window(wnd, width, height):"], + "cpp": ["void resize_window(window wnd, int width, int height)"], "csharp": [ "public void Window.Resize(int width, int height);", "public static void SplashKit.ResizeWindow(Window wnd, int width, int height);" @@ -101108,9 +88170,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101121,18 +88181,12 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def set_current_window_named(name):" - ], - "cpp": [ - "void set_current_window(const string &name)" - ], + "python": ["def set_current_window_named(name):"], + "cpp": ["void set_current_window(const string &name)"], "csharp": [ "public static void SplashKit.SetCurrentWindow(string name);" ], - "pascal": [ - "procedure SetCurrentWindow(const name: String)" - ] + "pascal": ["procedure SetCurrentWindow(const name: String)"] } }, { @@ -101160,9 +88214,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101175,19 +88227,13 @@ "self": "wind" }, "signatures": { - "python": [ - "def set_current_window(wind):" - ], - "cpp": [ - "void set_current_window(window wind)" - ], + "python": ["def set_current_window(wind):"], + "cpp": ["void set_current_window(window wind)"], "csharp": [ "public void Window.MakeCurrent();", "public static void SplashKit.SetCurrentWindow(Window wind);" ], - "pascal": [ - "procedure SetCurrentWindow(wind: Window)" - ] + "pascal": ["procedure SetCurrentWindow(wind: Window)"] } }, { @@ -101215,9 +88261,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101230,19 +88274,13 @@ "self": "wind" }, "signatures": { - "python": [ - "def window_caption(wind):" - ], - "cpp": [ - "string window_caption(window wind)" - ], + "python": ["def window_caption(wind):"], + "cpp": ["string window_caption(window wind)"], "csharp": [ "public string Window.Caption { get }", "public static string SplashKit.WindowCaption(Window wind);" ], - "pascal": [ - "function WindowCaption(wind: Window): String" - ] + "pascal": ["function WindowCaption(wind: Window): String"] } }, { @@ -101270,9 +88308,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101283,12 +88319,8 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_close_requested_named(name):" - ], - "cpp": [ - "bool window_close_requested(const string &name)" - ], + "python": ["def window_close_requested_named(name):"], + "cpp": ["bool window_close_requested(const string &name)"], "csharp": [ "public static bool SplashKit.WindowCloseRequested(string name);" ], @@ -101322,9 +88354,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101337,19 +88367,13 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_close_requested(wind):" - ], - "cpp": [ - "bool window_close_requested(window wind)" - ], + "python": ["def window_close_requested(wind):"], + "cpp": ["bool window_close_requested(window wind)"], "csharp": [ "public bool Window.CloseRequested { get }", "public static bool SplashKit.WindowCloseRequested(Window wind);" ], - "pascal": [ - "function WindowCloseRequested(wind: Window): Boolean" - ] + "pascal": ["function WindowCloseRequested(wind: Window): Boolean"] } }, { @@ -101377,9 +88401,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101390,18 +88412,12 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_has_border_named(name):" - ], - "cpp": [ - "bool window_has_border(const string &name)" - ], + "python": ["def window_has_border_named(name):"], + "cpp": ["bool window_has_border(const string &name)"], "csharp": [ "public static bool SplashKit.WindowHasBorder(string name);" ], - "pascal": [ - "function WindowHasBorder(const name: String): Boolean" - ] + "pascal": ["function WindowHasBorder(const name: String): Boolean"] } }, { @@ -101429,9 +88445,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101444,19 +88458,13 @@ "self": "wnd" }, "signatures": { - "python": [ - "def window_has_border(wnd):" - ], - "cpp": [ - "bool window_has_border(window wnd)" - ], + "python": ["def window_has_border(wnd):"], + "cpp": ["bool window_has_border(window wnd)"], "csharp": [ "public bool Window.HasBorder { get }", "public static bool SplashKit.WindowHasBorder(Window wnd);" ], - "pascal": [ - "function WindowHasBorder(wnd: Window): Boolean" - ] + "pascal": ["function WindowHasBorder(wnd: Window): Boolean"] } }, { @@ -101484,9 +88492,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101499,19 +88505,13 @@ "self": "wind" }, "signatures": { - "python": [ - "def window_has_focus(wind):" - ], - "cpp": [ - "bool window_has_focus(window wind)" - ], + "python": ["def window_has_focus(wind):"], + "cpp": ["bool window_has_focus(window wind)"], "csharp": [ "public bool Window.HasFocus { get }", "public static bool SplashKit.WindowHasFocus(Window wind);" ], - "pascal": [ - "function WindowHasFocus(wind: Window): Boolean" - ] + "pascal": ["function WindowHasFocus(wind: Window): Boolean"] } }, { @@ -101539,9 +88539,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101552,18 +88550,10 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_height_named(name):" - ], - "cpp": [ - "int window_height(const string &name)" - ], - "csharp": [ - "public static int SplashKit.WindowHeight(string name);" - ], - "pascal": [ - "function WindowHeight(const name: String): Integer" - ] + "python": ["def window_height_named(name):"], + "cpp": ["int window_height(const string &name)"], + "csharp": ["public static int SplashKit.WindowHeight(string name);"], + "pascal": ["function WindowHeight(const name: String): Integer"] } }, { @@ -101591,9 +88581,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101606,19 +88594,13 @@ "self": "wind" }, "signatures": { - "python": [ - "def window_height(wind):" - ], - "cpp": [ - "int window_height(window wind)" - ], + "python": ["def window_height(wind):"], + "cpp": ["int window_height(window wind)"], "csharp": [ "public int Window.Height { get }", "public static int SplashKit.WindowHeight(Window wind);" ], - "pascal": [ - "function WindowHeight(wind: Window): Integer" - ] + "pascal": ["function WindowHeight(wind: Window): Integer"] } }, { @@ -101646,9 +88628,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101659,18 +88639,12 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_is_fullscreen_named(name):" - ], - "cpp": [ - "bool window_is_fullscreen(const string &name)" - ], + "python": ["def window_is_fullscreen_named(name):"], + "cpp": ["bool window_is_fullscreen(const string &name)"], "csharp": [ "public static bool SplashKit.WindowIsFullscreen(string name);" ], - "pascal": [ - "function WindowIsFullscreen(const name: String): Boolean" - ] + "pascal": ["function WindowIsFullscreen(const name: String): Boolean"] } }, { @@ -101698,9 +88672,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101713,19 +88685,13 @@ "self": "wnd" }, "signatures": { - "python": [ - "def window_is_fullscreen(wnd):" - ], - "cpp": [ - "bool window_is_fullscreen(window wnd)" - ], + "python": ["def window_is_fullscreen(wnd):"], + "cpp": ["bool window_is_fullscreen(window wnd)"], "csharp": [ "public bool Window.IsFullscreen { get }", "public static bool SplashKit.WindowIsFullscreen(Window wnd);" ], - "pascal": [ - "function WindowIsFullscreen(wnd: Window): Boolean" - ] + "pascal": ["function WindowIsFullscreen(wnd: Window): Boolean"] } }, { @@ -101753,9 +88719,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101765,18 +88729,12 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_named(caption):" - ], - "cpp": [ - "window window_named(string caption)" - ], + "python": ["def window_named(caption):"], + "cpp": ["window window_named(string caption)"], "csharp": [ "public static Window SplashKit.WindowNamed(string caption);" ], - "pascal": [ - "function WindowNamed(caption: String): Window" - ] + "pascal": ["function WindowNamed(caption: String): Window"] } }, { @@ -101804,9 +88762,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101817,18 +88773,12 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_position_named(name):" - ], - "cpp": [ - "point_2d window_position(const string &name)" - ], + "python": ["def window_position_named(name):"], + "cpp": ["point_2d window_position(const string &name)"], "csharp": [ "public static Point2D SplashKit.WindowPosition(string name);" ], - "pascal": [ - "function WindowPosition(const name: String): Point2D" - ] + "pascal": ["function WindowPosition(const name: String): Point2D"] } }, { @@ -101856,9 +88806,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101871,19 +88819,13 @@ "self": "wnd" }, "signatures": { - "python": [ - "def window_position(wnd):" - ], - "cpp": [ - "point_2d window_position(window wnd)" - ], + "python": ["def window_position(wnd):"], + "cpp": ["point_2d window_position(window wnd)"], "csharp": [ "public Point2D Window.Position { get }", "public static Point2D SplashKit.WindowPosition(Window wnd);" ], - "pascal": [ - "function WindowPosition(wnd: Window): Point2D" - ] + "pascal": ["function WindowPosition(wnd: Window): Point2D"] } }, { @@ -101911,9 +88853,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null }, @@ -101924,9 +88864,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101939,19 +88877,13 @@ "self": "wind" }, "signatures": { - "python": [ - "def window_set_icon(wind, bmp):" - ], - "cpp": [ - "void window_set_icon(window wind, bitmap bmp)" - ], + "python": ["def window_set_icon(wind, bmp):"], + "cpp": ["void window_set_icon(window wind, bitmap bmp)"], "csharp": [ "public void Window.Icon { set }", "public static void SplashKit.WindowSetIcon(Window wind, Bitmap bmp);" ], - "pascal": [ - "procedure WindowSetIcon(wind: Window; bmp: Bitmap)" - ] + "pascal": ["procedure WindowSetIcon(wind: Window; bmp: Bitmap)"] } }, { @@ -101979,9 +88911,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -101992,18 +88922,12 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_toggle_border_named(name):" - ], - "cpp": [ - "void window_toggle_border(const string &name)" - ], + "python": ["def window_toggle_border_named(name):"], + "cpp": ["void window_toggle_border(const string &name)"], "csharp": [ "public static void SplashKit.WindowToggleBorder(string name);" ], - "pascal": [ - "procedure WindowToggleBorder(const name: String)" - ] + "pascal": ["procedure WindowToggleBorder(const name: String)"] } }, { @@ -102031,9 +88955,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -102046,19 +88968,13 @@ "self": "wnd" }, "signatures": { - "python": [ - "def window_toggle_border(wnd):" - ], - "cpp": [ - "void window_toggle_border(window wnd)" - ], + "python": ["def window_toggle_border(wnd):"], + "cpp": ["void window_toggle_border(window wnd)"], "csharp": [ "public void Window.ToggleBorder();", "public static void SplashKit.WindowToggleBorder(Window wnd);" ], - "pascal": [ - "procedure WindowToggleBorder(wnd: Window)" - ] + "pascal": ["procedure WindowToggleBorder(wnd: Window)"] } }, { @@ -102086,9 +89002,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -102099,18 +89013,12 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_toggle_fullscreen_named(name):" - ], - "cpp": [ - "void window_toggle_fullscreen(const string &name)" - ], + "python": ["def window_toggle_fullscreen_named(name):"], + "cpp": ["void window_toggle_fullscreen(const string &name)"], "csharp": [ "public static void SplashKit.WindowToggleFullscreen(string name);" ], - "pascal": [ - "procedure WindowToggleFullscreen(const name: String)" - ] + "pascal": ["procedure WindowToggleFullscreen(const name: String)"] } }, { @@ -102138,9 +89046,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -102153,19 +89059,13 @@ "self": "wnd" }, "signatures": { - "python": [ - "def window_toggle_fullscreen(wnd):" - ], - "cpp": [ - "void window_toggle_fullscreen(window wnd)" - ], + "python": ["def window_toggle_fullscreen(wnd):"], + "cpp": ["void window_toggle_fullscreen(window wnd)"], "csharp": [ "public void Window.ToggleFullscreen();", "public static void SplashKit.WindowToggleFullscreen(Window wnd);" ], - "pascal": [ - "procedure WindowToggleFullscreen(wnd: Window)" - ] + "pascal": ["procedure WindowToggleFullscreen(wnd: Window)"] } }, { @@ -102193,9 +89093,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -102206,18 +89104,10 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_width_named(name):" - ], - "cpp": [ - "int window_width(const string &name)" - ], - "csharp": [ - "public static int SplashKit.WindowWidth(string name);" - ], - "pascal": [ - "function WindowWidth(const name: String): Integer" - ] + "python": ["def window_width_named(name):"], + "cpp": ["int window_width(const string &name)"], + "csharp": ["public static int SplashKit.WindowWidth(string name);"], + "pascal": ["function WindowWidth(const name: String): Integer"] } }, { @@ -102245,9 +89135,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -102260,19 +89148,13 @@ "self": "wind" }, "signatures": { - "python": [ - "def window_width(wind):" - ], - "cpp": [ - "int window_width(window wind)" - ], + "python": ["def window_width(wind):"], + "cpp": ["int window_width(window wind)"], "csharp": [ "public int Window.Width { get }", "public static int SplashKit.WindowWidth(Window wind);" ], - "pascal": [ - "function WindowWidth(wind: Window): Integer" - ] + "pascal": ["function WindowWidth(wind: Window): Integer"] } }, { @@ -102292,25 +89174,16 @@ "is_vector": false, "type_parameter": null }, - "parameters": { - }, + "parameters": {}, "attributes": { "group": "windows", "static": "window_manager" }, "signatures": { - "python": [ - "def window_with_focus():" - ], - "cpp": [ - "window window_with_focus()" - ], - "csharp": [ - "public static Window SplashKit.WindowWithFocus();" - ], - "pascal": [ - "function WindowWithFocus(): Window" - ] + "python": ["def window_with_focus():"], + "cpp": ["window window_with_focus()"], + "csharp": ["public static Window SplashKit.WindowWithFocus();"], + "pascal": ["function WindowWithFocus(): Window"] } }, { @@ -102338,9 +89211,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -102351,18 +89222,10 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_x_named(name):" - ], - "cpp": [ - "int window_x(const string &name)" - ], - "csharp": [ - "public static int SplashKit.WindowX(string name);" - ], - "pascal": [ - "function WindowX(const name: String): Integer" - ] + "python": ["def window_x_named(name):"], + "cpp": ["int window_x(const string &name)"], + "csharp": ["public static int SplashKit.WindowX(string name);"], + "pascal": ["function WindowX(const name: String): Integer"] } }, { @@ -102390,9 +89253,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -102405,19 +89266,13 @@ "self": "wnd" }, "signatures": { - "python": [ - "def window_x(wnd):" - ], - "cpp": [ - "int window_x(window wnd)" - ], + "python": ["def window_x(wnd):"], + "cpp": ["int window_x(window wnd)"], "csharp": [ "public int Window.X { get }", "public static int SplashKit.WindowX(Window wnd);" ], - "pascal": [ - "function WindowX(wnd: Window): Integer" - ] + "pascal": ["function WindowX(wnd: Window): Integer"] } }, { @@ -102445,9 +89300,7 @@ "is_const": true, "is_reference": true, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -102458,18 +89311,10 @@ "static": "window_manager" }, "signatures": { - "python": [ - "def window_y_named(name):" - ], - "cpp": [ - "int window_y(const string &name)" - ], - "csharp": [ - "public static int SplashKit.WindowY(string name);" - ], - "pascal": [ - "function WindowY(const name: String): Integer" - ] + "python": ["def window_y_named(name):"], + "cpp": ["int window_y(const string &name)"], + "csharp": ["public static int SplashKit.WindowY(string name);"], + "pascal": ["function WindowY(const name: String): Integer"] } }, { @@ -102497,9 +89342,7 @@ "is_const": false, "is_reference": false, "is_array": false, - "array_dimension_sizes": [ - - ], + "array_dimension_sizes": [], "is_vector": false, "type_parameter": null } @@ -102512,19 +89355,13 @@ "self": "wnd" }, "signatures": { - "python": [ - "def window_y(wnd):" - ], - "cpp": [ - "int window_y(window wnd)" - ], + "python": ["def window_y(wnd):"], + "cpp": ["int window_y(window wnd)"], "csharp": [ "public int Window.Y { get }", "public static int SplashKit.WindowY(Window wnd);" ], - "pascal": [ - "function WindowY(wnd: Window): Integer" - ] + "pascal": ["function WindowY(wnd: Window): Integer"] } } ], @@ -102546,14 +89383,8 @@ "new_identifier": null } ], - "structs": [ - - ], - "enums": [ - - ], - "defines": [ - - ] + "structs": [], + "enums": [], + "defines": [] } -} \ No newline at end of file +} diff --git a/scripts/json-files/guides-groups.json b/scripts/json-files/guides-groups.json index 7fe7bccde..5fa04bc7b 100644 --- a/scripts/json-files/guides-groups.json +++ b/scripts/json-files/guides-groups.json @@ -1,10 +1,11 @@ [ + "Camera", + "Graphics", "animations", "audio", "beyond-splashkit", - "camera", "color", - "graphics", + "generative-ai", "input", "interface", "json", diff --git a/scripts/json-files/guides/animations/animations.json b/scripts/json-files/guides/animations/animations.json index d17f18bd1..2694a3e97 100644 --- a/scripts/json-files/guides/animations/animations.json +++ b/scripts/json-files/guides/animations/animations.json @@ -1,24 +1,24 @@ { - "guides": [ - { - "name": "Using Animations in SplashKit", - "functions": [ - "open_window", - "load_resource_bundle", - "animation_script_named", - "bitmap_named", - "create_animation_from_script_named", - "option_with_animation", - "process_events", - "draw_bitmap_with_options", - "draw_text_no_font_no_size", - "animation_name", - "update_animation", - "key_typed", - "key_down", - "assign_animation" - ], - "url": "/guides/animations/using-animations/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "Using Animations in SplashKit", + "functions": [ + "open_window", + "load_resource_bundle", + "animation_script_named", + "bitmap_named", + "create_animation_from_script_named", + "option_with_animation", + "process_events", + "draw_bitmap_with_options", + "draw_text_no_font_no_size", + "animation_name", + "update_animation", + "key_typed", + "key_down", + "assign_animation" + ], + "url": "/guides/animations/using-animations/" + } + ] +} diff --git a/scripts/json-files/guides/audio/audio.json b/scripts/json-files/guides/audio/audio.json index 55aee036e..5e4a86eb6 100644 --- a/scripts/json-files/guides/audio/audio.json +++ b/scripts/json-files/guides/audio/audio.json @@ -1,20 +1,20 @@ { - "guides": [ - { - "name": "Get Started with SplashKit Audio", - "functions": [ - "set_font_style_name_as_string", - "draw_text_font_as_string", - "load_sound_effect", - "refresh_screen_with_target_fpsm", - "key_typed", - "sound_effect_named", - "play_sound_effect", - "clear_screen", - "fill_rectangle", - "draw_line" - ], - "url": "/guides/audio/getting-started-with-audio/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "Get Started with SplashKit Audio", + "functions": [ + "set_font_style_name_as_string", + "draw_text_font_as_string", + "load_sound_effect", + "refresh_screen_with_target_fpsm", + "key_typed", + "sound_effect_named", + "play_sound_effect", + "clear_screen", + "fill_rectangle", + "draw_line" + ], + "url": "/guides/audio/getting-started-with-audio/" + } + ] +} diff --git a/scripts/json-files/guides/camera/camera.json b/scripts/json-files/guides/camera/camera.json index 7157ce758..45121755b 100644 --- a/scripts/json-files/guides/camera/camera.json +++ b/scripts/json-files/guides/camera/camera.json @@ -1,20 +1,20 @@ { - "guides": [ - { - "name": "SplashKit Camera", - "functions": [ - "camera_x", - "camera_y", - "move_camera_by", - "key_down", - "draw_text_no_font_no_size_with_options", - "clear_screen", - "fill_rectangle", - "draw_text_no_font_no_size_with_options", - "fill_circle", - "refresh_screen_with_target_fps" - ], - "url": "/guides/camera/using-splashkit-camera/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "SplashKit Camera", + "functions": [ + "camera_x", + "camera_y", + "move_camera_by", + "key_down", + "draw_text_no_font_no_size_with_options", + "clear_screen", + "fill_rectangle", + "draw_text_no_font_no_size_with_options", + "fill_circle", + "refresh_screen_with_target_fps" + ], + "url": "/guides/camera/using-splashkit-camera/" + } + ] +} diff --git a/scripts/json-files/guides/graphics/graphics.json b/scripts/json-files/guides/graphics/graphics.json index bb33314e8..59f3724a2 100644 --- a/scripts/json-files/guides/graphics/graphics.json +++ b/scripts/json-files/guides/graphics/graphics.json @@ -1,22 +1,22 @@ { - "guides": [ - { - "name": "Drawing using Procedures", - "functions": [ - "open_window", - "clear_screen", - "fill_ellipse", - "fill_rectangle", - "fill_triangle", - "refresh_screen", - "delay" - ], - "url": "/guides/graphics/drawing-using-procedures/" - }, - { - "name": "Understanding Double Buffering", - "functions": [], - "url": "/guides/getting-started/double-buffering/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "Drawing using Procedures", + "functions": [ + "open_window", + "clear_screen", + "fill_ellipse", + "fill_rectangle", + "fill_triangle", + "refresh_screen", + "delay" + ], + "url": "/guides/graphics/drawing-using-procedures/" + }, + { + "name": "Understanding Double Buffering", + "functions": [], + "url": "/guides/getting-started/double-buffering/" + } + ] +} diff --git a/scripts/json-files/guides/input/input.json b/scripts/json-files/guides/input/input.json index ba4236013..d93c35f39 100644 --- a/scripts/json-files/guides/input/input.json +++ b/scripts/json-files/guides/input/input.json @@ -1,33 +1,33 @@ { - "guides": [ - { - "name": "User Inputs in Graphical Applications", - "functions": [ - "color_red", - "color_yellow", - "color_white", - "clear_screen", - "window_close_requested", - "mouse_down", - "mouse_up", - "mouse_movement", - "open_window", - "quit_requested", - "load_font", - "rectangle_from", - "start_reading_text", - "process_events", - "mouse_clicked", - "start_reading_text", - "reading_text", - "text_entry_cancelled", - "text_input", - "draw_rectangle_record", - "draw_collected_text", - "draw_text", - "refresh_screen_with_target_fps" - ], - "url": "/guides/input/user-inputs-in-graphical-applications/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "User Inputs in Graphical Applications", + "functions": [ + "color_red", + "color_yellow", + "color_white", + "clear_screen", + "window_close_requested", + "mouse_down", + "mouse_up", + "mouse_movement", + "open_window", + "quit_requested", + "load_font", + "rectangle_from", + "start_reading_text", + "process_events", + "mouse_clicked", + "start_reading_text", + "reading_text", + "text_entry_cancelled", + "text_input", + "draw_rectangle_record", + "draw_collected_text", + "draw_text", + "refresh_screen_with_target_fps" + ], + "url": "/guides/input/user-inputs-in-graphical-applications/" + } + ] +} diff --git a/scripts/json-files/guides/interface/interface.json b/scripts/json-files/guides/interface/interface.json index 705d2aa74..d1251ce75 100644 --- a/scripts/json-files/guides/interface/interface.json +++ b/scripts/json-files/guides/interface/interface.json @@ -1,19 +1,19 @@ { - "guides": [ - { - "name": "Getting Started Creating User Interfaces", - "functions": [ - "open_window", - "process_events", - "clear_screen_to_white", - "text_box_at_position", - "button_at_position", - "write_line", - "slider_at_position", - "draw_interface", - "refresh_screen" - ], - "url": "/guides/interface/getting-started-with-interfaces/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "Getting Started Creating User Interfaces", + "functions": [ + "open_window", + "process_events", + "clear_screen_to_white", + "text_box_at_position", + "button_at_position", + "write_line", + "slider_at_position", + "draw_interface", + "refresh_screen" + ], + "url": "/guides/interface/getting-started-with-interfaces/" + } + ] +} diff --git a/scripts/json-files/guides/json/json.json b/scripts/json-files/guides/json/json.json index 768aa2d9d..41b3c09a1 100644 --- a/scripts/json-files/guides/json/json.json +++ b/scripts/json-files/guides/json/json.json @@ -1,31 +1,31 @@ { - "guides": [ - { - "name": "Using JSON in SplashKit", - "functions": [ - "json_from_file", - "json_read_string", - "write_line", - "free_json", - "json_has_key", - "json_read_array_of_string", - "write_line", - "write", - "json_read_object", - "json_read_number_as_int", - "create_json", - "json_set_string", - "json_set_bool", - "json_set_number_integer", - "json_set_array_of_string", - "json_set_object", - "json_to_file", - "free_all_json", - "json_from_file", - "json_read_object", - "json_read_number_as_int" - ], - "url": "/guides/json/getting-started-with-json/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "Using JSON in SplashKit", + "functions": [ + "json_from_file", + "json_read_string", + "write_line", + "free_json", + "json_has_key", + "json_read_array_of_string", + "write_line", + "write", + "json_read_object", + "json_read_number_as_int", + "create_json", + "json_set_string", + "json_set_bool", + "json_set_number_integer", + "json_set_array_of_string", + "json_set_object", + "json_to_file", + "free_all_json", + "json_from_file", + "json_read_object", + "json_read_number_as_int" + ], + "url": "/guides/json/getting-started-with-json/" + } + ] +} diff --git a/scripts/json-files/guides/networking/networking.json b/scripts/json-files/guides/networking/networking.json index 770e7efd8..a75b936aa 100644 --- a/scripts/json-files/guides/networking/networking.json +++ b/scripts/json-files/guides/networking/networking.json @@ -1,48 +1,48 @@ { - "guides": [ - { - "name": "Getting Started With Servers", - "functions": [ - "write_line", - "start_web_server_with_default_port", - "stop_web_server", - "next_web_request", - "send_response", - "send_html_file_response" - ], - "url": "/guides/networking/getting-started-with-servers/" - }, - { - "name": "Routing With Servers", - "functions": [ - "write_line", - "start_web_server_with_default_port", - "stop_web_server", - "next_web_request", - "send_response", - "send_html_file_response", - "is_get_request_for" - ], - "url": "/guides/networking/routing-with-servers/" - }, - { - "name": "How to make a RESTful API call using SplashKit", - "functions": [ - "http_get", - "http_response_to_string", - "free_response", - "json_from_string", - "write_line", - "json_set_string", - "json_set_number_integer", - "create_json", - "http_post_with_headers", - "http_response_to_string", - "json_from_string", - "json_read_number_as_int", - "json_read_string" - ], - "url": "/guides/networking/restful-api-call/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "Getting Started With Servers", + "functions": [ + "write_line", + "start_web_server_with_default_port", + "stop_web_server", + "next_web_request", + "send_response", + "send_html_file_response" + ], + "url": "/guides/networking/getting-started-with-servers/" + }, + { + "name": "Routing With Servers", + "functions": [ + "write_line", + "start_web_server_with_default_port", + "stop_web_server", + "next_web_request", + "send_response", + "send_html_file_response", + "is_get_request_for" + ], + "url": "/guides/networking/routing-with-servers/" + }, + { + "name": "How to make a RESTful API call using SplashKit", + "functions": [ + "http_get", + "http_response_to_string", + "free_response", + "json_from_string", + "write_line", + "json_set_string", + "json_set_number_integer", + "create_json", + "http_post_with_headers", + "http_response_to_string", + "json_from_string", + "json_read_number_as_int", + "json_read_string" + ], + "url": "/guides/networking/restful-api-call/" + } + ] +} diff --git a/scripts/json-files/guides/physics/physics.json b/scripts/json-files/guides/physics/physics.json index 92d035d2b..ea2a076dc 100644 --- a/scripts/json-files/guides/physics/physics.json +++ b/scripts/json-files/guides/physics/physics.json @@ -1,98 +1,87 @@ { - "guides": [ - { - "name": "Introduction to Vectors", - "functions": [ - "vector_to_string", - "vector_point_to_point" - ], - "url": "/guides/physics/0-introduction-to-vectors/" - }, - { - "name": "Vector Magnitudes", - "functions": [ - "vector_magnitude", - "vector_magnitude_squared", - "vector_invert" - ], - "url": "/guides/physics/1-vector-magnitudes/" - }, - { - "name": "Vector Arithmetic", - "functions": [ - "vector_add", - "vector_subtract", - "vector_multiply" - ], - "url": "/guides/physics/2-vector-arithmetic/" - }, - { - "name": "Vector Angles", - "functions": [ - "vector_angle", - "dot_product", - "angle_between" - ], - "url": "/guides/physics/3-vector-geometry-angles/" - }, - { - "name": "Resolving Collisions Using Vectors", - "functions": [ - "vector_normal", - "dot_product", - "vector_add", - "vector_multiply", - "vector_point_to_point" - ], - "url": "/guides/physics/4-collision-detection-using-vectors/" - }, - { - "name": "Collisions and Gravity", - "functions": [ - "vector-point-to-point", - "vector_magnitude", - "unit_vector", - "vector_normal", - "vector_multiply", - "vector_subtract", - "vector_add", - "dot_product" - ], - "url": "/guides/physics/5-collisions-and-gravity/" - }, - { - "name": "Raycasting Basics", - "functions": [ - "vector_to", - "vector_from_angle", - "vector_multiply", - "point_offset_by" - ], - "url": "/guides/physics/6-raycasting-basics/" - }, - { - "name": "Raycasting and Illumination", - "functions": [ - "point_offset_by", - "vector_multiply", - "vector_to", - "vector_from_angle", - "hsb_color", - "hue_of", - "saturation_of", - "brightness_of" - ], - "url": "/guides/physics/7-raycasting-light/" - }, - { - "name": "2D to 3D Projection", - "functions": [ - "vector_magnitude", - "vector_from_angle", - "vector_point_to_point", - "point_offset_by" - ], - "url": "/guides/physics/8-3d-projection-raycasting/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "Introduction to Vectors", + "functions": ["vector_to_string", "vector_point_to_point"], + "url": "/guides/physics/0-introduction-to-vectors/" + }, + { + "name": "Vector Magnitudes", + "functions": [ + "vector_magnitude", + "vector_magnitude_squared", + "vector_invert" + ], + "url": "/guides/physics/1-vector-magnitudes/" + }, + { + "name": "Vector Arithmetic", + "functions": ["vector_add", "vector_subtract", "vector_multiply"], + "url": "/guides/physics/2-vector-arithmetic/" + }, + { + "name": "Vector Angles", + "functions": ["vector_angle", "dot_product", "angle_between"], + "url": "/guides/physics/3-vector-geometry-angles/" + }, + { + "name": "Resolving Collisions Using Vectors", + "functions": [ + "vector_normal", + "dot_product", + "vector_add", + "vector_multiply", + "vector_point_to_point" + ], + "url": "/guides/physics/4-collision-detection-using-vectors/" + }, + { + "name": "Collisions and Gravity", + "functions": [ + "vector-point-to-point", + "vector_magnitude", + "unit_vector", + "vector_normal", + "vector_multiply", + "vector_subtract", + "vector_add", + "dot_product" + ], + "url": "/guides/physics/5-collisions-and-gravity/" + }, + { + "name": "Raycasting Basics", + "functions": [ + "vector_to", + "vector_from_angle", + "vector_multiply", + "point_offset_by" + ], + "url": "/guides/physics/6-raycasting-basics/" + }, + { + "name": "Raycasting and Illumination", + "functions": [ + "point_offset_by", + "vector_multiply", + "vector_to", + "vector_from_angle", + "hsb_color", + "hue_of", + "saturation_of", + "brightness_of" + ], + "url": "/guides/physics/7-raycasting-light/" + }, + { + "name": "2D to 3D Projection", + "functions": [ + "vector_magnitude", + "vector_from_angle", + "vector_point_to_point", + "point_offset_by" + ], + "url": "/guides/physics/8-3d-projection-raycasting/" + } + ] +} diff --git a/scripts/json-files/guides/raspberry-gpio/raspberry-gpio.json b/scripts/json-files/guides/raspberry-gpio/raspberry-gpio.json index d21d4cd53..7025c0444 100644 --- a/scripts/json-files/guides/raspberry-gpio/raspberry-gpio.json +++ b/scripts/json-files/guides/raspberry-gpio/raspberry-gpio.json @@ -1,72 +1,72 @@ { - "guides": [ - { - "name": "Get Started with SplashKit GPIO", - "functions": [ - "raspi_init", - "raspi_set_mode", - "open_window", - "any_key_pressed", - "raspi_cleanup", - "raspi_write", - "delay", - "process_events", - "close_all_windows" - ], - "url": "/guides/raspberry-gpio/0-blink-led/" - }, - { - "name": "Reading Button Presses", - "functions": [ - "raspi_init", - "raspi_set_mode", - "raspi_set_pull_up_down", - "open_window", - "any_key_pressed", - "process_events", - "raspi_read", - "raspi_write", - "close_all_windows", - "raspi_cleanup" - ], - "url": "/guides/raspberry-gpio/1-read-button-press/" - }, - { - "name": "Using PWM to control LED brightness", - "functions": [ - "raspi_init", - "raspi_set_mode", - "raspi_set_pwm_range", - "raspi_set_pwm_dutycycle", - "write", - "write_line_int", - "raspi_set_pwm_frequency", - "delay", - "raspi_cleanup" - ], - "url": "/guides/raspberry-gpio/2-pwm-control-led/" - }, - { - "name": "Modify PWM through button presses", - "functions": [ - "raspi_init", - "raspi_set_mode", - "raspi_set_pwm_dutycycle", - "raspi_set_pull_up_down", - "create_timer", - "start_timer", - "raspi_set_pwm_frequency", - "open_window", - "any_key_pressed", - "process_events", - "timer_ticks", - "raspi_read", - "close_all_windows", - "stop_timer", - "free_all_timers", - "raspi_cleanup" - ], - "url": "/guides/raspberry-gpio/3-pwm-button-control/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "Get Started with SplashKit GPIO", + "functions": [ + "raspi_init", + "raspi_set_mode", + "open_window", + "any_key_pressed", + "raspi_cleanup", + "raspi_write", + "delay", + "process_events", + "close_all_windows" + ], + "url": "/guides/raspberry-gpio/0-blink-led/" + }, + { + "name": "Reading Button Presses", + "functions": [ + "raspi_init", + "raspi_set_mode", + "raspi_set_pull_up_down", + "open_window", + "any_key_pressed", + "process_events", + "raspi_read", + "raspi_write", + "close_all_windows", + "raspi_cleanup" + ], + "url": "/guides/raspberry-gpio/1-read-button-press/" + }, + { + "name": "Using PWM to control LED brightness", + "functions": [ + "raspi_init", + "raspi_set_mode", + "raspi_set_pwm_range", + "raspi_set_pwm_dutycycle", + "write", + "write_line_int", + "raspi_set_pwm_frequency", + "delay", + "raspi_cleanup" + ], + "url": "/guides/raspberry-gpio/2-pwm-control-led/" + }, + { + "name": "Modify PWM through button presses", + "functions": [ + "raspi_init", + "raspi_set_mode", + "raspi_set_pwm_dutycycle", + "raspi_set_pull_up_down", + "create_timer", + "start_timer", + "raspi_set_pwm_frequency", + "open_window", + "any_key_pressed", + "process_events", + "timer_ticks", + "raspi_read", + "close_all_windows", + "stop_timer", + "free_all_timers", + "raspi_cleanup" + ], + "url": "/guides/raspberry-gpio/3-pwm-button-control/" + } + ] +} diff --git a/scripts/json-files/guides/resource-bundles/resource-bundles.json b/scripts/json-files/guides/resource-bundles/resource-bundles.json index ff9353da8..3c7f7f6f6 100644 --- a/scripts/json-files/guides/resource-bundles/resource-bundles.json +++ b/scripts/json-files/guides/resource-bundles/resource-bundles.json @@ -1,9 +1,9 @@ { - "guides": [ - { - "name": "Loading Resources with Bundles", - "functions": [], - "url": "/guides/resources/loading-resources-with-bundles/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "Loading Resources with Bundles", + "functions": [], + "url": "/guides/resources/loading-resources-with-bundles/" + } + ] +} diff --git a/scripts/json-files/guides/utilities/utilities.json b/scripts/json-files/guides/utilities/utilities.json index bf6fcce1c..eb682b218 100644 --- a/scripts/json-files/guides/utilities/utilities.json +++ b/scripts/json-files/guides/utilities/utilities.json @@ -1,23 +1,23 @@ { - "guides": [ - { - "name": "Useful Utilities", - "functions": [ - "convert_to_integer", - "write", - "write_line", - "write_line_int", - "convert_to_double", - "write_line_double", - "read_line", - "is_integer", - "is_number", - "write_line", - "to_uppercase", - "to_lowercase", - "trim" - ], - "url": "/guides/utilities/useful-utilities/" - } - ] -} \ No newline at end of file + "guides": [ + { + "name": "Useful Utilities", + "functions": [ + "convert_to_integer", + "write", + "write_line", + "write_line_int", + "convert_to_double", + "write_line_double", + "read_line", + "is_integer", + "is_number", + "write_line", + "to_uppercase", + "to_lowercase", + "trim" + ], + "url": "/guides/utilities/useful-utilities/" + } + ] +} diff --git a/scripts/json-files/splashkit-color-palette.json b/scripts/json-files/splashkit-color-palette.json index 54a0da772..347ae6a34 100644 --- a/scripts/json-files/splashkit-color-palette.json +++ b/scripts/json-files/splashkit-color-palette.json @@ -2144,4 +2144,4 @@ "row": 12, "col": 11 } -] \ No newline at end of file +] diff --git a/scripts/json-files/usage-example-references.json b/scripts/json-files/usage-example-references.json index c41688ec6..8dc2b221e 100644 --- a/scripts/json-files/usage-example-references.json +++ b/scripts/json-files/usage-example-references.json @@ -38,6 +38,31 @@ ] } ], + "color": [ + { + "funcKey": "saturation_of", + "title": "Draws a rectangle in a random colour. The colour's saturation value is displayed on screen", + "url": "/api/color/#saturation-of", + "functions": [ + "open_window", + "random_rgb_color", + "round", + "rectangle_from", + "clear_screen", + "color_white", + "fill_rectangle_record", + "draw_text_no_font_no_size", + "color_black", + "red_of", + "green_of", + "blue_of", + "alpha_of", + "refresh_screen", + "delay", + "close_all_windows" + ] + } + ], "geometry": [ { "funcKey": "center_point", @@ -524,6 +549,32 @@ "close_window" ] }, + { + "funcKey": "rectangle_around", + "title": "A perpetually moving circle which increases and decreases in size, surrounded by a rectangle shape", + "url": "/api/geometry/#rectangle-around", + "functions": [ + "open_window", + "create_timer", + "start_timer", + "quit_requested", + "point_at", + "cosine", + "sine", + "circle_at", + "timer_ticks", + "reset_timer", + "process_events", + "clear_screen_to_white", + "draw_rectangle_record", + "color_black", + "rectangle_around_circle", + "fill_circle_record", + "color_red", + "refresh_screen", + "close_all_windows" + ] + }, { "funcKey": "same_point", "title": "Point 2D Guessing Game", @@ -561,6 +612,24 @@ "close_all_windows" ] }, + { + "funcKey": "bitmap_center", + "title": "Draw a bitmap with a red dot at its center\r", + "url": "/api/graphics/#bitmap-center", + "functions": [ + "open_window", + "load_bitmap", + "clear_screen", + "color_white", + "draw_bitmap", + "fill_circle_record", + "color_red", + "circle_at", + "refresh_screen", + "delay", + "close_all_windows" + ] + }, { "funcKey": "clear_screen", "title": "Background Color", @@ -597,6 +666,26 @@ "SplashKit" ] }, + { + "funcKey": "draw_circle", + "title": "Circle Showcase", + "url": "/api/graphics/#draw-circle", + "functions": [ + "open_window", + "clear_screen", + "color_white", + "fill_circle", + "color_red", + "color_blue", + "color_green", + "color_orange", + "color_purple", + "random_rgb_color", + "refresh_screen", + "delay", + "close_all_windows" + ] + }, { "funcKey": "draw_circle_on_bitmap", "title": "Creating a Red Planet", @@ -1189,6 +1278,25 @@ "close_all_windows" ] }, + { + "funcKey": "get_font_style", + "title": "The program automatically cycles through font styles for a given font (also displaying example text), with the numerical value of each style being shown on screen\r", + "url": "/api/graphics/#get-font-style", + "functions": [ + "open_window", + "font_named", + "quit_requested", + "process_events", + "set_font_style", + "clear_screen_to_white", + "draw_text_no_font_no_size", + "color_black", + "draw_text", + "refresh_screen", + "delay", + "close_all_windows" + ] + }, { "funcKey": "has_font", "title": "Checking for Font using Variable", @@ -1790,5 +1898,30 @@ "write_line" ] } + ], + "windows": [ + { + "funcKey": "close_window", + "title": "Starts a countdown to close the window at the push of a button.", + "url": "/api/windows/#close-window", + "functions": [ + "open_window", + "create_timer", + "quit_requested", + "process_events", + "clear_window", + "color_white", + "button_at_position", + "rectangle_from", + "start_timer", + "draw_text_font_as_string", + "color_black", + "timer_ticks", + "reset_timer", + "draw_interface", + "refresh_window", + "close_all_windows" + ] + } ] } \ No newline at end of file diff --git a/scripts/usage-example-scraping.cjs b/scripts/usage-example-scraping.cjs index 0ec5376cf..efaeef44d 100644 --- a/scripts/usage-example-scraping.cjs +++ b/scripts/usage-example-scraping.cjs @@ -2,113 +2,145 @@ // Imports // ------------------------------------------------------------------------------ const kleur = require("kleur"); // Terminal highlighting -const fs = require('fs'); // Interact with the file system -const path = require('path'); // Handle and transform file paths - +const fs = require("fs"); // Interact with the file system +const path = require("path"); // Handle and transform file paths const srcDirectory = "./public/usage-examples"; //directory to be scraped -const outputDirectory = "./scripts/json-files/usage-example-references.json" //directory where "Usage Example" functions will be savedc +const outputDirectory = "./scripts/json-files/usage-example-references.json"; //directory where "Usage Example" functions will be savedc // ------------------------------------------------------------------------------ -// Scraping all of the folders in usage example and retrieving the functions and title +// Scraping all of the folders in usage example and retrieving the functions and title // ------------------------------------------------------------------------------ function getAvailableExamplesFunctionUsage(dir) { - const result = {}; - const fileNameRegex = /^([a-zA-Z_][a-zA-Z0-9_]*)-/; - - const ignoreKey = new Set(["if", "else", "elif", "while", "for", "range", "int", "str", "match"]); - - const folders = fs.readdirSync(dir); - folders.forEach(folder => { - const folderPath = path.join(dir, folder); - const functionCallRegex = /\b([a-zA-Z_][a-zA-Z0-9_]*)\s*\(/g; - - try { - const stats = fs.statSync(folderPath); - - // Checking if the path is a directory - if (stats.isDirectory()) { - const files = fs.readdirSync(folderPath); - // Filtering for JSON files - pythonFiles = files.filter(file => path.extname(file).toLowerCase() === '.py'); - textFiles = files.filter(file => path.extname(file).toLowerCase() === '.txt'); - - pythonFiles.forEach(pyFile => { - const fileName = path.join(folderPath, pyFile); - const fileName2 = fileName.replace('.py', '.txt') - const pythonFile = fs.readFileSync(fileName); - const textFile = fs.readFileSync(fileName2, "utf8"); - const title = textFile.split("\n")[0]; - const pyFileMatch = fileNameRegex.exec(pyFile); - try { - - const folderKey = folder.toLowerCase(); - const funcKey = pyFileMatch[1].toLowerCase(); - - if (!result[folderKey]) { - result[folderKey] = [] - } - - let funcEntry = result[folderKey].find(entry => entry.funcKey === funcKey); - - if (!funcEntry) { - funcEntry = { - funcKey: funcKey, - title: title, - url: `/api/${folderKey}/#${funcKey.replaceAll("_", "-")}`, - functions: [] - }; - result[folderKey].push(funcEntry); - } - - let match; - while ((match = functionCallRegex.exec(pythonFile)) !== null) { - const funcName = match[1]; - if (!funcEntry.functions.includes(funcName) && !ignoreKey.has(funcName) && funcKey != funcName) { - funcEntry.functions.push(funcName) - } - } - - } catch (error) { - console.error(`Error parsing JSON in file: ${pythonFiles}`); - console.error(error.message); - } - }) - } else { - if (folder != "CONTRIBUTING.mdx" && folder != ".DS_Store") - console.log(`${folder} is not a diectory`); + const result = {}; + const fileNameRegex = /^([a-zA-Z_][a-zA-Z0-9_]*)-/; + + const ignoreKey = new Set([ + "if", + "else", + "elif", + "while", + "for", + "range", + "int", + "str", + "match", + ]); + + const folders = fs.readdirSync(dir); + folders.forEach((folder) => { + const folderPath = path.join(dir, folder); + const functionCallRegex = /\b([a-zA-Z_][a-zA-Z0-9_]*)\s*\(/g; + + try { + const stats = fs.statSync(folderPath); + + // Checking if the path is a directory + if (stats.isDirectory()) { + const files = fs.readdirSync(folderPath); + // Filtering for JSON files + pythonFiles = files.filter( + (file) => path.extname(file).toLowerCase() === ".py", + ); + textFiles = files.filter( + (file) => path.extname(file).toLowerCase() === ".txt", + ); + + pythonFiles.forEach((pyFile) => { + const fileName = path.join(folderPath, pyFile); + const fileName2 = fileName.replace(".py", ".txt"); + const pythonFile = fs.readFileSync(fileName); + const textFile = fs.readFileSync(fileName2, "utf8"); + const title = textFile.split("\n")[0]; + const pyFileMatch = fileNameRegex.exec(pyFile); + try { + const folderKey = folder.toLowerCase(); + const funcKey = pyFileMatch[1].toLowerCase(); + + if (!result[folderKey]) { + result[folderKey] = []; + } + + let funcEntry = result[folderKey].find( + (entry) => entry.funcKey === funcKey, + ); + + if (!funcEntry) { + funcEntry = { + funcKey: funcKey, + title: title, + url: `/api/${folderKey}/#${funcKey.replaceAll("_", "-")}`, + functions: [], + }; + result[folderKey].push(funcEntry); } - } catch (err) { - console.log(`Error loading JSON in folder: ${folder}`); - } - }) - return result; + + let match; + while ((match = functionCallRegex.exec(pythonFile)) !== null) { + const funcName = match[1]; + if ( + !funcEntry.functions.includes(funcName) && + !ignoreKey.has(funcName) && + funcKey != funcName + ) { + funcEntry.functions.push(funcName); + } + } + } catch (error) { + console.error(`Error parsing JSON in file: ${pythonFiles}`); + console.error(error.message); + } + }); + } else { + if (folder != "CONTRIBUTING.mdx" && folder != ".DS_Store") + console.log(`${folder} is not a diectory`); + } + } catch (err) { + console.log(`Error loading JSON in folder: ${folder}`); + } + }); + return result; } // ------------------------------------------------------------------------------ // Writing to the output JSON file // ------------------------------------------------------------------------------ -function generateAvailableFunctionsInUsageExamples(srcDirectory, outputDirectory) { +function generateAvailableFunctionsInUsageExamples( + srcDirectory, + outputDirectory, +) { + try { + const usageExamplesContent = + getAvailableExamplesFunctionUsage(srcDirectory); + try { - const usageExamplesContent = getAvailableExamplesFunctionUsage(srcDirectory); - - try { - fs.writeFileSync(outputDirectory, JSON.stringify(usageExamplesContent, null, 4)); - } catch (err) { - console.log('Error writing output files: ', err); - } - } catch (error) { - console.log('Error processing usage examples files: ', error); + fs.writeFileSync( + outputDirectory, + JSON.stringify(usageExamplesContent, null, 4), + ); + } catch (err) { + console.log("Error writing output files: ", err); } + } catch (error) { + console.log("Error processing usage examples files: ", error); + } } // ============================================================================== // ========================= START of main script =============================== // ============================================================================== -console.log(kleur.cyan('------------------------------------------------------------------------------')); -console.log(kleur.magenta('Usage Example Scraping:')); -console.log(kleur.cyan('------------------------------------------------------------------------------\n')); +console.log( + kleur.cyan( + "------------------------------------------------------------------------------", + ), +); +console.log(kleur.magenta("Usage Example Scraping:")); +console.log( + kleur.cyan( + "------------------------------------------------------------------------------\n", + ), +); generateAvailableFunctionsInUsageExamples(srcDirectory, outputDirectory); diff --git a/scripts/usage-examples-testing-script.cjs b/scripts/usage-examples-testing-script.cjs index 978b54d95..407e5705e 100644 --- a/scripts/usage-examples-testing-script.cjs +++ b/scripts/usage-examples-testing-script.cjs @@ -4,11 +4,11 @@ const fs = require("fs"); const kleur = require("kleur"); -const path = require('path'); +const path = require("path"); // For cleaning files from usage-examples folder -const directoryToClean = 'src/content/docs/usage-examples'; -const filesToKeep = ['index.mdx', 'CONTRIBUTING.mdx']; +const directoryToClean = "src/content/docs/usage-examples"; +const filesToKeep = ["index.mdx", "CONTRIBUTING.mdx"]; // Define language label mappings const languageLabelMappings = { @@ -24,10 +24,10 @@ const languageFileExtensions = { cpp: ".cpp", csharp: ".cs", python: ".py", - pascal: ".pas" + pascal: ".pas", }; -const languageOrder = ["cpp", "csharp", "python"];//, "pascal"]; +const languageOrder = ["cpp", "csharp", "python"]; //, "pascal"]; // Get JSON data from api.json file function getJsonData() { @@ -62,7 +62,9 @@ function getApiCategories(jsonData) { // Get a list of all of the unique function names function getUniqueFunctionNames(categoryKey, jsonData) { const category = jsonData[categoryKey]; - const functionNames = category.functions.map((func) => func.unique_global_name); + const functionNames = category.functions.map( + (func) => func.unique_global_name, + ); return functionNames; } @@ -76,20 +78,21 @@ function getFunctionGroups(categoryKey, jsonData) { // Get the category description to display on the index page link cards function getCategoryDescription(categoryKey, jsonData) { const category = jsonData[categoryKey]; - return category.brief.replace(/\n/g, ''); + return category.brief.replace(/\n/g, ""); } // Search the folders to get a list of paths for all available files in the /public/usage-examples/ folder function getAllFiles(dir, allFilesList = []) { const files = fs.readdirSync(dir); - files.map(file => { - const name = dir + '/' + file; - if (fs.statSync(name).isDirectory()) { // check if subdirectory is present - getAllFiles(name, allFilesList); // do recursive execution for subdirectory + files.map((file) => { + const name = dir + "/" + file; + if (fs.statSync(name).isDirectory()) { + // check if subdirectory is present + getAllFiles(name, allFilesList); // do recursive execution for subdirectory } else { - allFilesList.push(file); // push filename into the array + allFilesList.push(file); // push filename into the array } - }) + }); return allFilesList; } @@ -122,8 +125,7 @@ function getFunctionLink(jsonData, groupNameToCheck, uniqueNameToCheck) { functionLink = functionName + "-" + (index + 1); } }); - } - else { + } else { functionLink = functionName; } } @@ -136,18 +138,18 @@ function getFunctionLink(jsonData, groupNameToCheck, uniqueNameToCheck) { // Resolves the issue of usage example mdx files being left behind when changing branches causing failures in builds function cleanDirectory(directory, exclusions) { const files = fs.readdirSync(directory, { withFileTypes: true }); - files.forEach(file => { + files.forEach((file) => { const fullPath = path.join(directory, file.name); if (file.isDirectory()) { - cleanDirectory(fullPath, exclusions); // Recursively clean directories + cleanDirectory(fullPath, exclusions); // Recursively clean directories } else if (!exclusions.includes(file.name)) { - fs.unlinkSync(fullPath); // Delete file if not in exclusions + fs.unlinkSync(fullPath); // Delete file if not in exclusions console.log(kleur.red(`Deleted:`) + ` ${fullPath}`); } }); } -console.log('Cleaning up directory for Usage examples pages...\n'); +console.log("Cleaning up directory for Usage examples pages...\n"); cleanDirectory(directoryToClean, filesToKeep); // =============================================================================== @@ -174,18 +176,19 @@ let categories = getApiCategories(apiJsonData); // Loop through each category to create 1 page per category categories.forEach((categoryKey) => { - let categoryPath = '/usage-examples/' + categoryKey; - let categoryFilePath = './public/usage-examples/' + categoryKey; + let categoryPath = "/usage-examples/" + categoryKey; + let categoryFilePath = "./public/usage-examples/" + categoryKey; const categoryFiles = getAllFiles(categoryFilePath); // Use .txt files to find completed usage examples - const txtFiles = categoryFiles.filter(file => file.endsWith('.txt')) + const txtFiles = categoryFiles.filter((file) => file.endsWith(".txt")); // Start of each page creation if (txtFiles.length > 0) { let mdxContent = ""; // Create header info on page - let categoryTitle = categoryKey.split("_") + let categoryTitle = categoryKey + .split("_") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); let categoryURL = categoryKey.replaceAll("_", "-"); @@ -199,12 +202,12 @@ categories.forEach((categoryKey) => { mdxContent += ` content: Check out how to use the ${categoryTitle} functions!\n`; mdxContent += "---\n\n"; - mdxContent += `import { Code, Tabs, TabItem, LinkCard } from "@astrojs/starlight/components";\n` + mdxContent += `import { Code, Tabs, TabItem, LinkCard } from "@astrojs/starlight/components";\n`; // mdxContent += `import { Code } from '@astrojs/starlight/components';\n`; mdxContent += `import Signatures from "/src/components/Signatures.astro";\n`; mdxContent += "\n:::note\n"; - mdxContent += `This page contains code examples of the [${categoryTitle}](/api/${categoryURL}) functions.\n` + mdxContent += `This page contains code examples of the [${categoryTitle}](/api/${categoryURL}) functions.\n`; mdxContent += ":::\n\n"; // Possible alternative @@ -224,19 +227,24 @@ categories.forEach((categoryKey) => { mdxContent += `## Simple Usage Examples\n`; const functionGroup = {}; functions.forEach((functionKey) => { - - const functionExampleFiles = txtFiles.filter(file => file.startsWith(functionKey + '-')); + const functionExampleFiles = txtFiles.filter((file) => + file.startsWith(functionKey + "-"), + ); groupName = functionGroups[functionIndex]; if (functionExampleFiles.length > 0) { - // Create function heading - let functionTitle = functionKey.split("_") + let functionTitle = functionKey + .split("_") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(" "); // Create Function Example heading with link - const functionURL = getFunctionLink(apiJsonData, groupName, functionKey); + const functionURL = getFunctionLink( + apiJsonData, + groupName, + functionKey, + ); // --- IN PROGRESS: Start --- @@ -296,9 +304,11 @@ categories.forEach((categoryKey) => { mdxContent += `\n### [${functionTitle}](/api/${categoryURL}/#${functionURL.replaceAll("_", "-")})\n\n`; // Function signature heading (possible need to update) - const signature = apiJsonData[categoryKey].functions.map((func) => func.signature)[functionIndex].replaceAll(";", ""); + const signature = apiJsonData[categoryKey].functions + .map((func) => func.signature) + [functionIndex].replaceAll(";", ""); mdxContent += `:::tip[Note]\n`; - mdxContent += `The example(s) below are using the **${functionTitle}** function with the following signatures:\n\n` + mdxContent += `The example(s) below are using the **${functionTitle}** function with the following signatures:\n\n`; mdxContent += `\n`; mdxContent += `\n`; mdxContent += "\n:::\n"; @@ -311,7 +321,6 @@ categories.forEach((categoryKey) => { // ----------------------------------- // Testing that all files are included for filename (terminal argument) if (fileNameToCheck == exampleKey) { - // Define required code files const requiredCodeFiles = { ".cpp": "C++\t\t", @@ -321,44 +330,67 @@ categories.forEach((categoryKey) => { // ".pas": "Pascal", }; - let exampleFiles = categoryFiles.filter(file => file.startsWith(exampleKey)); + let exampleFiles = categoryFiles.filter((file) => + file.startsWith(exampleKey), + ); - testingOutput += "\n------------------------------------------------\n\n"; - testingOutput += kleur.magenta("Testing") + kleur.cyan(" -> " + fileNameToCheck) + "\n\n"; + testingOutput += + "\n------------------------------------------------\n\n"; + testingOutput += + kleur.magenta("Testing") + + kleur.cyan(" -> " + fileNameToCheck) + + "\n\n"; // Text file - check already done above - testingOutput += kleur.green("\u2705 Text Description\t -> ") + kleur.white(fileNameToCheck + ".txt\n"); + testingOutput += + kleur.green("\u2705 Text Description\t -> ") + + kleur.white(fileNameToCheck + ".txt\n"); // Check for output file (.png or .gif) if (exampleFiles.includes(fileNameToCheck + ".png")) { - testingOutput += kleur.green("\u2705 Image\t\t -> ") + kleur.white(fileNameToCheck + ".png\n"); + testingOutput += + kleur.green("\u2705 Image\t\t -> ") + + kleur.white(fileNameToCheck + ".png\n"); } else if (exampleFiles.includes(fileNameToCheck + ".gif")) { - testingOutput += kleur.green("\u2705 Image (Gif)\t\t -> ") + kleur.white(fileNameToCheck + ".gif\n"); + testingOutput += + kleur.green("\u2705 Image (Gif)\t\t -> ") + + kleur.white(fileNameToCheck + ".gif\n"); } else { - testingOutput += kleur.red("\u274C Image/Gif\t\t -> ") + kleur.white(fileNameToCheck + " .png or .gif file\n"); + testingOutput += + kleur.red("\u274C Image/Gif\t\t -> ") + + kleur.white(fileNameToCheck + " .png or .gif file\n"); testingSuccess = false; } // Check code files Object.keys(requiredCodeFiles).forEach(function (extension) { if (exampleFiles.includes(fileNameToCheck + extension)) { - testingOutput += kleur.green("\u2705 " + requiredCodeFiles[extension] + "\t -> ") + kleur.white(fileNameToCheck + extension + "\n"); + testingOutput += + kleur.green( + "\u2705 " + requiredCodeFiles[extension] + "\t -> ", + ) + kleur.white(fileNameToCheck + extension + "\n"); } else { - testingOutput += kleur.red("\u274C " + requiredCodeFiles[extension] + "\t -> ") + kleur.white(fileNameToCheck + extension + "\n"); + testingOutput += + kleur.red( + "\u274C " + requiredCodeFiles[extension] + "\t -> ", + ) + kleur.white(fileNameToCheck + extension + "\n"); testingSuccess = false; } }); if (!testingSuccess) { - testingOutput += "\nSome files missing or incorrectly named (shown in red above).\nPlease update to make sure you have all files listed above and try again.\n" + testingOutput += + "\nSome files missing or incorrectly named (shown in red above).\nPlease update to make sure you have all files listed above and try again.\n"; } - testingOutput += "\n------------------------------------------------\n"; + testingOutput += + "\n------------------------------------------------\n"; } // ----------------------------------- // Description - let txtFilePath = categoryFilePath + "/" + functionKey + "/" + exampleTxtKey; + let txtFilePath = + categoryFilePath + "/" + functionKey + "/" + exampleTxtKey; let exampleTxt = fs.readFileSync(txtFilePath); mdxContent += "\n"; mdxContent += exampleTxt.toString(); @@ -377,18 +409,35 @@ categories.forEach((categoryKey) => { let importTitle = exampleKey.replaceAll("-", "_"); let functionTag = ""; languageOrder.forEach((lang) => { - const languageFiles = codeFiles.filter(file => file.startsWith(exampleKey)).filter(file => file.endsWith(languageFileExtensions[lang])); - let codeFilePath = categoryPath + "/" + functionKey + "/" + exampleTxtKey.replaceAll(".txt", languageFileExtensions[lang]); + const languageFiles = codeFiles + .filter((file) => file.startsWith(exampleKey)) + .filter((file) => file.endsWith(languageFileExtensions[lang])); + let codeFilePath = + categoryPath + + "/" + + functionKey + + "/" + + exampleTxtKey.replaceAll(".txt", languageFileExtensions[lang]); // import code if available if (languageFiles.length > 0) { languageCodeAvailable[lang] = true; // Check if both top level and oop code has been found for current function - const csharpFiles = codeFiles.filter(file => file.endsWith("-top-level.cs") || file.endsWith("-oop.cs")).filter(file => file.includes(exampleKey)); - const cppFiles = codeFiles.filter(file => file.endsWith("-sk.cpp") || file.endsWith("-beyond.cpp")).filter(file => file.includes(exampleKey)); + const csharpFiles = codeFiles + .filter( + (file) => + file.endsWith("-top-level.cs") || file.endsWith("-oop.cs"), + ) + .filter((file) => file.includes(exampleKey)); + const cppFiles = codeFiles + .filter( + (file) => + file.endsWith("-sk.cpp") || file.endsWith("-beyond.cpp"), + ) + .filter((file) => file.includes(exampleKey)); if (lang == "csharp" && csharpFiles.length > 0) { - csharpFiles.forEach(file => { + csharpFiles.forEach((file) => { if (file.includes(exampleKey)) { if (file.includes("-top-level")) { mdxContent += `import ${importTitle}_top_level_${lang} from '${codeFilePath.replaceAll(".cs", "-top-level.cs").replaceAll("/usage", "/public/usage")}?raw';\n`; @@ -400,18 +449,17 @@ categories.forEach((categoryKey) => { }); } // Check for cpp files for standard SK and Beyond SK else if (lang == "cpp" && cppFiles.length > 0) { - cppFiles.forEach(file => { - if (file.includes(exampleKey)){ - if (file.includes("-sk")){ + cppFiles.forEach((file) => { + if (file.includes(exampleKey)) { + if (file.includes("-sk")) { mdxContent += `import ${importTitle}_sk_${lang} from '${codeFilePath.replaceAll(".cpp", "-sk.cpp").replaceAll("/usage", "/public/usage")}?raw';\n`; } - if (file.includes("-beyond")){ + if (file.includes("-beyond")) { mdxContent += `import ${importTitle}_beyond_${lang} from '${codeFilePath.replaceAll(".cpp", "-beyond.cpp").replaceAll("/usage", "/public/usage")}?raw';\n`; } } - }); - } - else { + }); + } else { mdxContent += `import ${importTitle}_${lang} from '${codeFilePath.replaceAll("/usage", "/public/usage")}?raw';\n`; } } @@ -420,7 +468,7 @@ categories.forEach((categoryKey) => { mdxContent += "\n"; // Code tabs - mdxContent += "\n"; + mdxContent += '\n'; languageOrder.forEach((lang) => { // add code tab if available if (languageCodeAvailable[lang]) { @@ -428,60 +476,77 @@ categories.forEach((categoryKey) => { mdxContent += ` \n`; // Check if both top level and oop code has been found for current function - const csharpFiles = codeFiles.filter(file => file.endsWith("-top-level.cs") || file.endsWith("-oop.cs")).filter(file => file.includes(exampleKey)); - const cppFiles = codeFiles.filter(file => file.endsWith("-sk.cpp") || file.endsWith("-beyond.cpp")).filter(file => file.includes(exampleKey)); + const csharpFiles = codeFiles + .filter( + (file) => + file.endsWith("-top-level.cs") || file.endsWith("-oop.cs"), + ) + .filter((file) => file.includes(exampleKey)); + const cppFiles = codeFiles + .filter( + (file) => + file.endsWith("-sk.cpp") || file.endsWith("-beyond.cpp"), + ) + .filter((file) => file.includes(exampleKey)); functionTag = exampleKey.split("-")[0]; if (lang == "cpp") { - functionTag = groupName.split("_") + functionTag = groupName + .split("_") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(""); } if (lang == "csharp") { - functionTag = groupName.split("_") + functionTag = groupName + .split("_") .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) .join(""); } if (lang == "csharp" && csharpFiles.length > 0) { - mdxContent += "\n \n"; + mdxContent += '\n \n'; // use reverse order to make Top level first - csharpFiles.slice().reverse().forEach(file => { - if (file.includes(exampleKey)) { - if (file.includes("-top-level")) { - mdxContent += ` \n`; - mdxContent += ` \n`; - mdxContent += " \n"; - } - if (file.includes("-oop")) { - mdxContent += ` \n`; - mdxContent += ` \n`; - mdxContent += " \n"; + csharpFiles + .slice() + .reverse() + .forEach((file) => { + if (file.includes(exampleKey)) { + if (file.includes("-top-level")) { + mdxContent += ` \n`; + mdxContent += ` \n`; + mdxContent += " \n"; + } + if (file.includes("-oop")) { + mdxContent += ` \n`; + mdxContent += ` \n`; + mdxContent += " \n"; + } } - } - }); + }); mdxContent += " \n\n"; mdxContent += " \n"; } // Check for cpp files and generate nested tabs else if (lang == "cpp" && cppFiles.length > 0) { - mdxContent += "\n \n"; - cppFiles.slice().reverse().forEach(file => { - if (file.includes(exampleKey)) { - if (file.includes("-sk")) { - mdxContent += ` \n`; - mdxContent += ` \n`; - mdxContent += " \n"; + mdxContent += '\n \n'; + cppFiles + .slice() + .reverse() + .forEach((file) => { + if (file.includes(exampleKey)) { + if (file.includes("-sk")) { + mdxContent += ` \n`; + mdxContent += ` \n`; + mdxContent += " \n"; + } + if (file.includes("-beyond")) { + mdxContent += ` \n`; + mdxContent += ` See the [Graphics](https://splashkit.io/beyond-splashkit/graphics/0-getting-started-with-graphics/#getting-started-without-splashkit) or [Audio](https://splashkit.io/beyond-splashkit/audio/0-sound-effects/#getting-started-without-splashkit) Beyond SplashKit guides for help compiling without SplashKit.\n`; + mdxContent += ` \n`; + mdxContent += " \n"; + } } - if (file.includes("-beyond")) { - mdxContent += ` \n`; - mdxContent += ` See the [Graphics](https://splashkit.io/beyond-splashkit/graphics/0-getting-started-with-graphics/#getting-started-without-splashkit) or [Audio](https://splashkit.io/beyond-splashkit/audio/0-sound-effects/#getting-started-without-splashkit) Beyond SplashKit guides for help compiling without SplashKit.\n`; - mdxContent += ` \n`; - mdxContent += " \n"; - } - } - }); + }); mdxContent += " \n\n"; mdxContent += " \n"; - } - else { + } else { mdxContent += ` \n`; mdxContent += " \n"; } @@ -493,31 +558,41 @@ categories.forEach((categoryKey) => { // Image or gif output mdxContent += "**Output**:\n\n"; - const imageFiles = categoryFiles.filter(file => file.endsWith(exampleKey + '.png')); - let outputFilePath = categoryPath + "/" + functionKey + "/" + exampleTxtKey; + const imageFiles = categoryFiles.filter((file) => + file.endsWith(exampleKey + ".png"), + ); + let outputFilePath = + categoryPath + "/" + functionKey + "/" + exampleTxtKey; // Check for .png files if (imageFiles.length > 0) { outputFilePath = outputFilePath.replaceAll(".txt", ".png"); - mdxContent += `![${exampleKey} example](${outputFilePath})\n` - } - else { - const gifFiles = categoryFiles.filter(file => file.endsWith('.gif')).filter(file => file.startsWith(exampleKey)); + mdxContent += `![${exampleKey} example](${outputFilePath})\n`; + } else { + const gifFiles = categoryFiles + .filter((file) => file.endsWith(".gif")) + .filter((file) => file.startsWith(exampleKey)); // Check for .gif files if (gifFiles.length > 0) { outputFilePath = outputFilePath.replaceAll(".txt", ".gif"); - mdxContent += `![${exampleKey} example](${outputFilePath})\n` - } - else { - const webmFiles = categoryFiles.filter(file => file.endsWith('.webm')); + mdxContent += `![${exampleKey} example](${outputFilePath})\n`; + } else { + const webmFiles = categoryFiles.filter((file) => + file.endsWith(".webm"), + ); // Check for .webm files if (webmFiles.length > 0) { outputFilePath = outputFilePath.replaceAll(".txt", ".webm"); - mdxContent += `\n` - } - else { - console.log(kleur.red("\nError: No image, gif or webm (audio) files found for " + exampleKey + "usage example")); + mdxContent += `\n`; + } else { + console.log( + kleur.red( + "\nError: No image, gif or webm (audio) files found for " + + exampleKey + + "usage example", + ), + ); } } } @@ -529,13 +604,24 @@ categories.forEach((categoryKey) => { // Write the MDX file try { - fs.writeFileSync(`./src/content/docs/usage-examples/${name}.mdx`, mdxContent); - console.log(kleur.yellow('Usage Examples') + kleur.green(` -> ${categoryKey.split("_") - .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) - .join(" ")}`)); + fs.writeFileSync( + `./src/content/docs/usage-examples/${name}.mdx`, + mdxContent, + ); + console.log( + kleur.yellow("Usage Examples") + + kleur.green( + ` -> ${categoryKey + .split("_") + .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) + .join(" ")}`, + ), + ); } catch (err) { success = false; - console.log(kleur.red(`Error writing ${categoryKey} MDX file: `) + `${err.message}`); + console.log( + kleur.red(`Error writing ${categoryKey} MDX file: `) + `${err.message}`, + ); return; } } @@ -543,7 +629,9 @@ categories.forEach((categoryKey) => { // Check if all MDX files generated successfully if (success) { - console.log(kleur.green("\nAll Usage Example MDX files generated successfully.")); + console.log( + kleur.green("\nAll Usage Example MDX files generated successfully."), + ); } // Output information when checking filename if (testing) { diff --git a/src/assets/app.js b/src/assets/app.js index 5f8e87d44..b7eb10a84 100644 --- a/src/assets/app.js +++ b/src/assets/app.js @@ -4,5 +4,5 @@ // console.log("hihihi"); // }); export function abc() { - console.log("hihihi"); -} \ No newline at end of file + console.log("hihihi"); +} diff --git a/src/content/config.ts b/src/content/config.ts index 73391f9d3..2daf11616 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -1,13 +1,13 @@ -import { defineCollection } from 'astro:content'; -import { docsLoader } from '@astrojs/starlight/loaders'; -import { docsSchema } from '@astrojs/starlight/schema'; -import { blogSchema } from 'starlight-blog/schema' +import { defineCollection } from "astro:content"; +import { docsLoader } from "@astrojs/starlight/loaders"; +import { docsSchema } from "@astrojs/starlight/schema"; +import { blogSchema } from "starlight-blog/schema"; export const collections = { - docs: defineCollection({ - loader: docsLoader(), - schema: docsSchema({ - extend: (context) => blogSchema(context) - }) + docs: defineCollection({ + loader: docsLoader(), + schema: docsSchema({ + extend: (context) => blogSchema(context), }), + }), }; diff --git a/src/content/docs/api/index.mdx b/src/content/docs/api/index.mdx index f987ee17e..f49fcf9c6 100644 --- a/src/content/docs/api/index.mdx +++ b/src/content/docs/api/index.mdx @@ -4,7 +4,6 @@ sidebar: hidden: true --- - :::tip[SplashKit SDK] SplashKit provides a versatile set of categories, encompassing graphics, audio, input, and more, offering developers a comprehensive toolkit for game and multimedia development. @@ -14,5 +13,4 @@ SplashKit provides a versatile set of categories, encompassing graphics, audio, import { LinkCard } from "@astrojs/starlight/components"; import ApiList from "../../../components/Api.astro"; - - + diff --git a/src/content/docs/guides/Camera/1-dynamic-camera-control.mdx b/src/content/docs/guides/Camera/1-dynamic-camera-control.mdx index dbd42a3b4..8d74a0160 100644 --- a/src/content/docs/guides/Camera/1-dynamic-camera-control.mdx +++ b/src/content/docs/guides/Camera/1-dynamic-camera-control.mdx @@ -121,73 +121,73 @@ int main() - ```csharp - using SplashKitSDK; - using static SplashKitSDK.SplashKit; +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; - // Zoom scale factor - const int zoomScale = 5; +// Zoom scale factor +const int zoomScale = 5; - // Initial camera position at (0,0) - Point2D cameraPosition = new Point2D { X = 0, Y = 0 }; - int boxSize = 100; - bool zoomedIn = false; +// Initial camera position at (0,0) +Point2D cameraPosition = new Point2D { X = 0, Y = 0 }; +int boxSize = 100; +bool zoomedIn = false; - // Open window with specified dimensions - OpenWindow("Camera Zooming Example", 500, 550); +// Open window with specified dimensions +OpenWindow("Camera Zooming Example", 500, 550); - // Load bitmap for the grid of colors - LoadBitmap("color-grid", "color-grid.png"); +// Load bitmap for the grid of colors +LoadBitmap("color-grid", "color-grid.png"); - while (!WindowCloseRequested("Camera Zooming Example")) +while (!WindowCloseRequested("Camera Zooming Example")) +{ + ProcessEvents(); + // Zoom In + if (MouseClicked(MouseButton.LeftButton) && !zoomedIn) { - ProcessEvents(); - // Zoom In - if (MouseClicked(MouseButton.LeftButton) && !zoomedIn) - { - int clickedBoxX = (int)MouseX() / boxSize; - int clickedBoxY = (int)MouseY() / boxSize; + int clickedBoxX = (int)MouseX() / boxSize; + int clickedBoxY = (int)MouseY() / boxSize; - - // Update the camera position to center on the clicked box - cameraPosition.X = (clickedBoxX * boxSize - boxSize * 2) * zoomScale; - cameraPosition.Y = (clickedBoxY * boxSize - boxSize * 2) * zoomScale; - SetCameraPosition(cameraPosition); + // Update the camera position to center on the clicked box + cameraPosition.X = (clickedBoxX * boxSize - boxSize * 2) * zoomScale; + cameraPosition.Y = (clickedBoxY * boxSize - boxSize * 2) * zoomScale; - zoomedIn = true; - } + SetCameraPosition(cameraPosition); - // If Escape key is pressed, return to the full grid view - if (KeyTyped(KeyCode.EscapeKey) && zoomedIn) - { - cameraPosition.X = 0; - cameraPosition.Y = 0; - - SetCameraPosition(cameraPosition); + zoomedIn = true; + } - zoomedIn = false; - } + // If Escape key is pressed, return to the full grid view + if (KeyTyped(KeyCode.EscapeKey) && zoomedIn) + { + cameraPosition.X = 0; + cameraPosition.Y = 0; - // Draw a 5x5 grid of different colored boxes - ClearScreen(); - if (!zoomedIn) - { - DrawBitmap("color-grid", 0, 0, OptionDefaults()); - } - else - { - DrawBitmap("color-grid", 0, 0, OptionScaleBmp(zoomScale, zoomScale)); - } - FillRectangle(ColorLightGray(), 0, 500, ScreenWidth(), 50, OptionToScreen()); - DrawText("Click a box to zoom in. Press ESC to return to grid", ColorBlack(), 10, ScreenHeight() - 30, OptionToScreen()); - RefreshScreen(); + SetCameraPosition(cameraPosition); + zoomedIn = false; } - // Close the window when finished - CloseAllWindows(); + // Draw a 5x5 grid of different colored boxes + ClearScreen(); + if (!zoomedIn) + { + DrawBitmap("color-grid", 0, 0, OptionDefaults()); + } + else + { + DrawBitmap("color-grid", 0, 0, OptionScaleBmp(zoomScale, zoomScale)); + } + FillRectangle(ColorLightGray(), 0, 500, ScreenWidth(), 50, OptionToScreen()); + DrawText("Click a box to zoom in. Press ESC to return to grid", ColorBlack(), 10, ScreenHeight() - 30, OptionToScreen()); + RefreshScreen(); + +} + +// Close the window when finished +CloseAllWindows(); ``` @@ -270,6 +270,7 @@ namespace DynamicCamera } } ``` + @@ -400,7 +401,6 @@ OpenWindow("Camera Zooming Example", 500, 550); LoadBitmap("color-grid", "color-grid.png"); ``` - @@ -422,6 +422,7 @@ SplashKit.OpenWindow("Camera Zooming Example", 500, 550); SplashKit.LoadBitmap("color-grid", "color-grid.png"); ``` + @@ -445,6 +446,7 @@ open_window("Camera Zooming Example", 500, 550) load_bitmap("color_grid", "color-grid.png") color_grid = bitmap_named("color_grid") ``` + @@ -505,6 +507,7 @@ while (!WindowCloseRequested("Camera Zooming Example")) } ``` + @@ -528,6 +531,7 @@ while (!SplashKit.WindowCloseRequested("Camera Zooming Example")) } } ``` + @@ -550,8 +554,9 @@ while not window_close_requested_named("Camera Zooming Example"): set_camera_position(camera_pos) zoomed_in = True - + ``` + @@ -593,6 +598,7 @@ if (KeyTyped(KeyCode.EscapeKey) && zoomedIn) } ``` + @@ -606,6 +612,7 @@ if (SplashKit.KeyTyped(KeyCode.EscapeKey) && zoomedIn) zoomedIn = false; } ``` + @@ -621,6 +628,7 @@ if key_typed(KeyCode.escape_key) and zoomed_in: set_camera_position(camera_pos) zoomed_in = False ``` + @@ -629,6 +637,7 @@ Here, the [Key Typed](https://splashkit.io/api/input/#key-typed) function is use #### Drawing the Bitmap and Refreshing the Screen In this final part, we draw the bitmap and refresh the screen. If zooming is active, the bitmap is scaled according to the ZOOM_SCALE. + @@ -671,6 +680,7 @@ DrawText("Click a box to zoom in. Press ESC to return to grid", ColorBlack(), 10 RefreshScreen(); ``` + @@ -689,6 +699,7 @@ SplashKit.FillRectangle(Color.LightGray, 0, 500, SplashKit.ScreenWidth(), 50, Sp SplashKit.DrawText("Click a box to zoom in. Press ESC to return to grid", Color.Black, 10, SplashKit.ScreenHeight() - 30, SplashKit.OptionToScreen()); SplashKit.RefreshScreen(); ``` + @@ -709,6 +720,7 @@ if not zoomed_in: color_black(), 10, screen_height() - 30, option_to_screen()) refresh_screen() ``` + @@ -743,7 +755,7 @@ int main() // Set the initial camera position to center the bitmap set_camera_position( - point_at(bitmap_width(grid) / 2 - screen_center().x, + point_at(bitmap_width(grid) / 2 - screen_center().x, bitmap_height(grid) / 2 - screen_center().y) ); @@ -806,33 +818,33 @@ int main() ```csharp using SplashKitSDK; using static SplashKitSDK.SplashKit; - + // Speed of camera movement const int SPEED = 4; - + // Open a window OpenWindow("Camera Movement Example", 800, 600); - + // Load a 5x5 colored grid bitmap Bitmap grid = LoadBitmap("grid", "color-grid-5000.png"); - + // Set the initial camera position to center the bitmap SetCameraPosition(PointAt(BitmapWidth(grid) / 2 - ScreenCenter().X, BitmapHeight(grid) / 2 - ScreenCenter().Y)); - + // Target position where the camera will move towards Point2D target = PointAt(BitmapWidth(grid) / 2, BitmapHeight(grid) / 2); - + // Main game loop while (!WindowCloseRequested("Camera Movement Example")) { ProcessEvents(); - + // Set target Camera position to be centered on Mouse Position if (MouseClicked(MouseButton.LeftButton)) { target = ToWorld(MousePosition()); } - + // Move camera to center target position on screen if (CameraX() < target.X - ScreenWidth() / 2) { @@ -850,7 +862,7 @@ while (!WindowCloseRequested("Camera Movement Example")) { MoveCameraBy(0, -SPEED); } - + // Allow scroll movement if (MouseWheelScroll().X < 0 || MouseWheelScroll().X > 0 || MouseWheelScroll().Y < 0 || MouseWheelScroll().Y > 0) { @@ -858,13 +870,13 @@ while (!WindowCloseRequested("Camera Movement Example")) MoveCameraBy(0, SPEED * -MouseWheelScroll().Y); target = ScreenCenter(); } - + // Draw Bitmap ClearScreen(ColorBlack()); DrawBitmap(grid, 0, 0); RefreshScreen(60); } - + CloseAllWindows(); ``` @@ -943,6 +955,7 @@ namespace DynamicCamera } } ``` +
@@ -1001,6 +1014,7 @@ while not window_close_requested_named("Camera Movement Example"): close_all_windows() ``` +
@@ -1031,7 +1045,7 @@ int main() // Set the initial camera position to center the bitmap set_camera_position( - point_at(bitmap_width(grid) / 2 - screen_center().x, + point_at(bitmap_width(grid) / 2 - screen_center().x, bitmap_height(grid) / 2 - screen_center().y) ); } @@ -1046,19 +1060,19 @@ int main() ```csharp using SplashKitSDK; using static SplashKitSDK.SplashKit; - + // Speed of camera movement const int SPEED = 4; - + // Open a window OpenWindow("Camera Movement Example", 800, 600); - + // Load a 5x5 colored grid bitmap Bitmap grid = LoadBitmap("grid", "color-grid-5000.png"); - + // Set the initial camera position to center the bitmap SetCameraPosition(PointAt(BitmapWidth(grid) / 2 - ScreenCenter().X, BitmapHeight(grid) / 2 - ScreenCenter().Y)); - + ``` @@ -1080,6 +1094,7 @@ Bitmap grid = SplashKit.LoadBitmap("grid", "color-grid-5000.png"); // Set the initial camera position to center the bitmap SplashKit.SetCameraPosition(SplashKit.PointAt(SplashKit.BitmapWidth(grid) / 2 - SplashKit.ScreenCenter().X, SplashKit.BitmapHeight(grid) / 2 - SplashKit.ScreenCenter().Y)); ``` + @@ -1105,6 +1120,7 @@ set_camera_position( ) ``` + @@ -1141,6 +1157,7 @@ Point2D target = PointAt(BitmapWidth(grid) / 2, BitmapHeight(grid) / 2); // Target position where the camera will move towards Point2D target = SplashKit.PointAt(SplashKit.BitmapWidth(grid) / 2, SplashKit.BitmapHeight(grid) / 2); ``` + @@ -1151,6 +1168,7 @@ Point2D target = SplashKit.PointAt(SplashKit.BitmapWidth(grid) / 2, SplashKit.Bi target = point_at(bitmap_width(grid) / 2, bitmap_height(grid) / 2) ``` + @@ -1187,7 +1205,7 @@ while (!window_close_requested("Camera Movement Example")) while (!WindowCloseRequested("Camera Movement Example")) { ProcessEvents(); - + // Set target Camera position to be centered on Mouse Position if (MouseClicked(MouseButton.LeftButton)) { @@ -1212,6 +1230,7 @@ while (!SplashKit.WindowCloseRequested("Camera Movement Example")) } } ``` + @@ -1227,6 +1246,7 @@ while not window_close_requested_named("Camera Movement Example"): target = to_world(mouse_position()) ``` + @@ -1283,7 +1303,7 @@ if (CameraY() + ScreenHeight() > target.Y + ScreenHeight() / 2) { MoveCameraBy(0, -SPEED); } - + ``` @@ -1309,6 +1329,7 @@ if (SplashKit.CameraY() + SplashKit.ScreenHeight() > target.Y + SplashKit.Screen SplashKit.MoveCameraBy(0, -SPEED); } ``` + @@ -1326,6 +1347,7 @@ if camera_y() + screen_height() > target.y + screen_height() / 2: move_camera_by(0, -SPEED) ``` + @@ -1362,7 +1384,7 @@ if (MouseWheelScroll().X < 0 || MouseWheelScroll().X > 0 || MouseWheelScroll().Y MoveCameraBy(0, SPEED * -MouseWheelScroll().Y); target = ScreenCenter(); } - + ``` @@ -1377,6 +1399,7 @@ if (SplashKit.MouseWheelScroll().X < 0 || SplashKit.MouseWheelScroll().X > 0 || target = SplashKit.ScreenCenter(); } ``` + @@ -1390,6 +1413,7 @@ if (mouse_wheel_scroll().x != 0 or mouse_wheel_scroll().y != 0): target = screen_center() ``` + diff --git a/src/content/docs/guides/Graphics/2-shape-modelling.mdx b/src/content/docs/guides/Graphics/2-shape-modelling.mdx index 1cf681018..9aaf6fd81 100644 --- a/src/content/docs/guides/Graphics/2-shape-modelling.mdx +++ b/src/content/docs/guides/Graphics/2-shape-modelling.mdx @@ -16,13 +16,14 @@ _Last updated: {frontmatter.lastupdated}_ In this guide, you’ll learn how to create and manage graphics in SplashKit, including shape creation, movement, resizing, and connecting shapes with lines. - ## Graphics creation and Management -In this section, we'll detail how to implement the shape creation and management functionality using design patterns and code examples. +In this section, we'll detail how to implement the shape creation and management functionality using design patterns and code examples. ### Model Design + We start by defining a ShapeModel structure to represent various basic shapes. This model holds attributes like position, size, color, and shape type. + @@ -36,6 +37,7 @@ struct ShapeModel string type; // Shape type (Rectangle, Circle, Triangle, etc.) }; ``` + @@ -52,6 +54,7 @@ public struct ShapeModel public string type; // Shape type (Rectangle, Circle, Triangle, etc.) } ``` + @@ -65,6 +68,7 @@ public struct ShapeModel public string type; // Shape type (Rectangle, Circle, Triangle, etc.) } ``` + @@ -83,12 +87,15 @@ class ShapeModel: self.type = "" # Shape type (Rectangle, Circle, Triangle, etc.) ``` + The `ShapeModel` can represent various shapes like rectangles, triangles, etc. The `type` field is used to distinguish between different shapes, allowing the correct drawing function to be called during rendering. ### Shape Creation + The code simulates the user selecting a graphic and placing it on the canvas. When the user clicks on the canvas, the code creates a new graphic at the mouse position based on the preset shape type + @@ -105,6 +112,7 @@ if (mouse_clicked(LEFT_BUTTON)) shapes.push_back(new_shape); // Add the new shape to the shapes container } ``` + @@ -125,6 +133,7 @@ if (MouseClicked(MouseButton.LeftButton)) shapes.Add(newShape); // Add the new shape to the shapes container } ``` + @@ -142,6 +151,7 @@ if (SplashKit.MouseClicked(MouseButton.LeftButton)) shapes.Add(newShape); // Add the new shape to the shapes container } ``` + @@ -159,11 +169,14 @@ if mouse_clicked(left_button): new_shape.type = "Rectangle" # Set default type to Rectangle shapes.append(new_shape) # Add the new shape to the shapes container ``` + ### Shape Management and Rendering + We can manage rendering by iterating through the shape collection and calling the appropriate drawing function based on the shape’s type. + @@ -177,6 +190,7 @@ for (int i = 0; i < shapes.size(); i++) refresh_screen(60); ``` + @@ -193,6 +207,7 @@ for (int i = 0; i < shapes.Count; i++) RefreshScreen(60); ``` + @@ -206,6 +221,7 @@ for (int i = 0; i < shapes.Count; i++) SplashKit.RefreshScreen(60); ``` + @@ -221,10 +237,12 @@ for i in range(len(shapes)): refresh_screen(60) ``` + -### Code example +### Code example + @@ -275,6 +293,7 @@ int main() return 0; } ``` + @@ -328,6 +347,7 @@ CloseAllWindows(); ``` + @@ -383,6 +403,7 @@ namespace ShapeModelling } ``` + @@ -429,15 +450,17 @@ while not window_close_requested_named("Drawing Test"): close_all_windows() ``` + +## Graphical operations -## Graphical operations In this section, we’ll discuss how to handle the selection and movement of shapes. The code is designed to allow users to select shapes, move them around the canvas, and resize them. This approach makes the code more modular, easier to maintain, and extend. ### Detect Shape Selection - First, we need to determine which shape the user has clicked on. This is achieved by checking if the mouse click position falls within the bounds of any existing shape. The `get_shape_at()` function is used to detect whether the mouse click is within a shape, allowing the program to identify which shape, if any, the user has selected. + +First, we need to determine which shape the user has clicked on. This is achieved by checking if the mouse click position falls within the bounds of any existing shape. The `get_shape_at()` function is used to detect whether the mouse click is within a shape, allowing the program to identify which shape, if any, the user has selected. @@ -452,9 +475,10 @@ ShapeModel* get_shape_at(vector& shapes, double x, double y) return &shapes[i]; } } - return nullptr; + return nullptr; } ``` + @@ -474,6 +498,7 @@ ShapeModel? GetShapeAt(List shapes, double x, double y) return null; } ``` + @@ -490,6 +515,7 @@ public static ShapeModel? GetShapeAt(List shapes, double x, double y return null; } ``` + @@ -503,12 +529,13 @@ def get_shape_at(shapes, x, y): return shapes[i] return None ``` + - ### Dragging Shapes - Once a shape is selected, the user can drag it by moving the mouse. This is done by updating the shape's x and y coordinates to follow the mouse's movement. The `is_moving` flag is used to distinguish between creating a new shape and moving an existing shape. + +Once a shape is selected, the user can drag it by moving the mouse. This is done by updating the shape's x and y coordinates to follow the mouse's movement. The `is_moving` flag is used to distinguish between creating a new shape and moving an existing shape. @@ -520,6 +547,7 @@ if (is_moving && selected_shape != nullptr) selected_shape->y = mouse_y() - selected_shape->height / 2; } ``` + @@ -537,6 +565,7 @@ if (isMoving && selectedShape != null) selectedShape = s; } ``` + @@ -547,6 +576,7 @@ if (isMoving && selectedShape != null) selectedShape.y = SplashKit.MouseY() - selectedShape.height / 2; } ``` + @@ -558,6 +588,7 @@ if is_moving and selected_shape is not None: selected_shape.x = mouse_x() - selected_shape.width / 2 selected_shape.y = mouse_y() - selected_shape.height / 2 ``` + @@ -575,6 +606,7 @@ if (is_resizing && selected_shape != nullptr) } ``` + @@ -592,6 +624,7 @@ if (isResizing && selectedShape != null) selectedShape = s; } ``` + @@ -602,6 +635,7 @@ if (isResizing && selectedShape != null) selectedShape.height = SplashKit.MouseY() - selectedShape.y; } ``` + @@ -613,13 +647,16 @@ if is_resizing and selected_shape is not None: selected_shape.width = mouse_x() - selected_shape.x selected_shape.height = mouse_y() - selected_shape.y ``` + ### Final Shape Position - When the user releases the mouse button, the dragging or resizing operation stops, and the shape's final position or size is confirmed. -### Code example +When the user releases the mouse button, the dragging or resizing operation stops, and the shape's final position or size is confirmed. + +### Code example + @@ -725,6 +762,7 @@ int main() return 0; } ``` + @@ -840,6 +878,7 @@ public struct ShapeModel } ``` + @@ -952,6 +991,7 @@ namespace ShapeModelling } ``` + @@ -1032,23 +1072,28 @@ while not window_close_requested_named("Drawing Test"): close_all_windows() ``` + -## Wiring function +## Wiring function In this section, we’ll add connection lines so users can visually link two shapes. Here’s how to implement it. In this feature, we use the `state mode` to handle the connections between shapes. State mode allows us to perform different operations in different states, such as connection mode and normal mode. Encapsulating the connection state in a class or function makes the process clearer and allows easy switching between modes. ### Define the Shape Model + We first define a basic shape structure `ShapeModel`, which contains properties such as `x`, `y` coordinates, `width`, `height`, color, and type. ### Mouse Interaction with Shapes + We use the `get_shape_at` function to detect whether the mouse is over a shape. It loops through the list of shapes and checks if the mouse coordinates fall within any shape's boundaries. ### Activate Connection Mode + To start connecting shapes, we press the **C key**. This switches the program into connection mode, allowing the user to choose two shapes to connect with a line. + @@ -1059,6 +1104,7 @@ if (key_down(C_KEY) && !is_connecting) connection_start = nullptr; } ``` + @@ -1072,6 +1118,7 @@ if (KeyDown(KeyCode.CKey) && !isConnecting) connectionStart = null; } ``` + @@ -1082,6 +1129,7 @@ if (SplashKit.KeyDown(KeyCode.CKey) && !isConnecting) connectionStart = null; } ``` + @@ -1093,10 +1141,12 @@ if key_down(KeyCode.c_key) and not is_connecting: is_connecting = True connection_start = None ``` + ### Set Start and End Points for Connection + While in connection mode, when the user clicks on a shape, it records the starting point (`connection_start`). The next click sets the end point (`connection_end`). Once both are selected, a connection is stored. @@ -1124,6 +1174,7 @@ if (is_connecting) } } ``` + @@ -1153,6 +1204,7 @@ if (isConnecting) } } ``` + @@ -1179,6 +1231,7 @@ if (isConnecting) } } ``` + @@ -1198,11 +1251,14 @@ if is_connecting: is_connecting = False connection_start = None ``` + ### Draw Lines between Shapes + Using the `draw_line` function, we draw lines between the center points of the two selected shapes. This line is visually updated in real time during the connection process. + @@ -1213,6 +1269,7 @@ for (int i = 0; i < connections.size(); i++) } ``` + @@ -1225,6 +1282,7 @@ for (int i = 0; i < connections.Count; i++) DrawLine(ColorRed(), connections[i].start.x + connections[i].start.width / 2, connections[i].start.y + connections[i].start.height / 2, connections[i].end.x + connections[i].end.width / 2, connections[i].end.y + connections[i].end.height / 2); } ``` + @@ -1234,6 +1292,7 @@ for (int i = 0; i < connections.Count; i++) SplashKit.DrawLine(Color.Red, connections[i].start.x + connections[i].start.width / 2, connections[i].start.y + connections[i].start.height / 2, connections[i].end.x + connections[i].end.width / 2, connections[i].end.y + connections[i].end.height / 2); } ``` + @@ -1245,15 +1304,18 @@ for i in range(len(connections)): draw_line(color_red(), connections[i].start.x + connections[i].start.width / 2, connections[i].start.y + connections[i].start.height / 2, connections[i].end.x + connections[i].end.width / 2, connections[i].end.y + connections[i].end.height / 2) ``` + ### Exit Connection Mode + After a connection is drawn, the program exits connection mode and returns to normal interaction. This implementation creates an intuitive and interactive way for users to connect shapes, simulating links between objects. -### Code example +### Code example + @@ -1405,6 +1467,7 @@ int main() return 0; } ``` + @@ -1556,6 +1619,7 @@ public class Connection } ``` + @@ -1712,6 +1776,7 @@ namespace ShapeModelling } ``` + @@ -1821,7 +1886,6 @@ while not window_close_requested_named("Drawing Test"): refresh_screen_with_target_fps(60) ``` + - - diff --git a/src/content/docs/guides/animations/using-animations.mdx b/src/content/docs/guides/animations/using-animations.mdx index 92a67fcce..05198f02e 100644 --- a/src/content/docs/guides/animations/using-animations.mdx +++ b/src/content/docs/guides/animations/using-animations.mdx @@ -127,7 +127,6 @@ i:walk away,12 Once you have a sprite sheet and an animation script the code to get this working is relatively straight forward. What you need to do is: 1. Load the **image** and set its details: - - You can do this with a bundle by specifying the image and its details on one line. - To load the image manually, you need to: 1. Call [Load Bitmap](/api/graphics/#load-bitmap) to load the sprite sheet. @@ -156,76 +155,76 @@ This includes sample animation scripts, images, and sounds. - ```cpp - #include "splashkit.h" - - int main() - { - open_window("Animation Test", 120, 120); - - // // We could load all of the resources in a bundle - // load_resource_bundle("dance bundle", "dance_bundle.txt"); - - // // Then access by name - // animation_script dance_script = animation_script_named("WalkingScript"); - // bitmap frog = bitmap_named("FrogBmp"); - - // Loading them separately - - // Load image and set its cell details - bitmap frog = load_bitmap("FrogBmp", "Frog.png"); - bitmap_set_cell_details(frog, 73, 105, 4, 4, 16); // cell width, height, cols, rows, count - - // Load the animation script - animation_script dance_script = load_animation_script("WalkingScript", "kermit.txt"); - - // Create the animation - animation frogAnimation = create_animation(dance_script, "WalkFront"); - - // Create a drawing option - drawing_options opt = option_with_animation(frogAnimation); - - // Basic event loop - while (!quit_requested()) - { - process_events(); - - // Draw the bitmap - using opt to link to animation - clear_screen(COLOR_WHITE); - draw_bitmap(frog, 20, 20, opt); - draw_text(animation_name(frogAnimation), COLOR_BLACK, 0, 0); - refresh_screen(60); - - // Update the animation - update_animation(frogAnimation); - - // Switch animations - if (key_typed(UP_KEY)) - { - assign_animation(frogAnimation, "WalkBack"); - } - else if (key_typed(DOWN_KEY)) - { - assign_animation(frogAnimation, "WalkFront"); - } - else if (key_typed(LEFT_KEY)) - { - assign_animation(frogAnimation, "WalkLeft"); - } - else if (key_typed(RIGHT_KEY)) - { - assign_animation(frogAnimation, "WalkRight"); - } - else if (key_typed(D_KEY)) - { - assign_animation(frogAnimation, "Dance"); - } - } - - close_all_windows(); - return 0; - } - ``` +```cpp +#include "splashkit.h" + +int main() +{ + open_window("Animation Test", 120, 120); + + // // We could load all of the resources in a bundle + // load_resource_bundle("dance bundle", "dance_bundle.txt"); + + // // Then access by name + // animation_script dance_script = animation_script_named("WalkingScript"); + // bitmap frog = bitmap_named("FrogBmp"); + + // Loading them separately + + // Load image and set its cell details + bitmap frog = load_bitmap("FrogBmp", "Frog.png"); + bitmap_set_cell_details(frog, 73, 105, 4, 4, 16); // cell width, height, cols, rows, count + + // Load the animation script + animation_script dance_script = load_animation_script("WalkingScript", "kermit.txt"); + + // Create the animation + animation frogAnimation = create_animation(dance_script, "WalkFront"); + + // Create a drawing option + drawing_options opt = option_with_animation(frogAnimation); + + // Basic event loop + while (!quit_requested()) + { + process_events(); + + // Draw the bitmap - using opt to link to animation + clear_screen(COLOR_WHITE); + draw_bitmap(frog, 20, 20, opt); + draw_text(animation_name(frogAnimation), COLOR_BLACK, 0, 0); + refresh_screen(60); + + // Update the animation + update_animation(frogAnimation); + + // Switch animations + if (key_typed(UP_KEY)) + { + assign_animation(frogAnimation, "WalkBack"); + } + else if (key_typed(DOWN_KEY)) + { + assign_animation(frogAnimation, "WalkFront"); + } + else if (key_typed(LEFT_KEY)) + { + assign_animation(frogAnimation, "WalkLeft"); + } + else if (key_typed(RIGHT_KEY)) + { + assign_animation(frogAnimation, "WalkRight"); + } + else if (key_typed(D_KEY)) + { + assign_animation(frogAnimation, "Dance"); + } + } + + close_all_windows(); + return 0; +} +``` @@ -233,73 +232,73 @@ This includes sample animation scripts, images, and sounds. - ```csharp - using SplashKitSDK; - using static SplashKitSDK.SplashKit; - - OpenWindow("Animation Test", 120, 120); - - // // We could load all of the resources in a bundle - // LoadResourceBundle("dance bundle", "dance_bundle.txt"); - - // // Then access by name - // AnimationScript danceScript = AnimationScriptNamed("WalkingScript"); - // Bitmap frog = BitmapNamed("FrogBmp"); - - // Loading them separately - - // Load image and set its cell details - Bitmap frog = LoadBitmap("FrogBmp", "Frog.png"); - BitmapSetCellDetails(frog, 73, 105, 4, 4, 16); // cell width, height, cols, rows, count - - // Load the animation script - AnimationScript danceScript = LoadAnimationScript("WalkingScript", "kermit.txt"); - - // Create the animation - Animation frogAnimation = CreateAnimation("WalkingScript", "WalkFront"); - - // Create a drawing option - DrawingOptions opt = OptionWithAnimation(frogAnimation); - - // Basic event loop - while (!WindowCloseRequested("Animation Test")) - { - ProcessEvents(); - - // Draw the bitmap - using opt to link to animation - ClearScreen(ColorWhite()); - DrawBitmap(frog, 20, 20, opt); - DrawText(AnimationName(frogAnimation), ColorBlack(), 0, 0); - RefreshScreen(60); - - // Update the animation - UpdateAnimation(frogAnimation); - - // Switch animations - if (KeyTyped(KeyCode.UpKey)) - { - AssignAnimation(frogAnimation, "WalkBack"); - } - else if (KeyTyped(KeyCode.DownKey)) - { - AssignAnimation(frogAnimation, "WalkFront"); - } - else if (KeyTyped(KeyCode.LeftKey)) - { - AssignAnimation(frogAnimation, "WalkLeft"); - } - else if (KeyTyped(KeyCode.RightKey)) - { - AssignAnimation(frogAnimation, "WalkRight"); - } - else if (KeyTyped(KeyCode.DKey)) - { - AssignAnimation(frogAnimation, "Dance"); - } - } - - CloseAllWindows(); - ``` +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +OpenWindow("Animation Test", 120, 120); + +// // We could load all of the resources in a bundle +// LoadResourceBundle("dance bundle", "dance_bundle.txt"); + +// // Then access by name +// AnimationScript danceScript = AnimationScriptNamed("WalkingScript"); +// Bitmap frog = BitmapNamed("FrogBmp"); + +// Loading them separately + +// Load image and set its cell details +Bitmap frog = LoadBitmap("FrogBmp", "Frog.png"); +BitmapSetCellDetails(frog, 73, 105, 4, 4, 16); // cell width, height, cols, rows, count + +// Load the animation script +AnimationScript danceScript = LoadAnimationScript("WalkingScript", "kermit.txt"); + +// Create the animation +Animation frogAnimation = CreateAnimation("WalkingScript", "WalkFront"); + +// Create a drawing option +DrawingOptions opt = OptionWithAnimation(frogAnimation); + +// Basic event loop +while (!WindowCloseRequested("Animation Test")) +{ + ProcessEvents(); + + // Draw the bitmap - using opt to link to animation + ClearScreen(ColorWhite()); + DrawBitmap(frog, 20, 20, opt); + DrawText(AnimationName(frogAnimation), ColorBlack(), 0, 0); + RefreshScreen(60); + + // Update the animation + UpdateAnimation(frogAnimation); + + // Switch animations + if (KeyTyped(KeyCode.UpKey)) + { + AssignAnimation(frogAnimation, "WalkBack"); + } + else if (KeyTyped(KeyCode.DownKey)) + { + AssignAnimation(frogAnimation, "WalkFront"); + } + else if (KeyTyped(KeyCode.LeftKey)) + { + AssignAnimation(frogAnimation, "WalkLeft"); + } + else if (KeyTyped(KeyCode.RightKey)) + { + AssignAnimation(frogAnimation, "WalkRight"); + } + else if (KeyTyped(KeyCode.DKey)) + { + AssignAnimation(frogAnimation, "Dance"); + } +} + +CloseAllWindows(); +``` @@ -404,95 +403,95 @@ Here is a another example, where the **Left Shift Key** can be **held down** to - ```cpp - #include "splashkit.h" - - int main() - { - open_window("Animation Test", 120, 120); - - // We could load all of the resources in a bundle - load_resource_bundle("dance bundle", "dance_bundle.txt"); - - // Then access by name - animation_script dance_script = animation_script_named("WalkingScript"); - bitmap frog = bitmap_named("FrogBmp"); - - // Create the animation - animation frogAnimation = create_animation(dance_script, "WalkFront"); - - // Create a drawing option - drawing_options opt = option_with_animation(frogAnimation); - - // Basic event loop - while (!quit_requested()) - { - process_events(); - - // Draw the bitmap - using opt to link to animation - clear_screen(COLOR_WHITE); - draw_bitmap(frog, 20, 20, opt); - draw_text(animation_name(frogAnimation), COLOR_BLACK, 0, 0); - refresh_screen(60); - - // Update the animation - update_animation(frogAnimation); - - // Switch animations - if (key_typed(UP_KEY)) - { - if (key_down(LEFT_SHIFT_KEY)) - { - assign_animation(frogAnimation, "MoonWalkBack"); - } - else - { - assign_animation(frogAnimation, "WalkBack"); - } - } - else if (key_typed(DOWN_KEY)) - { - if (key_down(LEFT_SHIFT_KEY)) - { - assign_animation(frogAnimation, "MoonWalkFront"); - } - else - { - assign_animation(frogAnimation, "WalkFront"); - } - } - else if (key_typed(LEFT_KEY)) - { - if (key_down(LEFT_SHIFT_KEY)) - { - assign_animation(frogAnimation, "MoonWalkLeft"); - } - else - { - assign_animation(frogAnimation, "WalkLeft"); - } - } - else if (key_typed(RIGHT_KEY)) - { - if (key_down(LEFT_SHIFT_KEY)) - { - assign_animation(frogAnimation, "MoonWalkRight"); - } - else - { - assign_animation(frogAnimation, "WalkRight"); - } - } - else if (key_typed(D_KEY)) - { - assign_animation(frogAnimation, "Dance"); - } - } - - close_all_windows(); - return 0; - } - ``` +```cpp +#include "splashkit.h" + +int main() +{ + open_window("Animation Test", 120, 120); + + // We could load all of the resources in a bundle + load_resource_bundle("dance bundle", "dance_bundle.txt"); + + // Then access by name + animation_script dance_script = animation_script_named("WalkingScript"); + bitmap frog = bitmap_named("FrogBmp"); + + // Create the animation + animation frogAnimation = create_animation(dance_script, "WalkFront"); + + // Create a drawing option + drawing_options opt = option_with_animation(frogAnimation); + + // Basic event loop + while (!quit_requested()) + { + process_events(); + + // Draw the bitmap - using opt to link to animation + clear_screen(COLOR_WHITE); + draw_bitmap(frog, 20, 20, opt); + draw_text(animation_name(frogAnimation), COLOR_BLACK, 0, 0); + refresh_screen(60); + + // Update the animation + update_animation(frogAnimation); + + // Switch animations + if (key_typed(UP_KEY)) + { + if (key_down(LEFT_SHIFT_KEY)) + { + assign_animation(frogAnimation, "MoonWalkBack"); + } + else + { + assign_animation(frogAnimation, "WalkBack"); + } + } + else if (key_typed(DOWN_KEY)) + { + if (key_down(LEFT_SHIFT_KEY)) + { + assign_animation(frogAnimation, "MoonWalkFront"); + } + else + { + assign_animation(frogAnimation, "WalkFront"); + } + } + else if (key_typed(LEFT_KEY)) + { + if (key_down(LEFT_SHIFT_KEY)) + { + assign_animation(frogAnimation, "MoonWalkLeft"); + } + else + { + assign_animation(frogAnimation, "WalkLeft"); + } + } + else if (key_typed(RIGHT_KEY)) + { + if (key_down(LEFT_SHIFT_KEY)) + { + assign_animation(frogAnimation, "MoonWalkRight"); + } + else + { + assign_animation(frogAnimation, "WalkRight"); + } + } + else if (key_typed(D_KEY)) + { + assign_animation(frogAnimation, "Dance"); + } + } + + close_all_windows(); + return 0; +} +``` @@ -500,92 +499,92 @@ Here is a another example, where the **Left Shift Key** can be **held down** to - ```csharp - using SplashKitSDK; - using static SplashKitSDK.SplashKit; - - OpenWindow("Animation Test", 120, 120); - - // We could load all of the resources in a bundle - LoadResourceBundle("dance bundle", "dance_bundle.txt"); - - // Then access by name - AnimationScript danceScript = AnimationScriptNamed("WalkingScript"); - Bitmap frog = BitmapNamed("FrogBmp"); - - // Create the animation - Animation frogAnimation = CreateAnimation("WalkingScript", "WalkFront"); - - // Create a drawing option - DrawingOptions opt = OptionWithAnimation(frogAnimation); - - // Basic event loop - while (!WindowCloseRequested("Animation Test")) - { - ProcessEvents(); - - // Draw the bitmap - using opt to link to animation - ClearScreen(ColorWhite()); - DrawBitmap(frog, 20, 20, opt); - DrawText(AnimationName(frogAnimation), ColorBlack(), 0, 0); - RefreshScreen(60); - - // Update the animation - UpdateAnimation(frogAnimation); - - // Switch animations - if (KeyTyped(KeyCode.UpKey)) - { - if (KeyDown(KeyCode.LeftShiftKey)) - { - AssignAnimation(frogAnimation, "MoonWalkBack"); - } - else - { - AssignAnimation(frogAnimation, "WalkBack"); - } - } - else if (KeyTyped(KeyCode.DownKey)) - { - if (KeyDown(KeyCode.LeftShiftKey)) - { - AssignAnimation(frogAnimation, "MoonWalkFront"); - } - else - { - AssignAnimation(frogAnimation, "WalkFront"); - } - } - else if (KeyTyped(KeyCode.LeftKey)) - { - if (KeyDown(KeyCode.LeftShiftKey)) - { - AssignAnimation(frogAnimation, "MoonWalkLeft"); - } - else - { - AssignAnimation(frogAnimation, "WalkLeft"); - } - } - else if (KeyTyped(KeyCode.RightKey)) - { - if (KeyDown(KeyCode.LeftShiftKey)) - { - AssignAnimation(frogAnimation, "MoonWalkRight"); - } - else - { - AssignAnimation(frogAnimation, "WalkRight"); - } - } - else if (KeyTyped(KeyCode.DKey)) - { - AssignAnimation(frogAnimation, "Dance"); - } - } - - CloseAllWindows(); - ``` +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +OpenWindow("Animation Test", 120, 120); + +// We could load all of the resources in a bundle +LoadResourceBundle("dance bundle", "dance_bundle.txt"); + +// Then access by name +AnimationScript danceScript = AnimationScriptNamed("WalkingScript"); +Bitmap frog = BitmapNamed("FrogBmp"); + +// Create the animation +Animation frogAnimation = CreateAnimation("WalkingScript", "WalkFront"); + +// Create a drawing option +DrawingOptions opt = OptionWithAnimation(frogAnimation); + +// Basic event loop +while (!WindowCloseRequested("Animation Test")) +{ + ProcessEvents(); + + // Draw the bitmap - using opt to link to animation + ClearScreen(ColorWhite()); + DrawBitmap(frog, 20, 20, opt); + DrawText(AnimationName(frogAnimation), ColorBlack(), 0, 0); + RefreshScreen(60); + + // Update the animation + UpdateAnimation(frogAnimation); + + // Switch animations + if (KeyTyped(KeyCode.UpKey)) + { + if (KeyDown(KeyCode.LeftShiftKey)) + { + AssignAnimation(frogAnimation, "MoonWalkBack"); + } + else + { + AssignAnimation(frogAnimation, "WalkBack"); + } + } + else if (KeyTyped(KeyCode.DownKey)) + { + if (KeyDown(KeyCode.LeftShiftKey)) + { + AssignAnimation(frogAnimation, "MoonWalkFront"); + } + else + { + AssignAnimation(frogAnimation, "WalkFront"); + } + } + else if (KeyTyped(KeyCode.LeftKey)) + { + if (KeyDown(KeyCode.LeftShiftKey)) + { + AssignAnimation(frogAnimation, "MoonWalkLeft"); + } + else + { + AssignAnimation(frogAnimation, "WalkLeft"); + } + } + else if (KeyTyped(KeyCode.RightKey)) + { + if (KeyDown(KeyCode.LeftShiftKey)) + { + AssignAnimation(frogAnimation, "MoonWalkRight"); + } + else + { + AssignAnimation(frogAnimation, "WalkRight"); + } + } + else if (KeyTyped(KeyCode.DKey)) + { + AssignAnimation(frogAnimation, "Dance"); + } +} + +CloseAllWindows(); +``` diff --git a/src/content/docs/guides/audio/getting-started-with-audio.mdx b/src/content/docs/guides/audio/getting-started-with-audio.mdx index 608e32f57..7cf804d4a 100644 --- a/src/content/docs/guides/audio/getting-started-with-audio.mdx +++ b/src/content/docs/guides/audio/getting-started-with-audio.mdx @@ -486,7 +486,7 @@ load_font("arial", "arial.ttf") while not (quit_requested() or key_typed(KeyCode.escape_key or key_typed(KeyCode.q_key))): process_events() - + if key_down(KeyCode.right_ctrl_key) or key_down(KeyCode.left_ctrl_key): if key_typed(KeyCode.num_1_key): snd_effect = sound_effect_named("chipmunk") diff --git a/src/content/docs/guides/beyond-splashkit/cryptography/encoding-and-decoding.mdx b/src/content/docs/guides/beyond-splashkit/cryptography/encoding-and-decoding.mdx index 81fcc0e92..12fe5d84a 100644 --- a/src/content/docs/guides/beyond-splashkit/cryptography/encoding-and-decoding.mdx +++ b/src/content/docs/guides/beyond-splashkit/cryptography/encoding-and-decoding.mdx @@ -8,7 +8,7 @@ sidebar: --- import { Tabs, TabItem } from "@astrojs/starlight/components"; -import { Aside } from '@astrojs/starlight/components'; +import { Aside } from "@astrojs/starlight/components"; **{frontmatter.description}** Written by: {frontmatter.author} @@ -29,7 +29,10 @@ const string BASE64_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxy ``` ### Encoding with Base64 @@ -128,13 +131,13 @@ def base64_encode(input_string): while bits >= 0: encoded_string += BASE64_CHARS[(value >> bits) & base64_mask] bits -= 6 - + if bits > -6: encoded_string += BASE64_CHARS[((value << 8) >> (bits + 8)) & base64_mask] - + while len(encoded_string) % 4: encoded_string += "=" - + return encoded_string ``` @@ -262,14 +265,14 @@ def base64_decode(input_string): if character == "=": break continue - + value = (value << 6) + BASE64_CHARS.index(character) bits += 6 if bits >= 0: decoded_string.append((value >> bits) & 0xFF) bits -= 8 - + return decoded_string.decode() ``` @@ -358,7 +361,12 @@ where: - $n$ is the number of positions to shift (the key). ### Encoding with the Caesar Cipher @@ -439,7 +447,7 @@ Here is an example of how you can use the `caesar_cipher_encode` function to enc ```cpp string message = "Hello, World!"; -int shift = 3; +int shift = 3; string encoded_message = caesar_cipher_encode(message, shift); std::cout << "Original: " << message << std::endl; std::cout << "Encoded: " << encoded_message << std::endl; @@ -534,7 +542,6 @@ std::cout << "Decoded: " << caesar_cipher_decode(encoded_message, shift) << std: - ```csharp string encodedMessage = "Khoor, Zruog!"; int shift = 3; @@ -650,7 +657,7 @@ caesar_cipher_brute_force(encoded_message) The brute-force method should display all possible decrypted messages for each shift value. ```plaintext -Enter the encoded message: +Enter the encoded message: Khoor Zruog! Shift 0=> Khoor Zruog! Shift 1=> Jgnnq Yqtnf! @@ -963,7 +970,12 @@ Decoded: "Hello, World!" URL transformations are used to encode and decode URLs to ensure that they are safe for use in web applications. URLs may contain special characters that need to be encoded to prevent errors and security vulnerabilities. The most common encoding scheme used for URLs is percent-encoding, which replaces special characters with a percent sign followed by two hexadecimal digits. This ensures that the URL is correctly interpreted by web browsers and servers. ### Encoding URLs @@ -1298,4 +1310,4 @@ The decoded URL should match the original URL that was encoded. ```plaintext URL Decode (https%3A%2F%2Fwww.example.com%2Fsearch%3Fq%3Dhello%20world)=> https://www.example.com/search?q=hello world -``` \ No newline at end of file +``` diff --git a/src/content/docs/guides/beyond-splashkit/cryptography/morse-code.mdx b/src/content/docs/guides/beyond-splashkit/cryptography/morse-code.mdx index 4cdb91db9..63a05fbf0 100644 --- a/src/content/docs/guides/beyond-splashkit/cryptography/morse-code.mdx +++ b/src/content/docs/guides/beyond-splashkit/cryptography/morse-code.mdx @@ -32,9 +32,10 @@ Encoding text to Morse code involves converting each character into its correspo ### Steps for Encoding -1. Convert the text to uppercase to ensure proper dictionary matching. -2. Loop through each character in the text and find its Morse code equivalent. -3. Combine the Morse code sequences into a single string, separating characters with spaces and words with `/`. + 1. Convert the text to uppercase to ensure proper dictionary matching. 2. Loop + through each character in the text and find its Morse code equivalent. 3. + Combine the Morse code sequences into a single string, separating characters + with spaces and words with `/`. ### Implementing the Encoding Program @@ -169,7 +170,7 @@ using System.Text; class Program { - + static Dictionary morseCodeDict = new Dictionary { { ".-", 'A' }, { "-...", 'B' }, { "-.-.", 'C' }, { "-..", 'D' }, @@ -236,17 +237,17 @@ class Program ```python # Morse Code Dictionary MORSE_CODE_DICT = { - 'A': '.-', 'B': '-...', 'C': '-.-.', 'D': '-..', 'E': '.', + 'A': '.-', 'B': '-...', 'C': '-.-.', 'D': '-..', 'E': '.', 'F': '..-.', 'G': '--.', 'H': '....', 'I': '..', 'J': '.---', 'K': '-.-', 'L': '.-..', 'M': '--', 'N': '-.', 'O': '---', 'P': '.--.', 'Q': '--.-', 'R': '.-.', 'S': '...', 'T': '-', 'U': '..-', 'V': '...-', 'W': '.--', 'X': '-..-', 'Y': '-.--', - 'Z': '--..', '1': '.----', '2': '..---', '3': '...--', '4': '....-', - '5': '.....', '6': '-....', '7': '--...', '8': '---..', '9': '----.', - '0': '-----', ',': '--..--', '.': '.-.-.-', '?': '..--..', - "'": '.----.', '!': '-.-.--', '/': '-..-.', '(': '-.--.', - ')': '-.--.-', '&': '.-...', ':': '---...', ';': '-.-.-.', - '=': '-...-', '+': '.-.-.', '-': '-....-', '_': '..--.-', + 'Z': '--..', '1': '.----', '2': '..---', '3': '...--', '4': '....-', + '5': '.....', '6': '-....', '7': '--...', '8': '---..', '9': '----.', + '0': '-----', ',': '--..--', '.': '.-.-.-', '?': '..--..', + "'": '.----.', '!': '-.-.--', '/': '-..-.', '(': '-.--.', + ')': '-.--.-', '&': '.-...', ':': '---...', ';': '-.-.-.', + '=': '-...-', '+': '.-.-.', '-': '-....-', '_': '..--.-', '"': '.-..-.', '$': '...-..-', '@': '.--.-.', ' ': '/' } @@ -296,9 +297,9 @@ Decoding Morse code back to text requires reversing the process. The Morse code ### Steps for Decoding -1. Split the Morse code input into individual sequences using spaces. -2. Map each sequence to its corresponding character from the reversed dictionary. -3. Combine the characters to form the decoded text, handling `/` as spaces. + 1. Split the Morse code input into individual sequences using spaces. 2. Map + each sequence to its corresponding character from the reversed dictionary. 3. + Combine the characters to form the decoded text, handling `/` as spaces. ### Implementing the Decoding Program @@ -316,17 +317,17 @@ Here is how you can implement a program to decode Morse code back into text: using namespace std; unordered_map morse_code_dict = { - {".-", 'A'}, {"-...", 'B'}, {"-.-.", 'C'}, {"-..", 'D'}, {".", 'E'}, + {".-", 'A'}, {"-...", 'B'}, {"-.-.", 'C'}, {"-..", 'D'}, {".", 'E'}, {"..-.", 'F'}, {"--.", 'G'}, {"....", 'H'}, {"..", 'I'}, {".---", 'J'}, {"-.-", 'K'}, {".-..", 'L'}, {"--", 'M'}, {"-.", 'N'}, {"---", 'O'}, {".--.", 'P'}, {"--.-", 'Q'}, {".-.", 'R'}, {"...", 'S'}, {"-", 'T'}, {"..-", 'U'}, {"...-", 'V'}, {".--", 'W'}, {"-..-", 'X'}, {"-.--", 'Y'}, - {"--..", 'Z'}, {".----", '1'}, {"..---", '2'}, {"...--", '3'}, {"....-", '4'}, - {".....", '5'}, {"-....", '6'}, {"--...", '7'}, {"---..", '8'}, {"----.", '9'}, - {"-----", '0'}, {"--..--", ','}, {".-.-.-", '.'}, {"..--..", '?'}, - {".----.", '\''}, {"-.-.--", '!'}, {"-..-.", '/'}, {"-.--.", '('}, - {"-.--.-", ')'}, {".-...", '&'}, {"---...", ':'}, {"-.-.-.", ';'}, - {"-...-", '='}, {".-.-.", '+'}, {"-....-", '-'}, {"..--.-", '_'}, + {"--..", 'Z'}, {".----", '1'}, {"..---", '2'}, {"...--", '3'}, {"....-", '4'}, + {".....", '5'}, {"-....", '6'}, {"--...", '7'}, {"---..", '8'}, {"----.", '9'}, + {"-----", '0'}, {"--..--", ','}, {".-.-.-", '.'}, {"..--..", '?'}, + {".----.", '\''}, {"-.-.--", '!'}, {"-..-.", '/'}, {"-.--.", '('}, + {"-.--.-", ')'}, {".-...", '&'}, {"---...", ':'}, {"-.-.-.", ';'}, + {"-...-", '='}, {".-.-.", '+'}, {"-....-", '-'}, {"..--.-", '_'}, {".-..-.", '"'}, {"...-..-", '$'}, {".--.-.", '@'}, {"/", ' '} }; @@ -426,7 +427,7 @@ using System.Collections.Generic; class Program { - + static Dictionary morseCodeDict = new Dictionary { { ".-", 'A' }, { "-...", 'B' }, { "-.-.", 'C' }, { "-..", 'D' }, @@ -490,17 +491,17 @@ class Program ```python # Morse Code Dictionary MORSE_CODE_DICT = { - 'A': '.-', 'B': '-...', 'C': '-.-.', 'D': '-..', 'E': '.', + 'A': '.-', 'B': '-...', 'C': '-.-.', 'D': '-..', 'E': '.', 'F': '..-.', 'G': '--.', 'H': '....', 'I': '..', 'J': '.---', 'K': '-.-', 'L': '.-..', 'M': '--', 'N': '-.', 'O': '---', 'P': '.--.', 'Q': '--.-', 'R': '.-.', 'S': '...', 'T': '-', 'U': '..-', 'V': '...-', 'W': '.--', 'X': '-..-', 'Y': '-.--', - 'Z': '--..', '1': '.----', '2': '..---', '3': '...--', '4': '....-', - '5': '.....', '6': '-....', '7': '--...', '8': '---..', '9': '----.', - '0': '-----', ',': '--..--', '.': '.-.-.-', '?': '..--..', - "'": '.----.', '!': '-.-.--', '/': '-..-.', '(': '-.--.', - ')': '-.--.-', '&': '.-...', ':': '---...', ';': '-.-.-.', - '=': '-...-', '+': '.-.-.', '-': '-....-', '_': '..--.-', + 'Z': '--..', '1': '.----', '2': '..---', '3': '...--', '4': '....-', + '5': '.....', '6': '-....', '7': '--...', '8': '---..', '9': '----.', + '0': '-----', ',': '--..--', '.': '.-.-.-', '?': '..--..', + "'": '.----.', '!': '-.-.--', '/': '-..-.', '(': '-.--.', + ')': '-.--.-', '&': '.-...', ':': '---...', ';': '-.-.-.', + '=': '-...-', '+': '.-.-.', '-': '-....-', '_': '..--.-', '"': '.-..-.', '$': '...-..-', '@': '.--.-.', ' ': '/' } diff --git a/src/content/docs/guides/beyond-splashkit/cryptography/steganography.mdx b/src/content/docs/guides/beyond-splashkit/cryptography/steganography.mdx index 11a14afa6..5de49db8f 100644 --- a/src/content/docs/guides/beyond-splashkit/cryptography/steganography.mdx +++ b/src/content/docs/guides/beyond-splashkit/cryptography/steganography.mdx @@ -57,9 +57,12 @@ In this guide, we will demonstrate how to use steganography to hide messages wit To hide a message: -1. **Choose an Image:** Any bitmap image can be used, but high-resolution images provide more space for hiding data. For this guide, we'll use a bitmap image of a cat. -2. **Prepare the Message:** The message will be encoded in Base64 before embedding to ensure compatibility and readability. -3. **Embed the Message:** Using LSB steganography, replace the least significant bits of the image's pixel data with bits from the encoded message. + 1. **Choose an Image:** Any bitmap image can be used, but high-resolution + images provide more space for hiding data. For this guide, we'll use a bitmap + image of a cat. 2. **Prepare the Message:** The message will be encoded in + Base64 before embedding to ensure compatibility and readability. 3. **Embed + the Message:** Using LSB steganography, replace the least significant bits of + the image's pixel data with bits from the encoded message. Here is the cat image we'll use! (right-click to save the image) @@ -209,7 +212,7 @@ int main() string path = "PATH TO YOUR FOLDER HERE"; string input_file_path = path + "/cat.bmp"; string output_file_path = path + "/hiddencat.bmp"; - + FILE *input_file = fopen(input_file_path.c_str(), "rb"); if (!input_file) { cout << "Error opening input file." << endl; @@ -612,13 +615,13 @@ def base64_encode(input_string): while bits >= 0: encoded_string += BASE64_CHARS[(value >> bits) & base64_mask] bits -= 6 - + if bits > -6: encoded_string += BASE64_CHARS[((value << 8) >> (bits + 8)) & base64_mask] - + while len(encoded_string) % 4: encoded_string += "=" - + return encoded_string # This will allow us to highlight the differences in the binary data @@ -707,7 +710,7 @@ print(f"Message embedded successfully in Base64! Encoded image saved as {output_ After embedding the message, you'll see an output like: ```plaintext -Enter the message to embed: +Enter the message to embed: im a cat Base64-encoded message: aW0gYSBjYXQ= Base64 length (in characters): 12 @@ -729,10 +732,12 @@ The comparison between the original and modified binary data highlights the subt To retrieve the hidden message, the recipient must reverse the embedding process. This involves: -1. **Load the Image:** Open the image containing the hidden message. -2. **Extract the Message Length:** Retrieve the length of the hidden message from the least significant bits of the image's pixel data. -3. **Extract the Message:** Using the message length, extract the hidden message from the least significant bits of the image's pixel data. -4. **Decode the Message:** Decode the extracted message from Base64 to reveal the original content. + 1. **Load the Image:** Open the image containing the hidden message. 2. + **Extract the Message Length:** Retrieve the length of the hidden message from + the least significant bits of the image's pixel data. 3. **Extract the + Message:** Using the message length, extract the hidden message from the least + significant bits of the image's pixel data. 4. **Decode the Message:** Decode + the extracted message from Base64 to reveal the original content. ### Code Example @@ -816,7 +821,7 @@ int main() { string path = "PATH TO YOUR FOLDER HERE"; string encoded_file_path = path + "/hiddencat.bmp"; - + ifstream input_file(encoded_file_path, ios::binary); vector data; char ch; @@ -1047,14 +1052,14 @@ def base64_decode(input_string): if character == "=": break continue - + value = (value << 6) + BASE64_CHARS.index(character) bits += 6 if bits >= 0: decoded_string.append((value >> bits) & 0xFF) bits -= 8 - + return decoded_string.decode() def extract_message(data, offset): @@ -1123,17 +1128,20 @@ To decrypt a Caesar Cipher message, the recipient simply shifts the letters in t Here’s how the process works: -1. **Plaintext Message:** Start with the original message (e.g., `"im a cat"`). -2. **Apply Caesar Cipher:** Obfuscate the message using a chosen shift value (e.g., `3`). The message `"im a cat"` might become `"lp d fdw"`. -3. **Encode in Base64:** Convert the obfuscated message into Base64, producing a string of printable characters. -4. **Embed in Image:** Use LSB steganography to embed the Base64-encoded string into the image. + 1. **Plaintext Message:** Start with the original message (e.g., `"im a + cat"`). 2. **Apply Caesar Cipher:** Obfuscate the message using a chosen shift + value (e.g., `3`). The message `"im a cat"` might become `"lp d fdw"`. 3. + **Encode in Base64:** Convert the obfuscated message into Base64, producing a + string of printable characters. 4. **Embed in Image:** Use LSB steganography + to embed the Base64-encoded string into the image. To extract and interpret the message, the reverse process is followed: -1. **Extract the Base64 Message:** Decode the embedded Base64 string from the image. -2. **Decrypt Caesar Cipher:** Apply the inverse Caesar Cipher shift to recover the original plaintext message. + 1. **Extract the Base64 Message:** Decode the embedded Base64 string from the + image. 2. **Decrypt Caesar Cipher:** Apply the inverse Caesar Cipher shift to + recover the original plaintext message. By combining Caesar Cipher obfuscation with LSB steganography, you can enhance the security of your hidden messages while exploring the principles of encryption and steganography. Here is how you can implement this in your code: @@ -1301,7 +1309,7 @@ int main() string path = "PATH TO YOUR FOLDER HERE"; string input_file_path = path + "/cat.bmp"; string output_file_path = path + "/hiddencat.bmp"; - + FILE *input_file = fopen(input_file_path.c_str(), "rb"); if (!input_file) { cout << "Error opening input file." << endl; @@ -1500,7 +1508,7 @@ List EmbedMessage(List data, string message, int offset) Console.WriteLine("\nModified binary data at embedding positions (truncated):"); Console.WriteLine(TruncateBinary(highlightedModified)); - + return modifiedData; } @@ -1565,7 +1573,7 @@ class Program } return encodedString; } - + static string Base64Encode(string input) { string BASE64_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; @@ -1777,13 +1785,13 @@ def base64_encode(input_string): while bits >= 0: encoded_string += BASE64_CHARS[(value >> bits) & base64_mask] bits -= 6 - + if bits > -6: encoded_string += BASE64_CHARS[((value << 8) >> (bits + 8)) & base64_mask] - + while len(encoded_string) % 4: encoded_string += "=" - + return encoded_string # This will allow us to highlight the differences in the binary data @@ -1833,7 +1841,7 @@ def embed_message(data, message, offset, shift): modified_binary = "".join(format(modified_data[offset + i], '08b') for i in range(len(length_bits + binary_message))) highlighted_original, highlighted_modified = highlight_changes(original_binary, modified_binary) - + # Truncate for readability def truncate_binary(binary_str, show_bits=64): if len(binary_str) > show_bits * 2: @@ -1876,9 +1884,9 @@ print(f"Message embedded successfully in Base64! Encoded image saved as {output_ After extracting the message and decrypting it using the Caesar Cipher, you'll see an output like: ```plaintext -Enter the message to embed: -im a cat -Enter the Caesar cipher shift value: +Enter the message to embed: +im a cat +Enter the Caesar cipher shift value: 8 Caesar cipher shifted message: qu i kib Base64-encoded message: cXUgaSBraWI= diff --git a/src/content/docs/guides/beyond-splashkit/index.mdx b/src/content/docs/guides/beyond-splashkit/index.mdx index 084b65ffb..1de5ceaff 100644 --- a/src/content/docs/guides/beyond-splashkit/index.mdx +++ b/src/content/docs/guides/beyond-splashkit/index.mdx @@ -13,7 +13,7 @@ This part of our documentation site provides useful tutorials and examples outsi ### Using SDL2 -*Compare SplashKit code snippets with the equivalent code in SDL2 (one of SplashKit's dependencies):* +_Compare SplashKit code snippets with the equivalent code in SDL2 (one of SplashKit's dependencies):_ 0: binary_string = ("1" if decimal_value & 1 else "0") + binary_string @@ -470,17 +470,17 @@ string HexToBin(string hexString) def hex_to_bin(hex_string): if not is_hex(hex_string): return "" - + binary_string = "" for hex_character in hex_string: hex_value = int(hex_character, 16) for i in range(3, -1, -1): binary_string += "1" if (hex_value >> i) & 1 else "0" - + if len(hex_string) == 1: first_one = binary_string.find('1') return "0" if first_one == -1 else binary_string[first_one:] - + return binary_string ``` @@ -616,11 +616,11 @@ string BinToHex(string binaryString) def bin_to_hex(binary_string): if not is_binary(binary_string): return "" - + length = len(binary_string) padding = (4 - (length % 4)) % 4 padded_binary_string = "0" * padding + binary_string - + hex_string = "" for i in range(0, len(padded_binary_string), 4): hex_value = int(padded_binary_string[i:i+4], 2) @@ -731,7 +731,7 @@ string DecToOct(uint decimalValue) def dec_to_oct(decimal_value): if decimal_value == 0: return "0" - + octal_string = "" while decimal_value > 0: octal_string = str(decimal_value % 8) + octal_string @@ -963,13 +963,13 @@ string OctToBin(string octalString) def oct_to_bin(octal_string): if not is_octal(octal_string): return "" - + binary_string = "" for octal_character in octal_string: octal_value = int(octal_character) for i in range(2, -1, -1): binary_string += "1" if (octal_value >> i) & 1 else "0" - + first_one = binary_string.find('1') return "0" if first_one == -1 else binary_string[first_one:] @@ -1101,15 +1101,15 @@ string BinToOct(string binaryString) def bin_to_oct(binary_string): if not is_binary(binary_string): return "" - + padding = (3 - (len(binary_string) % 3)) % 3 padded_binary_string = "0" * padding + binary_string - + octal_string = "" for i in range(0, len(padded_binary_string), 3): octal_value = int(padded_binary_string[i:i+3], 2) octal_string += str(octal_value) - + first_non_zero = octal_string.find('1') return "0" if first_non_zero == -1 else octal_string[first_non_zero:] ``` @@ -1207,7 +1207,7 @@ string HexToOct(string hexString) => BinToOct(HexToBin(hexString)); def hex_to_oct(hex_string): if not is_hex(hex_string): return "" - + binary_string = hex_to_bin(hex_string) return bin_to_oct(binary_string) ``` @@ -1305,7 +1305,7 @@ string OctToHex(string octalString) => BinToHex(OctToBin(octalString)); def oct_to_hex(octal_string): if not is_octal(octal_string): return "" - + binary_string = oct_to_bin(octal_string) return bin_to_hex(binary_string) ``` diff --git a/src/content/docs/guides/beyond-splashkit/utilities/integer-input-validation.mdx b/src/content/docs/guides/beyond-splashkit/utilities/integer-input-validation.mdx index bb05ac999..0806fe750 100644 --- a/src/content/docs/guides/beyond-splashkit/utilities/integer-input-validation.mdx +++ b/src/content/docs/guides/beyond-splashkit/utilities/integer-input-validation.mdx @@ -10,8 +10,8 @@ sidebar: import { Code, Tabs, TabItem } from "@astrojs/starlight/components"; -import intInputValidationCode_withSK from '/public/guides/beyond-splashkit/code-files/utilities/0-integer-input-validation/with-splashkit.cpp?raw'; -import intInputValidationCode_noSK from '/public/guides/beyond-splashkit/code-files/utilities/0-integer-input-validation/no-splashkit.cpp?raw'; +import intInputValidationCode_withSK from "/public/guides/beyond-splashkit/code-files/utilities/0-integer-input-validation/with-splashkit.cpp?raw"; +import intInputValidationCode_noSK from "/public/guides/beyond-splashkit/code-files/utilities/0-integer-input-validation/no-splashkit.cpp?raw"; **{frontmatter.description}** Written by: {frontmatter.author} diff --git a/src/content/docs/guides/beyond-splashkit/utilities/math-basics.mdx b/src/content/docs/guides/beyond-splashkit/utilities/math-basics.mdx index 5f07309bf..26791f590 100644 --- a/src/content/docs/guides/beyond-splashkit/utilities/math-basics.mdx +++ b/src/content/docs/guides/beyond-splashkit/utilities/math-basics.mdx @@ -585,8 +585,8 @@ For a number $n$, finding the sum of its divisors involves: 1. Iterating through numbers from 1 to $\sqrt{n}$ 2. For each divisor $d$, if $n$ is divisible by $d$: - - If $d^2 = n$, add $d$ once - - Otherwise, add both $d$ and $\frac{n}{d}$ + - If $d^2 = n$, add $d$ once + - Otherwise, add both $d$ and $\frac{n}{d}$ For example, for $n=12$: @@ -945,7 +945,7 @@ This function relies on the `greatest_common_divisor` function defined above. ```cpp -bool are_coprime(int a, int b) +bool are_coprime(int a, int b) { return greatest_common_divisor(a, b) == 1; } @@ -955,7 +955,7 @@ bool are_coprime(int a, int b) ```csharp -bool AreCoprime(int a, int b) +bool AreCoprime(int a, int b) { return GreatestCommonDivisor(a, b) == 1; } @@ -1035,14 +1035,14 @@ This function relies on the `are_coprime` function defined above. ```cpp -void find_coprimes_up_to(int n, int max) +void find_coprimes_up_to(int n, int max) { std::cout << "Numbers coprime to " << n << " up to " << max << ":"; // Check all numbers up to the maximum - for (int i = 1; i <= max; i++) + for (int i = 1; i <= max; i++) { - if (are_coprime(n, i)) + if (are_coprime(n, i)) { std::cout << i << " "; } @@ -1055,14 +1055,14 @@ void find_coprimes_up_to(int n, int max) ```csharp -void FindCoprimesUpTo(int n, int max) +void FindCoprimesUpTo(int n, int max) { Console.WriteLine($"Numbers coprime to {n} up to {max}:"); // Check all numbers up to the maximum - for (int i = 1; i <= max; i++) + for (int i = 1; i <= max; i++) { - if (AreCoprime(n, i)) + if (AreCoprime(n, i)) { Console.Write($"{i} "); } @@ -1300,14 +1300,14 @@ The following function finds all factors of a given number by checking all poten ```cpp -void find_factors(int n) +void find_factors(int n) { std::cout << "Factors of " << n << ": "; // Check all potential divisors up to n - for (int i = 1; i <= n; i++) + for (int i = 1; i <= n; i++) { - if (n % i == 0) + if (n % i == 0) { std::cout << i << " "; } @@ -1320,14 +1320,14 @@ void find_factors(int n) ```csharp -void FindFactors(int n) +void FindFactors(int n) { Console.WriteLine($"Factors of {n}:"); // Check all potential divisors up to n - for (int i = 1; i <= n; i++) + for (int i = 1; i <= n; i++) { - if (n % i == 0) + if (n % i == 0) { Console.Write($"{i} "); } @@ -1412,31 +1412,31 @@ The prime factorisation of a number is its decomposition into a product of prime ```cpp -void find_prime_factors(int n) +void find_prime_factors(int n) { std::cout << "Prime factors of " << n << ": "; - + // Extract all factors of 2 - while (n % 2 == 0) + while (n % 2 == 0) { std::cout << "2 "; n /= 2; } - + // Check odd numbers up to square root - for (int i = 3; i * i <= n; i += 2) + for (int i = 3; i * i <= n; i += 2) { - while (n % i == 0) + while (n % i == 0) { std::cout << i << " "; n /= i; } } - + // If n is still greater than 2, it's a prime factor if (n > 2) std::cout << n; - + std::cout << std::endl; } ``` @@ -1445,31 +1445,31 @@ void find_prime_factors(int n) ```csharp -void FindPrimeFactors(int n) +void FindPrimeFactors(int n) { Console.WriteLine($"Prime factors of {n}:"); - + // Extract all factors of 2 - while (n % 2 == 0) + while (n % 2 == 0) { Write("2 "); n /= 2; } - + // Check odd numbers up to square root - for (int i = 3; i * i <= n; i += 2) + for (int i = 3; i * i <= n; i += 2) { - while (n % i == 0) + while (n % i == 0) { Write($"{i} "); n /= i; } } - + // If n is still greater than 2, it's a prime factor if (n > 2) Write(n); - + Console.WriteLine(""); } ``` @@ -1480,22 +1480,22 @@ void FindPrimeFactors(int n) ```python def find_prime_factors(n): print(f"Prime factors of {n}:") - + # Extract all factors of 2 while n % 2 == 0: write("2 ") n //= 2 - + # Check odd numbers up to square root for i in range(3, int(n**0.5) + 1, 2): while n % i == 0: write(f"{i} ") n //= i - + # If n is still greater than 2, it's a prime factor if n > 2: write(str(n)) - + print("") ``` diff --git a/src/content/docs/guides/camera/using-splashkit-camera.mdx b/src/content/docs/guides/camera/using-splashkit-camera.mdx index d7af51d76..9af6d87c8 100644 --- a/src/content/docs/guides/camera/using-splashkit-camera.mdx +++ b/src/content/docs/guides/camera/using-splashkit-camera.mdx @@ -283,7 +283,7 @@ namespace SplashKitCamera while (!window.CloseRequested) { SplashKit.ProcessEvents(); - + // Handle input if (SplashKit.KeyDown(KeyCode.LeftKey)) playerX -= 3; @@ -331,7 +331,7 @@ from splashkit import * SCREEN_BORDER = 100 def update_camera_position(player_x, player_y): - + # Test edge of screen boundaries to adjust the camera left_edge = camera_x() + SCREEN_BORDER right_edge = left_edge + screen_width() - 2 * SCREEN_BORDER @@ -353,7 +353,7 @@ def update_camera_position(player_x, player_y): move_camera_by(player_x - left_edge, 0) elif player_x > right_edge: move_camera_by(player_x - right_edge, 0) - + # Start of "main" code open_window("Camera Test", 800, 800) @@ -389,7 +389,7 @@ while not quit_requested(): fill_rectangle(color_white(), 400, 200, 10, 10) refresh_screen_with_target_fps(60) - + close_all_windows() ``` diff --git a/src/content/docs/guides/generative-ai/ai-prompt-helper-for-splashkit.mdx b/src/content/docs/guides/generative-ai/ai-prompt-helper-for-splashkit.mdx new file mode 100644 index 000000000..467a5c18f --- /dev/null +++ b/src/content/docs/guides/generative-ai/ai-prompt-helper-for-splashkit.mdx @@ -0,0 +1,106 @@ +--- +title: AI Prompt Helper for SplashKit Game Ideas +description: Learn how to use AI tools responsibly to generate game ideas, debug code, and understand SplashKit concepts. +author: Janki Luitel +lastupdated: 2026-05-03 +--- + +**{frontmatter.description}** +Written by: {frontmatter.author} +_Last updated: {frontmatter.lastupdated}_ + +Artificial Intelligence (AI) tools can support your learning journey when building games with SplashKit. AI should be used as a learning assistant — not as a replacement for your own problem-solving, coding, and creativity. + +## Why Use AI with SplashKit? + +AI tools can help you: + +- Brainstorm game ideas +- Break complex programming tasks into smaller steps +- Understand SplashKit functions +- Debug code errors +- Generate pseudocode before implementation +- Learn programming concepts faster + +## Example Prompt 1: Game Idea Generation + +> "Give me 5 beginner game ideas using SplashKit in C++." + +Example outputs may include: + +- Maze Escape Game +- Space Shooter +- Flappy Bird Clone +- Bouncing Ball Physics Game +- Platform Adventure + +## Example Prompt 2: Understanding SplashKit Functions + +> "Explain how draw_circle works in SplashKit with a simple example." + +AI can help explain: + +- Parameters +- Colours +- Coordinates +- Radius +- Real-world use cases + +## Example Prompt 3: Debugging + +> "Why am I getting includePath errors in SplashKit C++?" + +AI may help identify: + +- Missing SDK paths +- Incorrect compiler settings +- VS Code configuration issues + +## Example Prompt 4: Pseudocode Planning + +> "Help me design pseudocode for a SplashKit bouncing ball game." + +This can help you plan: + +- Variables +- Movement logic +- Collision detection +- Game loop structure + +## Bad Prompt vs Good Prompt + +Bad prompt: + +> "Fix my SplashKit code." + +Good prompt: + +> "I am using SplashKit in C++. My goal is to draw a circle in a window, but the window closes immediately. Explain why this happens and suggest how to fix it without rewriting the whole program." + +## Responsible Use of AI + +When using AI: + +✅ Use AI to learn concepts +✅ Ask AI for explanations +✅ Use AI for brainstorming +✅ Verify AI-generated code + +Avoid: + +❌ Copying code without understanding it +❌ Submitting AI-generated work as your own +❌ Relying on AI without testing your code + +## Final Checklist + +Before using AI-generated ideas or code: + +- Do I understand how it works? +- Can I explain it to someone else? +- Have I tested it myself? +- Does it follow SplashKit style guidelines? + +If yes, you are using AI responsibly. + +Happy learning with SplashKit and AI! diff --git a/src/content/docs/guides/graphics/beginner-game-tutorial.mdx b/src/content/docs/guides/graphics/beginner-game-tutorial.mdx index 17bdf0fbf..09142f431 100644 --- a/src/content/docs/guides/graphics/beginner-game-tutorial.mdx +++ b/src/content/docs/guides/graphics/beginner-game-tutorial.mdx @@ -18,11 +18,10 @@ _Last updated: {frontmatter.lastupdated}_ In this tutorial, we'll build a beginner friendly Flappy Bird remake using SplashKit. By the end of this tutorial, you'll have a working game that you can play and share with friends. Our Flappy Bird game will have a yellow bird that falls with gravity, green pipes that scroll from right to left, score tracking when you pass through pipes, and a game over screen when you hit pipes or the ground. The controls are simple - just press SPACE to make the bird jump! ![Flappy Bird Program Screenshot](./images/beginner_game/flappy.png) :::note -You can download and play the game in this tutorial using the complete code file here: +You can download and play the game in this tutorial using the complete code file here: [**Download Code**](/resources/guides/graphics/basics/BeginnerGameTutorialCode.zip) ::: - ## Step 1: Setting Up Our Game Window First, let's create our game window and define the basic constants we'll need throughout our game. @@ -52,10 +51,10 @@ const int PIPE_SPACING = 250; // Font for text font game_font; ``` + - **What's happening here?** We include SplashKit to access all our game functions, define constants for our window size (400x600 pixels), set up properties for our bird including where it sits horizontally, how big it is, how gravity affects it, and how strong its jump is. We also define pipe properties like width, gap size, how fast they move, and how far apart they are. @@ -72,18 +71,18 @@ struct GameState { // Bird position and movement double bird_y; double bird_velocity; - + // Pipe positions (x, gap_y) double pipe1_x, pipe1_gap_y; double pipe2_x, pipe2_gap_y; - + // Game status int score; bool game_over; bool started; bool pipe1_passed; bool pipe2_passed; - + // Constructor GameState() { bird_y = WINDOW_HEIGHT / 2; @@ -100,6 +99,7 @@ struct GameState { } }; ``` + @@ -124,7 +124,7 @@ void handle_input(GameState& game) { game.bird_velocity = JUMP_STRENGTH; } } - + if (key_typed(SPACE_KEY) && game.game_over) { // Reset game game.bird_y = WINDOW_HEIGHT / 2; @@ -141,6 +141,7 @@ void handle_input(GameState& game) { } } ``` + @@ -160,15 +161,15 @@ void update_game(GameState& game) { if (!game.started || game.game_over) { return; } - + // Apply gravity to bird game.bird_velocity += GRAVITY; game.bird_y += game.bird_velocity; - + // Move pipes game.pipe1_x -= PIPE_SPEED; game.pipe2_x -= PIPE_SPEED; - + // Reset pipes when they go off screen if (game.pipe1_x < -PIPE_WIDTH) { game.pipe1_x = WINDOW_WIDTH; @@ -190,32 +191,33 @@ void update_game(GameState& game) { game.score++; game.pipe2_passed = true; } - + // Check collisions // Ground and ceiling if (game.bird_y < 0 || game.bird_y > WINDOW_HEIGHT - BIRD_SIZE) { game.game_over = true; } - + // Pipe 1 collision - if (game.bird_y + BIRD_SIZE > game.pipe1_gap_y + PIPE_GAP/2 || + if (game.bird_y + BIRD_SIZE > game.pipe1_gap_y + PIPE_GAP/2 || game.bird_y < game.pipe1_gap_y - PIPE_GAP/2) { - if (BIRD_X + BIRD_SIZE > game.pipe1_x && + if (BIRD_X + BIRD_SIZE > game.pipe1_x && BIRD_X < game.pipe1_x + PIPE_WIDTH) { game.game_over = true; } } - + // Pipe 2 collision - if (game.bird_y + BIRD_SIZE > game.pipe2_gap_y + PIPE_GAP/2 || + if (game.bird_y + BIRD_SIZE > game.pipe2_gap_y + PIPE_GAP/2 || game.bird_y < game.pipe2_gap_y - PIPE_GAP/2) { - if (BIRD_X + BIRD_SIZE > game.pipe2_x && + if (BIRD_X + BIRD_SIZE > game.pipe2_x && BIRD_X < game.pipe2_x + PIPE_WIDTH) { game.game_over = true; } } } ``` + @@ -233,22 +235,22 @@ Now let's make our game visible! We'll draw the bird, pipes, score, and messages // Draw everything void draw_game(const GameState& game) { clear_screen(COLOR_SKY_BLUE); - + // Draw pipes // Pipe 1 fill_rectangle(COLOR_GREEN, game.pipe1_x, 0, PIPE_WIDTH, game.pipe1_gap_y - PIPE_GAP/2); fill_rectangle(COLOR_GREEN, game.pipe1_x, game.pipe1_gap_y + PIPE_GAP/2, PIPE_WIDTH, WINDOW_HEIGHT); - + // Pipe 2 fill_rectangle(COLOR_GREEN, game.pipe2_x, 0, PIPE_WIDTH, game.pipe2_gap_y - PIPE_GAP/2); fill_rectangle(COLOR_GREEN, game.pipe2_x, game.pipe2_gap_y + PIPE_GAP/2, PIPE_WIDTH, WINDOW_HEIGHT); - + // Draw bird fill_circle(COLOR_YELLOW, BIRD_X, game.bird_y, BIRD_SIZE); - + // Draw score draw_text("Score: " + std::to_string(game.score), COLOR_WHITE, game_font, 24, 10, 10); - + // Draw instructions if (!game.started) { draw_text("Press SPACE to start", COLOR_WHITE, game_font, 18, WINDOW_WIDTH/2 - 75, WINDOW_HEIGHT/2); @@ -258,6 +260,7 @@ void draw_game(const GameState& game) { } } ``` + @@ -275,12 +278,12 @@ Finally, let's put it all together in our main function that runs the entire gam // Main function int main() { open_window("Flappy Bird", WINDOW_WIDTH, WINDOW_HEIGHT); - + // Load font game_font = load_font("GameFont", "DMSerifText.ttf"); - + GameState game; - + while (!quit_requested()) { process_events(); handle_input(game); @@ -288,13 +291,14 @@ int main() { draw_game(game); refresh_screen(60); } - + close_all_windows(); return 0; } ``` + **The game loop explained:** -We open our game window, create our game state, and run a loop that continues until the player closes the window. Each frame that passes, we process input using [Process Events](/api/input/#process-events), and handle player inputs using the created functions, update game logic, and refresh the screen at 60 FPS. When the loop ends, we close the window. \ No newline at end of file +We open our game window, create our game state, and run a loop that continues until the player closes the window. Each frame that passes, we process input using [Process Events](/api/input/#process-events), and handle player inputs using the created functions, update game logic, and refresh the screen at 60 FPS. When the loop ends, we close the window. diff --git a/src/content/docs/guides/graphics/drawing-using-procedures.mdx b/src/content/docs/guides/graphics/drawing-using-procedures.mdx index 3f3461364..9f9a72c91 100644 --- a/src/content/docs/guides/graphics/drawing-using-procedures.mdx +++ b/src/content/docs/guides/graphics/drawing-using-procedures.mdx @@ -270,28 +270,30 @@ For example: the magenta rectangle is drawn at 10, 1. This means its x value is To draw a shape with SplashKit you need to call one of the shape drawing procedures. All of the shape drawing operations in SplashKit take a number of parameter values: -* The **color** to draw the shape. - SplashKit has a number of colors you can use. See the list of colors starting with [Alice Blue](/api/color#color-alice-blue). For example, in C++ the colors are written as `COLOR_WHITE`, `COLOR_GREEN`, `COLOR_BLUE`, `COLOR_BLACK`, `COLOR_RED`, and many others. VS Code should show you a list once you type `COLOR_` then hit ctrl+space. Though this only works if you opened the project folder. -* An **x** value, representing the x position of the shape (column). +- The **color** to draw the shape. + SplashKit has a number of colors you can use. See the list of colors starting with [Alice Blue](/api/color#color-alice-blue). For example, in C++ the colors are written as `COLOR_WHITE`, `COLOR_GREEN`, `COLOR_BLUE`, `COLOR_BLACK`, `COLOR_RED`, and many others. VS Code should show you a list once you type `COLOR_` then hit ctrl+space. Though this only works if you opened the project folder. +- An **x** value, representing the x position of the shape (column). - This is a number of pixels from the left edge of the screen. Larger values are further to the right. -* A **y** value, representing the y position of the shape (row). + This is a number of pixels from the left edge of the screen. Larger values are further to the right. - This is a number of pixels from the top edge of the screen. Larger values are further down the screen. -* and other values for the size of the shape, these will differ depending on the kind of shape being drawn (e.g., rectangle has a width and height, as does ellipse, circles would have a radius). +- A **y** value, representing the y position of the shape (row). + + This is a number of pixels from the top edge of the screen. Larger values are further down the screen. + +- and other values for the size of the shape, these will differ depending on the kind of shape being drawn (e.g., rectangle has a width and height, as does ellipse, circles would have a radius). See the following for examples of what you can call: -* [Clear Screen](/api/graphics/#clear-screen) -* [Draw Circle](/api/graphics/#draw-circle) -* [Fill Circle](/api/graphics/#fill-circle) -* [Draw Rectangle](/api/graphics/#draw-rectangle) -* [Fill Rectangle](/api/graphics/#fill-rectangle) -* [Draw Triangle](/api/graphics/#draw-triangle) -* [Fill Triangle](/api/graphics/#fill-triangle) -* [Draw Ellipse](/api/graphics/#draw-ellipse) -* [Fill Ellipse](/api/graphics/#fill-ellipse) -* [Draw Line](/api/graphics/#draw-line) +- [Clear Screen](/api/graphics/#clear-screen) +- [Draw Circle](/api/graphics/#draw-circle) +- [Fill Circle](/api/graphics/#fill-circle) +- [Draw Rectangle](/api/graphics/#draw-rectangle) +- [Fill Rectangle](/api/graphics/#fill-rectangle) +- [Draw Triangle](/api/graphics/#draw-triangle) +- [Fill Triangle](/api/graphics/#fill-triangle) +- [Draw Ellipse](/api/graphics/#draw-ellipse) +- [Fill Ellipse](/api/graphics/#fill-ellipse) +- [Draw Line](/api/graphics/#draw-line) ## Autocomplete @@ -301,6 +303,6 @@ You should be able to get Visual Studio Code to show you to list of parameters. ## Double Buffering -To draw a picture, like the house shown above, the computer executes the code to draw the individual shapes one at a time in the order they appear in the code (in **sequence**). However, we dont want each element to appear individually, we just want the whole picture to appear at once, so in this case the whole house should show all at once. SplashKit uses a technique called **Double Buffering** to enable this. When double buffering, the computer first draws the shapes, then waits for a command to display the shapes to the user. With SplashKit, the shapes are all shown together when you call the `refresh_screen` procedure. This is illustrated below. +To draw a picture, like the house shown above, the computer executes the code to draw the individual shapes one at a time in the order they appear in the code (in **sequence**). However, we dont want each element to appear individually, we just want the whole picture to appear at once, so in this case the whole house should show all at once. SplashKit uses a technique called **Double Buffering** to enable this. When double buffering, the computer first draws the shapes, then waits for a command to display the shapes to the user. With SplashKit, the shapes are all shown together when you call the `refresh_screen` procedure. This is illustrated below. ![Illustration of double buffering, and the need to refresh screen](./images/drawing/RefreshScreen.png) diff --git a/src/content/docs/guides/index.mdx b/src/content/docs/guides/index.mdx index 485a129b0..d870ea627 100644 --- a/src/content/docs/guides/index.mdx +++ b/src/content/docs/guides/index.mdx @@ -5,7 +5,12 @@ sidebar: order: 0 --- -import { CardGrid, LinkCard, Tabs, TabItem } from "@astrojs/starlight/components"; +import { + CardGrid, + LinkCard, + Tabs, + TabItem, +} from "@astrojs/starlight/components"; :::tip[SplashKit SDK] SplashKit provides a versatile set of categories, encompassing graphics, audio, input, and more, offering developers a comprehensive toolkit for game and multimedia development. @@ -13,161 +18,158 @@ SplashKit provides a versatile set of categories, encompassing graphics, audio, ### Getting Started -*Get started coding with different areas of SplashKit:* +_Get started coding with different areas of SplashKit:_ - - - - - - - - - - - - + + + + + + + + + + + + ### Raspberry Pi GPIO -*Discover how to use SplashKit on a Raspberry Pi to work with LEDs and buttons:* +_Discover how to use SplashKit on a Raspberry Pi to work with LEDs and buttons:_ - - - - + + + + ### Physics -*Learn more about using vectors and related functionality in SplashKit:* +_Learn more about using vectors and related functionality in SplashKit:_ - - - - - - - - - + + + + + + + + + ### Interface -*See how you can create user interface panels with different layouts and styling:* +_See how you can create user interface panels with different layouts and styling:_ - - - + + + ### Networking -*Find out more about using SplashKit's web server functionality:* +_Find out more about using SplashKit's web server functionality:_ - - - + + + ## Using SplashKit diff --git a/src/content/docs/guides/input/user-inputs-in-graphical-applications.mdx b/src/content/docs/guides/input/user-inputs-in-graphical-applications.mdx index fd0e4a811..e80c9564d 100644 --- a/src/content/docs/guides/input/user-inputs-in-graphical-applications.mdx +++ b/src/content/docs/guides/input/user-inputs-in-graphical-applications.mdx @@ -1,2187 +1,2195 @@ ---- -title: User Inputs in Graphical Applications -description: Introductory guide on reading text and mouse input functionality. -author: Various -lastupdated: July 2025 -tableOfContents: - minHeadingLevel: 2 - maxHeadingLevel: 4 ---- - -import { Tabs, TabItem, Steps } from "@astrojs/starlight/components"; - -**{frontmatter.description}** -Written by: {frontmatter.author} -_Last updated: {frontmatter.lastupdated}_ - ---- - -## Reading Text in Graphical Applications - -Reading input from users in graphical applications is more complex than using command line inputs, as blocking operations will cause the entire graphical interface to freeze. - -With a graphical application, you need to keep redrawing, processing events, updating elements, and refreshing the screen. If you stop doing this to wait for user input, then any dynamic visuals will stop! - -### Example Code - -Let's see how to read input from the user using some example code. We can then talk through the different parts to understand how they come together to give you a dynamic application with user input. - - - - -```cpp -#include "splashkit.h" - -int main() -{ - // Lets read into this string... - string name = "unknown"; - - // Open a window to show the user... - open_window("Reading Input.", 800, 600); - - // Load a font for text rendering - load_font("input", "arial.ttf"); - - // Define area where text should appear - rectangle rect = rectangle_from(230.0, 50.0, 200.0, 30.0); - - // Start reading text in this area - start_reading_text(rect); - - // Here is our game loop - do - { - // Listen for input... this will update the text read - process_events(); - - // Click anywhere on the screen to trigger the text input - if (mouse_clicked(LEFT_BUTTON)) - { - // Start reading text in the rectagle area - start_reading_text(rect); - } - - // Looks like we finished reading text... - if (not reading_text()) - { - // Was input cancelled? - if (text_entry_cancelled()) - { - name = "unknown"; - } - else - { - // Get the name from the text input - name = text_input(); - } - } - - // Draw the screen... - clear_screen(COLOR_WHITE); - draw_rectangle(COLOR_BLACK, rect); - - // If we are reading text... then show what it is - if (reading_text()) - { - draw_collected_text(COLOR_BLACK, font_named("input"), 18, option_defaults()); - } - - // Draw text instructions - draw_text("Click anywhere to start reading text", COLOR_RED, font_named("input"), 18, 200, 100); - - // Draw what we have in the name - draw_text(name, COLOR_BLACK, font_named("input"), 18, 10, 10); - - // Show it.. - refresh_screen(60); - } while (!quit_requested()); - - close_all_windows(); - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -// Let's read into this string... -string name = "unknown"; - -// Open a window to show the user... -OpenWindow("Reading Input.", 800, 600); - -// Load a font for text rendering -LoadFont("input", "arial.ttf"); - -// Define the area where text should appear -Rectangle rect = RectangleFrom(230.0, 50.0, 200.0, 30.0); - -// Start reading text in this area -StartReadingText(rect); - -// Here is our game loop -do -{ - // Listen for input... this will update the text read - ProcessEvents(); - - // Click anywhere on the screen to trigger the text input - if (MouseClicked(MouseButton.LeftButton)) - { - // Start reading text in the rectagle area - StartReadingText(rect); - } - - // Looks like we finished reading text... - if (!ReadingText()) - { - // Was input canceled? - if (TextEntryCancelled()) - { - name = "unknown"; - } - else - { - // Get the name from the text input - name = TextInput(); - } - } - - // Draw the screen... - ClearScreen(ColorWhite()); - DrawRectangle(ColorBlack(), rect); - - // If we are reading text... then show what it is - if (ReadingText()) - { - DrawCollectedText(ColorBlack(), FontNamed("input"), 18, OptionDefaults()); - } - - // Draw text instructions - DrawText("Click anywhere to start reading text", Color.Red, SplashKit.FontNamed("input"), 18, 200, 100); - - // Draw what we have in the name - DrawText(name, ColorBlack(), FontNamed("input"), 18, 10, 10); - - // Show it... - RefreshScreen(60); -} while (!QuitRequested()); - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace ReadingInput -{ - public class Program - { - public static void Main() - { - // Let's read into this string... - string name = "unknown"; - - // Open a window to show the user... - Window window = new Window("Reading Input.", 800, 600); - - // Load a font for text rendering - Font font = new Font("input", "arial.ttf"); - - // Define the area where text should appear - Rectangle rect = SplashKit.RectangleFrom(230.0, 50.0, 200.0, 30.0); - - // Start reading text in the rectagle area - SplashKit.StartReadingText(rect); - - // Here is our game loop - do - { - // Listen for input... this will update the text read - SplashKit.ProcessEvents(); - - // Click anywhere on the screen to trigger the text input - if (SplashKit.MouseClicked(MouseButton.LeftButton)) - { - // Start reading text in the rectagle area - SplashKit.StartReadingText(rect); - } - - // Looks like we finished reading text... - if (!SplashKit.ReadingText()) - { - // Was input canceled? - if (SplashKit.TextEntryCancelled()) - { - name = "unknown"; - } - else - { - // Get the name from the text input - name = SplashKit.TextInput(); - } - } - - // Draw the screen... - window.Clear(Color.White); - window.DrawRectangle(Color.Black, rect); - - // If we are reading text... then show what it is - if (SplashKit.ReadingText()) - { - SplashKit.DrawCollectedText(Color.Black, font, 18, SplashKit.OptionDefaults()); - } - - // Draw text instructions - window.DrawText("Click anywhere to start reading text", Color.Red, font, 18, 200, 100); - - // Draw what we have in the name - window.DrawText(name, Color.Black, font, 18, 10, 10); - - // Show it... - window.Refresh(60); - } while (!window.CloseRequested); - - SplashKit.CloseAllWindows(); - } - } -} -``` - - - - - - - -```python -from splashkit import * - -# Lets read into this string... -name = "unknown" - -# Open a window to show the user... -open_window("Reading Input.", 800, 600) - -# Load a font for text rendering -load_font("input", "arial.ttf") - -# Define area where text should appear -rect = rectangle_from(230.0, 50.0, 200.0, 30.0) - -# Start reading text in this area -start_reading_text(rect) - -# Here is our game loop -while not quit_requested(): - - # Listen for input... thiss will update the text read - process_events() - - # Click anywhere on the screen to trigger the text input - if (mouse_clicked(MouseButton.left_button)): - # Start reading text in the rectagle area - start_reading_text(rect) - - # Looks like we finished reading text... - if not reading_text(): - # Was input cancelled - if text_entry_cancelled(): - name = "unknown" - else: - # Get the name from the text input - name = text_input() - - # Draw the screen... - clear_screen(color_white()) - draw_rectangle_record(color_black(), rect) - - # If we are reading text... then show what it is - if reading_text(): - draw_collected_text(color_black(), font_named("input"), 18, option_defaults()) - - # Draw text instructions - draw_text("Click anywhere to start reading text", color_red(), font_named("input"), 18, 200, 100) - - # Draw what we have in the name - draw_text(name, color_black(), font_named("input"), 18, 10, 10) - - # Show it... - refresh_screen_with_target_fps(60) - -close_all_windows() -``` - - - - -### Understanding the code - - - -1. In the above program we want to read in the user's name and store it in the `name` variable. To get started with this we need to open a window and load a font to draw the text and input. There is also the standard event loop that repeats the basic actions of checking user input and drawing the screen until the program is closed. - -2. The logic for reading input starts with the call to [Start Reading Text](/api/input/#start-reading-text). This tells SplashKit that you want it to collect text input by the user, and that you want it drawn into the passed-in [Rectangle](/api/types/#rectangle) (in this case `rect`). SplashKit is now listening for input from, and collecting this text for you when you call [Process Events](/api/input/#process-events). - -3. SplashKit will continue reading text from the user until they hit the Escape or Enter key. You can check if text is still being read by calling the [Reading Text](/api/input/#reading-text) function. In this example, we use this to update the name. You can also end text input yourself using the [End Reading Text](/api/input/#end-reading-text) function. - -4. When the SplashKit is no longer reading text, you can use [Text Entry Cancelled](/api/input/#text-entry-cancelled) to check if the user cancelled (by hitting Escape) the input. To read the actual value entered, you call [Text Input](/api/input/#text-input). This will return the value entered by the user. If they did cancel the input, then this will be an empty string. - -5. The key with graphical input will be to keep updating the data associated with the graphical elements. This will keep the screen updating as you collect the input from the user. For this, you need to [Start Reading Text](/api/input/#start-reading-text), then at some point collect the [Text Input](/api/input/#text-input) and [End Reading Text](/api/input/#end-reading-text). - - - -## Using Mouse Inputs in Graphical Applications - -### Mouse Button Functionality - -Here are some functions that are used to handle mouse button inputs. These functions all use SplashKit's [Mouse Button](/api/input/#mouse-button) data type for the argument and check if the specified button has been clicked, held down, or released. - -#### List of Mouse Button Enum Values - -[Mouse Button](/api/input/#mouse-button) is an enumeration used by SplashKit to read inputs from the mouse. Understanding how to handle mouse buttons is crucial for developers who want users to control their programs using the mouse. - - - - - | Description | Enum Value in Code | - | ----------------------- | ---------------------------| - | No mouse button | NO_BUTTON | - | The left mouse button | LEFT_BUTTON | - | The middle mouse button | MIDDLE_BUTTON | - | The right mouse button | RIGHT_BUTTON | - | The x1 mouse button | MOUSE_X1_BUTTON | - | The x2 mouse button | MOUSE_X2_BUTTON | - - - - - | Description | Enum Value in Code | - | ----------------------- | ---------------------------| - | No mouse button | MouseButton.NoButton | - | The left mouse button | MouseButton.LeftButton | - | The middle mouse button | MouseButton.MiddleButton | - | The right mouse button | MouseButton.RightButton | - | The x1 mouse button | MouseButton.MouseX1Button | - | The x2 mouse button | MouseButton.MouseX2Button | - - - - - | Description | Enum Value in Code | - | ----------------------- | ---------------------------| - | No mouse button | MouseButton.no_button | - | The left mouse button | MouseButton.left_button | - | The middle mouse button | MouseButton.middle_button | - | The right mouse button | MouseButton.right_button | - | The x1 mouse button | MouseButton.mouse_x1_button | - | The x2 mouse button | MouseButton.mouse_x2_button | - - - - -#### Mouse Clicked - -[Mouse Clicked](/api/input/#mouse-clicked) is a boolean function that checks if the specified `Mouse Button` has been clicked since the last time [Process Events](/api/input/#process-events) was called. - -Here is a simple example using the left and right mouse buttons: - - - - -```cpp -#include "splashkit.h" - -int main() -{ - open_window("Mouse Inputs", 800, 600); - - while (!window_close_requested("Mouse Inputs")) - { - // process user input events - process_events(); - - // change screen colour to red if left mouse button is clicked - if (mouse_clicked(LEFT_BUTTON)) - { - clear_screen(COLOR_RED); - } - // change screen colour to yellow if right mouse button is clicked - else if (mouse_clicked(RIGHT_BUTTON)) - { - clear_screen(COLOR_YELLOW); - } - - refresh_screen(60); - } - - close_all_windows(); - - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -OpenWindow("Mouse Inputs", 800, 600); - -while (!WindowCloseRequested("Mouse Inputs")) -{ - // process user input events - ProcessEvents(); - - // change screen colour to red if left mouse button is clicked - if (MouseClicked(MouseButton.LeftButton)) - { - ClearScreen(ColorRed()); - } - // change screen colour to yellow if right mouse button is clicked - else if (MouseClicked(MouseButton.RightButton)) - { - ClearScreen(ColorYellow()); - } - - RefreshScreen(60); -} - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace MouseInputs -{ - public class Program - { - public static void Main() - { - Window window = SplashKit.OpenWindow("Mouse Inputs", 800, 600); - - while (!SplashKit.WindowCloseRequested(window)) - { - SplashKit.ProcessEvents(); - - if (SplashKit.MouseClicked(MouseButton.LeftButton)) - { - SplashKit.ClearScreen(Color.Red); - } - else if (SplashKit.MouseClicked(MouseButton.RightButton)) - { - SplashKit.ClearScreen(Color.Yellow); - } - - SplashKit.RefreshScreen(60); - } - - SplashKit.CloseAllWindows(); - } - } -} - -``` - - - - - - - -```python - -from splashkit import * - -COLOR_RED = color_red() -COLOR_YELLOW = color_yellow() -COLOR_WHITE = color_white() - -def main(): - - win = open_window("Mouse Inputs", 800, 600) - - current_color = COLOR_WHITE - - # Main loop - while not window_close_requested(win): - # Process user input events - process_events() - - # Check mouse click status and change screen color - if mouse_clicked(MouseButton.left_button): - - current_color = COLOR_RED # Change color to red - elif mouse_clicked(MouseButton.right_button): - - current_color = COLOR_YELLOW # Change color to yellow - - # Clear screen with the current color - clear_screen(current_color) - - - refresh_window(win) - - - close_window(win) - -if __name__ == "__main__": - main() -``` - - - - -#### Mouse Down - -[Mouse Down](/api/input/#mouse-down) checks if the specified button is being held down. - -Here is a simple example using the left and right mouse buttons: - - - - -```cpp -#include "splashkit.h" - -int main() -{ - open_window("Mouse Inputs", 800, 600); - - while (!window_close_requested("Mouse Inputs")) - { - // process user input events - process_events(); - - // change screen colour to red if left mouse button is held down - if (mouse_down(LEFT_BUTTON)) - { - clear_screen(COLOR_RED); - } - // change screen colour to yellow if right mouse button is held down - else if (mouse_down(RIGHT_BUTTON)) - { - clear_screen(COLOR_YELLOW); - } - // change screen colour to white if no mouse button held down - else - { - clear_screen(COLOR_WHITE); - } - refresh_screen(60); - } - - close_all_windows(); - - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -OpenWindow("Mouse Inputs", 800, 600); - -while (!WindowCloseRequested("Mouse Inputs")) -{ - // process user input events - ProcessEvents(); - - // change screen colour to red if left mouse button is held down - if (MouseDown(MouseButton.LeftButton)) - { - ClearScreen(ColorRed()); - } - // change screen colour to yellow if right mouse button is held down - else if (MouseDown(MouseButton.RightButton)) - { - ClearScreen(ColorYellow()); - } - // change screen colour to white if no mouse button held down - else - { - ClearScreen(ColorWhite()); - } - - RefreshScreen(60); -} - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace MouseInputs -{ - public class Program - { - public static void Main() - { - Window window = SplashKit.OpenWindow("Mouse Inputs", 800, 600); - - while (!SplashKit.WindowCloseRequested(window)) - { - SplashKit.ProcessEvents(); - - if (SplashKit.MouseDown(MouseButton.LeftButton)) - { - SplashKit.ClearScreen(Color.Red); - } - else if (SplashKit.MouseDown(MouseButton.RightButton)) - { - SplashKit.ClearScreen(Color.Yellow); - } - else - { - SplashKit.ClearScreen(Color.White); - } - - SplashKit.RefreshScreen(60); - } - - SplashKit.CloseAllWindows(); - } - } -} - -``` - - - - - - - -```python -from splashkit import * - - -COLOR_RED = color_red() -COLOR_YELLOW = color_yellow() -COLOR_WHITE = color_white() - -def main(): - - window = open_window("Mouse Inputs", 800, 600) - - current_color = COLOR_WHITE - - - while not window_close_requested(window): - # Process user input events - process_events() - - # Check mouse button status and change screen color - if mouse_down(MouseButton.left_button): - - current_color = COLOR_RED # Change color to red - elif mouse_down(MouseButton.right_button): - - current_color = COLOR_YELLOW # Change color to yellow - else: - current_color = COLOR_WHITE # Default color if no mouse button is held down - - - clear_screen(current_color) - - - refresh_window(window) - - # Close the window - close_window(window) - -if __name__ == "__main__": - main() -``` - - - - -#### Mouse Up - -Opposite to the previous function, [Mouse Up](/api/input/#mouse-up) checks if the specified button is released. - -Here is a simple example using the left mouse button: - - - - -```cpp -#include "splashkit.h" - -int main() -{ - open_window("Mouse Inputs", 800, 600); - - while (!window_close_requested("Mouse Inputs")) - { - // process user input events - process_events(); - - // change screen colour to red if left mouse button is not pressed - if (mouse_up(LEFT_BUTTON)) - { - clear_screen(COLOR_RED); - } - // change screen colour to white if left button is pressed - else - { - clear_screen(COLOR_WHITE); - } - - refresh_screen(60); - } - - close_all_windows(); - - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -OpenWindow("Mouse Inputs", 800, 600); - -while (!WindowCloseRequested("Mouse Inputs")) -{ - // process user input events - ProcessEvents(); - - // change screen colour to red if left mouse button is not pressed - if (MouseUp(MouseButton.LeftButton)) - { - ClearScreen(ColorRed()); - } - // change screen colour to white if left button is pressed - else - { - ClearScreen(ColorWhite()); - } - - RefreshScreen(60); -} - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace MouseInputs -{ - public class Program - { - public static void Main() - { - Window window = SplashKit.OpenWindow("Mouse Inputs", 800, 600); - - while (!SplashKit.WindowCloseRequested(window)) - { - SplashKit.ProcessEvents(); - - if (SplashKit.MouseUp(MouseButton.LeftButton)) - { - SplashKit.ClearScreen(Color.Red); - } - else - { - SplashKit.ClearScreen(Color.White); - } - - SplashKit.RefreshScreen(60); - } - - SplashKit.CloseAllWindows(); - } - } -} - -``` - - - - - - - -```python -from splashkit import * - - -COLOR_RED = color_red() -COLOR_WHITE = color_white() - -def main(): - - window = open_window("Mouse Inputs", 800, 600) - - while not window_close_requested(window): - # Process user input events - process_events() - - # Change screen color to red if the left mouse button is not pressed - if not mouse_down(MouseButton.left_button): - clear_screen(COLOR_RED) - # Change screen color to white if the left button is pressed - else: - clear_screen(COLOR_WHITE) - - - refresh_window(window) - - - close_window(window) - -if __name__ == "__main__": - main() -``` - - - - -### Mouse Movement Functionality - -Another thing we can do with mouse input, other than checking button presses, is to check mouse movement in the program. - -#### Mouse Movement - -[Mouse Movement](/api/input/#mouse-movement) is a function that returns the amount of accumulated mouse movement since the last time `Process Events` was called. It returns the value as a `Vector 2D` data type, which shows the direction and distance in the x and y scale. - -Here is an example using the left mouse button combined with horizontal movement to change the hue of the screen colour, and the right mouse button combined with vertical movement to change the saturation of the screen colour: - - - - -```cpp -#include "splashkit.h" - -int main() -{ - // colour variables - double hue = 0.8; - double saturation = 0.8; - double brightness = 0.8; - - // mouse movement variable - vector_2d movement; - - open_window("Mouse Movement", 800, 600); - - while (!window_close_requested("Mouse Movement")) - { - // process user input events - process_events(); - - // store the mouse movement direction and distance to the movement variable - movement = mouse_movement(); - - // change screen colour 'hue' if left mouse button is held down - if (mouse_down(LEFT_BUTTON)) - { - // change hue of screen colour based on horizontal mouse movement - hue += movement.x / screen_width(); - } - // change screen colour 'saturation' if right mouse button is held down - if (mouse_down(RIGHT_BUTTON)) - { - // change saturation of screen colour based on vertical mouse movement - saturation += movement.y / screen_height(); - } - - // display current screen colour - clear_screen(hsb_color(hue, saturation, brightness)); - refresh_screen(60); - } - - close_all_windows(); - - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -// colour variables -double hue = 0.8; -double saturation = 0.8; -double brightness = 0.8; - -// mouse movement variable -Vector2D movement; - -OpenWindow("Mouse Movement", 800, 600); - -while (!WindowCloseRequested("Mouse Movement")) -{ - // process user input events - ProcessEvents(); - - // store the mouse movement direction and distance to the movement variable - movement = MouseMovement(); - - // change screen colour 'hue' if left mouse button is held down - if (MouseDown(MouseButton.LeftButton)) - { - // change hue of screen colour based on horizontal mouse movement - hue += movement.X / ScreenWidth(); - } - // change screen colour 'saturation' if right mouse button is held down - if (MouseDown(MouseButton.RightButton)) - { - // change saturation of screen colour based on vertical mouse movement - saturation += movement.Y / ScreenHeight(); - } - - // display current screen colour - ClearScreen(HSBColor(hue, saturation, brightness)); - RefreshScreen(60); -} - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace MouseMovement -{ - public class Program - { - public static void Main() - { - Window window = SplashKit.OpenWindow("Mouse Movement", 800, 600); - double hue = 0.8; - double saturation = 0.8; - double brightness = 0.8; - - while (!SplashKit.WindowCloseRequested(window)) - { - SplashKit.ProcessEvents(); - - Vector2D movement = SplashKit.MouseMovement(); - - if (SplashKit.MouseDown(MouseButton.LeftButton)) - { - hue += movement.X / SplashKit.ScreenWidth(); - } - - if (SplashKit.MouseDown(MouseButton.RightButton)) - { - saturation += movement.Y / SplashKit.ScreenHeight(); - } - - SplashKit.ClearScreen(SplashKit.HSBColor(hue, saturation, brightness)); - - SplashKit.RefreshScreen(60); - } - - SplashKit.CloseAllWindows(); - } - } -} - -``` - - - - - - - -```python -from splashkit import * - -def main(): - - hue = 0.8 - saturation = 0.8 - brightness = 0.8 - - - window = open_window("Mouse Movement", 800, 600) - - while not window_close_requested(window): - - process_events() - - # Get the mouse movement - movement = mouse_movement() - - # Update hue and saturation based on mouse movement - if mouse_down(MouseButton.left_button): - # Adjust hue based on horizontal mouse movement - hue = (hue + movement.x / window_width(window)) % 1.0 - - if mouse_down(MouseButton.right_button): - # Adjust saturation based on vertical mouse movement - saturation = min(max(saturation + movement.y / window_height(window), 0.0), 1.0) - - # Create the color using HSB values - color = hsb_color(hue, saturation, brightness) - - # Clear the screen with the new color - clear_screen(color) - - - refresh_window(window) - - - close_window(window) - -if __name__ == "__main__": - main() -``` - - - - -#### Mouse Wheel Scroll - -[Mouse Wheel Scroll](/api/input/#mouse-wheel-scroll) returns the distance and direction of the mouse scroll since the last time `Process Events` was called. Like the previous function, this function returns the `Vector 2D` data type. - -Here is an example using vertical scrolling to change the hue of the screen colour: - - - - -```cpp -#include "splashkit.h" - -int main() -{ - // color variables - double hue = 0.6; - double saturation = 0.6; - double brightness = 0.6; - - // mouse scroll variable - vector_2d scroll; - - open_window("Mouse Scrolling", 800, 600); - - while (!window_close_requested("Mouse Scrolling")) - { - // process user input events - process_events(); - - // store the mouse wheel scroll direction and distance to the scroll variable - scroll = mouse_wheel_scroll(); - - // change hue of screen colour based on vertical mouse scrolling (two fingers if using trackpad) - hue += scroll.y / 100; - - // display current screen colour - clear_screen(hsb_color(hue, saturation, brightness)); - refresh_screen(60); - } - - close_all_windows(); - - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -// color variables -double hue = 0.6; -double saturation = 0.6; -double brightness = 0.6; - -// mouse scroll variable -Vector2D scroll; - -OpenWindow("Mouse Scrolling", 800, 600); - -while (!WindowCloseRequested("Mouse Scrolling")) -{ - // process user input events - ProcessEvents(); - - // store the mouse wheel scroll direction and distance to the scroll variable - scroll = MouseWheelScroll(); - - // change hue of screen colour based on vertical mouse scrolling (two fingers if using trackpad) - hue += scroll.Y / 100; - - // display current screen colour - ClearScreen(HSBColor(hue, saturation, brightness)); - RefreshScreen(60); -} - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace MouseScrolling -{ - public class Program - { - public static void Main() - { - Window window = SplashKit.OpenWindow("Mouse Scrolling", 800, 600); - double hue = 0.6; - double saturation = 0.6; - double brightness = 0.6; - - while (!SplashKit.WindowCloseRequested(window)) - { - SplashKit.ProcessEvents(); - - Vector2D scroll = SplashKit.MouseWheelScroll(); - - hue += scroll.Y / 100.0; - - SplashKit.ClearScreen(SplashKit.HSBColor(hue, saturation, brightness)); - SplashKit.RefreshScreen(60); - } - - SplashKit.CloseAllWindows(); - } - } -} - -``` - - - - - - - -```python -from splashkit import * - -def main(): - - hue = 0.6 - saturation = 0.6 - brightness = 0.6 - - - window = open_window("Mouse Scrolling", 800, 600) - - while not window_close_requested(window): - # Process user input events - process_events() - - # Store the mouse wheel scroll direction and distance to the scroll variable - scroll = mouse_wheel_scroll() - - # Change hue of screen color based on vertical mouse scrolling - hue += scroll.y / 100.0 - - # Ensure hue is within the valid range [0.0, 1.0] - hue = min(max(hue, 0.0), 1.0) - - # Display current screen color - clear_screen(hsb_color(hue, saturation, brightness)) - refresh_window(window) - - - close_window(window) - -if __name__ == "__main__": - main() -``` - - - - -### Mouse Location Functionality - -Now that we have learned how to handle mouse inputs and movements, let's look at how to -use the mouse's location in the window, which can be used in your program to make the experience more interactive. Combined with the mouse input functions, it can be used to spawn items where the player clicked or respond to the player clicking where an item is located. - -#### Mouse Position - -[Mouse Position](/api/input/#mouse-position) returns the position of the mouse in the current window as a [Point 2d](/api/types/#point-2d) data type, which is its x and y coordinates. - -Here is a simple example that draws a circle at the mouse position: - - - - -```cpp -#include "splashkit.h" - -int main() -{ - open_window("Mouse Location", 800, 600); - - while (!window_close_requested("Mouse Location")) - { - // process user input events - process_events(); - - // draw blue circle at mouse position - clear_screen(COLOR_WHITE); - fill_circle(COLOR_LIGHT_BLUE, circle_at(mouse_position(), 20)); - refresh_screen(60); - } - - close_all_windows(); - - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -OpenWindow("Mouse Location", 800, 600); - -while (!WindowCloseRequested("Mouse Location")) -{ - // process user input events - ProcessEvents(); - - // draw blue circle at mouse position - ClearScreen(ColorWhite()); - FillCircle(ColorLightBlue(), CircleAt(MousePosition(), 20)); - RefreshScreen(60); -} - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace MouseLocation -{ - public class Program - { - public static void Main() - { - Window window = SplashKit.OpenWindow("Mouse Location", 800, 600); - - while (!SplashKit.WindowCloseRequested(window)) - { - SplashKit.ProcessEvents(); - - SplashKit.ClearScreen(Color.White); - - Point2D mousePosition = SplashKit.MousePosition(); - SplashKit.FillCircle(Color.LightBlue, mousePosition.X, mousePosition.Y, 20); - - SplashKit.RefreshScreen(60); - } - - SplashKit.CloseAllWindows(); - } - } -} - -``` - - - - - - - -```python -from splashkit import * - -def main(): - - window = open_window("Mouse Location", 800, 600) - - while not window_close_requested(window): - # Process user input events - process_events() - - # Clear the screen with white color - clear_screen(color_white()) - - # Get the current mouse position - mouse_pos = mouse_position() - - # Draw a blue circle at the current mouse position - fill_circle(color_light_blue(), mouse_pos.x, mouse_pos.y, 20) - - - refresh_window(window) - - - close_window(window) - -if __name__ == "__main__": - main() -``` - - - - -#### Mouse Position Vector - -[Mouse Position Vector](/api/input/#mouse-position-vector) returns the position of the mouse relative to the window origin as a [Vector 2d](/api/types/#vector-2d). - -Here is a simple example that displays the mouse position vector as a line: - - - - -```cpp -#include "splashkit.h" - -int main() -{ - open_window("Mouse Location", 800, 600); - - while (!window_close_requested("Mouse Location")) - { - // process user input events - process_events(); - - // draw line from mouse position vector - clear_screen(COLOR_WHITE); - draw_line(COLOR_BLUE, line_from(mouse_position_vector())); - refresh_screen(60); - } - - close_all_windows(); - - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -OpenWindow("Mouse Location", 800, 600); - -while (!WindowCloseRequested("Mouse Location")) -{ - // process user input events - ProcessEvents(); - - // draw line from mouse position vector - ClearScreen(ColorWhite()); - DrawLine(ColorBlue(), LineFrom(MousePositionVector())); - RefreshScreen(60); -} - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace MouseLocation -{ - public class Program - { - public static void Main() - { - Window window = SplashKit.OpenWindow("Mouse Location", 800, 600); - - while (!SplashKit.WindowCloseRequested(window)) - { - SplashKit.ProcessEvents(); - - SplashKit.ClearScreen(Color.White); - SplashKit.DrawLine(Color.Blue, SplashKit.LineFrom(SplashKit.MousePositionVector())); - SplashKit.RefreshScreen(60); - } - - SplashKit.CloseAllWindows(); - } - } -} - -``` - - - - - - - -```python -from splashkit import * - -def main(): - - window = open_window("Mouse Location", 800, 600) - - while not window_close_requested(window): - # Process user input events - process_events() - - # Clear the screen with white color - clear_screen(color_white()) - - # Get the current mouse position - mouse_pos = mouse_position_vector() - - # Draw a line from the top-left corner to the current mouse position - draw_line(color_blue(), 0, 0, mouse_pos.x, mouse_pos.y) - - - refresh_window(window) - - - close_window(window) - -if __name__ == "__main__": - main() -``` - - - - -#### Mouse X - -[Mouse X](/api/input/#mouse-x) returns the distance of the mouse from the left edge of the window. - -Here is an example using the left mouse button to drag a "curtain" across the screen from the left side, based on the mouse's x coordinate: - - - - -```cpp -#include "splashkit.h" - -int main() -{ - float x = 0; - - open_window("Mouse Location", 800, 600); - - while (!window_close_requested("Mouse Location")) - { - // process user input events - process_events(); - - if (mouse_down(LEFT_BUTTON)) - { - x = mouse_x(); - } - - clear_screen(COLOR_WHITE); - fill_circle(COLOR_BLUE, 400, 300, 100); - // draw purple "curtain" from left side of screen to x coordinate of mouse - fill_rectangle(COLOR_PURPLE, 0, 0, x, screen_height()); - refresh_screen(60); - } - - close_all_windows(); - - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -float x = 0; - -OpenWindow("Mouse Location", 800, 600); - -while (!WindowCloseRequested("Mouse Location")) -{ - // process user input events - ProcessEvents(); - - if (MouseDown(MouseButton.LeftButton)) - { - x = MouseX(); - } - - ClearScreen(ColorWhite()); - FillCircle(ColorBlue(), 400, 300, 100); - // draw purple "curtain" from left side of screen to x coordinate of mouse - FillRectangle(ColorPurple(), 0, 0, x, ScreenHeight()); - RefreshScreen(60); -} - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace MouseLocation -{ - public class Program - { - public static void Main() - { - Window window = SplashKit.OpenWindow("Mouse Location", 800, 600); - float x = 0; - - while (!SplashKit.WindowCloseRequested(window)) - { - SplashKit.ProcessEvents(); - - if (SplashKit.MouseDown(MouseButton.LeftButton)) - { - x = SplashKit.MouseX(); - } - - SplashKit.ClearScreen(Color.White); - SplashKit.FillCircle(Color.Blue, 400, 300, 100); - SplashKit.FillRectangle(Color.Purple, 0, 0, x, SplashKit.ScreenHeight()); - SplashKit.RefreshScreen(60); - } - - SplashKit.CloseAllWindows(); - } - } -} - -``` - - - - - - - -```python -from splashkit import * - -def main(): - x = 0 - - window = open_window("Mouse Location", 800, 600) - - while not window_close_requested(window): - # Process user input events - process_events() - - # Update x-coordinate if the left mouse button is down - if mouse_down(MouseButton.left_button): - x = mouse_x() - - # Clear the screen with white color - clear_screen(color_white()) - - # Draw a blue circle at the center of the screen - fill_circle(color_blue(), 400, 300, 100) - - # Draw a purple "curtain" from the left side of the screen to the x-coordinate of the mouse - fill_rectangle(color_purple(), 0, 0, x, window_height(window)) - - - refresh_window(window) - - - close_window(window) - -if __name__ == "__main__": - main() -``` - - - - -#### Mouse Y - -[Mouse Y](/api/input/#mouse-y) returns the distance of the mouse from the top edge of the window. - -Here is an example using the left mouse button to drag a "curtain/blind" down the screen from the top, based on the mouse's y coordinate: - - - - -```cpp -#include "splashkit.h" - -int main() -{ - float y = 0; - - open_window("Mouse Location", 800, 600); - - while (!window_close_requested("Mouse Location")) - { - // process user input events - process_events(); - - if (mouse_down(LEFT_BUTTON)) - { - y = mouse_y(); - } - - clear_screen(COLOR_WHITE); - fill_circle(COLOR_BLUE, 400, 300, 100); - // draw purple "curtain" from top of screen to y coordinate of mouse - fill_rectangle(COLOR_PURPLE, 0, 0, screen_width(), y); - refresh_screen(60); - } - - close_all_windows(); - - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -float y = 0; - -OpenWindow("Mouse Location", 800, 600); - -while (!WindowCloseRequested("Mouse Location")) -{ - // process user input events - ProcessEvents(); - - if (MouseDown(MouseButton.LeftButton)) - { - y = MouseY(); - } - - ClearScreen(ColorWhite()); - FillCircle(ColorBlue(), 400, 300, 100); - // draw purple "curtain" from top of screen to y coordinate of mouse - FillRectangle(ColorPurple(), 0, 0, ScreenWidth(), y); - RefreshScreen(60); -} - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace MouseLocation -{ - public class Program - { - public static void Main() - { - Window window = SplashKit.OpenWindow("Mouse Location", 800, 600); - float y = 0; - - while (!SplashKit.WindowCloseRequested(window)) - { - SplashKit.ProcessEvents(); - - if (SplashKit.MouseDown(MouseButton.LeftButton)) - { - y = SplashKit.MouseY(); - } - - SplashKit.ClearScreen(Color.White); - SplashKit.FillCircle(Color.Blue, 400, 300, 100); - SplashKit.FillRectangle(Color.Purple, 0, 0, SplashKit.ScreenWidth(), y); - SplashKit.RefreshScreen(60); - } - - SplashKit.CloseAllWindows(); - } - } -} - -``` - - - - - - - -```python -from splashkit import * - -def main(): - y = 0 - - window = open_window("Mouse Location", 800, 600) - - while not window_close_requested(window): - # Process user input events - process_events() - - if mouse_down(MouseButton.left_button): - y = mouse_y() - - # Clear the screen with white color - clear_screen(color_white()) - - # Draw a blue circle at the center of the screen - fill_circle(color_blue(), 400, 300, 100) - - # Draw a purple "curtain" from the top of the screen to the y-coordinate of the mouse - fill_rectangle(color_purple(), 0, 0, window_width(window), y) - - refresh_window(window) - - close_window(window) - -if __name__ == "__main__": - main() -``` - - - - -### Mouse Visibility - -Finally, we can also alter the mouse visibility on SplashKit. The following functions handles the -mouse visibility. These can be useful to create a more immersive environment for your game. - -#### Hide/Show Mouse - -[Hide Mouse](/api/input/#hide-mouse) hides the mouse from the screen. [Show Mouse](/api/input/#show-mouse-functions) shows the mouse to the screen. - -Here is a simple example where the mouse "disappears in a black hole": - - - - -```cpp -#include "splashkit.h" - -int main() -{ - // create cirle variable for "black hole" - circle blackHole; - - open_window("Mouse Visibility", 800, 600); - - // create black hole in centre of screen - blackHole = circle_at(screen_center(), 50); - - while (!window_close_requested("Mouse Visibility")) - { - // process user input events - process_events(); - - // mouse disappears in black hole - if (point_in_circle(mouse_position(), blackHole)) - { - hide_mouse(); - } - // mouse reappears once out of black hole - else - { - show_mouse(); - } - - // display "black hole" on screen - clear_screen(COLOR_WHITE); - fill_circle(COLOR_BLACK, blackHole); - refresh_screen(60); - } - - close_all_windows(); - - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -// create cirle variable for "black hole" -Circle blackHole; - -OpenWindow("Mouse Visibility", 800, 600); - -// create black hole in centre of screen -blackHole = CircleAt(ScreenCenter(), 50); - -while (!WindowCloseRequested("Mouse Visibility")) -{ - // process user input events - ProcessEvents(); - - // mouse disappears in black hole - if (PointInCircle(MousePosition(), blackHole)) - { - HideMouse(); - } - // mouse reappears once out of black hole - else - { - ShowMouse(); - } - - // display "black hole" on screen - ClearScreen(ColorWhite()); - FillCircle(ColorBlack(), blackHole); - RefreshScreen(60); -} - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace MouseVisibility -{ - public class Program - { - public static void Main() - { - Window window = SplashKit.OpenWindow("Mouse Visibility", 800, 600); - Circle blackHole = SplashKit.CircleAt(SplashKit.ScreenCenter(), 50); - - while (!SplashKit.WindowCloseRequested(window)) - { - SplashKit.ProcessEvents(); - - if (SplashKit.PointInCircle(SplashKit.MousePosition(), blackHole)) - { - SplashKit.HideMouse(); - } - else - { - SplashKit.ShowMouse(); - } - - SplashKit.ClearScreen(Color.White); - SplashKit.FillCircle(Color.Black, blackHole); - SplashKit.RefreshScreen(60); - } - - SplashKit.CloseAllWindows(); - } - } -} - -``` - - - - - - - -```python -from splashkit import * - -def main(): - - black_hole_radius = 50 - window_width, window_height = 800, 600 - window = open_window("Mouse Visibility", window_width, window_height) - - black_hole_center = point_at(window_width / 2, window_height / 2) - - while not window_close_requested(window): - # Process user input events - process_events() - - # Get the current mouse position - mouse_pos = mouse_position() - - # Calculate distance from the mouse to the black hole center - dx = mouse_pos.x - black_hole_center.x - dy = mouse_pos.y - black_hole_center.y - distance = (dx ** 2 + dy ** 2) ** 0.5 - - # Hide or show the mouse based on distance - if distance <= black_hole_radius: - hide_mouse() - else: - show_mouse() - - # Clear the screen with white color - clear_screen(color_white()) - - # Draw the black hole as a circle - fill_circle(color_black(), black_hole_center.x, black_hole_center.y, black_hole_radius) - - refresh_window(window) - - close_all_windows() - -if __name__ == "__main__": - main() -``` - - - - -#### Show Mouse - -There are two versions of the [Show Mouse](/api/input/#show-mouse-with-boolean) function. The first version is shown above. The second version shows or hides the mouse based on its boolean parameter. If true, it shows the mouse, while if false, it hides the mouse from the screen. - -Here is a simple example where the mouse is only visible in the "spot light": - - - - -```cpp -#include "splashkit.h" - -int main() -{ - // create cirle variable for emulating a "stage spot light" - circle spotLight; - - open_window("Mouse Visibility", 800, 600); - - // create a "spot light" circle in centre of screen - spotLight = circle_at(screen_center(), 100); - - while (!window_close_requested("Mouse Visibility")) - { - // process user input events - process_events(); - - // mouse disappears when not in the "spot light" - show_mouse(point_in_circle(mouse_position(), spotLight)); - - // display "spot light" on screen - clear_screen(COLOR_BLACK); - fill_circle(COLOR_ALICE_BLUE, spotLight); - refresh_screen(60); - } - - close_all_windows(); - - return 0; -} -``` - - - - - - - -```csharp -using SplashKitSDK; -using static SplashKitSDK.SplashKit; - -// create cirle variable for emulating a "stage spot light" -Circle spotLight; - -OpenWindow("Mouse Visibility", 800, 600); - -// create a "spot light" circle in centre of screen -spotLight = CircleAt(ScreenCenter(), 100); - -while (!WindowCloseRequested("Mouse Visibility")) -{ - // process user input events - ProcessEvents(); - - // mouse disappears when not in the "spot light" - ShowMouse(PointInCircle(MousePosition(), spotLight)); - - // display "spot light" on screen - ClearScreen(ColorBlack()); - FillCircle(ColorWhite(), spotLight); - RefreshScreen(60); -} - -CloseAllWindows(); -``` - - - - -```csharp -using SplashKitSDK; - -namespace MouseVisibility -{ - public class Program - { - public static void Main() - { - Window window = SplashKit.OpenWindow("Mouse Visibility", 800, 600); - Circle spotLight = SplashKit.CircleAt(SplashKit.ScreenCenter(), 100); - - while (!SplashKit.WindowCloseRequested(window)) - { - SplashKit.ProcessEvents(); - - bool isMouseInSpotLight = SplashKit.PointInCircle(SplashKit.MousePosition(), spotLight); - SplashKit.ShowMouse(isMouseInSpotLight); - - SplashKit.ClearScreen(Color.Black); - SplashKit.FillCircle(Color.White, spotLight); - SplashKit.RefreshScreen(60); - } - - SplashKit.CloseAllWindows(); - } - } -} - -``` - - - - - - - -```python -from splashkit import * - -def main(): - - spotlight_radius = 100 - window_width, window_height = 800, 600 - window = open_window("Mouse Visibility in Spotlight", window_width, window_height) - - spotlight_center = point_at(window_width / 2, window_height / 2) - - mouse_visible = True - - while not window_close_requested(window): - # Process user input events - process_events() - - # Get the current mouse position - mouse_pos = mouse_position() - - # Calculate distance from the mouse to the spotlight center - dx = mouse_pos.x - spotlight_center.x - dy = mouse_pos.y - spotlight_center.y - distance = (dx ** 2 + dy ** 2) ** 0.5 - - # Determine whether to show or hide the mouse - if distance <= spotlight_radius: - if not mouse_visible: - show_mouse() # Show the mouse - mouse_visible = True - else: - if mouse_visible: - hide_mouse() # Hide the mouse - mouse_visible = False - - # Clear the screen with black color - clear_screen(color_black()) - - # Draw the spotlight as a circle - fill_circle(color_white(), spotlight_center.x, spotlight_center.y, spotlight_radius) - - refresh_window(window) - - close_all_windows() - -if __name__ == "__main__": - main() -``` - - - +--- +title: User Inputs in Graphical Applications +description: Introductory guide on reading text and mouse input functionality. +author: Various +lastupdated: July 2025 +tableOfContents: + minHeadingLevel: 2 + maxHeadingLevel: 4 +--- + +import { Tabs, TabItem, Steps } from "@astrojs/starlight/components"; + +**{frontmatter.description}** +Written by: {frontmatter.author} +_Last updated: {frontmatter.lastupdated}_ + +--- + +## Reading Text in Graphical Applications + +Reading input from users in graphical applications is more complex than using command line inputs, as blocking operations will cause the entire graphical interface to freeze. + +With a graphical application, you need to keep redrawing, processing events, updating elements, and refreshing the screen. If you stop doing this to wait for user input, then any dynamic visuals will stop! + +### Example Code + +Let's see how to read input from the user using some example code. We can then talk through the different parts to understand how they come together to give you a dynamic application with user input. + + + + +```cpp +#include "splashkit.h" + +int main() +{ + // Lets read into this string... + string name = "unknown"; + + // Open a window to show the user... + open_window("Reading Input.", 800, 600); + + // Load a font for text rendering + load_font("input", "arial.ttf"); + + // Define area where text should appear + rectangle rect = rectangle_from(230.0, 50.0, 200.0, 30.0); + + // Start reading text in this area + start_reading_text(rect); + + // Here is our game loop + do + { + // Listen for input... this will update the text read + process_events(); + + // Click anywhere on the screen to trigger the text input + if (mouse_clicked(LEFT_BUTTON)) + { + // Start reading text in the rectagle area + start_reading_text(rect); + } + + // Looks like we finished reading text... + if (not reading_text()) + { + // Was input cancelled? + if (text_entry_cancelled()) + { + name = "unknown"; + } + else + { + // Get the name from the text input + name = text_input(); + } + } + + // Draw the screen... + clear_screen(COLOR_WHITE); + draw_rectangle(COLOR_BLACK, rect); + + // If we are reading text... then show what it is + if (reading_text()) + { + draw_collected_text(COLOR_BLACK, font_named("input"), 18, option_defaults()); + } + + // Draw text instructions + draw_text("Click anywhere to start reading text", COLOR_RED, font_named("input"), 18, 200, 100); + + // Draw what we have in the name + draw_text(name, COLOR_BLACK, font_named("input"), 18, 10, 10); + + // Show it.. + refresh_screen(60); + } while (!quit_requested()); + + close_all_windows(); + return 0; +} +``` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +// Let's read into this string... +string name = "unknown"; + +// Open a window to show the user... +OpenWindow("Reading Input.", 800, 600); + +// Load a font for text rendering +LoadFont("input", "arial.ttf"); + +// Define the area where text should appear +Rectangle rect = RectangleFrom(230.0, 50.0, 200.0, 30.0); + +// Start reading text in this area +StartReadingText(rect); + +// Here is our game loop +do +{ + // Listen for input... this will update the text read + ProcessEvents(); + + // Click anywhere on the screen to trigger the text input + if (MouseClicked(MouseButton.LeftButton)) + { + // Start reading text in the rectagle area + StartReadingText(rect); + } + + // Looks like we finished reading text... + if (!ReadingText()) + { + // Was input canceled? + if (TextEntryCancelled()) + { + name = "unknown"; + } + else + { + // Get the name from the text input + name = TextInput(); + } + } + + // Draw the screen... + ClearScreen(ColorWhite()); + DrawRectangle(ColorBlack(), rect); + + // If we are reading text... then show what it is + if (ReadingText()) + { + DrawCollectedText(ColorBlack(), FontNamed("input"), 18, OptionDefaults()); + } + + // Draw text instructions + DrawText("Click anywhere to start reading text", Color.Red, SplashKit.FontNamed("input"), 18, 200, 100); + + // Draw what we have in the name + DrawText(name, ColorBlack(), FontNamed("input"), 18, 10, 10); + + // Show it... + RefreshScreen(60); +} while (!QuitRequested()); + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace ReadingInput +{ + public class Program + { + public static void Main() + { + // Let's read into this string... + string name = "unknown"; + + // Open a window to show the user... + Window window = new Window("Reading Input.", 800, 600); + + // Load a font for text rendering + Font font = new Font("input", "arial.ttf"); + + // Define the area where text should appear + Rectangle rect = SplashKit.RectangleFrom(230.0, 50.0, 200.0, 30.0); + + // Start reading text in the rectagle area + SplashKit.StartReadingText(rect); + + // Here is our game loop + do + { + // Listen for input... this will update the text read + SplashKit.ProcessEvents(); + + // Click anywhere on the screen to trigger the text input + if (SplashKit.MouseClicked(MouseButton.LeftButton)) + { + // Start reading text in the rectagle area + SplashKit.StartReadingText(rect); + } + + // Looks like we finished reading text... + if (!SplashKit.ReadingText()) + { + // Was input canceled? + if (SplashKit.TextEntryCancelled()) + { + name = "unknown"; + } + else + { + // Get the name from the text input + name = SplashKit.TextInput(); + } + } + + // Draw the screen... + window.Clear(Color.White); + window.DrawRectangle(Color.Black, rect); + + // If we are reading text... then show what it is + if (SplashKit.ReadingText()) + { + SplashKit.DrawCollectedText(Color.Black, font, 18, SplashKit.OptionDefaults()); + } + + // Draw text instructions + window.DrawText("Click anywhere to start reading text", Color.Red, font, 18, 200, 100); + + // Draw what we have in the name + window.DrawText(name, Color.Black, font, 18, 10, 10); + + // Show it... + window.Refresh(60); + } while (!window.CloseRequested); + + SplashKit.CloseAllWindows(); + } + } +} +``` + + + + + + + +```python +from splashkit import * + +# Lets read into this string... +name = "unknown" + +# Open a window to show the user... +open_window("Reading Input.", 800, 600) + +# Load a font for text rendering +load_font("input", "arial.ttf") + +# Define area where text should appear +rect = rectangle_from(230.0, 50.0, 200.0, 30.0) + +# Start reading text in this area +start_reading_text(rect) + +# Here is our game loop +while not quit_requested(): + + # Listen for input... thiss will update the text read + process_events() + + # Click anywhere on the screen to trigger the text input + if (mouse_clicked(MouseButton.left_button)): + # Start reading text in the rectagle area + start_reading_text(rect) + + # Looks like we finished reading text... + if not reading_text(): + # Was input cancelled + if text_entry_cancelled(): + name = "unknown" + else: + # Get the name from the text input + name = text_input() + + # Draw the screen... + clear_screen(color_white()) + draw_rectangle_record(color_black(), rect) + + # If we are reading text... then show what it is + if reading_text(): + draw_collected_text(color_black(), font_named("input"), 18, option_defaults()) + + # Draw text instructions + draw_text("Click anywhere to start reading text", color_red(), font_named("input"), 18, 200, 100) + + # Draw what we have in the name + draw_text(name, color_black(), font_named("input"), 18, 10, 10) + + # Show it... + refresh_screen_with_target_fps(60) + +close_all_windows() +``` + + + + +### Understanding the code + + + +1. In the above program we want to read in the user's name and store it in the `name` variable. To get started with this we need to open a window and load a font to draw the text and input. There is also the standard event loop that repeats the basic actions of checking user input and drawing the screen until the program is closed. + +2. The logic for reading input starts with the call to [Start Reading Text](/api/input/#start-reading-text). This tells SplashKit that you want it to collect text input by the user, and that you want it drawn into the passed-in [Rectangle](/api/types/#rectangle) (in this case `rect`). SplashKit is now listening for input from, and collecting this text for you when you call [Process Events](/api/input/#process-events). + +3. SplashKit will continue reading text from the user until they hit the Escape or Enter key. You can check if text is still being read by calling the [Reading Text](/api/input/#reading-text) function. In this example, we use this to update the name. You can also end text input yourself using the [End Reading Text](/api/input/#end-reading-text) function. + +4. When the SplashKit is no longer reading text, you can use [Text Entry Cancelled](/api/input/#text-entry-cancelled) to check if the user cancelled (by hitting Escape) the input. To read the actual value entered, you call [Text Input](/api/input/#text-input). This will return the value entered by the user. If they did cancel the input, then this will be an empty string. + +5. The key with graphical input will be to keep updating the data associated with the graphical elements. This will keep the screen updating as you collect the input from the user. For this, you need to [Start Reading Text](/api/input/#start-reading-text), then at some point collect the [Text Input](/api/input/#text-input) and [End Reading Text](/api/input/#end-reading-text). + + + +## Using Mouse Inputs in Graphical Applications + +### Mouse Button Functionality + +Here are some functions that are used to handle mouse button inputs. These functions all use SplashKit's [Mouse Button](/api/input/#mouse-button) data type for the argument and check if the specified button has been clicked, held down, or released. + +#### List of Mouse Button Enum Values + +[Mouse Button](/api/input/#mouse-button) is an enumeration used by SplashKit to read inputs from the mouse. Understanding how to handle mouse buttons is crucial for developers who want users to control their programs using the mouse. + + + + +| Description | Enum Value in Code | +| ----------------------- | ------------------ | +| No mouse button | NO_BUTTON | +| The left mouse button | LEFT_BUTTON | +| The middle mouse button | MIDDLE_BUTTON | +| The right mouse button | RIGHT_BUTTON | +| The x1 mouse button | MOUSE_X1_BUTTON | +| The x2 mouse button | MOUSE_X2_BUTTON | + + + + +| Description | Enum Value in Code | +| ----------------------- | ------------------------- | +| No mouse button | MouseButton.NoButton | +| The left mouse button | MouseButton.LeftButton | +| The middle mouse button | MouseButton.MiddleButton | +| The right mouse button | MouseButton.RightButton | +| The x1 mouse button | MouseButton.MouseX1Button | +| The x2 mouse button | MouseButton.MouseX2Button | + + + + +| Description | Enum Value in Code | +| ----------------------- | --------------------------- | +| No mouse button | MouseButton.no_button | +| The left mouse button | MouseButton.left_button | +| The middle mouse button | MouseButton.middle_button | +| The right mouse button | MouseButton.right_button | +| The x1 mouse button | MouseButton.mouse_x1_button | +| The x2 mouse button | MouseButton.mouse_x2_button | + + + + +#### Mouse Clicked + +[Mouse Clicked](/api/input/#mouse-clicked) is a boolean function that checks if the specified `Mouse Button` has been clicked since the last time [Process Events](/api/input/#process-events) was called. + +Here is a simple example using the left and right mouse buttons: + + + + +```cpp +#include "splashkit.h" + +int main() +{ + open_window("Mouse Inputs", 800, 600); + + while (!window_close_requested("Mouse Inputs")) + { + // process user input events + process_events(); + + // change screen colour to red if left mouse button is clicked + if (mouse_clicked(LEFT_BUTTON)) + { + clear_screen(COLOR_RED); + } + // change screen colour to yellow if right mouse button is clicked + else if (mouse_clicked(RIGHT_BUTTON)) + { + clear_screen(COLOR_YELLOW); + } + + refresh_screen(60); + } + + close_all_windows(); + + return 0; +} +``` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +OpenWindow("Mouse Inputs", 800, 600); + +while (!WindowCloseRequested("Mouse Inputs")) +{ + // process user input events + ProcessEvents(); + + // change screen colour to red if left mouse button is clicked + if (MouseClicked(MouseButton.LeftButton)) + { + ClearScreen(ColorRed()); + } + // change screen colour to yellow if right mouse button is clicked + else if (MouseClicked(MouseButton.RightButton)) + { + ClearScreen(ColorYellow()); + } + + RefreshScreen(60); +} + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace MouseInputs +{ + public class Program + { + public static void Main() + { + Window window = SplashKit.OpenWindow("Mouse Inputs", 800, 600); + + while (!SplashKit.WindowCloseRequested(window)) + { + SplashKit.ProcessEvents(); + + if (SplashKit.MouseClicked(MouseButton.LeftButton)) + { + SplashKit.ClearScreen(Color.Red); + } + else if (SplashKit.MouseClicked(MouseButton.RightButton)) + { + SplashKit.ClearScreen(Color.Yellow); + } + + SplashKit.RefreshScreen(60); + } + + SplashKit.CloseAllWindows(); + } + } +} + +``` + + + + + + + +```python + +from splashkit import * + +COLOR_RED = color_red() +COLOR_YELLOW = color_yellow() +COLOR_WHITE = color_white() + +def main(): + + win = open_window("Mouse Inputs", 800, 600) + + current_color = COLOR_WHITE + + # Main loop + while not window_close_requested(win): + # Process user input events + process_events() + + # Check mouse click status and change screen color + if mouse_clicked(MouseButton.left_button): + + current_color = COLOR_RED # Change color to red + elif mouse_clicked(MouseButton.right_button): + + current_color = COLOR_YELLOW # Change color to yellow + + # Clear screen with the current color + clear_screen(current_color) + + + refresh_window(win) + + + close_window(win) + +if __name__ == "__main__": + main() +``` + + + + +#### Mouse Down + +[Mouse Down](/api/input/#mouse-down) checks if the specified button is being held down. + +Here is a simple example using the left and right mouse buttons: + + + + +```cpp +#include "splashkit.h" + +int main() +{ + open_window("Mouse Inputs", 800, 600); + + while (!window_close_requested("Mouse Inputs")) + { + // process user input events + process_events(); + + // change screen colour to red if left mouse button is held down + if (mouse_down(LEFT_BUTTON)) + { + clear_screen(COLOR_RED); + } + // change screen colour to yellow if right mouse button is held down + else if (mouse_down(RIGHT_BUTTON)) + { + clear_screen(COLOR_YELLOW); + } + // change screen colour to white if no mouse button held down + else + { + clear_screen(COLOR_WHITE); + } + refresh_screen(60); + } + + close_all_windows(); + + return 0; +} +``` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +OpenWindow("Mouse Inputs", 800, 600); + +while (!WindowCloseRequested("Mouse Inputs")) +{ + // process user input events + ProcessEvents(); + + // change screen colour to red if left mouse button is held down + if (MouseDown(MouseButton.LeftButton)) + { + ClearScreen(ColorRed()); + } + // change screen colour to yellow if right mouse button is held down + else if (MouseDown(MouseButton.RightButton)) + { + ClearScreen(ColorYellow()); + } + // change screen colour to white if no mouse button held down + else + { + ClearScreen(ColorWhite()); + } + + RefreshScreen(60); +} + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace MouseInputs +{ + public class Program + { + public static void Main() + { + Window window = SplashKit.OpenWindow("Mouse Inputs", 800, 600); + + while (!SplashKit.WindowCloseRequested(window)) + { + SplashKit.ProcessEvents(); + + if (SplashKit.MouseDown(MouseButton.LeftButton)) + { + SplashKit.ClearScreen(Color.Red); + } + else if (SplashKit.MouseDown(MouseButton.RightButton)) + { + SplashKit.ClearScreen(Color.Yellow); + } + else + { + SplashKit.ClearScreen(Color.White); + } + + SplashKit.RefreshScreen(60); + } + + SplashKit.CloseAllWindows(); + } + } +} + +``` + + + + + + + +```python +from splashkit import * + +COLOR_RED = color_red() +COLOR_YELLOW = color_yellow() +COLOR_WHITE = color_white() + +def main(): + + window = open_window("Mouse Inputs", 800, 600) + + current_color = COLOR_WHITE + + + while not window_close_requested(window): + # Process user input events + process_events() + + # Check mouse button status and change screen color + if mouse_down(MouseButton.left_button): + + current_color = COLOR_RED # Change color to red + elif mouse_down(MouseButton.right_button): + + current_color = COLOR_YELLOW # Change color to yellow + else: + current_color = COLOR_WHITE # Default color if no mouse button is held down + + + clear_screen(current_color) + + + refresh_window(window) + + # Close the window + close_window(window) + +if **name** == "**main**": +main() + +```` + + + + +#### Mouse Up + +Opposite to the previous function, [Mouse Up](/api/input/#mouse-up) checks if the specified button is released. + +Here is a simple example using the left mouse button: + + + + +```cpp +#include "splashkit.h" + +int main() +{ + open_window("Mouse Inputs", 800, 600); + + while (!window_close_requested("Mouse Inputs")) + { + // process user input events + process_events(); + + // change screen colour to red if left mouse button is not pressed + if (mouse_up(LEFT_BUTTON)) + { + clear_screen(COLOR_RED); + } + // change screen colour to white if left button is pressed + else + { + clear_screen(COLOR_WHITE); + } + + refresh_screen(60); + } + + close_all_windows(); + + return 0; +} +```` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +OpenWindow("Mouse Inputs", 800, 600); + +while (!WindowCloseRequested("Mouse Inputs")) +{ + // process user input events + ProcessEvents(); + + // change screen colour to red if left mouse button is not pressed + if (MouseUp(MouseButton.LeftButton)) + { + ClearScreen(ColorRed()); + } + // change screen colour to white if left button is pressed + else + { + ClearScreen(ColorWhite()); + } + + RefreshScreen(60); +} + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace MouseInputs +{ + public class Program + { + public static void Main() + { + Window window = SplashKit.OpenWindow("Mouse Inputs", 800, 600); + + while (!SplashKit.WindowCloseRequested(window)) + { + SplashKit.ProcessEvents(); + + if (SplashKit.MouseUp(MouseButton.LeftButton)) + { + SplashKit.ClearScreen(Color.Red); + } + else + { + SplashKit.ClearScreen(Color.White); + } + + SplashKit.RefreshScreen(60); + } + + SplashKit.CloseAllWindows(); + } + } +} + +``` + + + + + + + +```python +from splashkit import * + + +COLOR_RED = color_red() +COLOR_WHITE = color_white() + +def main(): + + window = open_window("Mouse Inputs", 800, 600) + + while not window_close_requested(window): + # Process user input events + process_events() + + # Change screen color to red if the left mouse button is not pressed + if not mouse_down(MouseButton.left_button): + clear_screen(COLOR_RED) + # Change screen color to white if the left button is pressed + else: + clear_screen(COLOR_WHITE) + + + refresh_window(window) + + + close_window(window) + +if __name__ == "__main__": + main() +``` + + + + +### Mouse Movement Functionality + +Another thing we can do with mouse input, other than checking button presses, is to check mouse movement in the program. + +#### Mouse Movement + +[Mouse Movement](/api/input/#mouse-movement) is a function that returns the amount of accumulated mouse movement since the last time `Process Events` was called. It returns the value as a `Vector 2D` data type, which shows the direction and distance in the x and y scale. + +Here is an example using the left mouse button combined with horizontal movement to change the hue of the screen colour, and the right mouse button combined with vertical movement to change the saturation of the screen colour: + + + + +```cpp +#include "splashkit.h" + +int main() +{ + // colour variables + double hue = 0.8; + double saturation = 0.8; + double brightness = 0.8; + + // mouse movement variable + vector_2d movement; + + open_window("Mouse Movement", 800, 600); + + while (!window_close_requested("Mouse Movement")) + { + // process user input events + process_events(); + + // store the mouse movement direction and distance to the movement variable + movement = mouse_movement(); + + // change screen colour 'hue' if left mouse button is held down + if (mouse_down(LEFT_BUTTON)) + { + // change hue of screen colour based on horizontal mouse movement + hue += movement.x / screen_width(); + } + // change screen colour 'saturation' if right mouse button is held down + if (mouse_down(RIGHT_BUTTON)) + { + // change saturation of screen colour based on vertical mouse movement + saturation += movement.y / screen_height(); + } + + // display current screen colour + clear_screen(hsb_color(hue, saturation, brightness)); + refresh_screen(60); + } + + close_all_windows(); + + return 0; +} +``` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +// colour variables +double hue = 0.8; +double saturation = 0.8; +double brightness = 0.8; + +// mouse movement variable +Vector2D movement; + +OpenWindow("Mouse Movement", 800, 600); + +while (!WindowCloseRequested("Mouse Movement")) +{ + // process user input events + ProcessEvents(); + + // store the mouse movement direction and distance to the movement variable + movement = MouseMovement(); + + // change screen colour 'hue' if left mouse button is held down + if (MouseDown(MouseButton.LeftButton)) + { + // change hue of screen colour based on horizontal mouse movement + hue += movement.X / ScreenWidth(); + } + // change screen colour 'saturation' if right mouse button is held down + if (MouseDown(MouseButton.RightButton)) + { + // change saturation of screen colour based on vertical mouse movement + saturation += movement.Y / ScreenHeight(); + } + + // display current screen colour + ClearScreen(HSBColor(hue, saturation, brightness)); + RefreshScreen(60); +} + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace MouseMovement +{ + public class Program + { + public static void Main() + { + Window window = SplashKit.OpenWindow("Mouse Movement", 800, 600); + double hue = 0.8; + double saturation = 0.8; + double brightness = 0.8; + + while (!SplashKit.WindowCloseRequested(window)) + { + SplashKit.ProcessEvents(); + + Vector2D movement = SplashKit.MouseMovement(); + + if (SplashKit.MouseDown(MouseButton.LeftButton)) + { + hue += movement.X / SplashKit.ScreenWidth(); + } + + if (SplashKit.MouseDown(MouseButton.RightButton)) + { + saturation += movement.Y / SplashKit.ScreenHeight(); + } + + SplashKit.ClearScreen(SplashKit.HSBColor(hue, saturation, brightness)); + + SplashKit.RefreshScreen(60); + } + + SplashKit.CloseAllWindows(); + } + } +} + +``` + + + + + + + +```python +from splashkit import * + +def main(): + + hue = 0.8 + saturation = 0.8 + brightness = 0.8 + + + window = open_window("Mouse Movement", 800, 600) + + while not window_close_requested(window): + + process_events() + + # Get the mouse movement + movement = mouse_movement() + + # Update hue and saturation based on mouse movement + if mouse_down(MouseButton.left_button): + # Adjust hue based on horizontal mouse movement + hue = (hue + movement.x / window_width(window)) % 1.0 + + if mouse_down(MouseButton.right_button): + # Adjust saturation based on vertical mouse movement + saturation = min(max(saturation + movement.y / window_height(window), 0.0), 1.0) + + # Create the color using HSB values + color = hsb_color(hue, saturation, brightness) + + # Clear the screen with the new color + clear_screen(color) + + + refresh_window(window) + + + close_window(window) + +if __name__ == "__main__": + main() +``` + + + + +#### Mouse Wheel Scroll + +[Mouse Wheel Scroll](/api/input/#mouse-wheel-scroll) returns the distance and direction of the mouse scroll since the last time `Process Events` was called. Like the previous function, this function returns the `Vector 2D` data type. + +Here is an example using vertical scrolling to change the hue of the screen colour: + + + + +```cpp +#include "splashkit.h" + +int main() +{ + // color variables + double hue = 0.6; + double saturation = 0.6; + double brightness = 0.6; + + // mouse scroll variable + vector_2d scroll; + + open_window("Mouse Scrolling", 800, 600); + + while (!window_close_requested("Mouse Scrolling")) + { + // process user input events + process_events(); + + // store the mouse wheel scroll direction and distance to the scroll variable + scroll = mouse_wheel_scroll(); + + // change hue of screen colour based on vertical mouse scrolling (two fingers if using trackpad) + hue += scroll.y / 100; + + // display current screen colour + clear_screen(hsb_color(hue, saturation, brightness)); + refresh_screen(60); + } + + close_all_windows(); + + return 0; +} +``` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +// color variables +double hue = 0.6; +double saturation = 0.6; +double brightness = 0.6; + +// mouse scroll variable +Vector2D scroll; + +OpenWindow("Mouse Scrolling", 800, 600); + +while (!WindowCloseRequested("Mouse Scrolling")) +{ + // process user input events + ProcessEvents(); + + // store the mouse wheel scroll direction and distance to the scroll variable + scroll = MouseWheelScroll(); + + // change hue of screen colour based on vertical mouse scrolling (two fingers if using trackpad) + hue += scroll.Y / 100; + + // display current screen colour + ClearScreen(HSBColor(hue, saturation, brightness)); + RefreshScreen(60); +} + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace MouseScrolling +{ + public class Program + { + public static void Main() + { + Window window = SplashKit.OpenWindow("Mouse Scrolling", 800, 600); + double hue = 0.6; + double saturation = 0.6; + double brightness = 0.6; + + while (!SplashKit.WindowCloseRequested(window)) + { + SplashKit.ProcessEvents(); + + Vector2D scroll = SplashKit.MouseWheelScroll(); + + hue += scroll.Y / 100.0; + + SplashKit.ClearScreen(SplashKit.HSBColor(hue, saturation, brightness)); + SplashKit.RefreshScreen(60); + } + + SplashKit.CloseAllWindows(); + } + } +} + +``` + + + + + + + +```python +from splashkit import * + +def main(): + + hue = 0.6 + saturation = 0.6 + brightness = 0.6 + + + window = open_window("Mouse Scrolling", 800, 600) + + while not window_close_requested(window): + # Process user input events + process_events() + + # Store the mouse wheel scroll direction and distance to the scroll variable + scroll = mouse_wheel_scroll() + + # Change hue of screen color based on vertical mouse scrolling + hue += scroll.y / 100.0 + + # Ensure hue is within the valid range [0.0, 1.0] + hue = min(max(hue, 0.0), 1.0) + + # Display current screen color + clear_screen(hsb_color(hue, saturation, brightness)) + refresh_window(window) + + + close_window(window) + +if **name** == "**main**": +main() + +```` + + + + +### Mouse Location Functionality + +Now that we have learned how to handle mouse inputs and movements, let's look at how to +use the mouse's location in the window, which can be used in your program to make the experience more interactive. Combined with the mouse input functions, it can be used to spawn items where the player clicked or respond to the player clicking where an item is located. + +#### Mouse Position + +[Mouse Position](/api/input/#mouse-position) returns the position of the mouse in the current window as a [Point 2d](/api/types/#point-2d) data type, which is its x and y coordinates. + +Here is a simple example that draws a circle at the mouse position: + + + + +```cpp +#include "splashkit.h" + +int main() +{ + open_window("Mouse Location", 800, 600); + + while (!window_close_requested("Mouse Location")) + { + // process user input events + process_events(); + + // draw blue circle at mouse position + clear_screen(COLOR_WHITE); + fill_circle(COLOR_LIGHT_BLUE, circle_at(mouse_position(), 20)); + refresh_screen(60); + } + + close_all_windows(); + + return 0; +} +```` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +OpenWindow("Mouse Location", 800, 600); + +while (!WindowCloseRequested("Mouse Location")) +{ + // process user input events + ProcessEvents(); + + // draw blue circle at mouse position + ClearScreen(ColorWhite()); + FillCircle(ColorLightBlue(), CircleAt(MousePosition(), 20)); + RefreshScreen(60); +} + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace MouseLocation +{ + public class Program + { + public static void Main() + { + Window window = SplashKit.OpenWindow("Mouse Location", 800, 600); + + while (!SplashKit.WindowCloseRequested(window)) + { + SplashKit.ProcessEvents(); + + SplashKit.ClearScreen(Color.White); + + Point2D mousePosition = SplashKit.MousePosition(); + SplashKit.FillCircle(Color.LightBlue, mousePosition.X, mousePosition.Y, 20); + + SplashKit.RefreshScreen(60); + } + + SplashKit.CloseAllWindows(); + } + } +} + +``` + + + + + + + +```python +from splashkit import * + +def main(): + + window = open_window("Mouse Location", 800, 600) + + while not window_close_requested(window): + # Process user input events + process_events() + + # Clear the screen with white color + clear_screen(color_white()) + + # Get the current mouse position + mouse_pos = mouse_position() + + # Draw a blue circle at the current mouse position + fill_circle(color_light_blue(), mouse_pos.x, mouse_pos.y, 20) + + + refresh_window(window) + + + close_window(window) + +if **name** == "**main**": +main() + +```` + + + + +#### Mouse Position Vector + +[Mouse Position Vector](/api/input/#mouse-position-vector) returns the position of the mouse relative to the window origin as a [Vector 2d](/api/types/#vector-2d). + +Here is a simple example that displays the mouse position vector as a line: + + + + +```cpp +#include "splashkit.h" + +int main() +{ + open_window("Mouse Location", 800, 600); + + while (!window_close_requested("Mouse Location")) + { + // process user input events + process_events(); + + // draw line from mouse position vector + clear_screen(COLOR_WHITE); + draw_line(COLOR_BLUE, line_from(mouse_position_vector())); + refresh_screen(60); + } + + close_all_windows(); + + return 0; +} +```` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +OpenWindow("Mouse Location", 800, 600); + +while (!WindowCloseRequested("Mouse Location")) +{ + // process user input events + ProcessEvents(); + + // draw line from mouse position vector + ClearScreen(ColorWhite()); + DrawLine(ColorBlue(), LineFrom(MousePositionVector())); + RefreshScreen(60); +} + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace MouseLocation +{ + public class Program + { + public static void Main() + { + Window window = SplashKit.OpenWindow("Mouse Location", 800, 600); + + while (!SplashKit.WindowCloseRequested(window)) + { + SplashKit.ProcessEvents(); + + SplashKit.ClearScreen(Color.White); + SplashKit.DrawLine(Color.Blue, SplashKit.LineFrom(SplashKit.MousePositionVector())); + SplashKit.RefreshScreen(60); + } + + SplashKit.CloseAllWindows(); + } + } +} + +``` + + + + + + + +```python +from splashkit import * + +def main(): + + window = open_window("Mouse Location", 800, 600) + + while not window_close_requested(window): + # Process user input events + process_events() + + # Clear the screen with white color + clear_screen(color_white()) + + # Get the current mouse position + mouse_pos = mouse_position_vector() + + # Draw a line from the top-left corner to the current mouse position + draw_line(color_blue(), 0, 0, mouse_pos.x, mouse_pos.y) + + + refresh_window(window) + + + close_window(window) + +if **name** == "**main**": +main() + +```` + + + + +#### Mouse X + +[Mouse X](/api/input/#mouse-x) returns the distance of the mouse from the left edge of the window. + +Here is an example using the left mouse button to drag a "curtain" across the screen from the left side, based on the mouse's x coordinate: + + + + +```cpp +#include "splashkit.h" + +int main() +{ + float x = 0; + + open_window("Mouse Location", 800, 600); + + while (!window_close_requested("Mouse Location")) + { + // process user input events + process_events(); + + if (mouse_down(LEFT_BUTTON)) + { + x = mouse_x(); + } + + clear_screen(COLOR_WHITE); + fill_circle(COLOR_BLUE, 400, 300, 100); + // draw purple "curtain" from left side of screen to x coordinate of mouse + fill_rectangle(COLOR_PURPLE, 0, 0, x, screen_height()); + refresh_screen(60); + } + + close_all_windows(); + + return 0; +} +```` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +float x = 0; + +OpenWindow("Mouse Location", 800, 600); + +while (!WindowCloseRequested("Mouse Location")) +{ + // process user input events + ProcessEvents(); + + if (MouseDown(MouseButton.LeftButton)) + { + x = MouseX(); + } + + ClearScreen(ColorWhite()); + FillCircle(ColorBlue(), 400, 300, 100); + // draw purple "curtain" from left side of screen to x coordinate of mouse + FillRectangle(ColorPurple(), 0, 0, x, ScreenHeight()); + RefreshScreen(60); +} + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace MouseLocation +{ + public class Program + { + public static void Main() + { + Window window = SplashKit.OpenWindow("Mouse Location", 800, 600); + float x = 0; + + while (!SplashKit.WindowCloseRequested(window)) + { + SplashKit.ProcessEvents(); + + if (SplashKit.MouseDown(MouseButton.LeftButton)) + { + x = SplashKit.MouseX(); + } + + SplashKit.ClearScreen(Color.White); + SplashKit.FillCircle(Color.Blue, 400, 300, 100); + SplashKit.FillRectangle(Color.Purple, 0, 0, x, SplashKit.ScreenHeight()); + SplashKit.RefreshScreen(60); + } + + SplashKit.CloseAllWindows(); + } + } +} + +``` + + + + + + + +```python +from splashkit import * + +def main(): +x = 0 + + window = open_window("Mouse Location", 800, 600) + + while not window_close_requested(window): + # Process user input events + process_events() + + # Update x-coordinate if the left mouse button is down + if mouse_down(MouseButton.left_button): + x = mouse_x() + + # Clear the screen with white color + clear_screen(color_white()) + + # Draw a blue circle at the center of the screen + fill_circle(color_blue(), 400, 300, 100) + + # Draw a purple "curtain" from the left side of the screen to the x-coordinate of the mouse + fill_rectangle(color_purple(), 0, 0, x, window_height(window)) + + + refresh_window(window) + + + close_window(window) + +if **name** == "**main**": +main() + +```` + + + + +#### Mouse Y + +[Mouse Y](/api/input/#mouse-y) returns the distance of the mouse from the top edge of the window. + +Here is an example using the left mouse button to drag a "curtain/blind" down the screen from the top, based on the mouse's y coordinate: + + + + +```cpp +#include "splashkit.h" + +int main() +{ + float y = 0; + + open_window("Mouse Location", 800, 600); + + while (!window_close_requested("Mouse Location")) + { + // process user input events + process_events(); + + if (mouse_down(LEFT_BUTTON)) + { + y = mouse_y(); + } + + clear_screen(COLOR_WHITE); + fill_circle(COLOR_BLUE, 400, 300, 100); + // draw purple "curtain" from top of screen to y coordinate of mouse + fill_rectangle(COLOR_PURPLE, 0, 0, screen_width(), y); + refresh_screen(60); + } + + close_all_windows(); + + return 0; +} +```` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +float y = 0; + +OpenWindow("Mouse Location", 800, 600); + +while (!WindowCloseRequested("Mouse Location")) +{ + // process user input events + ProcessEvents(); + + if (MouseDown(MouseButton.LeftButton)) + { + y = MouseY(); + } + + ClearScreen(ColorWhite()); + FillCircle(ColorBlue(), 400, 300, 100); + // draw purple "curtain" from top of screen to y coordinate of mouse + FillRectangle(ColorPurple(), 0, 0, ScreenWidth(), y); + RefreshScreen(60); +} + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace MouseLocation +{ + public class Program + { + public static void Main() + { + Window window = SplashKit.OpenWindow("Mouse Location", 800, 600); + float y = 0; + + while (!SplashKit.WindowCloseRequested(window)) + { + SplashKit.ProcessEvents(); + + if (SplashKit.MouseDown(MouseButton.LeftButton)) + { + y = SplashKit.MouseY(); + } + + SplashKit.ClearScreen(Color.White); + SplashKit.FillCircle(Color.Blue, 400, 300, 100); + SplashKit.FillRectangle(Color.Purple, 0, 0, SplashKit.ScreenWidth(), y); + SplashKit.RefreshScreen(60); + } + + SplashKit.CloseAllWindows(); + } + } +} + +``` + + + + + + + +```python +from splashkit import * + +def main(): +y = 0 + + window = open_window("Mouse Location", 800, 600) + + while not window_close_requested(window): + # Process user input events + process_events() + + if mouse_down(MouseButton.left_button): + y = mouse_y() + + # Clear the screen with white color + clear_screen(color_white()) + + # Draw a blue circle at the center of the screen + fill_circle(color_blue(), 400, 300, 100) + + # Draw a purple "curtain" from the top of the screen to the y-coordinate of the mouse + fill_rectangle(color_purple(), 0, 0, window_width(window), y) + + refresh_window(window) + + close_window(window) + +if **name** == "**main**": +main() + +```` + + + + +### Mouse Visibility + +Finally, we can also alter the mouse visibility on SplashKit. The following functions handles the +mouse visibility. These can be useful to create a more immersive environment for your game. + +#### Hide/Show Mouse + +[Hide Mouse](/api/input/#hide-mouse) hides the mouse from the screen. [Show Mouse](/api/input/#show-mouse-functions) shows the mouse to the screen. + +Here is a simple example where the mouse "disappears in a black hole": + + + + +```cpp +#include "splashkit.h" + +int main() +{ + // create cirle variable for "black hole" + circle blackHole; + + open_window("Mouse Visibility", 800, 600); + + // create black hole in centre of screen + blackHole = circle_at(screen_center(), 50); + + while (!window_close_requested("Mouse Visibility")) + { + // process user input events + process_events(); + + // mouse disappears in black hole + if (point_in_circle(mouse_position(), blackHole)) + { + hide_mouse(); + } + // mouse reappears once out of black hole + else + { + show_mouse(); + } + + // display "black hole" on screen + clear_screen(COLOR_WHITE); + fill_circle(COLOR_BLACK, blackHole); + refresh_screen(60); + } + + close_all_windows(); + + return 0; +} +```` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +// create cirle variable for "black hole" +Circle blackHole; + +OpenWindow("Mouse Visibility", 800, 600); + +// create black hole in centre of screen +blackHole = CircleAt(ScreenCenter(), 50); + +while (!WindowCloseRequested("Mouse Visibility")) +{ + // process user input events + ProcessEvents(); + + // mouse disappears in black hole + if (PointInCircle(MousePosition(), blackHole)) + { + HideMouse(); + } + // mouse reappears once out of black hole + else + { + ShowMouse(); + } + + // display "black hole" on screen + ClearScreen(ColorWhite()); + FillCircle(ColorBlack(), blackHole); + RefreshScreen(60); +} + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace MouseVisibility +{ + public class Program + { + public static void Main() + { + Window window = SplashKit.OpenWindow("Mouse Visibility", 800, 600); + Circle blackHole = SplashKit.CircleAt(SplashKit.ScreenCenter(), 50); + + while (!SplashKit.WindowCloseRequested(window)) + { + SplashKit.ProcessEvents(); + + if (SplashKit.PointInCircle(SplashKit.MousePosition(), blackHole)) + { + SplashKit.HideMouse(); + } + else + { + SplashKit.ShowMouse(); + } + + SplashKit.ClearScreen(Color.White); + SplashKit.FillCircle(Color.Black, blackHole); + SplashKit.RefreshScreen(60); + } + + SplashKit.CloseAllWindows(); + } + } +} + +``` + + + + + + + +```python +from splashkit import * + +def main(): + + black_hole_radius = 50 + window_width, window_height = 800, 600 + window = open_window("Mouse Visibility", window_width, window_height) + + black_hole_center = point_at(window_width / 2, window_height / 2) + + while not window_close_requested(window): + # Process user input events + process_events() + + # Get the current mouse position + mouse_pos = mouse_position() + + # Calculate distance from the mouse to the black hole center + dx = mouse_pos.x - black_hole_center.x + dy = mouse_pos.y - black_hole_center.y + distance = (dx ** 2 + dy ** 2) ** 0.5 + + # Hide or show the mouse based on distance + if distance <= black_hole_radius: + hide_mouse() + else: + show_mouse() + + # Clear the screen with white color + clear_screen(color_white()) + + # Draw the black hole as a circle + fill_circle(color_black(), black_hole_center.x, black_hole_center.y, black_hole_radius) + + refresh_window(window) + + close_all_windows() + +if **name** == "**main**": +main() + +```` + + + + +#### Show Mouse + +There are two versions of the [Show Mouse](/api/input/#show-mouse-with-boolean) function. The first version is shown above. The second version shows or hides the mouse based on its boolean parameter. If true, it shows the mouse, while if false, it hides the mouse from the screen. + +Here is a simple example where the mouse is only visible in the "spot light": + + + + +```cpp +#include "splashkit.h" + +int main() +{ + // create cirle variable for emulating a "stage spot light" + circle spotLight; + + open_window("Mouse Visibility", 800, 600); + + // create a "spot light" circle in centre of screen + spotLight = circle_at(screen_center(), 100); + + while (!window_close_requested("Mouse Visibility")) + { + // process user input events + process_events(); + + // mouse disappears when not in the "spot light" + show_mouse(point_in_circle(mouse_position(), spotLight)); + + // display "spot light" on screen + clear_screen(COLOR_BLACK); + fill_circle(COLOR_ALICE_BLUE, spotLight); + refresh_screen(60); + } + + close_all_windows(); + + return 0; +} +```` + + + + + + + +```csharp +using SplashKitSDK; +using static SplashKitSDK.SplashKit; + +// create cirle variable for emulating a "stage spot light" +Circle spotLight; + +OpenWindow("Mouse Visibility", 800, 600); + +// create a "spot light" circle in centre of screen +spotLight = CircleAt(ScreenCenter(), 100); + +while (!WindowCloseRequested("Mouse Visibility")) +{ + // process user input events + ProcessEvents(); + + // mouse disappears when not in the "spot light" + ShowMouse(PointInCircle(MousePosition(), spotLight)); + + // display "spot light" on screen + ClearScreen(ColorBlack()); + FillCircle(ColorWhite(), spotLight); + RefreshScreen(60); +} + +CloseAllWindows(); +``` + + + + +```csharp +using SplashKitSDK; + +namespace MouseVisibility +{ + public class Program + { + public static void Main() + { + Window window = SplashKit.OpenWindow("Mouse Visibility", 800, 600); + Circle spotLight = SplashKit.CircleAt(SplashKit.ScreenCenter(), 100); + + while (!SplashKit.WindowCloseRequested(window)) + { + SplashKit.ProcessEvents(); + + bool isMouseInSpotLight = SplashKit.PointInCircle(SplashKit.MousePosition(), spotLight); + SplashKit.ShowMouse(isMouseInSpotLight); + + SplashKit.ClearScreen(Color.Black); + SplashKit.FillCircle(Color.White, spotLight); + SplashKit.RefreshScreen(60); + } + + SplashKit.CloseAllWindows(); + } + } +} + +``` + + + + + + + +```python +from splashkit import * + +def main(): + + spotlight_radius = 100 + window_width, window_height = 800, 600 + window = open_window("Mouse Visibility in Spotlight", window_width, window_height) + + spotlight_center = point_at(window_width / 2, window_height / 2) + + mouse_visible = True + + while not window_close_requested(window): + # Process user input events + process_events() + + # Get the current mouse position + mouse_pos = mouse_position() + + # Calculate distance from the mouse to the spotlight center + dx = mouse_pos.x - spotlight_center.x + dy = mouse_pos.y - spotlight_center.y + distance = (dx ** 2 + dy ** 2) ** 0.5 + + # Determine whether to show or hide the mouse + if distance <= spotlight_radius: + if not mouse_visible: + show_mouse() # Show the mouse + mouse_visible = True + else: + if mouse_visible: + hide_mouse() # Hide the mouse + mouse_visible = False + + # Clear the screen with black color + clear_screen(color_black()) + + # Draw the spotlight as a circle + fill_circle(color_white(), spotlight_center.x, spotlight_center.y, spotlight_radius) + + refresh_window(window) + + close_all_windows() + +if **name** == "**main**": +main() + +``` + + + +``` diff --git a/src/content/docs/guides/interface/getting-started-with-interfaces.mdx b/src/content/docs/guides/interface/getting-started-with-interfaces.mdx index 3027d666b..b1cb4f33a 100644 --- a/src/content/docs/guides/interface/getting-started-with-interfaces.mdx +++ b/src/content/docs/guides/interface/getting-started-with-interfaces.mdx @@ -1,11 +1,12 @@ +````mdx --- title: Getting Started Creating User Interfaces -description: This article will help you get started creating interfaces in SplashKit. In this one we'll see how to create and use basic elements, like buttons and sliders. In later the next ones, we'll move on to advanced layouting, and finally we'll see how we can style the interface to match our project. +description: This article will help you get started creating interfaces in SplashKit. In this one we'll see how to create and use basic elements, like buttons and sliders. In the next ones, we'll move on to advanced layouting, and finally we'll see how we can style the interface to match our project. author: Sean Boettger and others lastupdated: October 2024 --- -**{frontmatter.description}** +**{frontmatter.description}** _Written by {frontmatter.author} on {frontmatter.lastupdated}_ import { Tabs, TabItem } from "@astrojs/starlight/components"; @@ -14,710 +15,323 @@ In this article we'll see how to create user interfaces in SplashKit. This'll le ## Part 1: Basic element creation -Let's see how we can create a simple button. We'll start in an empty project, and focus on just _showing_ the button. Then we'll make it interactive. +Let's see how we can create a simple button. We'll start in an empty project, and focus on just *showing* the button. Then we'll make it interactive. -1. Let's begin by setting up our main function and opening up a window for us to place our interface elements on. See [Drawing using Procedures](/guides/graphics/drawing-using-procedures/) if you aren't familiar with this part. In this example code, we've: - 1. opened up a window - 2. _cleared_ the screen white - 3. _refreshed_ the screen so we can see what's on it - 4. and finally _delayed_ for 5 seconds (so the program doesn't end immediately) +1. Let's begin by setting up our main function and opening up a window for us to place our interface elements on. - Make sure to have a look at the code, and see where we'll put our interface code! - - - - - ```cpp - #include "splashkit.h" - - int main() - { - // open a window and clear it to white - open_window("My Interface!", 800, 600); - clear_screen(COLOR_WHITE); - - // ...we'll put our interface code here!... - - // refresh the screen, then wait 5 seconds - refresh_screen(); - delay(5000); - - // close all open windows - close_all_windows(); - - return 0; - } - ``` - - - + - - + - ```csharp - using static SplashKitSDK.SplashKit; +```cpp +#include "splashkit.h" +int main() +{ // open a window and clear it to white - OpenWindow("My Interface!", 800, 600); - ClearScreen(ColorWhite()); + open_window("My Interface!", 800, 600); + clear_screen(COLOR_WHITE); // ...we'll put our interface code here!... - // refresh the screen, then wait for 5 seconds - RefreshScreen(); - Delay(5000); + // refresh the screen, then wait 5 seconds + refresh_screen(); + delay(5000); // close all open windows - CloseAllWindows(); - ``` - - - - - ```csharp - using SplashKitSDK; - - namespace CreatingUserInterfaces - { - public class Program - { - public static void Main() - { - // open a window and clear it to white - Window window = new Window("My Interface!", 800, 600); - window.Clear(Color.White); - - // ...we'll put our interface code here!... - - // refresh the screen, then wait for 5 seconds - window.Refresh(); - SplashKit.Delay(5000); - - // close all open windows - SplashKit.CloseAllWindows(); - } - } - } - ``` - - - - - - - - ```python - from splashkit import * - - # open a window and clear it to white - open_window("My Interface!", 800, 600) - clear_screen_to_white() - - # ... we'll put our interface code here!... - - # refresh the screen, then wait 5 seconds - refresh_screen() - delay(5000) - - # close all open windows - close_all_windows() - ``` - - - - -2. Now let's show a button! This can be done with the [Button](/api/interface/#button) function, which takes some text to show on the button, and also a position and size so it knows where to show up. - - For example in C++, `button("My Button!", rectangle_from(300, 260, 200, 24));` will show a button in the middle of the screen, with the label "My Button!". - -3. We also need to _draw_ the interface - we can do this with [Draw Interface](/api/interface/#draw-interface) - - Making those changes, we get the following: - - - - - ```cpp ins={9-13} - #include "splashkit.h" - - int main() - { - // open a window and clear it to white - open_window("My Interface!", 800, 600); - clear_screen(COLOR_WHITE); - - // show button - button("My Button!", rectangle_from(300, 260, 200, 24)); - - // draw the interface! - draw_interface(); + close_all_windows(); - // refresh the screen, then wait 5 seconds - refresh_screen(); - delay(5000); + return 0; +} +```` - // close all open windows - close_all_windows(); + - return 0; - } - ``` + - - + - - +``` + +``` - ```csharp ins={7-11} - using static SplashKitSDK.SplashKit; +```csharp +using static SplashKitSDK.SplashKit; - // open a window and clear it to white - OpenWindow("My Interface!", 800, 600); - ClearScreen(ColorWhite()); +// open a window and clear it to white +OpenWindow("My Interface!", 800, 600); +ClearScreen(ColorWhite()); - // show button - Button("My Button!", RectangleFrom(300, 260, 200, 24)); +// ...we'll put our interface code here!... - // draw the interface! - DrawInterface(); +// refresh the screen, then wait for 5 seconds +RefreshScreen(); +Delay(5000); - // refresh the screen, then wait 5 seconds - RefreshScreen(); - Delay(5000); +// close all open windows +CloseAllWindows(); +``` - // close all open windows - CloseAllWindows(); - ``` +``` + - - + +``` - ```csharp ins={13-17} - using SplashKitSDK; +```csharp +using SplashKitSDK; - namespace CreatingUserInterfaces +namespace CreatingUserInterfaces +{ + public class Program { - public class Program + public static void Main() { - public static void Main() - { - // open a window and clear it to white - Window window = new Window("My Interface!", 800, 600); - window.Clear(Color.White); + // open a window and clear it to white + Window window = new Window("My Interface!", 800, 600); + window.Clear(Color.White); - // show button - SplashKit.Button("My Button!", SplashKit.RectangleFrom(300, 260, 200, 24)); + // ...we'll put our interface code here!... - // draw the interface! - SplashKit.DrawInterface(); + // refresh the screen, then wait for 5 seconds + window.Refresh(); + SplashKit.Delay(5000); - // refresh the screen, then wait 5 seconds - window.Refresh(); - SplashKit.Delay(5000); - - // close all open windows - SplashKit.CloseAllWindows(); - } + // close all open windows + SplashKit.CloseAllWindows(); } } - ``` - - - - - - - - ```python ins={5-9} - # open a window and clear it to white - open_window("My Interface!", 800, 600) - clear_screen_to_white() - - # show button - button_at_position("My Button!", rectangle_from(300, 260, 200, 24)) - - # draw the interface! - draw_interface() - - # refresh the screen, then wait 5 seconds - refresh_screen() - delay(5000) +} +``` - # close all open windows - close_all_windows() - ``` +``` + +``` - - + - Which if you run, will show you this! + - ![A single button on a white window](./images/first_button.png) + - But you'll notice that you can't click the button yet! Don't worry, to get this working we just need to make sure we process the user's events (like clicks and keyboard presses). +```python +from splashkit import * - To do this, we need to add a loop - this will make our code run over and over again (rather than just waiting 5 seconds then exiting like it does now). Then inside that loop we'll check for user input! +# open a window and clear it to white +open_window("My Interface!", 800, 600) +clear_screen_to_white() - 1. Start by deleting the [Delay](/api/utilities/#delay) (`delay(5000)`) line, since this was just so the window didn't vanish immediately. +# ...we'll put our interface code here!... - 2. Then we can add a `while` loop, that loops as long as the user hasn't tried to close the window (using [Quit Requested](/api/input/#quit-requested)). This loop will need to enclose basically _everything_, from clearing the screen, down to refreshing it. That way we can keep updating the screen and drawing our button to it over and over! +# refresh the screen, then wait 5 seconds +refresh_screen() +delay(5000) - 3. Then well add a statement _inside_ the `while` loop at the top, to check for user input using [Process Events](/api/input/#process-events). You may have also noticed a warning in the terminal about this: +# close all open windows +close_all_windows() +``` - ```plaintext - WARNING -> Interface function called before 'process_events' - make sure to call this first! - ``` + - SplashKit will try to give helpful messages when things aren't quite right, so make sure to pay attention to them! + - Putting this all together, we get this: +2. Now let's show a button! - - + - ```cpp ins={8-10, 19} - #include "splashkit.h" + - int main() - { - // open a window - open_window("My Interface!", 800, 600); +```cpp +#include "splashkit.h" - while (!quit_requested()) - { - process_events(); +int main() +{ + open_window("My Interface!", 800, 600); + clear_screen(COLOR_WHITE); - clear_screen(COLOR_WHITE); + // show button + button("My Button!", rectangle_from(300, 260, 200, 24)); - button("My Button!", rectangle_from(300, 260, 200, 24)); + // draw the interface! + draw_interface(); - draw_interface(); + refresh_screen(); + delay(5000); - refresh_screen(); - } + close_all_windows(); - // close all open windows - close_all_windows(); + return 0; +} +``` - return 0; - } - ``` + - - + - - + - ```csharp ins={6-8, 17} - using static SplashKitSDK.SplashKit; +``` + +``` - // open a window - OpenWindow("My Interface!", 800, 600); +```csharp +using static SplashKitSDK.SplashKit; - while (!QuitRequested()) - { - ProcessEvents(); +OpenWindow("My Interface!", 800, 600); +ClearScreen(ColorWhite()); - ClearScreen(ColorWhite()); +// show button +Button("My Button!", RectangleFrom(300, 260, 200, 24)); - Button("My Button!", RectangleFrom(300, 260, 200, 24)); +// draw the interface! +DrawInterface(); - DrawInterface(); +RefreshScreen(); +Delay(5000); - RefreshScreen(); - } +CloseAllWindows(); +``` - // close all open windows - CloseAllWindows(); - ``` +``` + - - + +``` - ```csharp ins={12-14, 23} - using SplashKitSDK; +```csharp +using SplashKitSDK; - namespace CreatingUserInterfaces +namespace CreatingUserInterfaces +{ + public class Program { - public class Program + public static void Main() { - public static void Main() - { - // open a window - Window window = new Window("My Interface!", 800, 600); - - while (!window.CloseRequested) - { - SplashKit.ProcessEvents(); - - window.Clear(Color.White); + Window window = new Window("My Interface!", 800, 600); + window.Clear(Color.White); - SplashKit.Button("My Button!", SplashKit.RectangleFrom(300, 260, 200, 24)); + SplashKit.Button( + "My Button!", + SplashKit.RectangleFrom(300, 260, 200, 24) + ); - SplashKit.DrawInterface(); + SplashKit.DrawInterface(); - window.Refresh(); - } + window.Refresh(); + SplashKit.Delay(5000); - // close all open windows - SplashKit.CloseAllWindows(); - } + SplashKit.CloseAllWindows(); } } - ``` - - - - - - - - ```python ins={4-5} - # open a window - open_window("My Interface!", 800, 600) - - while (not quit_requested()): - process_events() - - clear_screen_to_white() - - button_at_position("My Button!", rectangle_from(300, 260, 200, 24)) - - draw_interface() - - refresh_screen() - - # close all open windows - close_all_windows() - ``` - - - - - And we can now click the button! - ![Clicking the button, it now responds when hovered and clicked.](/gifs/guides/interface/clicking_button.gif) - - You'll notice something interesting here - we put the call to [Button](/api/interface/#button) _inside_ the loop! This is because SplashKit uses what's called an 'immediate mode' UI paradigm. - - This means that when we make a [Button](/api/interface/#button), or any other element, it does its job of 'checking if its clicked' _once_, and then stops existing. - This means we need to keep calling [Button](/api/interface/#button) every iteration of our loop, just like we call [Process Events](/api/input/#process-events) every iteration. - - This makes it really easy to make dynamic user interfaces, since you can change them every iteration! This might be different to other UI frameworks you have used or will use, so just make sure to keep this in mind. - - :::tip[SplashKit Interfaces] - SplashKit uses an immediate mode GUI paradigm. This makes it easy to create dynamic interfaces! - - When using it, keep in mind that every UI element is ephemeral, and the interface is _reset_ after calls to [Draw Interface](/api/interface/#draw-interface) and [Process Events](/api/input/#process-events) - - so make sure you create all elements _inside_ the main loop, and between those two functions. - ::: - -## Part 2: Responding to events - -Alright, now we can hover over and click the button! But it doesn't do anything yet - how do we check if it's been pressed? -All the UI elements in SplashKit _return_ their results. For instance, [Button](/api/interface/#button) returns a `boolean` - `true` if it has been clicked, and `false` if not! - -:::tip[Retrieving results] -SplashKit element functions _return_ changes to them. Buttons return if they've been clicked or not, number sliders return their current value, and so on. -::: - -Let's try it out: - -1. We can put the call to [Button](/api/interface/#button) inside an if statement. -2. Then, in the if statement's body let's just make it print some text to the terminal, using [Write Line](/api/terminal/#write-line) - -We should also give the button some more descriptive text inside it, like "Write To Terminal!" - - - - -```cpp ins="Write To Terminal!" ins="if (" ins=/24\\)\\)(\\))/ ins={2-4} - if (button("Write To Terminal!", rectangle_from(300, 260, 200, 24))) - { - write_line("The button was clicked!"); - } -``` - - - - - - - -```csharp ins="Write To Terminal!" ins="if (" ins=/24\\)\\)(\\))/ ins={2-4} -if (Button("Write To Terminal!", RectangleFrom(300, 260, 200, 24))) -{ - WriteLine("The button was clicked!"); } ``` - - - -```csharp ins="Write To Terminal!" ins="if (" ins=/24\\)\\)(\\))/ ins={2-4} - if (SplashKit.Button("Write To Terminal!", SplashKit.RectangleFrom(300, 260, 200, 24))) - { - SplashKit.WriteLine("The button was clicked!"); - } ``` - - - - - - -```python ins="Write To Terminal!" ins="if " ins=":" ins={2} -if button_at_position("Write To Terminal!", rectangle_from(300, 260, 200, 24)): - write_line("The button was clicked!") ``` - - - -Note how rather than _creating_ the button, and then checking if it's been clicked seperately, we've used a _single_ call to [Button](/api/interface/#button), that both shows the button _and_ returns whether its been clicked. - -Now when we click on the button, our text gets printed in the terminal! You can of course put whatever code you want - for instance, the button could start your game, add an item to your stock program, or pop up extra info. -![Clicking the button - on click, the text 'The button was clicked!' is printed in the terminal](/gifs/guides/interface/clicking_button_write_terminal.gif) - -## Part 3: More elements - -Now let's try out some more interesting elements - let's add a text box, so we can customize the message written to the terminal! - -1. First let's start by adding a variable to store the user's text in - make sure to do this _outside_ the main loop, or else the user's text will be forgotten each iteration! - - - - - ```cpp ins={3} - open_window("My Interface!", 800, 600); - - string user_message = "Default message!"; - - while (!quit_requested()) - { - process_events(); - ``` - - - - - - - - ```csharp ins={3} - OpenWindow("My Interface!", 800, 600); - - string userMessage = "Default message!"; - - while (!QuitRequested()) - { - ProcessEvents(); - ``` - - - - - ```csharp ins={3} - Window window = new Window("My Interface!", 800, 600); - - string userMessage = "Default message!"; - - while (!window.CloseRequested) - { - SplashKit.ProcessEvents(); - ``` - - - - - - - - ```python ins={3} - open_window("My Interface!", 800, 600) - - user_message = "Default message!" - - while (not quit_requested()): - process_events() - ``` - - - - -2. Now let's add the text box. We can use the [Text Box](/api/interface/#text-box) function, which takes a string - the current text, and a position - where to draw it. - - It then _returns_ the updated text - if the user hasn't typed anything, this will be the same text that was passed in. But if the user _has_ typed something, this will be our new text, and we can store it in the variable! - - For example, `user_text = text_box(user_text, rectangle_from(0,0,200,24));` would show a text box at the top-right corner of the screen, with the text that's in the variable `user_text`, and if the user has _altered_ the text, it would return the new text and store it back into `user_text`. - - Finally, we can use this variable in our [Write Line](/api/terminal/#write-line), to write the user's text to the console. - - Remember - this all needs to go inside the main `while` loop. Otherwise the text box will only exist for a split second before vanishing - we need to keep it alive! - - - - - ```cpp ins={1} ins="write_line(user_message);" - user_message = text_box(user_message, rectangle_from(300, 220, 200, 24)); - - if (button("Write To Terminal!", rectangle_from(300, 260, 200, 24))) - { - write_line(user_message); - } - ``` - - - - - - - - ```csharp ins={1} ins="WriteLine(userMessage);" - userMessage = TextBox(userMessage, RectangleFrom(300, 220, 200, 24)); + - if (Button("Write To Terminal!", RectangleFrom(300, 260, 200, 24))) - { - WriteLine(userMessage); - } - ``` + - - + - ```csharp ins={1} ins="SplashKit.WriteLine(userMessage);" - userMessage = SplashKit.TextBox(userMessage, SplashKit.RectangleFrom(300, 220, 200, 24)); - - // Check if the button is clicked - if (SplashKit.Button("Write To Terminal!", SplashKit.RectangleFrom(300, 260, 200, 24))) - { - SplashKit.WriteLine(userMessage); - } - ``` +```python +from splashkit import * - - +open_window("My Interface!", 800, 600) +clear_screen_to_white() - - +# show button +button_at_position("My Button!", rectangle_from(300, 260, 200, 24)) - ```python ins={1} ins="write_line(user_message)" - user_message = text_box_at_position(user_message, rectangle_from(300, 220, 200, 24)) - - if button_at_position("Write To Terminal!", rectangle_from(300, 260, 200, 24)): - write_line(user_message) - ``` +# draw interface +draw_interface() - - +refresh_screen() +delay(5000) - See how `user_message` gets passed _in_ to the [Text Box](/api/interface/#text-box), and then that value flows back out as the return, and gets assigned back to `user_message`. This is how all the other element functions, like [Slider](/api/interface/#slider), and [Number Box](/api/interface/#number-box) work too! +close_all_windows() +``` - :::tip[Updating variables] - All interactive SplashKit elements have a parameter for the _current_ value, and return the updated value. So usually you can follow a pattern like this + - ```c++ "my_variable" - my_variable = a_ui_element(my_variable, other options...) - ``` + - where the variable goes into the function, then gets assigned out the other end. - ::: +## Making the button interactive - And that's it! In two lines of code we added our text box as well - this is what it will look like now: - ![A button and a text box. When the button is clicked, the contents of the text box is printed in the terminal.](/gifs/guides/interface/text_box_to_terminal.gif) +To make the button interactive we need: -Here's the complete code up until this point: +* a game loop +* `process_events()` +* repeated drawing - + + ```cpp #include "splashkit.h" int main() { - // open a window open_window("My Interface!", 800, 600); - // define variables - string user_message = "Default message!"; - - // main loop while (!quit_requested()) { - // get user events process_events(); - // clear screen clear_screen(COLOR_WHITE); - // interface! - user_message = text_box(user_message, rectangle_from(300, 220, 200, 24)); - - if (button("Write To Terminal!", rectangle_from(300, 260, 200, 24))) - { - write_line(user_message); - } + button("My Button!", rectangle_from(300, 260, 200, 24)); - // finally draw interface, then refresh screen draw_interface(); refresh_screen(); } - // close all open windows close_all_windows(); return 0; } ``` - - + + + - + + +``` +``` ```csharp using static SplashKitSDK.SplashKit; -// open a window OpenWindow("My Interface!", 800, 600); -// define variables -string userMessage = "Default message!"; - -// main loop while (!QuitRequested()) { - // get user events ProcessEvents(); - // clear screen ClearScreen(ColorWhite()); - // interface! - userMessage = TextBox(userMessage, RectangleFrom(300, 220, 200, 24)); - - if (Button("Write To Terminal!", RectangleFrom(300, 260, 200, 24))) - { - WriteLine(userMessage); - } + Button("My Button!", RectangleFrom(300, 260, 200, 24)); - // finally draw interface, then refresh screen DrawInterface(); + RefreshScreen(); } -// close all open windows CloseAllWindows(); ``` +``` + +``` ```csharp using SplashKitSDK; @@ -728,464 +342,287 @@ namespace CreatingUserInterfaces { public static void Main() { - // open a window Window window = new Window("My Interface!", 800, 600); - // define variables - string userMessage = "Default message!"; - - // main loop while (!window.CloseRequested) { - // get user events SplashKit.ProcessEvents(); - // clear screen window.Clear(Color.White); - // interface! - userMessage = SplashKit.TextBox(userMessage, SplashKit.RectangleFrom(300, 220, 200, 24)); - - if (SplashKit.Button("Write To Terminal!", SplashKit.RectangleFrom(300, 260, 200, 24))) - { - SplashKit.WriteLine(userMessage); - } + SplashKit.Button( + "My Button!", + SplashKit.RectangleFrom(300, 260, 200, 24) + ); - // finally draw interface, then refresh screen SplashKit.DrawInterface(); + window.Refresh(); } - // close all open windows SplashKit.CloseAllWindows(); } } } ``` +``` - +``` - - + + + + + ```python from splashkit import * -# open a window open_window("My Interface!", 800, 600) -# define variables -user_message = "Default message!" - -# main loop -while (not quit_requested()): - # get user events +while not quit_requested(): process_events() - - # clear screen + clear_screen_to_white() - # interface! - user_message = text_box_at_position(user_message, rectangle_from(300, 220, 200, 24)) - - if button_at_position("Write To Terminal!", rectangle_from(300, 260, 200, 24)): - write_line(user_message) + button_at_position( + "My Button!", + rectangle_from(300, 260, 200, 24) + ) - # finally draw interface, then refresh screen draw_interface() + refresh_screen() -# close all open windows close_all_windows() ``` - - - -## Practice Activity - -Let's try adding one more element - this time we can try adding a slider! For fun, let's try making the slider change the _width_ of the elements themselves. + -1. Just like before, we need to add a new variable _outside_ the loop, to hold the current width. We can make it a `float`, call it `width`, and give it an initial value of 200. -2. Now we'll need to make the slider inside the `while` loop! To do this we can use the function [Slider](/api/interface/#slider), which takes the current value, then a minimum value, a maximum value, and finally the position. For example, `slider(current_value, 0, 100, rectangle_from(300, 300, 200, 24))`, will create a slider with the range 0 to 100, in the middle of the screen. It'll show the value `current_value`, and return the final value (including if the user changed it). -3. To make the elements actually change width, we just need to update the calls to [Rectangle From](/api/geometry/#rectangle-from), changing the width to our variable `width` instead! You can also try _centering_ the elements, by adjusting their x coordinate as well. + -
-Here is _one_ way to write this, but don't peek until you've tried it yourself! +## Responding to button clicks - -```cpp ins={10} ins={29} ins=/(width), 2/ ins="400 - width/2" -#include "splashkit.h" + -int main() +```cpp +if (button("Write To Terminal!", rectangle_from(300, 260, 200, 24))) { - // open a window - open_window("My Interface!", 800, 600); - - // define variables - string user_message = "Default message!"; - float width = 200; - - // main loop - while (!quit_requested()) - { - // get user events - process_events(); - - // clear screen - clear_screen(COLOR_WHITE); - - // interface! - user_message = text_box(user_message, rectangle_from(400 - width/2, 220, width, 24)); - - if (button("Write To Terminal!", rectangle_from(400 - width/2, 260, width, 24))) - { - write_line(user_message); - } - - width = slider(width, 10, 400, rectangle_from(300, 300, 200, 24)); - - // finally draw interface, then refresh screen - draw_interface(); - refresh_screen(); - } - - // close all open windows - close_all_windows(); - - return 0; + write_line("The button was clicked!"); } ``` - - - - - + -```csharp ins={8} ins={27} ins=/(width), 2/ ins="400 - width/2" -using static SplashKitSDK.SplashKit; + -// open a window -OpenWindow("My Interface!", 800, 600); + -// define variables -string userMessage = "Default message!"; -float width = 200; +``` + +``` -// main loop -while (!QuitRequested()) +```csharp +if (Button("Write To Terminal!", RectangleFrom(300, 260, 200, 24))) { - // get user events - ProcessEvents(); - - // clear screen - ClearScreen(ColorWhite()); - - // interface! - userMessage = TextBox(userMessage, RectangleFrom(400 - width/2, 220, width, 24)); - - if (Button("Write To Terminal!", RectangleFrom(400 - width/2, 260, width, 24))) - { - WriteLine(userMessage); - } - - width = Slider(width, 10, 400, RectangleFrom(300, 300, 200, 24)); - - // finally draw interface, then refresh screen - DrawInterface(); - RefreshScreen(); + WriteLine("The button was clicked!"); } - -// close all open windows -CloseAllWindows(); ``` +``` - -```csharp ins={14} ins={33} ins=/(width), 2/ ins="400 - width/2" -using SplashKitSDK; + +``` -namespace CreatingUserInterfaces +```csharp +if ( + SplashKit.Button( + "Write To Terminal!", + SplashKit.RectangleFrom(300, 260, 200, 24) + ) +) { - public class Program - { - public static void Main() - { - // open a window - Window window = new Window("My Interface!", 800, 600); - - // define variables - string userMessage = "Default message!"; - float width = 200; - - // main loop - while (!window.CloseRequested) - { - // get user events - SplashKit.ProcessEvents(); - - // clear screen - window.Clear(Color.White); - - // interface! - userMessage = SplashKit.TextBox(userMessage, SplashKit.RectangleFrom(400 - width / 2, 220, width, 24)); - - if (SplashKit.Button("Write To Terminal!", SplashKit.RectangleFrom(400 - width / 2, 260, width, 24))) - { - SplashKit.WriteLine(userMessage); - } - - width = SplashKit.Slider(width, 10, 400, SplashKit.RectangleFrom(300, 300, 200, 24)); - - // finally draw interface, then refresh screen - SplashKit.DrawInterface(); - window.Refresh(); - } - - // close all open windows - SplashKit.CloseAllWindows(); - } - } + SplashKit.WriteLine("The button was clicked!"); } ``` +``` - - - - - -```python ins={8, 24} ins=/(width), 2/ ins="400 - width/2" -from splashkit import * - -# open a window -open_window("My Interface!", 800, 600) - -# define variables -user_message = "Default message!" -width = 200 +``` -# main loop -while (not quit_requested()): - # get user events - process_events() - - # clear screen - clear_screen_to_white() + - # interface - user_message = text_box_at_position(user_message, rectangle_from(400 - width/2, 220, width, 24)) - - if button_at_position("Write To Terminal!", rectangle_from(400 - width/2, 260, width, 24)): - write_line(user_message) + - width = slider_at_position(width, 10, 400, rectangle_from(300, 300, 200, 24)) - - # finally draw interface, then refresh screen - draw_interface() - refresh_screen() + -# close all open windows -close_all_windows() +```python +if button_at_position( + "Write To Terminal!", + rectangle_from(300, 260, 200, 24) +): + write_line("The button was clicked!") ``` - - - -
+ -## Wrap up - -If we put together all the code so far, we get this complete example here! - -Hopefully now you understand how easy it is to make a dynamic interface in SplashKit! + -![A button, text box, and slider. Adjusting the value of the slider changes the width of the other controls.](/gifs/guides/interface/slider.gif) +## Adding a text box - + + ```cpp -#include "splashkit.h" +string user_message = "Default message!"; -int main() +while (!quit_requested()) { - // open a window - open_window("My Interface!", 800, 600); - - // define variables - string user_message = "Default message!"; - float width = 200; + process_events(); - // main loop - while (!quit_requested()) - { - // get user events - process_events(); + clear_screen(COLOR_WHITE); - // clear screen - clear_screen(COLOR_WHITE); + user_message = text_box( + user_message, + rectangle_from(300, 220, 200, 24) + ); - // interface! - user_message = text_box(user_message, rectangle_from(400 - width/2, 220, width, 24)); - - if (button("Write To Terminal!", rectangle_from(400 - width/2, 260, width, 24))) - { - write_line(user_message); - } - - width = slider(width, 10, 400, rectangle_from(300, 300, 200, 24)); - - // finally draw interface, then refresh screen - draw_interface(); - refresh_screen(); + if (button("Write To Terminal!", rectangle_from(300, 260, 200, 24))) + { + write_line(user_message); } - // close all open windows - close_all_windows(); + draw_interface(); - return 0; + refresh_screen(); } - ``` +``` - - + - - + -```csharp -using static SplashKitSDK.SplashKit; + -// open a window -OpenWindow("My Interface!", 800, 600); +``` + +``` -// define variables +```csharp string userMessage = "Default message!"; -float width = 200; -// main loop while (!QuitRequested()) { - // get user events ProcessEvents(); - // clear screen ClearScreen(ColorWhite()); - // interface! - userMessage = TextBox(userMessage, RectangleFrom(400 - width/2, 220, width, 24)); + userMessage = TextBox( + userMessage, + RectangleFrom(300, 220, 200, 24) + ); - if (Button("Write To Terminal!", RectangleFrom(400 - width/2, 260, width, 24))) + if (Button("Write To Terminal!", RectangleFrom(300, 260, 200, 24))) { WriteLine(userMessage); } - width = Slider(width, 10, 400, RectangleFrom(300, 300, 200, 24)); - - // finally draw interface, then refresh screen DrawInterface(); + RefreshScreen(); } - -// close all open windows -CloseAllWindows(); ``` +``` + +``` ```csharp -using SplashKitSDK; +string userMessage = "Default message!"; -namespace CreatingUserInterfaces +while (!window.CloseRequested) { - public class Program - { - public static void Main() - { - // open a window - Window window = new Window("My Interface!", 800, 600); + SplashKit.ProcessEvents(); - // define variables - string userMessage = "Default message!"; - float width = 200; + window.Clear(Color.White); - // main loop - while (!window.CloseRequested) - { - // get user events - SplashKit.ProcessEvents(); - - // clear screen - window.Clear(Color.White); - - // interface! - userMessage = SplashKit.TextBox(userMessage, SplashKit.RectangleFrom(400 - width / 2, 220, width, 24)); + userMessage = SplashKit.TextBox( + userMessage, + SplashKit.RectangleFrom(300, 220, 200, 24) + ); - if (SplashKit.Button("Write To Terminal!", SplashKit.RectangleFrom(400 - width / 2, 260, width, 24))) - { - SplashKit.WriteLine(userMessage); - } - - width = SplashKit.Slider(width, 10, 400, SplashKit.RectangleFrom(300, 300, 200, 24)); + if ( + SplashKit.Button( + "Write To Terminal!", + SplashKit.RectangleFrom(300, 260, 200, 24) + ) + ) + { + SplashKit.WriteLine(userMessage); + } - // finally draw interface, then refresh screen - SplashKit.DrawInterface(); - window.Refresh(); - } + SplashKit.DrawInterface(); - // close all open windows - SplashKit.CloseAllWindows(); - } - } + window.Refresh(); } ``` +``` - +``` - - + -```python -from splashkit import * + -# open a window -open_window("My Interface!", 800, 600) + -# define variables +```python user_message = "Default message!" -width = 200 -# main loop -while (not quit_requested()): - # get user events +while not quit_requested(): process_events() - - # clear screen + clear_screen_to_white() - # interface - user_message = text_box_at_position(user_message, rectangle_from(400 - width/2, 220, width, 24)) - - if button_at_position("Write To Terminal!", rectangle_from(400 - width/2, 260, width, 24)): + user_message = text_box_at_position( + user_message, + rectangle_from(300, 220, 200, 24) + ) + + if button_at_position( + "Write To Terminal!", + rectangle_from(300, 260, 200, 24) + ): write_line(user_message) - width = slider_at_position(width, 10, 400, rectangle_from(300, 300, 200, 24)) - - # finally draw interface, then refresh screen draw_interface() - refresh_screen() -# close all open windows -close_all_windows() + refresh_screen() ``` - + + + +## Wrap Up + +SplashKit uses an immediate mode GUI system. This makes it easy to create dynamic interfaces where elements update every frame. + +You now know how to: + +* create buttons +* handle clicks +* use text boxes +* process events +* build interactive interfaces + +``` +``` diff --git a/src/content/docs/guides/interface/interface-layouts.mdx b/src/content/docs/guides/interface/interface-layouts.mdx index e922a5488..83e816007 100644 --- a/src/content/docs/guides/interface/interface-layouts.mdx +++ b/src/content/docs/guides/interface/interface-layouts.mdx @@ -165,9 +165,10 @@ close_all_windows() Let's add a panel now! Adding a panel takes two lines of code: 1. First we begin the panel with [Start Panel](/api/interface/#start-panel), which takes a name for the panel, and a rectangle for its _initial_ position. - For example `start_panel("My panel", rectangle_from(50,50,200,100))` creates a panel with the title "My panel", that appears close to the top-left corner (50,50), and a width and height of 200 by 100. + For example `start_panel("My panel", rectangle_from(50,50,200,100))` creates a panel with the title "My panel", that appears close to the top-left corner (50,50), and a width and height of 200 by 100. + + After this we can place all the UI elements that should go on the panel, just like we were! - After this we can place all the UI elements that should go on the panel, just like we were! 2. Then once we're done, we need to end the panel with [End Panel](/api/interface/#end-panel), where we just give it the same name (so for example `end_panel("My panel")`). One **really important** thing to note here is that [Start Panel](/api/interface/#start-panel) _returns_ whether the panel is visible or not, so we need to make sure to check this as well, and only create elements and end the panel `if` the panel is open, like so: @@ -243,10 +244,10 @@ Just testing the code above will give us this! We can already drag around and re Most of the layout elements, like [Panel](/api/interface/#start-panel), [Popup](/api/interface/#start-popup), and [Treenode](/api/interface/#start-treenode) work the same way. 1. We _start_ them, and possibly check if they're open or closed. We also give them a _name_. - (e.g `if (start_panel("myPanel", ...))`, `if (start_treenode("myTreenode", ...))`) + (e.g `if (start_panel("myPanel", ...))`, `if (start_treenode("myTreenode", ...))`) 2. We add our elements 3. Finally we _end_ them, using the same name. - (e.g `end_panel("myPanel")`, `end_treenode("myTreenode")`) + (e.g `end_panel("myPanel")`, `end_treenode("myTreenode")`) ::: @@ -444,9 +445,9 @@ while (not quit_requested()): # create the elements, just like last tutorial! if button("Write To Terminal!"): write_line(user_message) - + user_message = text_box(user_message) - + # end the panel end_panel("My panel") @@ -473,14 +474,14 @@ Another useful thing you can do now is add _labels_ to your elements. You can do :::note[SplashKit Interfaces] Here's a quick rundown of common element functions: -| Without Label | With Label | -|-------------------------------|-----------------------------------------| -|boolean button(text) | boolean button("Label:", text) | -|boolean checkbox(text, state) | boolean checkbox("Label:", text, state) | -|number slider(value, min, max) | number slider("Label:", value, min, max)| -|string text_box(text) | string text_box("Label:", text) | +| Without Label | With Label | +| ------------------------------ | ---------------------------------------- | +| boolean button(text) | boolean button("Label:", text) | +| boolean checkbox(text, state) | boolean checkbox("Label:", text, state) | +| number slider(value, min, max) | number slider("Label:", value, min, max) | +| string text_box(text) | string text_box("Label:", text) | -------------------------------------------- +--- See the [API](/api/interface/) for more functions! ::: @@ -697,7 +698,7 @@ if (start_treenode("Some more buttons!")) end_treenode("Some more buttons!"); } - ``` +``` @@ -781,13 +782,13 @@ if start_treenode("Some buttons!"): if (button("Button 3!")): write_line("Button 3 clicked!") end_treenode("Some buttons!") - + if start_treenode("Some more buttons!"): if (button("Button 4!")): write_line("Button 4 clicked!") if (button("Button 5!")): write_line("Button 5 clicked!") - + if start_treenode("Buttons in buttons!!"): if (button("Button 6!")): write_line("Button 6 clicked!") @@ -811,14 +812,14 @@ To start, we need to call [Start Custom Layout](/api/interface/#start-custom-lay :::note[SplashKit Interfaces] Here's a rundown of common layout functions: -| Name | Description| -|---------------|-----------| -|[Split Into Columns](/api/interface/#split-into-columns)(count) | Splits the current row into equal sized columns - this is how many elements you can place on the one row | -|[Single Line Layout](/api/interface/#single-line-layout)() | Just place _all_ elements on a single row with their default size | -|[Add Column](/api/interface/#add-column)(width) | Adds a single column of a specific width in pixels | -|[Add Column Relative](/api/interface/#add-column-relative)(width) | Adds a single column of a specific width _relative_ to the total width (a value between 0 and 1)| +| Name | Description | +| ----------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| [Split Into Columns](/api/interface/#split-into-columns)(count) | Splits the current row into equal sized columns - this is how many elements you can place on the one row | +| [Single Line Layout](/api/interface/#single-line-layout)() | Just place _all_ elements on a single row with their default size | +| [Add Column](/api/interface/#add-column)(width) | Adds a single column of a specific width in pixels | +| [Add Column Relative](/api/interface/#add-column-relative)(width) | Adds a single column of a specific width _relative_ to the total width (a value between 0 and 1) | -------------------------------------------- +--- You'll usually want to use the first two, while the bottom two can be used for more custom layouts. diff --git a/src/content/docs/guides/interface/interface-styling.mdx b/src/content/docs/guides/interface/interface-styling.mdx index 6e6c290a0..c29224a2f 100644 --- a/src/content/docs/guides/interface/interface-styling.mdx +++ b/src/content/docs/guides/interface/interface-styling.mdx @@ -47,7 +47,7 @@ int main() // close all open windows close_all_windows(); - + return 0; } ``` @@ -144,7 +144,7 @@ while (not quit_requested()): clear_screen_to_white() button_at_position("My Button!", rectangle_from(300, 260, 200, 24)) - + draw_interface() refresh_screen() @@ -157,71 +157,80 @@ close_all_windows() You can choose from any of the styles in [Interface Style](/api/types/#interface-style). Here's how they look with a more complex interface: + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
- ![Several controls shown in a panel with the shaded dark style preset.](./images/styles/shadeddark.png) - - ![Several controls shown in a panel with the flat dark style preset](./images/styles/flatdark.png) -
- `SHADED_DARK_STYLE` - A dark-mode interface with shadows and depth. **(Default)** - - `FLAT_DARK_STYLE` - A flat, dark-mode interface. -
- ![Several controls shown in a panel with the shaded light style preset](./images/styles/shadedlight.png) - - ![Several controls shown in a panel with the flat light style preset](./images/styles/flatlight.png) -
- `SHADED_LIGHT_STYLE` - A light-mode interface with shadows and depth. - - `FLAT_LIGHT_STYLE` - A flat, light-mode interface. -
- ![Several controls shown in a panel with the bubble style preset](./images/styles/bubble.png) - - ![Several controls shown in a panel with the bubble multi-coloured style preset](./images/styles/bubble_multicolored.png) -
- `BUBBLE` - A light-mode interface with a semi-transparent bubbly look. - - `BUBBLE_MULTICOLORED` - A light-mode interface with a semi-transparent bubbly look - gives a multi-coloured result when provided a color. -
+ ![Several controls shown in a panel with the shaded dark style + preset.](./images/styles/shadeddark.png) + + ![Several controls shown in a panel with the flat dark style + preset](./images/styles/flatdark.png) +
+ `SHADED_DARK_STYLE` - A dark-mode interface with shadows and depth. + **(Default)** + `FLAT_DARK_STYLE` - A flat, dark-mode interface.
+ ![Several controls shown in a panel with the shaded light style + preset](./images/styles/shadedlight.png) + + ![Several controls shown in a panel with the flat light style + preset](./images/styles/flatlight.png) +
+ `SHADED_LIGHT_STYLE` - A light-mode interface with shadows and depth. + `FLAT_LIGHT_STYLE` - A flat, light-mode interface.
+ ![Several controls shown in a panel with the bubble style + preset](./images/styles/bubble.png) + + ![Several controls shown in a panel with the bubble multi-coloured style + preset](./images/styles/bubble_multicolored.png) +
+ `BUBBLE` - A light-mode interface with a semi-transparent bubbly look. + + `BUBBLE_MULTICOLORED` - A light-mode interface with a semi-transparent + bubbly look - gives a multi-coloured result when provided a color. +
You can also customize a preset a little by providing an optional color that it can use - for instance, `set_interface_style(SHADED_DARK_STYLE , hsb_color(0.6, 0.4, 1.0))` (using light blue) provides the following results: + - - - - - + + + + +
- ![Several controls shown in a panel with the shaded dark style preset, tinted slightly blue](./images/styles/shadeddark_colored.png) - - ![Several controls shown in a panel with the shaded light style preset, tinted slightly blue](./images/styles/shadedlight_colored.png) - - ![Several controls shown in a panel with the bubble style preset, tinted slightly blue](./images/styles/bubble_colored.png) -
+ ![Several controls shown in a panel with the shaded dark style preset, + tinted slightly blue](./images/styles/shadeddark_colored.png) + + ![Several controls shown in a panel with the shaded light style preset, + tinted slightly blue](./images/styles/shadedlight_colored.png) + + ![Several controls shown in a panel with the bubble style preset, tinted + slightly blue](./images/styles/bubble_colored.png) +
### Custom Styles diff --git a/src/content/docs/guides/json/getting-started-with-json.mdx b/src/content/docs/guides/json/getting-started-with-json.mdx index 2a50c0a1a..09402d5f1 100644 --- a/src/content/docs/guides/json/getting-started-with-json.mdx +++ b/src/content/docs/guides/json/getting-started-with-json.mdx @@ -213,7 +213,7 @@ int main() } free_json(game_data); - + return 0; } ``` @@ -572,7 +572,7 @@ int main() write("Got level: "); write_line(levels[i]); } - + // Extract the nested JSON objects json game_screen_size = json_read_object(game_data, "screenSize"); int width = json_read_number_as_int(game_screen_size, "width"); @@ -860,7 +860,8 @@ json_set_number(screen_size_data, "width", 800); json_set_number(screen_size_data, "height", 600); json_set_object(new_game_data, "screenSize", screen_size_data); -``` + +````
@@ -875,7 +876,7 @@ JsonSetNumber(screenSizeData, "width", 800); JsonSetNumber(screenSizeData, "height", 600); JsonSetObject(newGameData, "screenSize", screenSizeData); -``` +```` @@ -963,7 +964,7 @@ By combining all these examples we can create the full program shown below. ```cpp #include "splashkit.h" -int main() +int main() { json new_game_data = create_json(); @@ -1109,18 +1110,14 @@ Running this program results in a file named `new_game_data.json` being written ```json { - "numPlayers": 1, - "fullScreenMode": false, - "gameTitle": "My New Game", - "levels": [ - "level1", - "level2", - "level3" - ], - "screenSize": { - "height": 600, - "width": 800 - } + "numPlayers": 1, + "fullScreenMode": false, + "gameTitle": "My New Game", + "levels": ["level1", "level2", "level3"], + "screenSize": { + "height": 600, + "width": 800 + } } ``` @@ -1254,26 +1251,22 @@ Next we load the game data we saved previously, add our `player_data` object to ```json { - "character": { - "name": "Hero", - "stats": { - "health": 100, - "mana": 50, - "strength": 75 - } - }, - "fullScreenMode": false, - "numPlayers": 1, - "gameTitle": "My New Game", - "levels": [ - "levels1", - "levels2", - "levels3" - ], - "screenSize": { - "height": 600, - "width": 800 + "character": { + "name": "Hero", + "stats": { + "health": 100, + "mana": 50, + "strength": 75 } + }, + "fullScreenMode": false, + "numPlayers": 1, + "gameTitle": "My New Game", + "levels": ["levels1", "levels2", "levels3"], + "screenSize": { + "height": 600, + "width": 800 + } } ``` diff --git a/src/content/docs/guides/networking/routing-with-servers.mdx b/src/content/docs/guides/networking/routing-with-servers.mdx index dbaf24d4a..71870b352 100644 --- a/src/content/docs/guides/networking/routing-with-servers.mdx +++ b/src/content/docs/guides/networking/routing-with-servers.mdx @@ -552,7 +552,7 @@ while not is_get_request_for(request, "/quit"): # send_html_file_response(request, "contact.html") send_response(request, "contact page") - + elif is_get_request_for(request, "/about") or is_get_request_for(request, "/about.html"): # Server page for about path, e.g. # send_html_file_response(request, "about.html") @@ -608,9 +608,7 @@ You can add links to your `index.html` to link to the other pages we have create For example, a link to the login page would look like ```html -

- Login Page
-

+

Login Page

``` Add links to contact and about to index.html in this same manner, then try playing around with `localhost:8080` in your browser of choice, checking out all the different pages. diff --git a/src/content/docs/guides/physics/1-vector-magnitudes.mdx b/src/content/docs/guides/physics/1-vector-magnitudes.mdx index 971df6646..c94e4cfcd 100644 --- a/src/content/docs/guides/physics/1-vector-magnitudes.mdx +++ b/src/content/docs/guides/physics/1-vector-magnitudes.mdx @@ -5,7 +5,7 @@ author: Shaun Ratcliff lastupdated: 08 Dec 24 --- -import { Tabs, TabItem , Aside } from "@astrojs/starlight/components"; +import { Tabs, TabItem, Aside } from "@astrojs/starlight/components"; **{frontmatter.description}** Written by: {frontmatter.authors} @@ -62,7 +62,7 @@ def vector_magnitude(v): If a vector represents velocity, the magnitude indicates the speed; if it represents force, the magnitude shows the strength of the force applied. For a 2D vector `(x, y)`, the magnitude is calculated using the formula: The magnitude provides a scalar value that reflects how "intense" or "strong" the vector is, without considering its direction. @@ -75,24 +75,24 @@ The `vector_magnitude_squared` function returns the squared magnitude (or “len - ```cpp - double vector_magnitude_squared(const vector_2d &v) - ``` +```cpp +double vector_magnitude_squared(const vector_2d &v) +``` - ```csharp - public static double Vector2D.VectorMagnitudeSquared(Vector2D v); - public static double SplashKit.VectorMagnitudeSquared(Vector2D v); - ``` +```csharp +public static double Vector2D.VectorMagnitudeSquared(Vector2D v); +public static double SplashKit.VectorMagnitudeSquared(Vector2D v); +``` - ```python - def vector_magnitude_squared(v): - ``` +```python +def vector_magnitude_squared(v): +``` @@ -120,24 +120,24 @@ The `vector_invert` function returns a new vector that is the inverse (or negati - ```cpp - vector_2d vector_invert(const vector_2d &v) - ``` +```cpp +vector_2d vector_invert(const vector_2d &v) +``` - ```csharp - public static Vector2D Vector2D.VectorInvert(Vector2D v); - public static Vector2D SplashKit.VectorInvert(Vector2D v); - ``` +```csharp +public static Vector2D Vector2D.VectorInvert(Vector2D v); +public static Vector2D SplashKit.VectorInvert(Vector2D v); +``` - ```python - def vector_invert(v): - ``` +```python +def vector_invert(v): +``` diff --git a/src/content/docs/guides/physics/2-vector-arithmetic.mdx b/src/content/docs/guides/physics/2-vector-arithmetic.mdx index e76bc3b0c..fc5cf84df 100644 --- a/src/content/docs/guides/physics/2-vector-arithmetic.mdx +++ b/src/content/docs/guides/physics/2-vector-arithmetic.mdx @@ -76,10 +76,10 @@ vector_2d result = vector_add(v1, v2);
- ```csharp Vector2D v1 = new Vector2D() {((X = 100), (Y = 50))}; Vector2D v2 = - new Vector2D() {((X = 200), (Y = 150))}; Vector2D result = - SplashKit.VectorAdd(v1, v2); - ``` +```csharp Vector2D v1 = new Vector2D() {((X = 100), (Y = 50))}; Vector2D v2 = +new Vector2D() {((X = 200), (Y = 150))}; Vector2D result = +SplashKit.VectorAdd(v1, v2); +``` diff --git a/src/content/docs/guides/physics/3-vector-geometry-angles.mdx b/src/content/docs/guides/physics/3-vector-geometry-angles.mdx index 83795f7e4..1af7caf56 100644 --- a/src/content/docs/guides/physics/3-vector-geometry-angles.mdx +++ b/src/content/docs/guides/physics/3-vector-geometry-angles.mdx @@ -274,6 +274,7 @@ $ B = (B_x, B_y)$ is calculated as: $$ \mathbf{A} \cdot \mathbf{B} = A_x \times B_x + A_y \times B_y $$ + diff --git a/src/content/docs/guides/physics/4-collision-detection-using-vectors.mdx b/src/content/docs/guides/physics/4-collision-detection-using-vectors.mdx index 052bcb294..3b58ec502 100644 --- a/src/content/docs/guides/physics/4-collision-detection-using-vectors.mdx +++ b/src/content/docs/guides/physics/4-collision-detection-using-vectors.mdx @@ -6,7 +6,7 @@ lastupdated: 08 Dec 24 --- import { Tabs, TabItem, Aside, Steps } from "@astrojs/starlight/components"; -import SKOTutorialButton from '../../../../components/SKOTutorialButton.astro'; +import SKOTutorialButton from "../../../../components/SKOTutorialButton.astro"; **{frontmatter.description}** Written by: {frontmatter.authors} @@ -37,6 +37,7 @@ In this tutorial, we'll explore how to detect and resolve collisions between mov

[Vector Angles](/guides/physics/3-vector-geometry-angles/)

These will provide you with a solid understanding of the fundamental principles of vectors and how to effectively make use of the SplashKit physics functions. + ## A Quick Background on Physics @@ -74,9 +75,12 @@ struct ball Let's see how applying a force affects the movement of a ball. To do this: -1. **Select a Ball**: Click on a ball to select it. This will allow you to apply a force to this specific ball. -2. **Adjust the Force**: Move the mouse around the window to adjust the magnitude and angle of the force. The direction and length of the vector from the ball's center to the mouse position determine the force's direction and magnitude. -3. **Apply the Force**: Click the mouse again to apply the force to the selected ball. + 1. **Select a Ball**: Click on a ball to select it. This will allow you to + apply a force to this specific ball. 2. **Adjust the Force**: Move the mouse + around the window to adjust the magnitude and angle of the force. The + direction and length of the vector from the ball's center to the mouse + position determine the force's direction and magnitude. 3. **Apply the + Force**: Click the mouse again to apply the force to the selected ball. We use SplashKit's `vector_point_to_point` function to create a force vector from the ball’s center to the mouse cursor. This vector is then added to the ball's velocity vector, adjusting its movement. To keep the movement within a reasonable range, we apply a scaling factor. @@ -114,8 +118,11 @@ By integrating these calculations, you ensure that the ball’s movement is infl To ensure that the balls remain within the visible area of the window, we need to check that they do not extend beyond the window edges. If a ball reaches the boundary, we reposition it within the window and reverse its velocity to simulate a bounce. -1. **Check Boundary Conditions**: Verify if the ball's position plus its radius extends beyond the window's edges. If it does, adjust its position to ensure it stays within the window. -2. **Reverse Velocity**: To create a bouncing effect, reverse the velocity component that is responsible for pushing the ball out of bounds. + 1. **Check Boundary Conditions**: Verify if the ball's position plus its + radius extends beyond the window's edges. If it does, adjust its position to + ensure it stays within the window. 2. **Reverse Velocity**: To create a + bouncing effect, reverse the velocity component that is responsible for + pushing the ball out of bounds. ```cpp @@ -254,6 +261,7 @@ To calculate the velocities after collision, we must also factor in the mass of $$ v_1 = \frac{u_1 (m_1 - m_2) + 2 m_2 u_2}{m_1 + m_2} $$ $$ v_2 = \frac{u_2 (m_2 - m_1) + 2 m_1 u_1}{m_1 + m_2} $$ + ```cpp diff --git a/src/content/docs/guides/physics/5-collisions-and-gravity.mdx b/src/content/docs/guides/physics/5-collisions-and-gravity.mdx index b2e3e8f7d..3fcb753ab 100644 --- a/src/content/docs/guides/physics/5-collisions-and-gravity.mdx +++ b/src/content/docs/guides/physics/5-collisions-and-gravity.mdx @@ -6,7 +6,7 @@ lastupdated: 08 Dec 24 --- import { Tabs, TabItem, Aside } from "@astrojs/starlight/components"; -import SKOTutorialButton from '../../../../components/SKOTutorialButton.astro'; +import SKOTutorialButton from "../../../../components/SKOTutorialButton.astro"; **{frontmatter.description}** Written by: {frontmatter.authors} @@ -25,7 +25,11 @@ In this tutorial, you'll learn how to implement these concepts using SplashKit, ![Walls and Balls](/gifs/guides/physics/ball-vectors.gif) ### SplashKit Vector Functions Used in This Tutorial diff --git a/src/content/docs/guides/physics/6-raycasting-basics.mdx b/src/content/docs/guides/physics/6-raycasting-basics.mdx index 861c1e03c..1648ec572 100644 --- a/src/content/docs/guides/physics/6-raycasting-basics.mdx +++ b/src/content/docs/guides/physics/6-raycasting-basics.mdx @@ -6,7 +6,7 @@ lastupdated: 08 Dec 24 --- import { Tabs, TabItem, Aside, Steps } from "@astrojs/starlight/components"; -import SKOTutorialButton from '../../../../components/SKOTutorialButton.astro'; +import SKOTutorialButton from "../../../../components/SKOTutorialButton.astro"; **{frontmatter.description}** Written by: {frontmatter.authors} @@ -18,14 +18,14 @@ _Full C# and Python code for this tutorial is still in development._ ## Introduction to Raycasting -Raycasting is a technique used in computer graphics and game development to simulate how light or vision interacts with objects in a virtual environment. By casting an imaginary ray from a source point (like a player's position in a game), we can determine what the ray intersects with, how far away the object is, and how to represent that interaction visually. +Raycasting is a technique used in computer graphics and game development to simulate how light or vision interacts with objects in a virtual environment. By casting an imaginary ray from a source point (like a player's position in a game), we can determine what the ray intersects with, how far away the object is, and how to represent that interaction visually. Think of raycasting as shining a flashlight in a dark room. As the beam travels forward, it reveals objects in its path. In programming, this concept allows us to calculate collisions, detect objects, or render 3D scenes in a 2D space. Raycasting is often used in: - 2D games: To determine if a player can "see" an enemy or if a projectile hits a wall. -- 3D rendering: Simulating 3D environments, as seen in classic games like [Doom](https://en.wikipedia.org/wiki/Doom_(1993_video_game)) or [Wolfenstein 3D](https://en.wikipedia.org/wiki/Wolfenstein_3D). +- 3D rendering: Simulating 3D environments, as seen in classic games like [Doom]() or [Wolfenstein 3D](https://en.wikipedia.org/wiki/Wolfenstein_3D). - Physics simulations: Calculating line-of-sight or detecting where a ray intersects a surface At its core, raycasting is about using mathematics to track the path of a ray, calculate where it hits, and decide what happens next. It’s simpler than full 3D rendering techniques, making it an excellent starting point for understanding game development concepts like collision detection, shading, and spatial relationships. @@ -46,6 +46,7 @@ At its core, raycasting is about using mathematics to track the path of a ray, c

[Vector Angles](/guides/physics/3-vector-geometry-angles/)

These will provide you with a solid understanding of the fundamental principles of vectors and how to effectively make use of the SplashKit physics functions. + ## Key Raycasting Concepts @@ -70,24 +71,24 @@ The `vector_from_angle` function generates a vector from the provided angle and - ```cpp - vector_2d vector_from_angle(double angle, double magnitude) - ``` +```cpp +vector_2d vector_from_angle(double angle, double magnitude) +``` - ```csharp - public static Vector2D Vector2D.VectorFromAngle(double angle, double magnitude); - public static Vector2D SplashKit.VectorFromAngle(double angle, double magnitude); - ``` +```csharp +public static Vector2D Vector2D.VectorFromAngle(double angle, double magnitude); +public static Vector2D SplashKit.VectorFromAngle(double angle, double magnitude); +``` - ```python - def vector_from_angle(angle, magnitude): - ``` +```python +def vector_from_angle(angle, magnitude): +``` @@ -100,10 +101,14 @@ An intersection (or collision) occurs when a ray collides with an object in the You'll be able to use the concepts and apply them in your program in some way: -1. Represent the ray by defining the origin and the direction -2. Represent the object you want to test for collisions, such as a `rectangle`. While this tutorial will focus on rectangles first, SplashKit offers other objects such as `triangle`, `circle`, `bitmap` and `sprite`. -3. Calculate the intersection. There are different algorithms for different objects, however they all determine if the ray intersects the object and calculate the intersection point and distance from the origin. -4. Use the intersection data to trigger the next part of your program. + 1. Represent the ray by defining the origin and the direction 2. Represent the + object you want to test for collisions, such as a `rectangle`. While this + tutorial will focus on rectangles first, SplashKit offers other objects such + as `triangle`, `circle`, `bitmap` and `sprite`. 3. Calculate the intersection. + There are different algorithms for different objects, however they all + determine if the ray intersects the object and calculate the intersection + point and distance from the origin. 4. Use the intersection data to trigger + the next part of your program. ![Key Raycasting Concepts](/gifs/guides/physics/raycasting-basics-1.gif) @@ -140,24 +145,24 @@ The `point_offset_by` calculates another `point_2d` that is offset from a point - ```cpp - point_2d point_offset_by(const point_2d &start_point, const vector_2d &offset) - ``` +```cpp +point_2d point_offset_by(const point_2d &start_point, const vector_2d &offset) +``` - ```csharp - public static Point2D Geometry.PointOffsetBy(Point2D startPoint, Vector2D offset); - public static Point2D SplashKit.PointOffsetBy(Point2D startPoint, Vector2D offset); - ``` +```csharp +public static Point2D Geometry.PointOffsetBy(Point2D startPoint, Vector2D offset); +public static Point2D SplashKit.PointOffsetBy(Point2D startPoint, Vector2D offset); +``` - ```python - def point_offset_by(start_point, offset): - ``` +```python +def point_offset_by(start_point, offset): +``` @@ -180,24 +185,24 @@ The `vector_multiply` function multiplies a vector by a passed in value. In this - ```cpp - vector_2d vector_multiply(const vector_2d &v1, double s) - ``` +```cpp +vector_2d vector_multiply(const vector_2d &v1, double s) +``` - ```csharp - public static Vector2D Vector2D.VectorMultiply(Vector2D v1, double s); - public static Vector2D SplashKit.VectorMultiply(Vector2D v1, double s); - ``` +```csharp +public static Vector2D Vector2D.VectorMultiply(Vector2D v1, double s); +public static Vector2D SplashKit.VectorMultiply(Vector2D v1, double s); +``` - ```python - def vector_multiply(v1, s): - ``` +```python +def vector_multiply(v1, s): +``` diff --git a/src/content/docs/guides/physics/8-3d-projection-raycasting.mdx b/src/content/docs/guides/physics/8-3d-projection-raycasting.mdx index 8201f24e9..d98242a1b 100644 --- a/src/content/docs/guides/physics/8-3d-projection-raycasting.mdx +++ b/src/content/docs/guides/physics/8-3d-projection-raycasting.mdx @@ -6,7 +6,7 @@ lastupdated: 08 Dec 24 --- import { Tabs, TabItem, Aside, Steps } from "@astrojs/starlight/components"; -import SKOTutorialButton from '../../../../components/SKOTutorialButton.astro'; +import SKOTutorialButton from "../../../../components/SKOTutorialButton.astro"; **{frontmatter.description}** Written by: {frontmatter.authors} @@ -18,7 +18,7 @@ _Full C# and Python code for this tutorial is still in development._ ## Introduction to 2D to 3D Projection Using Raycasting -Raycasting is a powerful technique in game development that allows us to simulate how rays of light or vision interact with objects in a virtual environment. While it is commonly used for simple collision detection or line-of-sight mechanics, it also serves as the foundation for more advanced applications, such as creating 3D effects in 2D environments. By projecting a 2D map into a first-person 3D perspective, we can simulate a 3D world using only 2D assets—a technique famously used in early 3D games like [Doom](https://en.wikipedia.org/wiki/Doom_(1993_video_game)) and [Wolfenstein 3D](https://en.wikipedia.org/wiki/Wolfenstein_3D). +Raycasting is a powerful technique in game development that allows us to simulate how rays of light or vision interact with objects in a virtual environment. While it is commonly used for simple collision detection or line-of-sight mechanics, it also serves as the foundation for more advanced applications, such as creating 3D effects in 2D environments. By projecting a 2D map into a first-person 3D perspective, we can simulate a 3D world using only 2D assets—a technique famously used in early 3D games like [Doom]() and [Wolfenstein 3D](https://en.wikipedia.org/wiki/Wolfenstein_3D). In this tutorial, we’ll explore how to use SplashKit to build a 2D to 3D raycasting system. You’ll learn how to: @@ -31,7 +31,11 @@ This approach is ideal if you are looking to take your games to the next level. ![2D to 3D Projection](/gifs/guides/physics/2d-3d-projection.gif) ### Important SplashKit Functions Used in This Tutorial @@ -164,11 +168,20 @@ if (distance > MAX_RAY_DISTANCE) At its core, raycasting reduces the complex task of simulating a 3D environment to drawing a series of lines with mathematical precision. Each ray serves as a "scanner," collecting data about the environment and translating it into a visually coherent projection. -1. **Determine the Ray Angle** - Calculate the angle of each ray relative to the player's FOV. This determines the direction in which the ray will "travel" across the virtual environment. -2. **Iterate Across the Screen** - Create a loop that corresponds to the width of the screen. Each iteration represents a vertical column of the screen and a specific ray within the FOV. -3. **Calculate Wall Height** - Use the inverse of the distance to determine the wall’s height on the screen. Divide a constant (e.g., half the screen height) by the distance to achieve this. -4. **Draw the World** - Render a line for the ceiling (top of the screen to the top of the wall height), for the wall (corresponding to the calculated wall height), and the floor (bottom of the wall to the bottom of the screen) to draw the world. -5. **Repeat for All Rays** - Repeat this process for every ray, effectively rendering each column of the screen. The result is a projection that simulates depth and perspective in the environment. + 1. **Determine the Ray Angle** - Calculate the angle of each ray relative to + the player's FOV. This determines the direction in which the ray will "travel" + across the virtual environment. 2. **Iterate Across the Screen** - Create a + loop that corresponds to the width of the screen. Each iteration represents a + vertical column of the screen and a specific ray within the FOV. 3. + **Calculate Wall Height** - Use the inverse of the distance to determine the + wall’s height on the screen. Divide a constant (e.g., half the screen height) + by the distance to achieve this. 4. **Draw the World** - Render a line for the + ceiling (top of the screen to the top of the wall height), for the wall + (corresponding to the calculated wall height), and the floor (bottom of the + wall to the bottom of the screen) to draw the world. 5. **Repeat for All + Rays** - Repeat this process for every ray, effectively rendering each column + of the screen. The result is a projection that simulates depth and perspective + in the environment. ![Basic 3D Projection](/images/guides/physics/2d-3d-projection-4.png) @@ -186,9 +199,13 @@ Match the number of rays to the screen width for a 1:1 mapping (e.g., 600 rays f ::: -1. **Start with the Player’s FOV**: Define the total field of view (e.g., 60 degrees) and determine how many rays will be cast. -2. **Divide the FOV**: Calculate the angular step between rays by dividing the FOV by the total number of rays. This ensures equal spacing. -3. **Iterate Through Rays**: Begin at the left edge of the FOV and incrementally step through each ray until the rightmost edge is reached. Each ray's angle will determine its direction in the virtual environment. + 1. **Start with the Player’s FOV**: Define the total field of view (e.g., 60 + degrees) and determine how many rays will be cast. 2. **Divide the FOV**: + Calculate the angular step between rays by dividing the FOV by the total + number of rays. This ensures equal spacing. 3. **Iterate Through Rays**: Begin + at the left edge of the FOV and incrementally step through each ray until the + rightmost edge is reached. Each ray's angle will determine its direction in + the virtual environment. :::note @@ -237,6 +254,7 @@ double corrected_distance = distances[i] * cos(degree_to_radians(i * (PLAYER_FOV ``` This correction ensures that walls maintain consistent proportions, regardless of their angle within the player’s field of view (FOV). + The height of the wall on the screen is inversely proportional to the corrected distance. This means that closer walls occupy more vertical screen space, while farther walls take up less: @@ -313,23 +331,23 @@ Try modifying the map, field of view, or the number of rays cast to see how thes filePath="/guides/physics-code-files/raycasting-2d.cpp" buttonText="Test 2D Code in SplashKit Online" iframeSrc="https://thoth-tech.github.io/SplashkitOnline/?language=C++" - /> + />
- + /> - + /> diff --git a/src/content/docs/guides/raspberry-gpio/0-blink-led.mdx b/src/content/docs/guides/raspberry-gpio/0-blink-led.mdx index b4e2e2c5a..e8c59a6bc 100644 --- a/src/content/docs/guides/raspberry-gpio/0-blink-led.mdx +++ b/src/content/docs/guides/raspberry-gpio/0-blink-led.mdx @@ -170,7 +170,7 @@ int main() return 0; } ``` - + @@ -246,401 +246,401 @@ To understand this code better, lets break it down and explore each section. 1. **Initialise GPIO Hardware:** - In this bit of the code we're setting up the hardware, we call [Raspi Init](/api/raspberry/#raspi-init) to initialise the GPIO pins, and then we define the specific pin we're using which is Pin 11 in this case and it is of the [Gpio Pin](/api/types/#gpio-pin) type. - - We pass this value to [Raspi Set Mode](/api/raspberry/#raspi-set-mode) along with `GPIO_OUTPUT` which sets the pin to be ready to output a signal on our command. The `GPIO_OUTPUT` value is one of the [Gpio Pin Modes](/api/types/#gpio-pin-mode) that can be set. Each pin has alternative modes but we are only interested in the output mode for now. - - - - - ```cpp {5-7} - #include "splashkit.h" - - int main() - { - raspi_init(); - gpio_pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - open_window("dummy_window", 1, 1); - while(!any_key_pressed()) - { - process_events(); - raspi_write(led_pin, GPIO_HIGH); - delay(500); - raspi_write(led_pin, GPIO_LOW); - delay(500); - } - - close_all_windows(); - raspi_cleanup(); - return 0; - } - ``` + In this bit of the code we're setting up the hardware, we call [Raspi Init](/api/raspberry/#raspi-init) to initialise the GPIO pins, and then we define the specific pin we're using which is Pin 11 in this case and it is of the [Gpio Pin](/api/types/#gpio-pin) type. - + We pass this value to [Raspi Set Mode](/api/raspberry/#raspi-set-mode) along with `GPIO_OUTPUT` which sets the pin to be ready to output a signal on our command. The `GPIO_OUTPUT` value is one of the [Gpio Pin Modes](/api/types/#gpio-pin-mode) that can be set. Each pin has alternative modes but we are only interested in the output mode for now. - + + - - + ```cpp {5-7} + #include "splashkit.h" - ```csharp {4-6} - using SplashKitSDK; - using static SplashKitSDK.SplashKit; + int main() + { + raspi_init(); + gpio_pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); - RaspiInit(); - GpioPin ledPin = (GpioPin) 11; - RaspiSetMode(ledPin, (GpioPinMode) 1); + open_window("dummy_window", 1, 1); + while(!any_key_pressed()) + { + process_events(); + raspi_write(led_pin, GPIO_HIGH); + delay(500); + raspi_write(led_pin, GPIO_LOW); + delay(500); + } - OpenWindow("dummy_window", 1, 1); - while(!AnyKeyPressed()) - { - ProcessEvents(); - RaspiWrite(ledPin, (GpioPinValue) 1); - Delay(500); - RaspiWrite(ledPin, (GpioPinValue) 0); - Delay(500); - } + close_all_windows(); + raspi_cleanup(); + return 0; + } + ``` - CloseAllWindows(); - RaspiCleanup(); - ``` + - - + - ```csharp {9-11} - using SplashKitSDK; + + - namespace RaspberryPiBlinkingLED - { - public class Program - { - public static void Main() - { - SplashKit.RaspiInit(); - GpioPin ledPin = GpioPin.Pin11; - SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); - - SplashKit.OpenWindow("dummy_window", 1, 1); - while (!SplashKit.AnyKeyPressed()) - { - SplashKit.ProcessEvents(); - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); - SplashKit.Delay(500); - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); - SplashKit.Delay(500); - } - - SplashKit.CloseAllWindows(); - SplashKit.RaspiCleanup(); - } - } - } - ``` + ```csharp {4-6} + using SplashKitSDK; + using static SplashKitSDK.SplashKit; + + RaspiInit(); + GpioPin ledPin = (GpioPin) 11; + RaspiSetMode(ledPin, (GpioPinMode) 1); + + OpenWindow("dummy_window", 1, 1); + while(!AnyKeyPressed()) + { + ProcessEvents(); + RaspiWrite(ledPin, (GpioPinValue) 1); + Delay(500); + RaspiWrite(ledPin, (GpioPinValue) 0); + Delay(500); + } + + CloseAllWindows(); + RaspiCleanup(); + ``` + + + - - - - + ```csharp {9-11} + using SplashKitSDK; + + namespace RaspberryPiBlinkingLED + { + public class Program + { + public static void Main() + { + SplashKit.RaspiInit(); + GpioPin ledPin = GpioPin.Pin11; + SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); + + SplashKit.OpenWindow("dummy_window", 1, 1); + while (!SplashKit.AnyKeyPressed()) + { + SplashKit.ProcessEvents(); + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); + SplashKit.Delay(500); + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); + SplashKit.Delay(500); + } + + SplashKit.CloseAllWindows(); + SplashKit.RaspiCleanup(); + } + } + } + ``` + + + + + 2. **Get User Inputs:** - There is a small trick we can use to recognise keyboard inputs by opening a dummy window using [Open Window](/api/windows/#open-window), which initialises the backend so that we can detect input. We'll then use a loop that runs while [Any Key Pressed](/api/input/#any-key-pressed) returns false. We use [Process Events](/api/input/#process-events) at the start of the loop to actually detect any user input. We can now press a key to end the program and ensure we cleanup correctly. - - - - - ```cpp {9-12,17} - #include "splashkit.h" + There is a small trick we can use to recognise keyboard inputs by opening a dummy window using [Open Window](/api/windows/#open-window), which initialises the backend so that we can detect input. We'll then use a loop that runs while [Any Key Pressed](/api/input/#any-key-pressed) returns false. We use [Process Events](/api/input/#process-events) at the start of the loop to actually detect any user input. We can now press a key to end the program and ensure we cleanup correctly. - int main() - { - raspi_init(); - gpio_pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - open_window("dummy_window", 1, 1); - while(!any_key_pressed()) - { - process_events(); - raspi_write(led_pin, GPIO_HIGH); - delay(500); - raspi_write(led_pin, GPIO_LOW); - delay(500); - } - - close_all_windows(); - raspi_cleanup(); - return 0; - } - ``` - - - - + + - - + ```cpp {9-12,17} + #include "splashkit.h" - ```csharp {8-11,16} - using SplashKitSDK; - using static SplashKitSDK.SplashKit; + int main() + { + raspi_init(); + gpio_pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); - RaspiInit(); - GpioPin ledPin = (GpioPin) 11; - RaspiSetMode(ledPin, (GpioPinMode) 1); + open_window("dummy_window", 1, 1); + while(!any_key_pressed()) + { + process_events(); + raspi_write(led_pin, GPIO_HIGH); + delay(500); + raspi_write(led_pin, GPIO_LOW); + delay(500); + } - OpenWindow("dummy_window", 1, 1); - while(!AnyKeyPressed()) - { - ProcessEvents(); - RaspiWrite(ledPin, (GpioPinValue) 1); - Delay(500); - RaspiWrite(ledPin, (GpioPinValue) 0); - Delay(500); - } + close_all_windows(); + raspi_cleanup(); + return 0; + } + ``` - CloseAllWindows(); - RaspiCleanup(); - ``` + - - + - ```csharp {13-16,21} - using SplashKitSDK; + + - namespace RaspberryPiBlinkingLED - { - public class Program - { - public static void Main() - { - SplashKit.RaspiInit(); - GpioPin ledPin = GpioPin.Pin11; - SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); - - SplashKit.OpenWindow("dummy_window", 1, 1); - while (!SplashKit.AnyKeyPressed()) - { - SplashKit.ProcessEvents(); - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); - SplashKit.Delay(500); - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); - SplashKit.Delay(500); - } - - SplashKit.CloseAllWindows(); - SplashKit.RaspiCleanup(); - } - } - } - ``` + ```csharp {8-11,16} + using SplashKitSDK; + using static SplashKitSDK.SplashKit; + + RaspiInit(); + GpioPin ledPin = (GpioPin) 11; + RaspiSetMode(ledPin, (GpioPinMode) 1); + + OpenWindow("dummy_window", 1, 1); + while(!AnyKeyPressed()) + { + ProcessEvents(); + RaspiWrite(ledPin, (GpioPinValue) 1); + Delay(500); + RaspiWrite(ledPin, (GpioPinValue) 0); + Delay(500); + } + + CloseAllWindows(); + RaspiCleanup(); + ``` + + + - - - - + ```csharp {13-16,21} + using SplashKitSDK; + + namespace RaspberryPiBlinkingLED + { + public class Program + { + public static void Main() + { + SplashKit.RaspiInit(); + GpioPin ledPin = GpioPin.Pin11; + SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); + + SplashKit.OpenWindow("dummy_window", 1, 1); + while (!SplashKit.AnyKeyPressed()) + { + SplashKit.ProcessEvents(); + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); + SplashKit.Delay(500); + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); + SplashKit.Delay(500); + } + + SplashKit.CloseAllWindows(); + SplashKit.RaspiCleanup(); + } + } + } + ``` + + + + + 3. **Blink the LED:** - Now that we've setup our pins and defined our end condition, we can now manipulate the LED. Inside the while loop we first use [Raspi Write](/api/raspberry/#raspi-write) to change the output of our pin to `GPIO_HIGH`, one of the [Pin Values](/api/types/#gpio-pin-value). Doing this provides electricity to the LED and turn it on. We then wait for half a second using [Delay](/api/utilities/#delay). Then we turn our LED off using [Raspi Write](/api/raspberry/#raspi-write), but now we use `GPIO_LOW`, and wait for another half-second. - - - - - ```cpp {13-16} - #include "splashkit.h" - - int main() - { - raspi_init(); - gpio_pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - open_window("dummy_window", 1, 1); - while(!any_key_pressed()) - { - process_events(); - raspi_write(led_pin, GPIO_HIGH); - delay(500); - raspi_write(led_pin, GPIO_LOW); - delay(500); - } + Now that we've setup our pins and defined our end condition, we can now manipulate the LED. Inside the while loop we first use [Raspi Write](/api/raspberry/#raspi-write) to change the output of our pin to `GPIO_HIGH`, one of the [Pin Values](/api/types/#gpio-pin-value). Doing this provides electricity to the LED and turn it on. We then wait for half a second using [Delay](/api/utilities/#delay). Then we turn our LED off using [Raspi Write](/api/raspberry/#raspi-write), but now we use `GPIO_LOW`, and wait for another half-second. - close_all_windows(); - raspi_cleanup(); - return 0; - } - ``` - - - - + + - - + ```cpp {13-16} + #include "splashkit.h" - ```csharp {12-15} - using SplashKitSDK; - using static SplashKitSDK.SplashKit; + int main() + { + raspi_init(); + gpio_pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); - RaspiInit(); - GpioPin ledPin = (GpioPin) 11; - RaspiSetMode(ledPin, (GpioPinMode) 1); + open_window("dummy_window", 1, 1); + while(!any_key_pressed()) + { + process_events(); + raspi_write(led_pin, GPIO_HIGH); + delay(500); + raspi_write(led_pin, GPIO_LOW); + delay(500); + } - OpenWindow("dummy_window", 1, 1); - while(!AnyKeyPressed()) - { - ProcessEvents(); - RaspiWrite(ledPin, (GpioPinValue) 1); - Delay(500); - RaspiWrite(ledPin, (GpioPinValue) 0); - Delay(500); - } + close_all_windows(); + raspi_cleanup(); + return 0; + } + ``` - CloseAllWindows(); - RaspiCleanup(); - ``` + - - + - ```csharp {17-20} - using SplashKitSDK; + + - namespace RaspberryPiBlinkingLED - { - public class Program - { - public static void Main() - { - SplashKit.RaspiInit(); - GpioPin ledPin = GpioPin.Pin11; - SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); - - SplashKit.OpenWindow("dummy_window", 1, 1); - while (!SplashKit.AnyKeyPressed()) - { - SplashKit.ProcessEvents(); - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); - SplashKit.Delay(500); - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); - SplashKit.Delay(500); - } - - SplashKit.CloseAllWindows(); - SplashKit.RaspiCleanup(); - } - } - } - ``` + ```csharp {12-15} + using SplashKitSDK; + using static SplashKitSDK.SplashKit; + + RaspiInit(); + GpioPin ledPin = (GpioPin) 11; + RaspiSetMode(ledPin, (GpioPinMode) 1); + + OpenWindow("dummy_window", 1, 1); + while(!AnyKeyPressed()) + { + ProcessEvents(); + RaspiWrite(ledPin, (GpioPinValue) 1); + Delay(500); + RaspiWrite(ledPin, (GpioPinValue) 0); + Delay(500); + } + + CloseAllWindows(); + RaspiCleanup(); + ``` + + + - - - - + ```csharp {17-20} + using SplashKitSDK; + + namespace RaspberryPiBlinkingLED + { + public class Program + { + public static void Main() + { + SplashKit.RaspiInit(); + GpioPin ledPin = GpioPin.Pin11; + SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); + + SplashKit.OpenWindow("dummy_window", 1, 1); + while (!SplashKit.AnyKeyPressed()) + { + SplashKit.ProcessEvents(); + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); + SplashKit.Delay(500); + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); + SplashKit.Delay(500); + } + + SplashKit.CloseAllWindows(); + SplashKit.RaspiCleanup(); + } + } + } + ``` + + + + + 4. **Clean Up Memory:** - Finally, as we exit the program we must ensure that we cleanup our program properly. We must first close the dummy window we opened use [Close All Windows](/api/windows/#close-all-windows). We then call [Raspi Cleanup](/api/raspberry/#raspi-cleanup) to ensure our pins are turned off and cleaned. - - - - - ```cpp {19-20} - #include "splashkit.h" - - int main() - { - raspi_init(); - gpio_pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - open_window("dummy_window", 1, 1); - while(!any_key_pressed()) - { - process_events(); - raspi_write(led_pin, GPIO_HIGH); - delay(500); - raspi_write(led_pin, GPIO_LOW); - delay(500); - } + Finally, as we exit the program we must ensure that we cleanup our program properly. We must first close the dummy window we opened use [Close All Windows](/api/windows/#close-all-windows). We then call [Raspi Cleanup](/api/raspberry/#raspi-cleanup) to ensure our pins are turned off and cleaned. - close_all_windows(); - raspi_cleanup(); - return 0; - } - ``` + + - + ```cpp {19-20} + #include "splashkit.h" - + int main() + { + raspi_init(); + gpio_pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); - - + open_window("dummy_window", 1, 1); + while(!any_key_pressed()) + { + process_events(); + raspi_write(led_pin, GPIO_HIGH); + delay(500); + raspi_write(led_pin, GPIO_LOW); + delay(500); + } - ```csharp {18-19} - using SplashKitSDK; - using static SplashKitSDK.SplashKit; + close_all_windows(); + raspi_cleanup(); + return 0; + } + ``` - RaspiInit(); - GpioPin ledPin = (GpioPin) 11; - RaspiSetMode(ledPin, (GpioPinMode) 1); + - OpenWindow("dummy_window", 1, 1); - while(!AnyKeyPressed()) - { - ProcessEvents(); - RaspiWrite(ledPin, (GpioPinValue) 1); - Delay(500); - RaspiWrite(ledPin, (GpioPinValue) 0); - Delay(500); - } + - CloseAllWindows(); - RaspiCleanup(); - ``` - - - - - ```csharp {23-24} - using SplashKitSDK; + + - namespace RaspberryPiBlinkingLED - { - public class Program - { - public static void Main() - { - SplashKit.RaspiInit(); - GpioPin ledPin = GpioPin.Pin11; - SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); - - SplashKit.OpenWindow("dummy_window", 1, 1); - while (!SplashKit.AnyKeyPressed()) - { - SplashKit.ProcessEvents(); - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); - SplashKit.Delay(500); - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); - SplashKit.Delay(500); - } - - SplashKit.CloseAllWindows(); - SplashKit.RaspiCleanup(); - } - } - } - ``` + ```csharp {18-19} + using SplashKitSDK; + using static SplashKitSDK.SplashKit; + + RaspiInit(); + GpioPin ledPin = (GpioPin) 11; + RaspiSetMode(ledPin, (GpioPinMode) 1); + + OpenWindow("dummy_window", 1, 1); + while(!AnyKeyPressed()) + { + ProcessEvents(); + RaspiWrite(ledPin, (GpioPinValue) 1); + Delay(500); + RaspiWrite(ledPin, (GpioPinValue) 0); + Delay(500); + } + + CloseAllWindows(); + RaspiCleanup(); + ``` + + + - - - - + ```csharp {23-24} + using SplashKitSDK; + + namespace RaspberryPiBlinkingLED + { + public class Program + { + public static void Main() + { + SplashKit.RaspiInit(); + GpioPin ledPin = GpioPin.Pin11; + SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); + + SplashKit.OpenWindow("dummy_window", 1, 1); + while (!SplashKit.AnyKeyPressed()) + { + SplashKit.ProcessEvents(); + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); + SplashKit.Delay(500); + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); + SplashKit.Delay(500); + } + + SplashKit.CloseAllWindows(); + SplashKit.RaspiCleanup(); + } + } + } + ``` + + + + + @@ -655,16 +655,16 @@ We can build this program with the following command: - ```shell - g++ led_blink.cpp -l SplashKit -o led_blink - ``` +```shell +g++ led_blink.cpp -l SplashKit -o led_blink +``` - ```shell - dotnet build - ``` +```shell +dotnet build +``` @@ -674,17 +674,17 @@ Then we run the program with the following command: - ```shell - ./led_blink - ``` +```shell +./led_blink +``` - ```shell - dotnet run - ``` - +```shell +dotnet run +``` + diff --git a/src/content/docs/guides/raspberry-gpio/1-read-button-press.mdx b/src/content/docs/guides/raspberry-gpio/1-read-button-press.mdx index a34f2b5f7..175dd5674 100644 --- a/src/content/docs/guides/raspberry-gpio/1-read-button-press.mdx +++ b/src/content/docs/guides/raspberry-gpio/1-read-button-press.mdx @@ -7,7 +7,7 @@ author: Jonathan Tynan lastupdated: May 2025 --- -import { Tabs, TabItem , Steps} from "@astrojs/starlight/components"; +import { Tabs, TabItem, Steps } from "@astrojs/starlight/components"; **{frontmatter.description}** Written by: {frontmatter.author} @@ -201,570 +201,570 @@ Lets break down this code and analyse it in sections. 1. **Initialise GPIO Hardware:** - We start this code by initialising our hardware through [Raspi Init](/api/raspberry/#raspi-init), we then define the [Pins](/api/types/#gpio-pin) that we're are using for the button (Pin 29), and the LED (Pin 11). We also initialise a variable, `led_state`, to hold the state of the LED at any point in time. We use `led_state` later to determine whether to switch the LED on, or off. + We start this code by initialising our hardware through [Raspi Init](/api/raspberry/#raspi-init), we then define the [Pins](/api/types/#gpio-pin) that we're are using for the button (Pin 29), and the LED (Pin 11). We also initialise a variable, `led_state`, to hold the state of the LED at any point in time. We use `led_state` later to determine whether to switch the LED on, or off. - Next, we set the mode for each pin using [Raspi Set Mode](/api/raspberry/#raspi-set-mode). The button pin is set to [`GPIO_INPUT`](/api/types/#gpio-pin-mode) and the LED pin is set to [`GPIO_OUTPUT`](/api/types/#gpio-pin-mode). We do this as in this program we are detecting the input of the button and are writing the output of the LED. Then we use [Raspi Set Pull Up Down](/api/raspberry/#raspi-set-pull-up-down) on the button pin with the argument [`PUD_DOWN`](/api/types/#pull-up-down). This sets the internal pull-down resistor to prevent the pin from being a ["floating pin."](#floating-pins) + Next, we set the mode for each pin using [Raspi Set Mode](/api/raspberry/#raspi-set-mode). The button pin is set to [`GPIO_INPUT`](/api/types/#gpio-pin-mode) and the LED pin is set to [`GPIO_OUTPUT`](/api/types/#gpio-pin-mode). We do this as in this program we are detecting the input of the button and are writing the output of the LED. Then we use [Raspi Set Pull Up Down](/api/raspberry/#raspi-set-pull-up-down) on the button pin with the argument [`PUD_DOWN`](/api/types/#pull-up-down). This sets the internal pull-down resistor to prevent the pin from being a ["floating pin."](#floating-pins) - - - - ```cpp {5-8,10,11,13} - #include "splashkit.h" - - int main() - { - raspi_init(); - gpio_pin button_pin = PIN_29; - gpio_pin led_pin = PIN_11; - gpio_pin_value led_state = GPIO_LOW; - - raspi_set_mode(button_pin, GPIO_INPUT); - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pull_up_down(button_pin, PUD_DOWN); - - open_window("dummy_window", 1, 1); - while(!any_key_pressed()) - { - process_events(); - if(raspi_read(button_pin) == GPIO_HIGH) - { - led_state = raspi_read(led_pin); - if(led_state == GPIO_LOW) - { - raspi_write(led_pin, GPIO_HIGH); - } - else - { - raspi_write(led_pin, GPIO_LOW); - } - } - } - - close_all_windows(); - raspi_cleanup(); - return 0; - } - ``` - - - - - - - - - ```csharp {4-7,9-10,12} - using SplashKitSDK; - using static SplashKitSDK.SplashKit; - - RaspiInit(); - GpioPin buttonPin = (GpioPin)29; - GpioPin ledPin = (GpioPin)11; - GpioPinValue ledState = (GpioPinValue) 0; - - RaspiSetMode(buttonPin, (GpioPinMode) 0); - RaspiSetMode(ledPin, (GpioPinMode) 1); - - RaspiSetPullUpDown(buttonPin, (PullUpDown) 1); - - OpenWindow("dummy_window", 1, 1); - while(!AnyKeyPressed()) - { - ProcessEvents(); - if(RaspiRead(buttonPin) == (GpioPinValue) 1) - { - ledState = RaspiRead(ledPin); - if(ledState == (GpioPinValue) 0) - { - RaspiWrite(ledPin, (GpioPinValue) 1); - } - else - { - RaspiWrite(ledPin, (GpioPinValue) 0); - } - } - } - - CloseAllWindows(); - RaspiCleanup(); - ``` - - - - - ```csharp {9-12,14-15,17} - using SplashKitSDK; - - namespace RaspberryPiButtonLED - { - public class Program - { - public static void Main() - { - SplashKit.RaspiInit(); - GpioPin buttonPin = GpioPin.Pin29; - GpioPin ledPin = GpioPin.Pin11; - GpioPinValue ledState = GpioPinValue.GpioLow; - - SplashKit.RaspiSetMode(buttonPin, GpioPinMode.GpioInput); - SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); - - SplashKit.RaspiSetPullUpDown(buttonPin, PullUpDown.PudDown); + + - SplashKit.OpenWindow("dummy_window", 1, 1); - while (!SplashKit.AnyKeyPressed()) - { - SplashKit.ProcessEvents(); - if (SplashKit.RaspiRead(buttonPin) == GpioPinValue.GpioHigh) - { - ledState = SplashKit.RaspiRead(ledPin); - if (ledState == GpioPinValue.GpioLow) - { - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); - } - else - { - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); - } - } - } + ```cpp {5-8,10,11,13} + #include "splashkit.h" + + int main() + { + raspi_init(); + gpio_pin button_pin = PIN_29; + gpio_pin led_pin = PIN_11; + gpio_pin_value led_state = GPIO_LOW; + + raspi_set_mode(button_pin, GPIO_INPUT); + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pull_up_down(button_pin, PUD_DOWN); + + open_window("dummy_window", 1, 1); + while(!any_key_pressed()) + { + process_events(); + if(raspi_read(button_pin) == GPIO_HIGH) + { + led_state = raspi_read(led_pin); + if(led_state == GPIO_LOW) + { + raspi_write(led_pin, GPIO_HIGH); + } + else + { + raspi_write(led_pin, GPIO_LOW); + } + } + } + + close_all_windows(); + raspi_cleanup(); + return 0; + } + ``` + + + + + + + - SplashKit.CloseAllWindows(); - SplashKit.RaspiCleanup(); - } - } - } - ``` + ```csharp {4-7,9-10,12} + using SplashKitSDK; + using static SplashKitSDK.SplashKit; + + RaspiInit(); + GpioPin buttonPin = (GpioPin)29; + GpioPin ledPin = (GpioPin)11; + GpioPinValue ledState = (GpioPinValue) 0; + + RaspiSetMode(buttonPin, (GpioPinMode) 0); + RaspiSetMode(ledPin, (GpioPinMode) 1); + + RaspiSetPullUpDown(buttonPin, (PullUpDown) 1); + + OpenWindow("dummy_window", 1, 1); + while(!AnyKeyPressed()) + { + ProcessEvents(); + if(RaspiRead(buttonPin) == (GpioPinValue) 1) + { + ledState = RaspiRead(ledPin); + if(ledState == (GpioPinValue) 0) + { + RaspiWrite(ledPin, (GpioPinValue) 1); + } + else + { + RaspiWrite(ledPin, (GpioPinValue) 0); + } + } + } + + CloseAllWindows(); + RaspiCleanup(); + ``` + + + - - - - + ```csharp {9-12,14-15,17} + using SplashKitSDK; + + namespace RaspberryPiButtonLED + { + public class Program + { + public static void Main() + { + SplashKit.RaspiInit(); + GpioPin buttonPin = GpioPin.Pin29; + GpioPin ledPin = GpioPin.Pin11; + GpioPinValue ledState = GpioPinValue.GpioLow; + + SplashKit.RaspiSetMode(buttonPin, GpioPinMode.GpioInput); + SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); + + SplashKit.RaspiSetPullUpDown(buttonPin, PullUpDown.PudDown); + + SplashKit.OpenWindow("dummy_window", 1, 1); + while (!SplashKit.AnyKeyPressed()) + { + SplashKit.ProcessEvents(); + if (SplashKit.RaspiRead(buttonPin) == GpioPinValue.GpioHigh) + { + ledState = SplashKit.RaspiRead(ledPin); + if (ledState == GpioPinValue.GpioLow) + { + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); + } + else + { + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); + } + } + } + + SplashKit.CloseAllWindows(); + SplashKit.RaspiCleanup(); + } + } + } + ``` + + + + + 2. **Get User Inputs:** - Just like in the first [Blink LED Tutorial](/guides/raspberry-gpio/0-blink-led), we create a process that limits how long our program runs for. We do this so we know that our pins are cleaned properly upon exiting the program. - - - + Just like in the first [Blink LED Tutorial](/guides/raspberry-gpio/0-blink-led), we create a process that limits how long our program runs for. We do this so we know that our pins are cleaned properly upon exiting the program. - ```cpp {15-18,31} - #include "splashkit.h" - - int main() - { - raspi_init(); - gpio_pin button_pin = PIN_29; - gpio_pin led_pin = PIN_11; - gpio_pin_value led_state = GPIO_LOW; - - raspi_set_mode(button_pin, GPIO_INPUT); - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pull_up_down(button_pin, PUD_DOWN); - - open_window("dummy_window", 1, 1); - while(!any_key_pressed()) - { - process_events(); - if(raspi_read(button_pin) == GPIO_HIGH) - { - led_state = raspi_read(led_pin); - if(led_state == GPIO_LOW) - { - raspi_write(led_pin, GPIO_HIGH); - } - else - { - raspi_write(led_pin, GPIO_LOW); - } - } - } - - close_all_windows(); - raspi_cleanup(); - return 0; - } - ``` - - - - - - - - - ```csharp {14-17,30} - using SplashKitSDK; - using static SplashKitSDK.SplashKit; - - RaspiInit(); - GpioPin buttonPin = (GpioPin)29; - GpioPin ledPin = (GpioPin)11; - GpioPinValue ledState = (GpioPinValue) 0; - - RaspiSetMode(buttonPin, (GpioPinMode) 0); - RaspiSetMode(ledPin, (GpioPinMode) 1); - - RaspiSetPullUpDown(buttonPin, (PullUpDown) 1); - - OpenWindow("dummy_window", 1, 1); - while(!AnyKeyPressed()) - { - ProcessEvents(); - if(RaspiRead(buttonPin) == (GpioPinValue) 1) - { - ledState = RaspiRead(ledPin); - if(ledState == (GpioPinValue) 0) - { - RaspiWrite(ledPin, (GpioPinValue) 1); - } - else - { - RaspiWrite(ledPin, (GpioPinValue) 0); - } - } - } - - CloseAllWindows(); - RaspiCleanup(); - ``` - - - - - ```csharp {19-22,35} - using SplashKitSDK; - - namespace RaspberryPiButtonLED - { - public class Program - { - public static void Main() - { - SplashKit.RaspiInit(); - GpioPin buttonPin = GpioPin.Pin29; - GpioPin ledPin = GpioPin.Pin11; - GpioPinValue ledState = GpioPinValue.GpioLow; - - SplashKit.RaspiSetMode(buttonPin, GpioPinMode.GpioInput); - SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); - - SplashKit.RaspiSetPullUpDown(buttonPin, PullUpDown.PudDown); + + - SplashKit.OpenWindow("dummy_window", 1, 1); - while (!SplashKit.AnyKeyPressed()) - { - SplashKit.ProcessEvents(); - if (SplashKit.RaspiRead(buttonPin) == GpioPinValue.GpioHigh) - { - ledState = SplashKit.RaspiRead(ledPin); - if (ledState == GpioPinValue.GpioLow) - { - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); - } - else - { - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); - } - } - } + ```cpp {15-18,31} + #include "splashkit.h" + + int main() + { + raspi_init(); + gpio_pin button_pin = PIN_29; + gpio_pin led_pin = PIN_11; + gpio_pin_value led_state = GPIO_LOW; + + raspi_set_mode(button_pin, GPIO_INPUT); + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pull_up_down(button_pin, PUD_DOWN); + + open_window("dummy_window", 1, 1); + while(!any_key_pressed()) + { + process_events(); + if(raspi_read(button_pin) == GPIO_HIGH) + { + led_state = raspi_read(led_pin); + if(led_state == GPIO_LOW) + { + raspi_write(led_pin, GPIO_HIGH); + } + else + { + raspi_write(led_pin, GPIO_LOW); + } + } + } + + close_all_windows(); + raspi_cleanup(); + return 0; + } + ``` + + + + + + + - SplashKit.CloseAllWindows(); - SplashKit.RaspiCleanup(); - } - } - } - ``` + ```csharp {14-17,30} + using SplashKitSDK; + using static SplashKitSDK.SplashKit; + + RaspiInit(); + GpioPin buttonPin = (GpioPin)29; + GpioPin ledPin = (GpioPin)11; + GpioPinValue ledState = (GpioPinValue) 0; + + RaspiSetMode(buttonPin, (GpioPinMode) 0); + RaspiSetMode(ledPin, (GpioPinMode) 1); + + RaspiSetPullUpDown(buttonPin, (PullUpDown) 1); + + OpenWindow("dummy_window", 1, 1); + while(!AnyKeyPressed()) + { + ProcessEvents(); + if(RaspiRead(buttonPin) == (GpioPinValue) 1) + { + ledState = RaspiRead(ledPin); + if(ledState == (GpioPinValue) 0) + { + RaspiWrite(ledPin, (GpioPinValue) 1); + } + else + { + RaspiWrite(ledPin, (GpioPinValue) 0); + } + } + } + + CloseAllWindows(); + RaspiCleanup(); + ``` + + + - - - - + ```csharp {19-22,35} + using SplashKitSDK; + + namespace RaspberryPiButtonLED + { + public class Program + { + public static void Main() + { + SplashKit.RaspiInit(); + GpioPin buttonPin = GpioPin.Pin29; + GpioPin ledPin = GpioPin.Pin11; + GpioPinValue ledState = GpioPinValue.GpioLow; + + SplashKit.RaspiSetMode(buttonPin, GpioPinMode.GpioInput); + SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); + + SplashKit.RaspiSetPullUpDown(buttonPin, PullUpDown.PudDown); + + SplashKit.OpenWindow("dummy_window", 1, 1); + while (!SplashKit.AnyKeyPressed()) + { + SplashKit.ProcessEvents(); + if (SplashKit.RaspiRead(buttonPin) == GpioPinValue.GpioHigh) + { + ledState = SplashKit.RaspiRead(ledPin); + if (ledState == GpioPinValue.GpioLow) + { + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); + } + else + { + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); + } + } + } + + SplashKit.CloseAllWindows(); + SplashKit.RaspiCleanup(); + } + } + } + ``` + + + + + 3. **Read the Button Press:** - Below is the main section of this code. On each loop we read the state of the button pin using [Raspi Read](/api/raspberry/#raspi-read) and if the result is `GPIO_HIGH`, then this indicates that the button has been pressed. We then read the state of the led, which can either be `GPIO_LOW` indicated the LED is not on, or `GPIO_HIGH` indicating that the LED is on. Once we have this state we can use [Raspi Write](/api/raspberry/#raspi-write) to change the pin to the opposite of what has been read. - - - - - ```cpp {19-30} - #include "splashkit.h" + Below is the main section of this code. On each loop we read the state of the button pin using [Raspi Read](/api/raspberry/#raspi-read) and if the result is `GPIO_HIGH`, then this indicates that the button has been pressed. We then read the state of the led, which can either be `GPIO_LOW` indicated the LED is not on, or `GPIO_HIGH` indicating that the LED is on. Once we have this state we can use [Raspi Write](/api/raspberry/#raspi-write) to change the pin to the opposite of what has been read. - int main() - { - raspi_init(); - gpio_pin button_pin = PIN_29; - gpio_pin led_pin = PIN_11; - gpio_pin_value led_state = GPIO_LOW; - - raspi_set_mode(button_pin, GPIO_INPUT); - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pull_up_down(button_pin, PUD_DOWN); - - open_window("dummy_window", 1, 1); - while(!any_key_pressed()) - { - process_events(); - if(raspi_read(button_pin) == GPIO_HIGH) - { - led_state = raspi_read(led_pin); - if(led_state == GPIO_LOW) - { - raspi_write(led_pin, GPIO_HIGH); - } - else - { - raspi_write(led_pin, GPIO_LOW); - } - } - } - - close_all_windows(); - raspi_cleanup(); - return 0; - } - ``` - - - - - - - - - ```csharp {18-29} - using SplashKitSDK; - using static SplashKitSDK.SplashKit; - - RaspiInit(); - GpioPin buttonPin = (GpioPin)29; - GpioPin ledPin = (GpioPin)11; - GpioPinValue ledState = (GpioPinValue) 0; - - RaspiSetMode(buttonPin, (GpioPinMode) 0); - RaspiSetMode(ledPin, (GpioPinMode) 1); - - RaspiSetPullUpDown(buttonPin, (PullUpDown) 1); - - OpenWindow("dummy_window", 1, 1); - while(!AnyKeyPressed()) - { - ProcessEvents(); - if(RaspiRead(buttonPin) == (GpioPinValue) 1) - { - ledState = RaspiRead(ledPin); - if(ledState == (GpioPinValue) 0) - { - RaspiWrite(ledPin, (GpioPinValue) 1); - } - else - { - RaspiWrite(ledPin, (GpioPinValue) 0); - } - } - } - - CloseAllWindows(); - RaspiCleanup(); - ``` - - - - - ```csharp {23-34} - using SplashKitSDK; - - namespace RaspberryPiButtonLED - { - public class Program - { - public static void Main() - { - SplashKit.RaspiInit(); - GpioPin buttonPin = GpioPin.Pin29; - GpioPin ledPin = GpioPin.Pin11; - GpioPinValue ledState = GpioPinValue.GpioLow; - - SplashKit.RaspiSetMode(buttonPin, GpioPinMode.GpioInput); - SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); - - SplashKit.RaspiSetPullUpDown(buttonPin, PullUpDown.PudDown); + + - SplashKit.OpenWindow("dummy_window", 1, 1); - while (!SplashKit.AnyKeyPressed()) - { - SplashKit.ProcessEvents(); - if (SplashKit.RaspiRead(buttonPin) == GpioPinValue.GpioHigh) - { - ledState = SplashKit.RaspiRead(ledPin); - if (ledState == GpioPinValue.GpioLow) - { - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); - } - else - { - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); - } - } - } + ```cpp {19-30} + #include "splashkit.h" + + int main() + { + raspi_init(); + gpio_pin button_pin = PIN_29; + gpio_pin led_pin = PIN_11; + gpio_pin_value led_state = GPIO_LOW; + + raspi_set_mode(button_pin, GPIO_INPUT); + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pull_up_down(button_pin, PUD_DOWN); + + open_window("dummy_window", 1, 1); + while(!any_key_pressed()) + { + process_events(); + if(raspi_read(button_pin) == GPIO_HIGH) + { + led_state = raspi_read(led_pin); + if(led_state == GPIO_LOW) + { + raspi_write(led_pin, GPIO_HIGH); + } + else + { + raspi_write(led_pin, GPIO_LOW); + } + } + } + + close_all_windows(); + raspi_cleanup(); + return 0; + } + ``` + + + + + + + - SplashKit.CloseAllWindows(); - SplashKit.RaspiCleanup(); - } - } - } - ``` + ```csharp {18-29} + using SplashKitSDK; + using static SplashKitSDK.SplashKit; + + RaspiInit(); + GpioPin buttonPin = (GpioPin)29; + GpioPin ledPin = (GpioPin)11; + GpioPinValue ledState = (GpioPinValue) 0; + + RaspiSetMode(buttonPin, (GpioPinMode) 0); + RaspiSetMode(ledPin, (GpioPinMode) 1); + + RaspiSetPullUpDown(buttonPin, (PullUpDown) 1); + + OpenWindow("dummy_window", 1, 1); + while(!AnyKeyPressed()) + { + ProcessEvents(); + if(RaspiRead(buttonPin) == (GpioPinValue) 1) + { + ledState = RaspiRead(ledPin); + if(ledState == (GpioPinValue) 0) + { + RaspiWrite(ledPin, (GpioPinValue) 1); + } + else + { + RaspiWrite(ledPin, (GpioPinValue) 0); + } + } + } + + CloseAllWindows(); + RaspiCleanup(); + ``` + + + - - - - + ```csharp {23-34} + using SplashKitSDK; + + namespace RaspberryPiButtonLED + { + public class Program + { + public static void Main() + { + SplashKit.RaspiInit(); + GpioPin buttonPin = GpioPin.Pin29; + GpioPin ledPin = GpioPin.Pin11; + GpioPinValue ledState = GpioPinValue.GpioLow; + + SplashKit.RaspiSetMode(buttonPin, GpioPinMode.GpioInput); + SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); + + SplashKit.RaspiSetPullUpDown(buttonPin, PullUpDown.PudDown); + + SplashKit.OpenWindow("dummy_window", 1, 1); + while (!SplashKit.AnyKeyPressed()) + { + SplashKit.ProcessEvents(); + if (SplashKit.RaspiRead(buttonPin) == GpioPinValue.GpioHigh) + { + ledState = SplashKit.RaspiRead(ledPin); + if (ledState == GpioPinValue.GpioLow) + { + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); + } + else + { + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); + } + } + } + + SplashKit.CloseAllWindows(); + SplashKit.RaspiCleanup(); + } + } + } + ``` + + + + + 4. **Clean Up Memory:** - Just like in the first [Blink LED Tutorial](/guides/raspberry-gpio/0-blink-led) and most projects involving GPIO pins, we must ensure that the hardware and resources we've used are cleaned properly, and we do this by stopping and freeing our timers and calling [Raspi Cleanup](/api/raspberry/#raspi-cleanup). - - - - - ```cpp {33-34} - #include "splashkit.h" - - int main() - { - raspi_init(); - gpio_pin button_pin = PIN_29; - gpio_pin led_pin = PIN_11; - gpio_pin_value led_state = GPIO_LOW; - - raspi_set_mode(button_pin, GPIO_INPUT); - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pull_up_down(button_pin, PUD_DOWN); - - open_window("dummy_window", 1, 1); - while(!any_key_pressed()) - { - process_events(); - if(raspi_read(button_pin) == GPIO_HIGH) - { - led_state = raspi_read(led_pin); - if(led_state == GPIO_LOW) - { - raspi_write(led_pin, GPIO_HIGH); - } - else - { - raspi_write(led_pin, GPIO_LOW); - } - } - } - - close_all_windows(); - raspi_cleanup(); - return 0; - } - ``` - - - - - - - - - ```csharp {32-33} - using SplashKitSDK; - using static SplashKitSDK.SplashKit; - - RaspiInit(); - GpioPin buttonPin = (GpioPin)29; - GpioPin ledPin = (GpioPin)11; - GpioPinValue ledState = (GpioPinValue) 0; - - RaspiSetMode(buttonPin, (GpioPinMode) 0); - RaspiSetMode(ledPin, (GpioPinMode) 1); - - RaspiSetPullUpDown(buttonPin, (PullUpDown) 1); - - OpenWindow("dummy_window", 1, 1); - while(!AnyKeyPressed()) - { - ProcessEvents(); - if(RaspiRead(buttonPin) == (GpioPinValue) 1) - { - ledState = RaspiRead(ledPin); - if(ledState == (GpioPinValue) 0) - { - RaspiWrite(ledPin, (GpioPinValue) 1); - } - else - { - RaspiWrite(ledPin, (GpioPinValue) 0); - } - } - } - - CloseAllWindows(); - RaspiCleanup(); - ``` - - - - - ```csharp {37-38} - using SplashKitSDK; - - namespace RaspberryPiButtonLED - { - public class Program - { - public static void Main() - { - SplashKit.RaspiInit(); - GpioPin buttonPin = GpioPin.Pin29; - GpioPin ledPin = GpioPin.Pin11; - GpioPinValue ledState = GpioPinValue.GpioLow; - - SplashKit.RaspiSetMode(buttonPin, GpioPinMode.GpioInput); - SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); + Just like in the first [Blink LED Tutorial](/guides/raspberry-gpio/0-blink-led) and most projects involving GPIO pins, we must ensure that the hardware and resources we've used are cleaned properly, and we do this by stopping and freeing our timers and calling [Raspi Cleanup](/api/raspberry/#raspi-cleanup). - SplashKit.RaspiSetPullUpDown(buttonPin, PullUpDown.PudDown); + + - SplashKit.OpenWindow("dummy_window", 1, 1); - while (!SplashKit.AnyKeyPressed()) - { - SplashKit.ProcessEvents(); - if (SplashKit.RaspiRead(buttonPin) == GpioPinValue.GpioHigh) - { - ledState = SplashKit.RaspiRead(ledPin); - if (ledState == GpioPinValue.GpioLow) - { - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); - } - else - { - SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); - } - } - } + ```cpp {33-34} + #include "splashkit.h" + + int main() + { + raspi_init(); + gpio_pin button_pin = PIN_29; + gpio_pin led_pin = PIN_11; + gpio_pin_value led_state = GPIO_LOW; + + raspi_set_mode(button_pin, GPIO_INPUT); + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pull_up_down(button_pin, PUD_DOWN); + + open_window("dummy_window", 1, 1); + while(!any_key_pressed()) + { + process_events(); + if(raspi_read(button_pin) == GPIO_HIGH) + { + led_state = raspi_read(led_pin); + if(led_state == GPIO_LOW) + { + raspi_write(led_pin, GPIO_HIGH); + } + else + { + raspi_write(led_pin, GPIO_LOW); + } + } + } + + close_all_windows(); + raspi_cleanup(); + return 0; + } + ``` + + + + + + + - SplashKit.CloseAllWindows(); - SplashKit.RaspiCleanup(); - } - } - } - ``` + ```csharp {32-33} + using SplashKitSDK; + using static SplashKitSDK.SplashKit; + + RaspiInit(); + GpioPin buttonPin = (GpioPin)29; + GpioPin ledPin = (GpioPin)11; + GpioPinValue ledState = (GpioPinValue) 0; + + RaspiSetMode(buttonPin, (GpioPinMode) 0); + RaspiSetMode(ledPin, (GpioPinMode) 1); + + RaspiSetPullUpDown(buttonPin, (PullUpDown) 1); + + OpenWindow("dummy_window", 1, 1); + while(!AnyKeyPressed()) + { + ProcessEvents(); + if(RaspiRead(buttonPin) == (GpioPinValue) 1) + { + ledState = RaspiRead(ledPin); + if(ledState == (GpioPinValue) 0) + { + RaspiWrite(ledPin, (GpioPinValue) 1); + } + else + { + RaspiWrite(ledPin, (GpioPinValue) 0); + } + } + } + + CloseAllWindows(); + RaspiCleanup(); + ``` + + + - - + ```csharp {37-38} + using SplashKitSDK; + + namespace RaspberryPiButtonLED + { + public class Program + { + public static void Main() + { + SplashKit.RaspiInit(); + GpioPin buttonPin = GpioPin.Pin29; + GpioPin ledPin = GpioPin.Pin11; + GpioPinValue ledState = GpioPinValue.GpioLow; + + SplashKit.RaspiSetMode(buttonPin, GpioPinMode.GpioInput); + SplashKit.RaspiSetMode(ledPin, GpioPinMode.GpioOutput); + + SplashKit.RaspiSetPullUpDown(buttonPin, PullUpDown.PudDown); + + SplashKit.OpenWindow("dummy_window", 1, 1); + while (!SplashKit.AnyKeyPressed()) + { + SplashKit.ProcessEvents(); + if (SplashKit.RaspiRead(buttonPin) == GpioPinValue.GpioHigh) + { + ledState = SplashKit.RaspiRead(ledPin); + if (ledState == GpioPinValue.GpioLow) + { + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioHigh); + } + else + { + SplashKit.RaspiWrite(ledPin, GpioPinValue.GpioLow); + } + } + } + + SplashKit.CloseAllWindows(); + SplashKit.RaspiCleanup(); + } + } + } + ``` + + + - - + + @@ -775,17 +775,17 @@ We can build this program with the following command: - ```shell - g++ button_press.cpp -l SplashKit -o button_press - ``` +```shell +g++ button_press.cpp -l SplashKit -o button_press +``` - ```shell - dotnet build - ``` - +```shell +dotnet build +``` + @@ -794,16 +794,16 @@ We can then run the program with the following command: - ```shell - ./button_press - ``` +```shell +./button_press +``` - ```shell - dotnet run - ``` +```shell +dotnet run +``` diff --git a/src/content/docs/guides/raspberry-gpio/2-pwm-control-led.mdx b/src/content/docs/guides/raspberry-gpio/2-pwm-control-led.mdx index 1680cd5ef..9d8d562b7 100644 --- a/src/content/docs/guides/raspberry-gpio/2-pwm-control-led.mdx +++ b/src/content/docs/guides/raspberry-gpio/2-pwm-control-led.mdx @@ -135,163 +135,163 @@ Lets break down this code and look at it in sections. 1. **Initialise GPIO Hardware and values:** - When using `pigpiod`, we can actually set the sample rate for the daemon, which is a value determining how many times it can read a pin in a second. Each sample rate has a set of available frequencies, with the values defined in freqs array being the available frequencies for the default sample rate (more information can be found at [Pigpio library -`set_PWM_frequency`](https://abyz.me.uk/rpi/pigpio/pdif2.html#set_PWM_frequency)). + When using `pigpiod`, we can actually set the sample rate for the daemon, which is a value determining how many times it can read a pin in a second. Each sample rate has a set of available frequencies, with the values defined in freqs array being the available frequencies for the default sample rate (more information can be found at [Pigpio library -`set_PWM_frequency`](https://abyz.me.uk/rpi/pigpio/pdif2.html#set_PWM_frequency)). - So, we define these values in an array and as a constant as these we don't want them changing during the running of the program. We then define a standard range for our PWM, also as a constant, and then we do the usual initialisation of the Raspberry Pi Pins. + So, we define these values in an array and as a constant as these we don't want them changing during the running of the program. We then define a standard range for our PWM, also as a constant, and then we do the usual initialisation of the Raspberry Pi Pins. - - - - ```cpp {5-10} - #include "splashkit.h" - - int main() - { - const int freqs[] = {10, 20, 40, 50, 80, 100, 160, 200, 250, - 320, 400, 500, 800, 1000, 1600, 2000, 4000, 8000 }; - const int pwm_range = 255; - raspi_init(); - gpio_pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pwm_range(led_pin, pwm_range); - raspi_set_pwm_dutycycle(led_pin, (pwm_range / 2)); - - for(int i = 0; i < 18; i++) - { - write("At Frequency: "); - write_line(freqs[i]); - raspi_set_pwm_frequency(led_pin, freqs[i]); - delay(1000); - } - - raspi_cleanup(); - return 0; - } - ``` + + - - + ```cpp {5-10} + #include "splashkit.h" + + int main() + { + const int freqs[] = {10, 20, 40, 50, 80, 100, 160, 200, 250, + 320, 400, 500, 800, 1000, 1600, 2000, 4000, 8000 }; + const int pwm_range = 255; + raspi_init(); + gpio_pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pwm_range(led_pin, pwm_range); + raspi_set_pwm_dutycycle(led_pin, (pwm_range / 2)); + + for(int i = 0; i < 18; i++) + { + write("At Frequency: "); + write_line(freqs[i]); + raspi_set_pwm_frequency(led_pin, freqs[i]); + delay(1000); + } + + raspi_cleanup(); + return 0; + } + ``` + + + 2. **Set PWM Range and Duty Cycle:** - In this section we set the PWM range and duty cycles that we are using. We are setting the duty cycle to be half the PWM range, or in other words we're setting it to 50%. We are not changing these values so we can specifically see the effects of changing frequency. - - - + In this section we set the PWM range and duty cycles that we are using. We are setting the duty cycle to be half the PWM range, or in other words we're setting it to 50%. We are not changing these values so we can specifically see the effects of changing frequency. - ```cpp {12-13} - #include "splashkit.h" - - int main() - { - const int freqs[] = {10, 20, 40, 50, 80, 100, 160, 200, 250, - 320, 400, 500, 800, 1000, 1600, 2000, 4000, 8000 }; - const int pwm_range = 255; - raspi_init(); - gpio_pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pwm_range(led_pin, pwm_range); - raspi_set_pwm_dutycycle(led_pin, (pwm_range / 2)); - - for(int i = 0; i < 18; i++) - { - write("At Frequency: "); - write_line(freqs[i]); - raspi_set_pwm_frequency(led_pin, freqs[i]); - delay(1000); - } - - raspi_cleanup(); - return 0; - } - ``` + + - - + ```cpp {12-13} + #include "splashkit.h" + + int main() + { + const int freqs[] = {10, 20, 40, 50, 80, 100, 160, 200, 250, + 320, 400, 500, 800, 1000, 1600, 2000, 4000, 8000 }; + const int pwm_range = 255; + raspi_init(); + gpio_pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pwm_range(led_pin, pwm_range); + raspi_set_pwm_dutycycle(led_pin, (pwm_range / 2)); + + for(int i = 0; i < 18; i++) + { + write("At Frequency: "); + write_line(freqs[i]); + raspi_set_pwm_frequency(led_pin, freqs[i]); + delay(1000); + } + + raspi_cleanup(); + return 0; + } + ``` + + + 3. **Change the PWM Frequency:** - This part is the main component of the code. We iterate over the previously defined frequencies and write where we're at to the terminal. We then set the PWM to the particular frequency and wait for one second. This delay allows us to see the changes in the LED as the frequency increases. At the beginning there is a noticeable flicker, before the flickering stabilises to full illumination as the frequency increases. - - - + This part is the main component of the code. We iterate over the previously defined frequencies and write where we're at to the terminal. We then set the PWM to the particular frequency and wait for one second. This delay allows us to see the changes in the LED as the frequency increases. At the beginning there is a noticeable flicker, before the flickering stabilises to full illumination as the frequency increases. - ```cpp {15-21} - #include "splashkit.h" - - int main() - { - const int freqs[] = {10, 20, 40, 50, 80, 100, 160, 200, 250, - 320, 400, 500, 800, 1000, 1600, 2000, 4000, 8000 }; - const int pwm_range = 255; - raspi_init(); - gpio_pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pwm_range(led_pin, pwm_range); - raspi_set_pwm_dutycycle(led_pin, (pwm_range / 2)); - - for(int i = 0; i < 18; i++) - { - write("At Frequency: "); - write_line(freqs[i]); - raspi_set_pwm_frequency(led_pin, freqs[i]); - delay(1000); - } - - raspi_cleanup(); - return 0; - } - ``` + + - - + ```cpp {15-21} + #include "splashkit.h" + + int main() + { + const int freqs[] = {10, 20, 40, 50, 80, 100, 160, 200, 250, + 320, 400, 500, 800, 1000, 1600, 2000, 4000, 8000 }; + const int pwm_range = 255; + raspi_init(); + gpio_pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pwm_range(led_pin, pwm_range); + raspi_set_pwm_dutycycle(led_pin, (pwm_range / 2)); + + for(int i = 0; i < 18; i++) + { + write("At Frequency: "); + write_line(freqs[i]); + raspi_set_pwm_frequency(led_pin, freqs[i]); + delay(1000); + } + + raspi_cleanup(); + return 0; + } + ``` + + + - :::note[Flicking at low frequencies] - When running this program, you may be able to see a noticeable flicker when the frequency is at a low value but it quickly stabilises as it increases. + :::note[Flicking at low frequencies] + When running this program, you may be able to see a noticeable flicker when the frequency is at a low value but it quickly stabilises as it increases. - This happens due to the way our eyes perceive light, specifically the [Persistence of Vision](https://en.wikipedia.org/wiki/Persistence_of_vision). If the frequency is faster than the time that images remain in our vision, then we do not notice the times when the LED is unlit. - ::: + This happens due to the way our eyes perceive light, specifically the [Persistence of Vision](https://en.wikipedia.org/wiki/Persistence_of_vision). If the frequency is faster than the time that images remain in our vision, then we do not notice the times when the LED is unlit. + ::: 4. **Clean Up Memory:** - Finally we clean up and exit the program. - - - - - ```cpp {23} - #include "splashkit.h" + Finally we clean up and exit the program. - int main() - { - const int freqs[] = {10, 20, 40, 50, 80, 100, 160, 200, 250, - 320, 400, 500, 800, 1000, 1600, 2000, 4000, 8000 }; - const int pwm_range = 255; - raspi_init(); - gpio_pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pwm_range(led_pin, pwm_range); - raspi_set_pwm_dutycycle(led_pin, (pwm_range / 2)); - - for(int i = 0; i < 18; i++) - { - write("At Frequency: "); - write_line(freqs[i]); - raspi_set_pwm_frequency(led_pin, freqs[i]); - delay(1000); - } - - raspi_cleanup(); - return 0; - } - ``` + + - - + ```cpp {23} + #include "splashkit.h" + + int main() + { + const int freqs[] = {10, 20, 40, 50, 80, 100, 160, 200, 250, + 320, 400, 500, 800, 1000, 1600, 2000, 4000, 8000 }; + const int pwm_range = 255; + raspi_init(); + gpio_pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pwm_range(led_pin, pwm_range); + raspi_set_pwm_dutycycle(led_pin, (pwm_range / 2)); + + for(int i = 0; i < 18; i++) + { + write("At Frequency: "); + write_line(freqs[i]); + raspi_set_pwm_frequency(led_pin, freqs[i]); + delay(1000); + } + + raspi_cleanup(); + return 0; + } + ``` + + + @@ -302,9 +302,9 @@ We can build this program with the following command: - ```shell - g++ pwm_frequency.cpp -l SplashKit -o pwm_frequency - ``` +```shell +g++ pwm_frequency.cpp -l SplashKit -o pwm_frequency +``` @@ -315,9 +315,9 @@ We can then run the program with the following command: - ```shell - ./pwm_frequency - ``` +```shell +./pwm_frequency +``` @@ -374,179 +374,179 @@ Lets break down this code and look at the sections that are different. 1. **Initialise GPIO Hardware and values:** - Like before we set our PWM range to a constant value. We are using **255** as a general default, but it is important to know that the real range of PWM is dependant on the frequency that we set. More information can be found at [Pigpio library - `set_pwm_range`](https://abyz.me.uk/rpi/pigpio/pdif2.html#set_PWM_range). - - - - - ```cpp {5,7-9} - #include "splashkit.h" + Like before we set our PWM range to a constant value. We are using **255** as a general default, but it is important to know that the real range of PWM is dependant on the frequency that we set. More information can be found at [Pigpio library - `set_pwm_range`](https://abyz.me.uk/rpi/pigpio/pdif2.html#set_PWM_range). - int main() - { - const int pwm_range = 255; - - raspi_init(); - pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pwm_frequency(led_pin, 1000); - raspi_set_pwm_range(led_pin, pwm_range); - - for(int i = 0; i <= pwm_range; i += 10) - { - write("At Duty Cycle: "); - write_line(i); - raspi_set_pwm_dutycycle(led_pin, i); - delay(1000); - } - for(int i = pwm_range; i >= 0; i -= 10) - { - write("At Duty Cycle: "); - write_line(i); - raspi_set_pwm_dutycycle(led_pin, i); - delay(1000); - } - - raspi_cleanup(); - return 0; - } - ``` + + - - + ```cpp {5,7-9} + #include "splashkit.h" + + int main() + { + const int pwm_range = 255; + + raspi_init(); + pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pwm_frequency(led_pin, 1000); + raspi_set_pwm_range(led_pin, pwm_range); + + for(int i = 0; i <= pwm_range; i += 10) + { + write("At Duty Cycle: "); + write_line(i); + raspi_set_pwm_dutycycle(led_pin, i); + delay(1000); + } + for(int i = pwm_range; i >= 0; i -= 10) + { + write("At Duty Cycle: "); + write_line(i); + raspi_set_pwm_dutycycle(led_pin, i); + delay(1000); + } + + raspi_cleanup(); + return 0; + } + ``` + + + 2. **Set PWM Range and Duty Cycle:** - When we set our frequency, we're are using 1000Hz (which cycles at 1000 times per second). We then set our predefined PWM range, and if we refer back to the Pigpiod library we can see that a frequency of 1000 is the 14th available frequency at the default sample rate. This means that at this frequency we really have a range of 2500 and so our PWM range of 255 is valid. - - - - - ```cpp {11-12} - #include "splashkit.h" + When we set our frequency, we're are using 1000Hz (which cycles at 1000 times per second). We then set our predefined PWM range, and if we refer back to the Pigpiod library we can see that a frequency of 1000 is the 14th available frequency at the default sample rate. This means that at this frequency we really have a range of 2500 and so our PWM range of 255 is valid. - int main() - { - const int pwm_range = 255; - - raspi_init(); - pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pwm_frequency(led_pin, 1000); - raspi_set_pwm_range(led_pin, pwm_range); - - for(int i = 0; i <= pwm_range; i += 10) - { - write("At Duty Cycle: "); - write_line(i); - raspi_set_pwm_dutycycle(led_pin, i); - delay(1000); - } - for(int i = pwm_range; i >= 0; i -= 10) - { - write("At Duty Cycle: "); - write_line(i); - raspi_set_pwm_dutycycle(led_pin, i); - delay(1000); - } - - raspi_cleanup(); - return 0; - } - ``` + + - - + ```cpp {11-12} + #include "splashkit.h" + + int main() + { + const int pwm_range = 255; + + raspi_init(); + pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pwm_frequency(led_pin, 1000); + raspi_set_pwm_range(led_pin, pwm_range); + + for(int i = 0; i <= pwm_range; i += 10) + { + write("At Duty Cycle: "); + write_line(i); + raspi_set_pwm_dutycycle(led_pin, i); + delay(1000); + } + for(int i = pwm_range; i >= 0; i -= 10) + { + write("At Duty Cycle: "); + write_line(i); + raspi_set_pwm_dutycycle(led_pin, i); + delay(1000); + } + + raspi_cleanup(); + return 0; + } + ``` + + + 3. **Change the PWM Duty Cycle:** - In this section we have the main functionality of this program. We iterate over the range that we've set in increments of 10, and at each step we print out the duty cycle we're currently on. We then set the duty cycle to this value and wait for a second so we can see the changes. We then reverse the loop and iterate back down to zero. + In this section we have the main functionality of this program. We iterate over the range that we've set in increments of 10, and at each step we print out the duty cycle we're currently on. We then set the duty cycle to this value and wait for a second so we can see the changes. We then reverse the loop and iterate back down to zero. - - - - ```cpp {14-27} - #include "splashkit.h" - - int main() - { - const int pwm_range = 255; - - raspi_init(); - pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pwm_frequency(led_pin, 1000); - raspi_set_pwm_range(led_pin, pwm_range); - - for(int i = 0; i <= pwm_range; i += 10) - { - write("At Duty Cycle: "); - write_line(i); - raspi_set_pwm_dutycycle(led_pin, i); - delay(1000); - } - for(int i = pwm_range; i >= 0; i -= 10) - { - write("At Duty Cycle: "); - write_line(i); - raspi_set_pwm_dutycycle(led_pin, i); - delay(1000); - } - - raspi_cleanup(); - return 0; - } - ``` + + - - + ```cpp {14-27} + #include "splashkit.h" + + int main() + { + const int pwm_range = 255; + + raspi_init(); + pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pwm_frequency(led_pin, 1000); + raspi_set_pwm_range(led_pin, pwm_range); + + for(int i = 0; i <= pwm_range; i += 10) + { + write("At Duty Cycle: "); + write_line(i); + raspi_set_pwm_dutycycle(led_pin, i); + delay(1000); + } + for(int i = pwm_range; i >= 0; i -= 10) + { + write("At Duty Cycle: "); + write_line(i); + raspi_set_pwm_dutycycle(led_pin, i); + delay(1000); + } + + raspi_cleanup(); + return 0; + } + ``` + + + 4. **Clean Up Memory:** - Like usual, we clean up and exit the program. - - - + Like usual, we clean up and exit the program. - ```cpp {29} - #include "splashkit.h" - - int main() - { - const int pwm_range = 255; - - raspi_init(); - pin led_pin = PIN_11; - raspi_set_mode(led_pin, GPIO_OUTPUT); - - raspi_set_pwm_frequency(led_pin, 1000); - raspi_set_pwm_range(led_pin, pwm_range); - - for(int i = 0; i <= pwm_range; i += 10) - { - write("At Duty Cycle: "); - write_line(i); - raspi_set_pwm_dutycycle(led_pin, i); - delay(1000); - } - for(int i = pwm_range; i >= 0; i -= 10) - { - write("At Duty Cycle: "); - write_line(i); - raspi_set_pwm_dutycycle(led_pin, i); - delay(1000); - } - - raspi_cleanup(); - return 0; - } - ``` + + - - + ```cpp {29} + #include "splashkit.h" + + int main() + { + const int pwm_range = 255; + + raspi_init(); + pin led_pin = PIN_11; + raspi_set_mode(led_pin, GPIO_OUTPUT); + + raspi_set_pwm_frequency(led_pin, 1000); + raspi_set_pwm_range(led_pin, pwm_range); + + for(int i = 0; i <= pwm_range; i += 10) + { + write("At Duty Cycle: "); + write_line(i); + raspi_set_pwm_dutycycle(led_pin, i); + delay(1000); + } + for(int i = pwm_range; i >= 0; i -= 10) + { + write("At Duty Cycle: "); + write_line(i); + raspi_set_pwm_dutycycle(led_pin, i); + delay(1000); + } + + raspi_cleanup(); + return 0; + } + ``` + + + @@ -560,7 +560,7 @@ We can build this program with the following command: ```shell g++ pwm_dutycycle.cpp -l SplashKit -o pwm_dutycycle ``` - + diff --git a/src/content/docs/guides/raspberry-gpio/3-pwm-button-control.mdx b/src/content/docs/guides/raspberry-gpio/3-pwm-button-control.mdx index f0d720d47..d1e84d10f 100644 --- a/src/content/docs/guides/raspberry-gpio/3-pwm-button-control.mdx +++ b/src/content/docs/guides/raspberry-gpio/3-pwm-button-control.mdx @@ -31,7 +31,7 @@ See [Read Button Press Tutorial](/guides/raspberry-gpio/1-read-button-press/#com ## The Circuit -Below we can see the circuit diagram for this project. First we have the Raspberry Pi ground connected to the ground rail of the breadboard and a 3.3V pin connected to the power rail of the bread board. We then have an LED which is connected to the ground rail and to Pin 11 through a 220 Ω resistor. Next we have 2 buttons, where both are connected to the powered rail on the breadboard and the otherside of the buttons are connected to pins 13 and 29. +Below we can see the circuit diagram for this project. First we have the Raspberry Pi ground connected to the ground rail of the breadboard and a 3.3V pin connected to the power rail of the bread board. We then have an LED which is connected to the ground rail and to Pin 11 through a 220 Ω resistor. Next we have 2 buttons, where both are connected to the powered rail on the breadboard and the otherside of the buttons are connected to pins 13 and 29. ![Circuit Diagram for using button presses to modify PWM.](./images/circuits/pwm_buttons.png) @@ -53,10 +53,10 @@ Below is an example program that will detect button presses to increase or decre int main() { - int brightness = 128; - const int max_brightness = 255; - unsigned long last_read_time = 0; - const unsigned long read_interval = 400; +int brightness = 128; +const int max_brightness = 255; +unsigned long last_read_time = 0; +const unsigned long read_interval = 400; raspi_init(); gpio_pin led_pin = PIN_11; @@ -107,8 +107,10 @@ int main() free_all_timers(); raspi_cleanup(); return 0; + } -``` + +```` @@ -566,3 +568,4 @@ If we run this we should see an output like the following GIF. ### Modifying PWM Range As described in the previous tutorial, we can change the range of possible PWM values and have finer control over the brightness of the LED. In this tutorial, we use the typical PWM range of 0-255, but we could expand this to a higher resolution, like 1023, for more precise control of the exact brightness levels. Experiment with adjustments to the PWM range, modifying the parameters in your code, and observe how these changes affect the LED's response to button presses. Each step increase in the PWM range will allow for more nuanced adjustments and provide smoother transitions between light levels. Conversely, a decrease in the PWM range will limit these transitions, and make each button press cause a more noticeable change in brightness. +```` diff --git a/src/content/docs/guides/raspberry-gpio/4-analog-signals.mdx b/src/content/docs/guides/raspberry-gpio/4-analog-signals.mdx index e83f924fb..90fe9bb14 100644 --- a/src/content/docs/guides/raspberry-gpio/4-analog-signals.mdx +++ b/src/content/docs/guides/raspberry-gpio/4-analog-signals.mdx @@ -37,7 +37,7 @@ In previous tutorials we've covered reading and writing digital signals, and emu To connect this converter to the joystick we connect the VRx pin to CH0 and the VRy pin to CH1. It's important that we connect the Raspberry Pi correctly, and the table below indicates which pins on the converter to connect to which pins on the Raspberry Pi. | MCP3008 Pin | Raspbery Pi Pin | - |-------------|-----------------| + | ----------- | --------------- | | VDD | 3.3V | | V_REF | 3.3V | | AGND | GND | @@ -73,11 +73,11 @@ We have a lot of complex looking code below, but as in previous tutorials lets b ```cpp #include "splashkit.h" - using namespace std; +using namespace std; - int read_adc(int spi_handle, int channel) - { - char send[3], recv[3]; +int read_adc(int spi_handle, int channel) +{ +char send[3], recv[3]; send[0] = 0b00000001; @@ -94,12 +94,13 @@ We have a lot of complex looking code below, but as in previous tutorials lets b int result = recv[1] << 8; result = result | recv[2]; return result; - } - int main() - { - const int button_read_interval = 100; - unsigned long last_read = 0; +} + +int main() +{ +const int button_read_interval = 100; +unsigned long last_read = 0; const int axis_offset = 512; @@ -150,249 +151,251 @@ We have a lot of complex looking code below, but as in previous tutorials lets b raspi_spi_close(spi_handle); raspi_cleanup(); return 0; - } - ``` + +} + +```` -In this code we've got our `main()` function that drives the entire program, and we have the core component of this code - the `read_adc()` function. +In this code we've got our `main()` function that drives the entire program, and we have the core component of this code - the `read_adc()` function. Lets look at this later on, and begin by breaking down `main()`. ### main() code - Break down 1. - - + + - ```cpp - const int button_read_interval = 100; - unsigned long last_read = 0; + ```cpp + const int button_read_interval = 100; + unsigned long last_read = 0; - const int axis_offset = 512; + const int axis_offset = 512; - int num_presses = 0; - int x = 0, y = 0; - ``` + int num_presses = 0; + int x = 0, y = 0; + ``` - - + + - To start, we set the interval for button reads and store the last read time in last_read. We also define an offset for the joystick axes. This offset is necessary because the joystick's output ranges from 0 to 1023, with a neutral position output of 512. By subtracting this offset, we can determine both the magnitude and direction of the joystick's movement. For instance, a value of -512 indicates full movement in one direction, while +512 indicates the opposite. + To start, we set the interval for button reads and store the last read time in last_read. We also define an offset for the joystick axes. This offset is necessary because the joystick's output ranges from 0 to 1023, with a neutral position output of 512. By subtracting this offset, we can determine both the magnitude and direction of the joystick's movement. For instance, a value of -512 indicates full movement in one direction, while +512 indicates the opposite. 2. - - + + - ```cpp - raspi_init(); - pins button_pin = PIN_29; - raspi_set_mode(button_pin, GPIO_INPUT); - raspi_set_pull_up_down(button_pin, PUD_UP); - ``` + ```cpp + raspi_init(); + pins button_pin = PIN_29; + raspi_set_mode(button_pin, GPIO_INPUT); + raspi_set_pull_up_down(button_pin, PUD_UP); + ``` - - + + - Next, we configure the GPIO pins as usual. While we typically use PUD_DOWN to detect when the button pin is GPIO_HIGH, I've switched to PUD_UP for this tutorial to detect GPIO_LOW instead. This change was necessary due to the specific configuration of my joystick module, which might differ between manufacturers. This setup was determined through experimentation. If you encounter issues with button press detection on your joystick, experiment with setting or disabling different resistors on the button pin. + Next, we configure the GPIO pins as usual. While we typically use PUD_DOWN to detect when the button pin is GPIO_HIGH, I've switched to PUD_UP for this tutorial to detect GPIO_LOW instead. This change was necessary due to the specific configuration of my joystick module, which might differ between manufacturers. This setup was determined through experimentation. If you encounter issues with button press detection on your joystick, experiment with setting or disabling different resistors on the button pin. 3. - - + + - ```cpp - int spi_handle = raspi_spi_open(0, 1000000); - ``` + ```cpp + int spi_handle = raspi_spi_open(0, 1000000); + ``` - - + + - We initiate communication with our converter by calling `raspi_spi_open()` with two parameters, storing the return value in spi_handle. This value references the SPI connection and a negative value indicates an error. The first parameter specifies the device channel, we set it to zero as we use the `CE0` pin (pin 24) on the `CS/SHDN` line, though `CE1` pin (pin 26) can also be used with a value of one. The second parameter defines the SPI communication speed, set at 1,000,000 bits per second, adjustable between 32,000, and 32,000,000 bits per second. + We initiate communication with our converter by calling `raspi_spi_open()` with two parameters, storing the return value in spi_handle. This value references the SPI connection and a negative value indicates an error. The first parameter specifies the device channel, we set it to zero as we use the `CE0` pin (pin 24) on the `CS/SHDN` line, though `CE1` pin (pin 26) can also be used with a value of one. The second parameter defines the SPI communication speed, set at 1,000,000 bits per second, adjustable between 32,000, and 32,000,000 bits per second. 4. - - + + - ```cpp - intervalTimer = create_time("read_interval"); - start_timer(intervalTimer); - ``` + ```cpp + intervalTimer = create_time("read_interval"); + start_timer(intervalTimer); + ``` - - + + - We create a timer and start it so we can correctly debounce our button presses. + We create a timer and start it so we can correctly debounce our button presses. 5. - - + + - ```cpp - while(!any_key_pressed()) - { - process_events(); - ... - } - ``` + ```cpp + while(!any_key_pressed()) + { + process_events(); + ... + } + ``` - - + + - As we've done in previous tutorials we run this code while no key has been pressed, and we process events at the start of the loop. + As we've done in previous tutorials we run this code while no key has been pressed, and we process events at the start of the loop. 6. - - - - ```cpp - unsigned long curr_time = timer_ticks(intervalTimer); - if(curr_time - last_read > button_read_interval) - { - last_read = curr_time; - if(raspi_read(button_pin) == GPIO_LOW) - { - num_presses++; - } - } - ``` - - - - - In this section we're just detecting if the button has been pressed and incrementing the `num_presses` variable if this is the case. + + + + ```cpp + unsigned long curr_time = timer_ticks(intervalTimer); + if(curr_time - last_read > button_read_interval) + { + last_read = curr_time; + if(raspi_read(button_pin) == GPIO_LOW) + { + num_presses++; + } + } + ``` + + + + + In this section we're just detecting if the button has been pressed and incrementing the `num_presses` variable if this is the case. 7. - - + + - ```cpp - x = read_adc(spi_handle, 0) - axis_offset; - y = read_adc(spi_handle, 1) - axis_offset; + ```cpp + x = read_adc(spi_handle, 0) - axis_offset; + y = read_adc(spi_handle, 1) - axis_offset; - write("\033[2J\033[H"); - write("X: "); - write(x); - write(" Y: ") - write_line(y); - write("Button Presses: "); - write_line(num_presses); - ``` + write("\033[2J\033[H"); + write("X: "); + write(x); + write(" Y: ") + write_line(y); + write("Button Presses: "); + write_line(num_presses); + ``` - - + + - Then we read the values of the joystick position from our converter, apply our offset, clear the terminal, and finally we'll print out our joystick information. + Then we read the values of the joystick position from our converter, apply our offset, clear the terminal, and finally we'll print out our joystick information. - :::note[ANSI Escape Codes] - `\033[2J` and `\033[H` are examples of ANSI escape codes. The first code clears the terminal screen, and the second places the cursor on the top line on the far left ready for more output. We do this so that it's clear what the value of the joysticks are at any point in time. + :::note[ANSI Escape Codes] + `\033[2J` and `\033[H` are examples of ANSI escape codes. The first code clears the terminal screen, and the second places the cursor on the top line on the far left ready for more output. We do this so that it's clear what the value of the joysticks are at any point in time. - These codes are not available on all platforms, but should work on the Raspberry Pi. For more information see [ANSI Escape Codes](https://en.wikipedia.org/wiki/ANSI_escape_code). - ::: + These codes are not available on all platforms, but should work on the Raspberry Pi. For more information see [ANSI Escape Codes](https://en.wikipedia.org/wiki/ANSI_escape_code). + ::: 8. - - + + - ```cpp - close_all_windows(); - free_all_timers(); - raspi_spi_close(spi_handle); - raspi_cleanup(); - return 0; - ``` + ```cpp + close_all_windows(); + free_all_timers(); + raspi_spi_close(spi_handle); + raspi_cleanup(); + return 0; + ``` - - + + - Once we exit this program we do the usual cleanup of the program, except must close the SPI connection that we've opened and used. We do this with the `raspi_spi_close()` and give it the handle that references this connection, `spi_handle`. + Once we exit this program we do the usual cleanup of the program, except must close the SPI connection that we've opened and used. We do this with the `raspi_spi_close()` and give it the handle that references this connection, `spi_handle`. ### read_adc() code - Break down Okay, now lets have a look at the `read_adc()` function. 1. - - + + - ```cpp - char send[3], recv[3]; + ```cpp + char send[3], recv[3]; - send[0] = 0b00000001; - ``` + send[0] = 0b00000001; + ``` - - + + - To transfer data between our device and the converter, we create send (`send`) and receive (`recv`) buffers, each sized to three bytes. This aligns with the data transfer needs of the MCP3008 chip. The first byte of the send buffer is set to 0b00000001, initiating a start bit that signals the converter to begin transmitting data back to us. For more details, refer to [MCP Datasheet](#mcp-datasheet). + To transfer data between our device and the converter, we create send (`send`) and receive (`recv`) buffers, each sized to three bytes. This aligns with the data transfer needs of the MCP3008 chip. The first byte of the send buffer is set to 0b00000001, initiating a start bit that signals the converter to begin transmitting data back to us. For more details, refer to [MCP Datasheet](#mcp-datasheet). 2. - - + + - ```cpp - char ctrl_bits; - ctrl_bits = channel << 4; + ```cpp + char ctrl_bits; + ctrl_bits = channel << 4; - ctrl_bits = 0b10000000 | ctrl_bits; + ctrl_bits = 0b10000000 | ctrl_bits; - send[1] = ctrl_bits; - send[2] = 0b00000000; + send[1] = ctrl_bits; + send[2] = 0b00000000; - ``` + ``` - - + + - To configure the converter, we send a second byte containing control bits that specify the operating mode and the input channel. The format is `0bXYYYZZZZ`: + To configure the converter, we send a second byte containing control bits that specify the operating mode and the input channel. The format is `0bXYYYZZZZ`: - - `X` selects the mode (1 for single, 0 for differential—we use 1 for single mode) - - `YYY` represents the input channel in binary - - `ZZZZ` are 'don't care' bits that are ignored. + - `X` selects the mode (1 for single, 0 for differential—we use 1 for single mode) + - `YYY` represents the input channel in binary + - `ZZZZ` are 'don't care' bits that are ignored. - For manipulation, we use bit-wise operations. We prepare the control bits in the following way: + For manipulation, we use bit-wise operations. We prepare the control bits in the following way: - - + + - ```cpp - char ctrl_bits; - ctrl_bits = channel << 4; - ``` + ```cpp + char ctrl_bits; + ctrl_bits = channel << 4; + ``` - - + + - We first shift the bits of the channel number left by 4 and position it in the Y positions described above. This is a [bit-wise operation](https://en.wikipedia.org/wiki/Bitwise_operation) and to demonstrate, lets say `channel` is equal to 5 or `0b00000101` when we bit-shift we literally move each bit a number of spaces in a direction so we bit-shift left by 4 and this results in `0b01010000`. + We first shift the bits of the channel number left by 4 and position it in the Y positions described above. This is a [bit-wise operation](https://en.wikipedia.org/wiki/Bitwise_operation) and to demonstrate, lets say `channel` is equal to 5 or `0b00000101` when we bit-shift we literally move each bit a number of spaces in a direction so we bit-shift left by 4 and this results in `0b01010000`. - - + + - ```cpp - ctrl_bits = 0b10000000 | ctrl_bits; - ``` + ```cpp + ctrl_bits = 0b10000000 | ctrl_bits; + ``` - - + + - We then set the mode by performing an OR operation with the mode bit set to 1. If we following the previous example, `ctrl_bits` would now hold `0b11010000`. The third byte isn't used so we just set it to 0. For more details, refer to [MCP Datasheet](#mcp-datasheet). + We then set the mode by performing an OR operation with the mode bit set to 1. If we following the previous example, `ctrl_bits` would now hold `0b11010000`. The third byte isn't used so we just set it to 0. For more details, refer to [MCP Datasheet](#mcp-datasheet). 3. - - + + - ```cpp - raspi_spi_transfer(spi_handle, send, recv, 3); + ```cpp + raspi_spi_transfer(spi_handle, send, recv, 3); - int result = recv[1] << 8; - result = result | recv[2]; - return result; - ``` + int result = recv[1] << 8; + result = result | recv[2]; + return result; + ``` - - + + - Finally, we transfer the data using `raspi_spi_transfer()`. We pass our `spi_handle`, `send` and `recv` buffers, and specify three bytes for the transfer. Post-transfer, recv holds the converter's output. As detailed in the [MCP datasheet](#mcp-datasheet), the converter returns a 10-bit number split between the second and third bytes of the buffer. + Finally, we transfer the data using `raspi_spi_transfer()`. We pass our `spi_handle`, `send` and `recv` buffers, and specify three bytes for the transfer. Post-transfer, recv holds the converter's output. As detailed in the [MCP datasheet](#mcp-datasheet), the converter returns a 10-bit number split between the second and third bytes of the buffer. - To decode this, we shift the second byte (recv[1]) left by 8 bits to align the data, and then merge it with the third byte (recv[2]) using a bitwise OR operation. The combined result is returned as an integer. For more details, refer to [MCP Datasheet](#mcp-datasheet). + To decode this, we shift the second byte (recv[1]) left by 8 bits to align the data, and then merge it with the third byte (recv[2]) using a bitwise OR operation. The combined result is returned as an integer. For more details, refer to [MCP Datasheet](#mcp-datasheet). Now that we've covered the entirety of this program, run it like we've been doing previously and your output should look something like this: @@ -413,3 +416,4 @@ On page 19 there's a table that tells us what control bits we must set for speci ![An image of a indicating the data transmission process for the MCP3008.](./images/transmit_details.png) This section first describes the transmitted data, and splits into bytes. We can see the start bit in the first byte, and the four control bits we've set in the second byte. It then describes the received data, and we can see that the start of the 10-bits of received data is at position 6 (B9), with the rest of the bits stored in the subsequent positions. +```` diff --git a/src/content/docs/guides/utilities/useful-utilities.mdx b/src/content/docs/guides/utilities/useful-utilities.mdx index fd64df1b8..90e08c672 100644 --- a/src/content/docs/guides/utilities/useful-utilities.mdx +++ b/src/content/docs/guides/utilities/useful-utilities.mdx @@ -117,7 +117,7 @@ namespace ReadingText ```python from splashkit import * - + write("What is your name: ") # prompt the user for input name = read_line() # read user input and store in a variable @@ -652,7 +652,7 @@ int main() return 0; } - ``` +``` diff --git a/src/content/docs/index.mdx b/src/content/docs/index.mdx index c6aae2879..737af82ac 100644 --- a/src/content/docs/index.mdx +++ b/src/content/docs/index.mdx @@ -23,7 +23,6 @@ hero: variant: primary --- - import { Card, LinkCard, CardGrid } from "@astrojs/starlight/components"; #### To install SplashKit, copy and paste the following into your terminal @@ -62,12 +61,15 @@ bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-sc and make the most out of SplashKit SDK. Learn at your own pace and explore the vast possibilities. - + @@ -75,7 +77,8 @@ bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-sc
- SplashKit is an open source project maintained by the [core team](https://github.com/orgs/splashkit/people) with the help of - all [our contributors](https://github.com/orgs/splashkit/people). Except as otherwise noted, SplashKit is licensed under [GPL](https://www.gnu.org/licenses/gpl-3.0.en.html#content). +SplashKit is an open source project maintained by the [core team](https://github.com/orgs/splashkit/people) with the help of +all [our contributors](https://github.com/orgs/splashkit/people). Except as otherwise noted, SplashKit is licensed under [GPL](https://www.gnu.org/licenses/gpl-3.0.en.html#content). +
diff --git a/src/content/docs/installation/Linux/1-command-line-tools.mdx b/src/content/docs/installation/Linux/1-command-line-tools.mdx index 4d3072b6b..8e5d8493c 100644 --- a/src/content/docs/installation/Linux/1-command-line-tools.mdx +++ b/src/content/docs/installation/Linux/1-command-line-tools.mdx @@ -14,91 +14,91 @@ SplashKit requires a few command line tools to be installed on your system befor -1. **Open a Terminal** +1. **Open a Terminal** Locate your terminal in the applications menu, or use the keyboard shortcut (`Ctrl + Alt + T` on most Linux systems). ![Opening a terminal in Linux](/gifs/linux/open-terminal.gif) -2. **Update Your System** +2. **Update Your System** Before installing new packages, it’s important to keep your system up-to-date to ensure the latest security and stability improvements. Run the following command based on your Linux distribution: - + ```shell sudo apt-get update && sudo apt-get upgrade ``` - - - + + + ```shell sudo pacman -Syu ``` - + ```shell yay -Syu ``` - - - + + + ```shell sudo dnf update ``` - + -3. **Install Required Command Line Tools** +3. **Install Required Command Line Tools** To proceed with SplashKit installation, you need to have **curl** and **git** installed. Use your package manager to install these tools: - + ```shell sudo apt-get install curl git ``` - - - + + + ```shell sudo pacman -S curl git ``` - + ```shell yay -S curl git ``` - - - + + + ```shell sudo dnf install curl git ``` - + -4. **Verify Installation (Optional)** +4. **Verify Installation (Optional)** To confirm the tools are successfully installed, run: diff --git a/src/content/docs/installation/Linux/2-language-tools.mdx b/src/content/docs/installation/Linux/2-language-tools.mdx index 050f712a0..1d0875d3b 100644 --- a/src/content/docs/installation/Linux/2-language-tools.mdx +++ b/src/content/docs/installation/Linux/2-language-tools.mdx @@ -6,7 +6,12 @@ sidebar: order: 2 --- -import { Steps, Tabs, TabItem, LinkButton } from "@astrojs/starlight/components"; +import { + Steps, + Tabs, + TabItem, + LinkButton, +} from "@astrojs/starlight/components"; SplashKit supports multiple programming languages, each with its own set of tools. Follow the instructions below to install the required tools for your language of choice. @@ -19,8 +24,20 @@ To develop with C# in SplashKit, you’ll need to install .NET: -Install .NET SDK or .NET Runtime on Ubuntu -Install .NET SDK or .NET Runtime on Debian + + Install .NET SDK or .NET Runtime on Ubuntu + + + Install .NET SDK or .NET Runtime on Debian + @@ -40,7 +57,13 @@ yay -S dotnet-runtime -Install the .NET SDK or the .NET Runtime on Fedora + + Install the .NET SDK or the .NET Runtime on Fedora + @@ -59,55 +82,55 @@ Most Linux distributions include Python pre-installed. If Python isn’t install 1. **Installing Python** - Install Python 3 and `pip` (Python package installer) using the following commands based on your Linux distribution: + Install Python 3 and `pip` (Python package installer) using the following commands based on your Linux distribution: - - + + - ```shell - sudo apt install python3 python3-pip - ``` + ```shell + sudo apt install python3 python3-pip + ``` - + - - - + + + - ```shell - sudo pacman -S python python-pip - ``` + ```shell + sudo pacman -S python python-pip + ``` - - + + - ```shell - yay -S python python-pip - ``` + ```shell + yay -S python python-pip + ``` - - - + + + - + - ```shell - sudo dnf install python3 python3-pip - ``` + ```shell + sudo dnf install python3 python3-pip + ``` - - +
+ 2. **Verify Installation (Optional)** - To confirm that Python and `pip` are successfully installed, check the versions: + To confirm that Python and `pip` are successfully installed, check the versions: - ```shell - python3 --version - pip3 --version - ``` + ```shell + python3 --version + pip3 --version + ``` - Both commands should output version information if the installation was successful. + Both commands should output version information if the installation was successful. diff --git a/src/content/docs/installation/Linux/3-splashkit.mdx b/src/content/docs/installation/Linux/3-splashkit.mdx index 1f3040118..86a3ffb5a 100644 --- a/src/content/docs/installation/Linux/3-splashkit.mdx +++ b/src/content/docs/installation/Linux/3-splashkit.mdx @@ -18,26 +18,26 @@ Follow these steps to set up SplashKit on Linux and start building interactive, 1. **Run the SplashKit Installer** - Open your Terminal and paste the following command to download and install SplashKit: + Open your Terminal and paste the following command to download and install SplashKit: - ```shell - curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh | bash - ``` + ```shell + curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh | bash + ``` 2. **Restart the Terminal and Test the Installation** - After restarting the terminal, run the following command to confirm the installation: + After restarting the terminal, run the following command to confirm the installation: - ```shell - skm - ``` + ```shell + skm + ``` - You should see messages similar to: + You should see messages similar to: - ```shell - SplashKit is installed successfully! - Missing skm command. For help use 'skm help' - ``` + ```shell + SplashKit is installed successfully! + Missing skm command. For help use 'skm help' + ``` @@ -47,18 +47,18 @@ The commands below are run in the initial installation script, and therefore are - To install the necessary dependencies and build the SplashKit library natively on linux, use: - ```shell - skm linux install - ``` + ```shell + skm linux install + ``` - :::caution[If you encounter dependency issues:] + :::caution[If you encounter dependency issues:] - See the [Error installing dependencies](/troubleshoot/linux/issue-3-error-installing-dependencies) troubleshooting page. + See the [Error installing dependencies](/troubleshoot/linux/issue-3-error-installing-dependencies) troubleshooting page. - To install SplashKit into the default global locations, use: - ```shell - skm global install - ``` + ```shell + skm global install + ``` ::: diff --git a/src/content/docs/installation/Linux/4-vscode.mdx b/src/content/docs/installation/Linux/4-vscode.mdx index 1b440d4c2..96433ab68 100644 --- a/src/content/docs/installation/Linux/4-vscode.mdx +++ b/src/content/docs/installation/Linux/4-vscode.mdx @@ -6,7 +6,12 @@ sidebar: order: 4 --- -import { Steps, Tabs, TabItem, LinkButton } from "@astrojs/starlight/components"; +import { + Steps, + Tabs, + TabItem, + LinkButton, +} from "@astrojs/starlight/components"; [Visual Studio Code](https://code.visualstudio.com/) is a versatile, user-friendly source code editor that supports extensions for multiple languages, including C#, C++ and python. Follow these steps to install Visual Studio Code on Linux and set up the necessary extensions. @@ -19,32 +24,31 @@ import { Steps, Tabs, TabItem, LinkButton } from "@astrojs/starlight/components" 1. **Download Visual Studio Code** - Visit the [Visual Studio Code download page](https://code.visualstudio.com/) and select the `.deb` package for Ubuntu/Debian systems. This will download the installer to your default `Downloads` folder. + Visit the [Visual Studio Code download page](https://code.visualstudio.com/) and select the `.deb` package for Ubuntu/Debian systems. This will download the installer to your default `Downloads` folder. - ![Downloading Visual Studio Code for Ubuntu](/gifs/linux/download-vsc.gif) + ![Downloading Visual Studio Code for Ubuntu](/gifs/linux/download-vsc.gif) 2. **Open a Terminal** - Open a terminal on your system: - - - Use the application menu to find "Terminal." - - Or press `Ctrl + Alt + T` as a shortcut on most Ubuntu systems. + Open a terminal on your system: + - Use the application menu to find "Terminal." + - Or press `Ctrl + Alt + T` as a shortcut on most Ubuntu systems. 3. **Navigate to the Download Location** - By default, downloaded files are saved in the `~/Downloads` directory. Navigate there using: + By default, downloaded files are saved in the `~/Downloads` directory. Navigate there using: - ```shell - cd ~/Downloads - ``` + ```shell + cd ~/Downloads + ``` - Then run the following command to install Visual Studio Code: + Then run the following command to install Visual Studio Code: - ```shell - sudo dpkg -i code_1.*.deb - ``` + ```shell + sudo dpkg -i code_1.*.deb + ``` - ![Installing Visual Studio Code on Ubuntu](/gifs/linux/install-vsc.gif) + ![Installing Visual Studio Code on Ubuntu](/gifs/linux/install-vsc.gif) @@ -57,23 +61,23 @@ For Arch Linux, you have two primary installation options: 1. **Install the Proprietary Visual Studio Code Binary from the AUR (preferred option)** - This version includes Microsoft branding and telemetry, it's maintained by the Arch User Repository (AUR). Install it with: + This version includes Microsoft branding and telemetry, it's maintained by the Arch User Repository (AUR). Install it with: - ```shell - yay -S visual-studio-code-bin - ``` + ```shell + yay -S visual-studio-code-bin + ``` - *Note:* If `yay` is not installed, you can use another AUR helper (such as `paru`) or follow the [AUR manual installation instructions](https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages). + _Note:_ If `yay` is not installed, you can use another AUR helper (such as `paru`) or follow the [AUR manual installation instructions](https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages). 2. **Install the Official Open-Source Version (Code - OSS)** - The open-source version of Visual Studio Code is available directly from the Arch community repositories. + The open-source version of Visual Studio Code is available directly from the Arch community repositories. - Install it using: + Install it using: - ```shell - sudo pacman -S code - ``` + ```shell + sudo pacman -S code + ``` @@ -84,34 +88,34 @@ For Arch Linux, you have two primary installation options: 1. **Add the Repository** - Open a terminal and add the Visual Studio Code repository and GPG key using the following commands: + Open a terminal and add the Visual Studio Code repository and GPG key using the following commands: - ```shell - sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc - echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null - ``` + ```shell + sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc + echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null + ``` 2. **Update the Package Cache** - Update the package cache to ensure your system recognizes the new repository: + Update the package cache to ensure your system recognizes the new repository: - ```shell - dnf check-update - ``` + ```shell + dnf check-update + ``` 3. **Install Visual Studio Code** - For Fedora 22 and newer, install Visual Studio Code using: + For Fedora 22 and newer, install Visual Studio Code using: - ```shell - sudo dnf install code - ``` + ```shell + sudo dnf install code + ``` - For older systems, use: + For older systems, use: - ```shell - sudo yum install code - ``` + ```shell + sudo yum install code + ``` @@ -153,8 +157,20 @@ To add these extensions within Visual Studio Code: Install the following C# extensions directly from the Visual Studio Marketplace: -C# -C# Dev Kit + + C# + + + C# Dev Kit + @@ -185,7 +201,13 @@ To add the C++ extension within Visual Studio Code: Install the C++ Extension Pack for comprehensive C++ support: -C++ Extension Pack + + C++ Extension Pack + @@ -216,7 +238,13 @@ To install the Python extension within Visual Studio Code: For Python support, install the Python extension from the Visual Studio Marketplace: -Python + + Python + @@ -229,6 +257,8 @@ Congratulations! You've completed the setup of everything you need to get starte You can find more information about compiling and running SplashKit programs in the link below: -Using SplashKit + + Using SplashKit + ::: diff --git a/src/content/docs/installation/Linux/index.mdx b/src/content/docs/installation/Linux/index.mdx index ba563a4fa..83678ee45 100644 --- a/src/content/docs/installation/Linux/index.mdx +++ b/src/content/docs/installation/Linux/index.mdx @@ -12,7 +12,7 @@ import { LinkCard, CardGrid } from "@astrojs/starlight/components"; :::tip[Using the Programmer's Field Guide?] -If you are using the Field Guide, we *strongly recommend* that you follow its installation guide: +If you are using the Field Guide, we _strongly recommend_ that you follow its installation guide: - [Set up my Linux Box](https://programmers.guide/book/appendix/0-installation/2-0-setup-linux/) - [Set up my Raspberry Pi](https://programmers.guide/book/appendix/0-installation/2-3-setup-pi/#3-setup-raspberry-pi-os) (if using a Raspberry Pi) diff --git a/src/content/docs/installation/MacOS/1-command-line-tools.mdx b/src/content/docs/installation/MacOS/1-command-line-tools.mdx index 78b94fdd9..3e97fc4fe 100644 --- a/src/content/docs/installation/MacOS/1-command-line-tools.mdx +++ b/src/content/docs/installation/MacOS/1-command-line-tools.mdx @@ -5,7 +5,7 @@ sidebar: label: 1. Command Line Tools --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; SplashKit requires a few command line tools to be installed on your system before you can proceed with the installation. Follow the steps below to install these tools, then continue with the SplashKit installation. @@ -20,7 +20,7 @@ SplashKit requires a few command line tools to be installed on your system befor 1. Press **Command** (⌘) + **Space bar** to open Spotlight Search. 2. Begin typing "Terminal." 3. Select the **Terminal** app from the search results. - ::: + ::: 2. **Install Xcode Command Line Tools** In the Terminal, copy and paste the following command, then press **Enter**: diff --git a/src/content/docs/installation/MacOS/2-language-tools.mdx b/src/content/docs/installation/MacOS/2-language-tools.mdx index f4fb3cb89..e25332fe8 100644 --- a/src/content/docs/installation/MacOS/2-language-tools.mdx +++ b/src/content/docs/installation/MacOS/2-language-tools.mdx @@ -5,7 +5,7 @@ sidebar: label: 2. Language Tools --- -import { Steps, LinkButton } from '@astrojs/starlight/components'; +import { Steps, LinkButton } from "@astrojs/starlight/components"; SplashKit supports multiple programming languages, each with its own set of tools. Follow the instructions below to install the required tools for your chosen language. @@ -17,15 +17,15 @@ To develop with C# in SplashKit, you’ll need to install the .NET SDK. -1. **Download the .NET SDK** +1. **Download the .NET SDK** Go to the [official .NET download page](https://dotnet.microsoft.com/download) and download the latest version of the .NET SDK for macOS. -2. **Install the .NET SDK** +2. **Install the .NET SDK** Run the downloaded installer and follow the on-screen instructions to complete the installation. -3. **Verify the Installation** +3. **Verify the Installation** Restart your terminal to ensure the SDK is recognized, then run the following command to confirm the installation: @@ -47,7 +47,7 @@ To develop with Python in SplashKit, you’ll need Python 3 installed. You can e -1. **Install Homebrew** (if not already installed) +1. **Install Homebrew** (if not already installed) Open your terminal and enter the following command to install Homebrew: @@ -63,7 +63,7 @@ To develop with Python in SplashKit, you’ll need Python 3 installed. You can e echo "eval \"\$(/opt/homebrew/bin/brew shellenv)\"" >> ~/.zshrc ``` -3. **Install Python 3** +3. **Install Python 3** Use Homebrew to install Python 3: diff --git a/src/content/docs/installation/MacOS/3-splashkit.mdx b/src/content/docs/installation/MacOS/3-splashkit.mdx index 3f45cab5a..c6dcc1ca7 100644 --- a/src/content/docs/installation/MacOS/3-splashkit.mdx +++ b/src/content/docs/installation/MacOS/3-splashkit.mdx @@ -5,7 +5,7 @@ sidebar: label: 3. SplashKit --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; [SplashKit](https://splashkit.io) is a beginner’s all-purpose software toolkit that will allow you to create fun and exciting programs more easily, especially for Graphical User Interface (GUI) programs. @@ -25,7 +25,7 @@ Follow these steps to set up SplashKit on macOS and begin building interactive, :::tip[Fingerprint Authentication] - If you want to use fingerprint authentication when the installation needs elevated permissions, rather than typing your password each time, run the following command in your terminal *(**before running the command above**)*: + If you want to use fingerprint authentication when the installation needs elevated permissions, rather than typing your password each time, run the following command in your terminal _(**before running the command above**)_: ```shell sed "s/^#auth/auth/" /etc/pam.d/sudo_local.template | sudo tee /etc/pam.d/sudo_local @@ -48,7 +48,7 @@ Follow these steps to set up SplashKit on macOS and begin building interactive, Missing skm command. For help, use 'skm help' ``` - *Tip:* Use `skm help` to explore additional commands for managing SplashKit. + _Tip:_ Use `skm help` to explore additional commands for managing SplashKit. @@ -58,14 +58,14 @@ The commands below are run in the initial installation script, and therefore are - To install the necessary dependencies and build the SplashKit library natively on macOS, use: - ```shell - skm macos install - ``` + ```shell + skm macos install + ``` - To install SplashKit into the system global directories, use: - ```shell - skm global install - ``` + ```shell + skm global install + ``` ::: diff --git a/src/content/docs/installation/MacOS/4-vscode.mdx b/src/content/docs/installation/MacOS/4-vscode.mdx index 54cdcde13..6f3a030ac 100644 --- a/src/content/docs/installation/MacOS/4-vscode.mdx +++ b/src/content/docs/installation/MacOS/4-vscode.mdx @@ -5,7 +5,7 @@ sidebar: label: 4. Visual Studio Code --- -import { Tabs, TabItem, LinkButton } from '@astrojs/starlight/components'; +import { Tabs, TabItem, LinkButton } from "@astrojs/starlight/components"; [Visual Studio Code](https://code.visualstudio.com/) is a versatile, user-friendly source code editor that supports extensions for multiple languages, including C#, C++ and python. Follow these steps to install Visual Studio Code on Mac OS and set up the necessary extensions. @@ -15,7 +15,7 @@ import { Tabs, TabItem, LinkButton } from '@astrojs/starlight/components'; 2. Install Visual Studio Code. - ![Gif showing Visual Studio installation in Finder](/gifs/macos/vs-code-install.gif) + ![Gif showing Visual Studio installation in Finder](/gifs/macos/vs-code-install.gif) ## Installing Extensions for Development @@ -48,8 +48,20 @@ To add these extensions within Visual Studio Code: Install the following C# extensions directly from the Visual Studio Marketplace: -C# -C# Dev Kit + + C# + + + C# Dev Kit + @@ -80,7 +92,13 @@ To add the C++ extension within Visual Studio Code: Install the C++ Extension Pack for comprehensive C++ support: -C++ Extension Pack + + C++ Extension Pack + @@ -111,7 +129,13 @@ To install the Python extension within Visual Studio Code: For Python support, install the Python extension from the Visual Studio Marketplace: -Python + + Python + @@ -124,6 +148,8 @@ Congratulations! You've completed the setup of everything you need to get starte You can find more information about compiling and running SplashKit programs in the link below: -Using SplashKit + + Using SplashKit + ::: diff --git a/src/content/docs/installation/MacOS/index.mdx b/src/content/docs/installation/MacOS/index.mdx index d86bed1e8..0b7ef193d 100644 --- a/src/content/docs/installation/MacOS/index.mdx +++ b/src/content/docs/installation/MacOS/index.mdx @@ -11,7 +11,7 @@ import { LinkCard, CardGrid } from "@astrojs/starlight/components"; :::tip[Using the Programmer's Field Guide?] -If you are using the Field Guide, we *strongly recommend* that you follow its installation guide: +If you are using the Field Guide, we _strongly recommend_ that you follow its installation guide: - [Set up my macOS](https://programmers.guide/book/appendix/0-installation/2-1-setup-macos/) diff --git a/src/content/docs/installation/Windows (MSYS2)/1-command-line-tools.mdx b/src/content/docs/installation/Windows (MSYS2)/1-command-line-tools.mdx index 512531a3f..8f3e8db4f 100644 --- a/src/content/docs/installation/Windows (MSYS2)/1-command-line-tools.mdx +++ b/src/content/docs/installation/Windows (MSYS2)/1-command-line-tools.mdx @@ -5,7 +5,7 @@ sidebar: label: 1. MSYS2 and Command Line Tools --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; SplashKit requires a few command line tools to be installed on your system before you proceed with the installation. Follow the steps below to install these tools, then you can continue with the SplashKit installation. @@ -27,7 +27,7 @@ MSYS2 provides a Unix-like terminal environment for Windows, allowing you to run Make sure to use the default install path: `C:\msys64` - *Using other paths may cause issues.* + _Using other paths may cause issues._ ::: diff --git a/src/content/docs/installation/Windows (MSYS2)/2-language-tools.mdx b/src/content/docs/installation/Windows (MSYS2)/2-language-tools.mdx index e699df452..df672e879 100644 --- a/src/content/docs/installation/Windows (MSYS2)/2-language-tools.mdx +++ b/src/content/docs/installation/Windows (MSYS2)/2-language-tools.mdx @@ -5,7 +5,7 @@ sidebar: label: 2. Language Tools --- -import { Steps, LinkButton } from '@astrojs/starlight/components'; +import { Steps, LinkButton } from "@astrojs/starlight/components"; SplashKit supports multiple programming languages, each with its own set of tools. Follow the steps below to install the necessary tools for your chosen language. @@ -17,11 +17,11 @@ To develop with C# in SplashKit, you’ll need to install the .NET SDK. -1. **Download the .NET SDK** +1. **Download the .NET SDK** Go to the [official .NET SDK download page](https://dotnet.microsoft.com/download) and download the latest version for Windows. -2. **Install the .NET SDK** +2. **Install the .NET SDK** Run the downloaded installer and follow the on-screen instructions to complete the installation. @@ -29,9 +29,9 @@ To develop with C# in SplashKit, you’ll need to install the .NET SDK. Open your MSYS2 terminal and run the following command to confirm that .NET is installed: - ```shell - dotnet --version - ``` + ```shell + dotnet --version + ``` If installed correctly, this command will output the version number of the .NET SDK. @@ -62,23 +62,22 @@ For an alternative option, follow these steps to install Python on your system. Go to the [Python download page](https://www.python.org/downloads/windows/) and download the latest Python installer for Windows. -2. **Run the Installer and Select Optional Features** - +2. **Run the Installer and Select Optional Features** - During the installation, check the box to **Add python.exe to PATH**. - Choose additional features, such as installing `pip`, as needed. -3. **Complete the Installation** +3. **Complete the Installation** Follow the on-screen instructions to complete the installation. -4. **Verify Installation (Optional)** +4. **Verify Installation (Optional)** - To confirm that `Python` and `pip` are successfully installed, open your MSYS2 terminal and run the following commands: + To confirm that `Python` and `pip` are successfully installed, open your MSYS2 terminal and run the following commands: - ```shell - python --version - pip --version - ``` + ```shell + python --version + pip --version + ``` Both commands should output version information if the installation was successful. diff --git a/src/content/docs/installation/Windows (MSYS2)/3-splashkit.mdx b/src/content/docs/installation/Windows (MSYS2)/3-splashkit.mdx index d5c305634..c43ad4c49 100644 --- a/src/content/docs/installation/Windows (MSYS2)/3-splashkit.mdx +++ b/src/content/docs/installation/Windows (MSYS2)/3-splashkit.mdx @@ -5,7 +5,7 @@ sidebar: label: 3. SplashKit --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; [SplashKit](https://splashkit.io) is a beginner’s all-purpose software toolkit that will allow you to create fun and exciting programs more easily, especially for Graphical User Interface (GUI) programs. @@ -19,26 +19,26 @@ Follow these steps to set up SplashKit on Windows with MSYS2 and start building Open your MINGW64 Terminal and paste the following command to download and install SplashKit: - ```shell - bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh) - ``` + ```shell + bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh) + ``` 2. **Verify the Installation** Restart your MSYS2 terminal, then enter the following command to check if SplashKit Manager (`skm`) is installed: - ```shell - skm - ``` + ```shell + skm + ``` - You should see messages confirming the installation, such as: + You should see messages confirming the installation, such as: - ```shell - SplashKit is installed successfully! - Missing skm command. For help use 'skm help' - ``` + ```shell + SplashKit is installed successfully! + Missing skm command. For help use 'skm help' + ``` - *Tip:* Use `skm help` to explore available commands for working with SplashKit. + _Tip:_ Use `skm help` to explore available commands for working with SplashKit. @@ -48,14 +48,14 @@ The commands below are run in the initial installation script, and therefore are - To install the necessary dependencies, use: - ```shell - skm windows install - ``` + ```shell + skm windows install + ``` - To install SplashKit into the system global directories, use: - ```shell - skm global install - ``` + ```shell + skm global install + ``` ::: diff --git a/src/content/docs/installation/Windows (MSYS2)/4-vscode.mdx b/src/content/docs/installation/Windows (MSYS2)/4-vscode.mdx index c52b95cd1..69dbd67d1 100644 --- a/src/content/docs/installation/Windows (MSYS2)/4-vscode.mdx +++ b/src/content/docs/installation/Windows (MSYS2)/4-vscode.mdx @@ -5,7 +5,7 @@ sidebar: label: 4. Visual Studio Code --- -import { Tabs, TabItem, LinkButton } from '@astrojs/starlight/components'; +import { Tabs, TabItem, LinkButton } from "@astrojs/starlight/components"; [Visual Studio Code](https://code.visualstudio.com/) is a versatile, user-friendly source code editor that supports extensions for multiple languages, including C#, C++ and python. Follow these steps to install Visual Studio Code on Windows and set up the necessary extensions. @@ -44,8 +44,20 @@ To add these extensions within Visual Studio Code: Install the following C# extensions directly from the Visual Studio Marketplace: -C# -C# Dev Kit + + C# + + + C# Dev Kit + @@ -76,7 +88,13 @@ To add the C++ extension within Visual Studio Code: Install the C++ Extension Pack for comprehensive C++ support: -C++ Extension Pack + + C++ Extension Pack + @@ -107,7 +125,13 @@ To install the Python extension within Visual Studio Code: For Python support, install the Python extension from the Visual Studio Marketplace: -Python + + Python + @@ -120,6 +144,8 @@ Congratulations! You've completed the setup of everything you need to get starte You can find more information about compiling and running SplashKit programs in the link below: -Using SplashKit + + Using SplashKit + ::: diff --git a/src/content/docs/installation/Windows (MSYS2)/index.mdx b/src/content/docs/installation/Windows (MSYS2)/index.mdx index 30e0abaf3..7e2d7c715 100644 --- a/src/content/docs/installation/Windows (MSYS2)/index.mdx +++ b/src/content/docs/installation/Windows (MSYS2)/index.mdx @@ -11,7 +11,7 @@ import { LinkCard, CardGrid } from "@astrojs/starlight/components"; :::tip[Using the Programmer's Field Guide?] -If you are using the Field Guide, we *strongly recommend* that you follow its installation guide: +If you are using the Field Guide, we _strongly recommend_ that you follow its installation guide: - [Set up my Windows (with MSYS2)](https://programmers.guide/book/appendix/0-installation/2-5-setup-win-msys/) diff --git a/src/content/docs/installation/Windows (WSL)/1-command-line-tools.mdx b/src/content/docs/installation/Windows (WSL)/1-command-line-tools.mdx index f8b71bee1..ea6caaeb0 100644 --- a/src/content/docs/installation/Windows (WSL)/1-command-line-tools.mdx +++ b/src/content/docs/installation/Windows (WSL)/1-command-line-tools.mdx @@ -5,7 +5,7 @@ sidebar: label: 1. WSL and Command Line Tools --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; SplashKit requires several command line tools to be installed on your system before you proceed with the installation. Follow the steps below to install these tools, then you can continue with the SplashKit installation. @@ -19,7 +19,7 @@ Windows Subsystem for Linux (WSL) is a feature of Windows that lets you run a Li ### Method 1: Command Line (Recommended) - To install both WSL and Ubuntu from the command line, follow these steps. Open Terminal, PowerShell, or Command Prompt in *administrator mode* by right-clicking and selecting "Run as administrator," then enter the command below: + To install both WSL and Ubuntu from the command line, follow these steps. Open Terminal, PowerShell, or Command Prompt in _administrator mode_ by right-clicking and selecting "Run as administrator," then enter the command below: ```shell wsl --install @@ -30,7 +30,6 @@ Windows Subsystem for Linux (WSL) is a feature of Windows that lets you run a Li ### Method 2: Microsoft Store (Alternative) Alternatively, you can install WSL (and Ubuntu) directly from the Microsoft Store. - - Search "WSL" in the Microsoft Store app, or [click here](https://apps.microsoft.com/store/detail/9P9TQF7MRM4R). - Next, download **Ubuntu** from the Microsoft Store. Search "Ubuntu," or [click this link](https://apps.microsoft.com/store/detail/9PDXGNCFSCZV). @@ -63,10 +62,9 @@ Windows Subsystem for Linux (WSL) is a feature of Windows that lets you run a Li 3. **(Optional) Configure Windows Terminal for WSL** - To have the Windows **Terminal** app automatically open with WSL, you can set the *Default profile* to WSL (Ubuntu). - + To have the Windows **Terminal** app automatically open with WSL, you can set the _Default profile_ to WSL (Ubuntu). - Open the Terminal app, click the drop-down arrow at the top of the window, then click "Settings." - - In *Default profile*, select an **Ubuntu** profile. Choose the profile with the Linux penguin icon if available. + - In _Default profile_, select an **Ubuntu** profile. Choose the profile with the Linux penguin icon if available. - Click **Save** to apply changes. ![Image showing Terminal App settings to set WSL as default profile](/images/installation/windows/windows-terminal-default-profile.png) diff --git a/src/content/docs/installation/Windows (WSL)/2-language-tools.mdx b/src/content/docs/installation/Windows (WSL)/2-language-tools.mdx index 5002851fd..7f4199f84 100644 --- a/src/content/docs/installation/Windows (WSL)/2-language-tools.mdx +++ b/src/content/docs/installation/Windows (WSL)/2-language-tools.mdx @@ -5,7 +5,7 @@ sidebar: label: 2. Language Tools --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; SplashKit supports multiple programming languages, each with its own set of tools. Follow the instructions below to install the required tools for your chosen language on Windows Subsystem for Linux (WSL). @@ -17,11 +17,11 @@ To develop with C# in SplashKit, you’ll need to install the .NET SDK. -1. **Visit the .NET Download Page** +1. **Visit the .NET Download Page** Go to the [.NET download page for Linux](https://dotnet.microsoft.com/en-us/download?initial-os=linux) and select the instructions for your Ubuntu distribution. -2. **Follow the Installation Instructions** +2. **Follow the Installation Instructions** Follow the on-screen instructions provided by the .NET website to complete the installation on your WSL environment. @@ -29,9 +29,9 @@ To develop with C# in SplashKit, you’ll need to install the .NET SDK. Open your WSL terminal and run the following command to confirm the .NET SDK is installed: - ```shell - dotnet --version - ``` + ```shell + dotnet --version + ``` If installed correctly, this command will output the version number of the .NET SDK. @@ -47,30 +47,30 @@ To develop with Python in SplashKit, follow these steps to install Python and `p -1. **Install Python 3** +1. **Install Python 3** In your WSL terminal, run the following command to install Python 3: - ```shell - sudo apt install python3 - ``` + ```shell + sudo apt install python3 + ``` -2. **(Optional) Install pip** +2. **(Optional) Install pip** If you need the Python package manager, `pip`, run: - ```shell - sudo apt install python3-pip - ``` + ```shell + sudo apt install python3-pip + ``` -3. **Verify Installation (Optional)** +3. **Verify Installation (Optional)** To check that Python and `pip` are installed, run the following commands: - ```shell - python3 --version - pip3 --version - ``` + ```shell + python3 --version + pip3 --version + ``` Both commands should output version information if the installation was successful. diff --git a/src/content/docs/installation/Windows (WSL)/3-splashkit.mdx b/src/content/docs/installation/Windows (WSL)/3-splashkit.mdx index 72fce5547..097e76277 100644 --- a/src/content/docs/installation/Windows (WSL)/3-splashkit.mdx +++ b/src/content/docs/installation/Windows (WSL)/3-splashkit.mdx @@ -5,7 +5,7 @@ sidebar: label: 3. SplashKit --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; [SplashKit](https://splashkit.io) is a beginner’s all-purpose software toolkit that will allow you to create fun and exciting programs more easily, especially for Graphical User Interface (GUI) programs. @@ -27,18 +27,18 @@ Follow these steps to set up SplashKit on WSL and start building interactive, vi Restart your terminal to ensure the new installation path is recognized, then run the following command to confirm SplashKit Manager (`skm`) is installed: - ```shell - skm - ``` + ```shell + skm + ``` - You should see messages confirming the installation: + You should see messages confirming the installation: - ```shell - SplashKit is installed successfully! - Missing skm command. For help use 'skm help' - ``` + ```shell + SplashKit is installed successfully! + Missing skm command. For help use 'skm help' + ``` - *Tip:* Use `skm help` to explore additional commands for managing SplashKit. + _Tip:_ Use `skm help` to explore additional commands for managing SplashKit. @@ -48,14 +48,14 @@ The commands below are run in the initial installation script, and therefore are - To install the necessary dependencies and build the SplashKit library natively on WSL, use: - ```shell - skm linux install - ``` + ```shell + skm linux install + ``` - To install SplashKit into the system global directories, use: - ```shell - skm global install - ``` + ```shell + skm global install + ``` ::: diff --git a/src/content/docs/installation/Windows (WSL)/4-vscode.mdx b/src/content/docs/installation/Windows (WSL)/4-vscode.mdx index f036aed18..e860014a4 100644 --- a/src/content/docs/installation/Windows (WSL)/4-vscode.mdx +++ b/src/content/docs/installation/Windows (WSL)/4-vscode.mdx @@ -4,7 +4,12 @@ sidebar: label: 4. Visual Studio Code --- -import { Steps, Tabs, TabItem, LinkButton } from '@astrojs/starlight/components'; +import { + Steps, + Tabs, + TabItem, + LinkButton, +} from "@astrojs/starlight/components"; [Visual Studio Code](https://code.visualstudio.com/) is a versatile, user-friendly source code editor that supports extensions for multiple languages, including C#, C++ and python. Follow these steps to install Visual Studio Code on WSL and set up the necessary extensions. @@ -42,7 +47,12 @@ To add the WSL extension within Visual Studio Code: Install the WSL extension directly from the Visual Studio Marketplace: -WSL Extension + + WSL Extension + @@ -74,8 +84,20 @@ To add these extensions within Visual Studio Code: Install the following C# extensions directly from the Visual Studio Marketplace: -C# -C# Dev Kit + + C# + + + C# Dev Kit + @@ -106,7 +128,13 @@ To add the C++ extension within Visual Studio Code: Install the C++ Extension Pack for comprehensive C++ support: -C++ Extension Pack + + C++ Extension Pack + @@ -137,7 +165,13 @@ To install the Python extension within Visual Studio Code: For Python support, install the Python extension from the Visual Studio Marketplace: -Python + + Python + @@ -150,6 +184,8 @@ Congratulations! You've completed the setup of everything you need to get starte You can find more information about compiling and running SplashKit programs in the link below: -Using SplashKit + + Using SplashKit + ::: diff --git a/src/content/docs/installation/Windows (WSL)/index.mdx b/src/content/docs/installation/Windows (WSL)/index.mdx index 4516233c4..707474b06 100644 --- a/src/content/docs/installation/Windows (WSL)/index.mdx +++ b/src/content/docs/installation/Windows (WSL)/index.mdx @@ -11,7 +11,7 @@ import { LinkCard, CardGrid } from "@astrojs/starlight/components"; :::tip[Using the Programmer's Field Guide?] -If you are using the Field Guide, we *strongly recommend* that you follow its installation guide: +If you are using the Field Guide, we _strongly recommend_ that you follow its installation guide: - [Set up my Windows (with WSL)](https://programmers.guide/book/appendix/0-installation/2-6-setup-win-wsl/) @@ -47,10 +47,10 @@ To get SplashKit installed on Windows, follow the four steps: Once you have all of these steps complete you should be setup and ready to start building SplashKit applications in the language of your choice. - :::caution +:::caution **Virus Scanner Warning:** - *We have found that some third party Virus Scanning software products can block - parts of the installation or building process with SplashKit. If you have - issues installing or using SplashKit on Windows, please consider disabling - any third party virus scanners.* - ::: +_We have found that some third party Virus Scanning software products can block +parts of the installation or building process with SplashKit. If you have +issues installing or using SplashKit on Windows, please consider disabling +any third party virus scanners._ +::: diff --git a/src/content/docs/installation/index.mdx b/src/content/docs/installation/index.mdx index 8cf132fda..2322ae1da 100644 --- a/src/content/docs/installation/index.mdx +++ b/src/content/docs/installation/index.mdx @@ -12,7 +12,7 @@ If you have previously installed SplashKit, see the [Updating SplashKit](#updati :::tip[Using the Programmer's Field Guide?] -If you are using the Field Guide, we *strongly recommend* that you follow the one of these [**installation guides**](https://programmers.guide/book/appendix/0-installation/0-overview/) for more detailed instructions. +If you are using the Field Guide, we _strongly recommend_ that you follow the one of these [**installation guides**](https://programmers.guide/book/appendix/0-installation/0-overview/) for more detailed instructions. Most of these guides also include an automated script for an easier installation option. ::: @@ -31,17 +31,11 @@ Most of these guides also include an automated script for an easier installation {/* TODO: Add short text about MacOS here */} - + {/* TODO: Add short text about Linux here */} - + {/* TODO: Add short text about VMs here */} diff --git a/src/content/docs/troubleshoot/Linux/index.mdx b/src/content/docs/troubleshoot/Linux/index.mdx index 94d1cfe59..744eaf7c2 100644 --- a/src/content/docs/troubleshoot/Linux/index.mdx +++ b/src/content/docs/troubleshoot/Linux/index.mdx @@ -7,12 +7,12 @@ sidebar: class: linux --- -*{frontmatter.description}.* +_{frontmatter.description}._ -| Link | Description | -| -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| [Issue_1](/troubleshoot/linux/issue-1-bash-curl-not-working) | `bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/installscripts/skm-install.sh)` does nothing. | -| [Issue_2](/troubleshoot/linux/issue-2-skm-not-found) | `Command 'skm' not found` | -| [Issue_3](/troubleshoot/linux/issue-3-error-installing-dependencies) | Error installing dependencies: `Unable to install dependencies` | -| [Issue_4](/troubleshoot/linux/issue-4-splashkit-library-not-found) | `error while loading shared libraries: libSplashKit.so: cannot open shared object file` when trying to run a SplashKit program or global install. | -| [Issue_5](/troubleshoot/linux/issue-5-test-install-fails-on-arch-linux) | Test install fails on Arch-based Linux distributions due to `libjxl` dependency errors with `SDL2_image`. | +| Link | Description | +| ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | +| [Issue_1](/troubleshoot/linux/issue-1-bash-curl-not-working) | `bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/installscripts/skm-install.sh)` does nothing. | +| [Issue_2](/troubleshoot/linux/issue-2-skm-not-found) | `Command 'skm' not found` | +| [Issue_3](/troubleshoot/linux/issue-3-error-installing-dependencies) | Error installing dependencies: `Unable to install dependencies` | +| [Issue_4](/troubleshoot/linux/issue-4-splashkit-library-not-found) | `error while loading shared libraries: libSplashKit.so: cannot open shared object file` when trying to run a SplashKit program or global install. | +| [Issue_5](/troubleshoot/linux/issue-5-test-install-fails-on-arch-linux) | Test install fails on Arch-based Linux distributions due to `libjxl` dependency errors with `SDL2_image`. | diff --git a/src/content/docs/troubleshoot/Linux/issue-1-bash-curl-not-working.mdx b/src/content/docs/troubleshoot/Linux/issue-1-bash-curl-not-working.mdx index 251f49748..2b198ca25 100644 --- a/src/content/docs/troubleshoot/Linux/issue-1-bash-curl-not-working.mdx +++ b/src/content/docs/troubleshoot/Linux/issue-1-bash-curl-not-working.mdx @@ -1,11 +1,11 @@ --- -title: "\"bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh)\" does nothing" +title: '"bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh)" does nothing' sidebar: label: 1. bash curl not working order: 1 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -42,7 +42,7 @@ If the command still doesn’t respond, you can manually download and execute th 1. Go to the [skm-install.sh script](https://github.com/splashkit/skm/blob/master/install-scripts/skm-install.sh). 2. Click the “Download raw file” button (see below): - ![Download Raw File](https://i.imgur.com/MWhWHRO.png) + ![Download Raw File](https://i.imgur.com/MWhWHRO.png) 3. Save the file to an easily accessible location, such as the Downloads folder. 4. Open Terminal and type the command `bash` (with a space after the word). diff --git a/src/content/docs/troubleshoot/Linux/issue-2-skm-not-found.mdx b/src/content/docs/troubleshoot/Linux/issue-2-skm-not-found.mdx index 7fa0d4b2d..2ed423f7b 100644 --- a/src/content/docs/troubleshoot/Linux/issue-2-skm-not-found.mdx +++ b/src/content/docs/troubleshoot/Linux/issue-2-skm-not-found.mdx @@ -5,7 +5,7 @@ sidebar: order: 2 --- -import { Tabs, TabItem, Steps } from '@astrojs/starlight/components'; +import { Tabs, TabItem, Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -30,16 +30,16 @@ Follow these steps to update your shell profiles and system library path to incl 1. To add SplashKit to your PATH, run the following commands: - ```zsh - echo "export PATH=\"$HOME/.splashkit:\$PATH\"" >> ~/.bashrc - source ~/.bashrc - ``` + ```zsh + echo "export PATH=\"$HOME/.splashkit:\$PATH\"" >> ~/.bashrc + source ~/.bashrc + ``` 2. Install the necessary dependencies, compile and install SplashKit globally with the following command: - ```shell - skm linux install - ``` + ```shell + skm linux install + ``` @@ -50,16 +50,16 @@ Follow these steps to update your shell profiles and system library path to incl 1. To add SplashKit to your PATH, run the following commands: - ```zsh - echo "export PATH=\"$HOME/.splashkit:\$PATH\"" >> ~/.zshrc - source ~/.zshrc - ``` + ```zsh + echo "export PATH=\"$HOME/.splashkit:\$PATH\"" >> ~/.zshrc + source ~/.zshrc + ``` 2. Install the necessary dependencies, compile and install SplashKit globally with the following command: - ```shell - skm linux install - ``` + ```shell + skm linux install + ``` diff --git a/src/content/docs/troubleshoot/Linux/issue-3-error-installing-dependencies.mdx b/src/content/docs/troubleshoot/Linux/issue-3-error-installing-dependencies.mdx index f0de8e46d..6861feb4d 100644 --- a/src/content/docs/troubleshoot/Linux/issue-3-error-installing-dependencies.mdx +++ b/src/content/docs/troubleshoot/Linux/issue-3-error-installing-dependencies.mdx @@ -5,7 +5,7 @@ sidebar: order: 3 --- -import { Tabs, TabItem, Steps } from '@astrojs/starlight/components'; +import { Tabs, TabItem, Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -23,64 +23,63 @@ You receive an error when running the installation script to install SplashKit, 1. Install the dependencies for your Linux distribution manually using the command below: - - - - ```shell - sudo apt-get install cmake libpng-dev libcurl4-openssl-dev libsdl2-dev libsdl2-mixer-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-net-dev libsdl2-ttf-dev libmikmod-dev libncurses5-dev libbz2-dev libflac-dev libvorbis-dev libwebp-dev libfreetype6-dev build-essential clang - ``` - - - - - - - ```shell - sudo pacman -S cmake libpng sdl2 sdl2_ttf sdl2_image sdl2_net sdl2_mixer sdl2_gfx clang freetype2 ncurses bzip2 flac libvorbis libmikmod libwebp - ``` - - - - - ```shell - yay -S cmake libpng sdl2 sdl2_ttf sdl2_image sdl2_net sdl2_mixer sdl2_gfx clang freetype2 ncurses bzip2 flac libvorbis libmikmod libwebp - ``` - - - - - - - ```shell - sudo dnf install cmake libpng SDL2 SDL2_ttf SDL2_image SDL2_net SDL2_mixer SDL2_gfx clang freetype ncurses bzip2 flac libvorbis libmikmod libwebp - ``` - - - - - If your distribution is not included above, you will need to install the following dependencies with the package manager for your linux distro: - - - cmake - - libpng - - SDL2 - - SDL2_ttf - - SDL2_image - - SDL2_net - - SDL2_mixer - - SDL2_gfx - - clang - - freetype - - ncurses - - bzip2 - - flac - - libvorbis - - libmikmod - - libwebp + + + + ```shell + sudo apt-get install cmake libpng-dev libcurl4-openssl-dev libsdl2-dev libsdl2-mixer-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-net-dev libsdl2-ttf-dev libmikmod-dev libncurses5-dev libbz2-dev libflac-dev libvorbis-dev libwebp-dev libfreetype6-dev build-essential clang + ``` + + + + + + + ```shell + sudo pacman -S cmake libpng sdl2 sdl2_ttf sdl2_image sdl2_net sdl2_mixer sdl2_gfx clang freetype2 ncurses bzip2 flac libvorbis libmikmod libwebp + ``` + + + + + ```shell + yay -S cmake libpng sdl2 sdl2_ttf sdl2_image sdl2_net sdl2_mixer sdl2_gfx clang freetype2 ncurses bzip2 flac libvorbis libmikmod libwebp + ``` + + + + + + + ```shell + sudo dnf install cmake libpng SDL2 SDL2_ttf SDL2_image SDL2_net SDL2_mixer SDL2_gfx clang freetype ncurses bzip2 flac libvorbis libmikmod libwebp + ``` + + + + + If your distribution is not included above, you will need to install the following dependencies with the package manager for your linux distro: + - cmake + - libpng + - SDL2 + - SDL2_ttf + - SDL2_image + - SDL2_net + - SDL2_mixer + - SDL2_gfx + - clang + - freetype + - ncurses + - bzip2 + - flac + - libvorbis + - libmikmod + - libwebp 2. Build and install SplashKit in the default globally locations using the following command: - ```shell - skm linux install - ``` + ```shell + skm linux install + ``` diff --git a/src/content/docs/troubleshoot/Linux/issue-4-splashkit-library-not-found.mdx b/src/content/docs/troubleshoot/Linux/issue-4-splashkit-library-not-found.mdx index f53bef915..23b628cb5 100644 --- a/src/content/docs/troubleshoot/Linux/issue-4-splashkit-library-not-found.mdx +++ b/src/content/docs/troubleshoot/Linux/issue-4-splashkit-library-not-found.mdx @@ -5,7 +5,7 @@ sidebar: order: 4 --- -import { Tabs, TabItem, Steps } from '@astrojs/starlight/components'; +import { Tabs, TabItem, Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -32,15 +32,15 @@ Follow these steps to update your shell profiles and system library path to incl 1. To add SplashKit to your PATH, run the following command: - ```zsh - echo "export PATH=\"$HOME/.splashkit:\$PATH\"" >> ~/.bashrc - ``` + ```zsh + echo "export PATH=\"$HOME/.splashkit:\$PATH\"" >> ~/.bashrc + ``` 2. Install the necessary dependencies, compile and install SplashKit globally with the following command: - ```shell - skm linux install - ``` + ```shell + skm linux install + ``` @@ -51,16 +51,16 @@ Follow these steps to update your shell profiles and system library path to incl 1. To add SplashKit to your PATH, run the following command: - ```zsh - echo "export PATH=\"$HOME/.splashkit:\$PATH\"" >> ~/.zshrc - source ~/.zshrc - ``` + ```zsh + echo "export PATH=\"$HOME/.splashkit:\$PATH\"" >> ~/.zshrc + source ~/.zshrc + ``` 2. Install the necessary dependencies, compile and install SplashKit globally with the following command: - ```shell - skm linux install - ``` + ```shell + skm linux install + ``` diff --git a/src/content/docs/troubleshoot/Linux/issue-5-test-install-fails-on-arch-linux.mdx b/src/content/docs/troubleshoot/Linux/issue-5-test-install-fails-on-arch-linux.mdx index 5caf17eb7..4c7233853 100644 --- a/src/content/docs/troubleshoot/Linux/issue-5-test-install-fails-on-arch-linux.mdx +++ b/src/content/docs/troubleshoot/Linux/issue-5-test-install-fails-on-arch-linux.mdx @@ -5,7 +5,7 @@ sidebar: order: 5 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -31,44 +31,44 @@ Follow the steps below to resolve the issue by upgrading dependencies or linking 1. **Step 1: Update System Repositories** - Ensure your system's package repositories are up-to-date by running the following command: + Ensure your system's package repositories are up-to-date by running the following command: - ```shell - sudo pacman -Syu - ``` + ```shell + sudo pacman -Syu + ``` - This will synchronize your system with the latest versions of all installed packages. + This will synchronize your system with the latest versions of all installed packages. 2. **Step 2: Use `pamac` to Update Without AUR Packages** - If the issue persists due to `SDL2_image` dependencies (e.g., `libjxl`), use `pamac` to update the package cache and repositories linked to newer dependency versions: + If the issue persists due to `SDL2_image` dependencies (e.g., `libjxl`), use `pamac` to update the package cache and repositories linked to newer dependency versions: - ```shell - pamac update --no-aur - ``` + ```shell + pamac update --no-aur + ``` - This command ensures that your system links to updated repositories and fetches the latest dependencies for `SDL2_image`. + This command ensures that your system links to updated repositories and fetches the latest dependencies for `SDL2_image`. 3. **Step 3: Verify Installation of `SDL2_image` Dependencies** - To manually check if `libjxl` and other related dependencies are installed, run: + To manually check if `libjxl` and other related dependencies are installed, run: - ```shell - pamac install libjxl - sudo pacman -S sdl2_image - ``` + ```shell + pamac install libjxl + sudo pacman -S sdl2_image + ``` - These commands will ensure that the necessary libraries for SplashKit are correctly installed. + These commands will ensure that the necessary libraries for SplashKit are correctly installed. 4. **Step 4: Run `skm global install`** - After updating the dependencies, run the SplashKit global installation: + After updating the dependencies, run the SplashKit global installation: - ```shell - skm global install - ``` + ```shell + skm global install + ``` - If the dependencies were resolved correctly, the installation should now complete without errors. + If the dependencies were resolved correctly, the installation should now complete without errors. diff --git a/src/content/docs/troubleshoot/Linux/issue-6-dotnet-not-found.mdx b/src/content/docs/troubleshoot/Linux/issue-6-dotnet-not-found.mdx index 923887aaf..8464e0c3f 100644 --- a/src/content/docs/troubleshoot/Linux/issue-6-dotnet-not-found.mdx +++ b/src/content/docs/troubleshoot/Linux/issue-6-dotnet-not-found.mdx @@ -5,7 +5,7 @@ sidebar: order: 6 --- -import { Steps, Tabs, TabItem } from '@astrojs/starlight/components'; +import { Steps, Tabs, TabItem } from "@astrojs/starlight/components"; :::caution[Issue:] diff --git a/src/content/docs/troubleshoot/MacOS/index.mdx b/src/content/docs/troubleshoot/MacOS/index.mdx index 1ea2b77d8..f06ae6f28 100644 --- a/src/content/docs/troubleshoot/MacOS/index.mdx +++ b/src/content/docs/troubleshoot/MacOS/index.mdx @@ -7,17 +7,17 @@ sidebar: class: apple --- -*{frontmatter.description}.* +_{frontmatter.description}._ -| Link | Description | -| ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- | -| [Issue_1](/troubleshoot/macos/issue-1-bash-curl-not-working) | `bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/installscripts/skm-install.sh)` does nothing. | -| [Issue_2](/troubleshoot/macos/issue-2-zshrc-permission-issues) | Permission issue when running SplashKit installation command. | -| [Issue_3](/troubleshoot/macos/issue-3-skm-not-found) | `zsh: command not found: skm` | -| [Issue_4](/troubleshoot/macos/issue-4-code-not-found) | `zsh: command not found: code` | -| [Issue_5](/troubleshoot/macos/issue-5-dotnet-not-found) | `zsh: command not found: dotnet` | -| [Issue_6](/troubleshoot/macos/issue-6-splashkitsdk-not-found) | Error that mentions `The type or namespace 'SplashKitSDK' could not be found` | -| [Issue_7](/troubleshoot/macos/issue-7-dotnet-run-unable-to-find-splashkit-library) | `dotnet run` command unable to find SplashKit library. | -| [Issue_8](/troubleshoot/macos/issue-8-python-module-not-found-error) | `ModuleNotFoundError: No module named 'splashkit'` when running Python programs. | -| [Issue_9](/troubleshoot/macos/issue-9-dotnet-add-package-splashkit-not-working) | Unable to add SplashKit NuGet package to project. | -| [Issue_10](/troubleshoot/macos/issue-10-using-older-osx-version) | `System.DllNotFoundException` error when using OSX version lower than 13 - macOS Ventura. | +| Link | Description | +| ---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| [Issue_1](/troubleshoot/macos/issue-1-bash-curl-not-working) | `bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/installscripts/skm-install.sh)` does nothing. | +| [Issue_2](/troubleshoot/macos/issue-2-zshrc-permission-issues) | Permission issue when running SplashKit installation command. | +| [Issue_3](/troubleshoot/macos/issue-3-skm-not-found) | `zsh: command not found: skm` | +| [Issue_4](/troubleshoot/macos/issue-4-code-not-found) | `zsh: command not found: code` | +| [Issue_5](/troubleshoot/macos/issue-5-dotnet-not-found) | `zsh: command not found: dotnet` | +| [Issue_6](/troubleshoot/macos/issue-6-splashkitsdk-not-found) | Error that mentions `The type or namespace 'SplashKitSDK' could not be found` | +| [Issue_7](/troubleshoot/macos/issue-7-dotnet-run-unable-to-find-splashkit-library) | `dotnet run` command unable to find SplashKit library. | +| [Issue_8](/troubleshoot/macos/issue-8-python-module-not-found-error) | `ModuleNotFoundError: No module named 'splashkit'` when running Python programs. | +| [Issue_9](/troubleshoot/macos/issue-9-dotnet-add-package-splashkit-not-working) | Unable to add SplashKit NuGet package to project. | +| [Issue_10](/troubleshoot/macos/issue-10-using-older-osx-version) | `System.DllNotFoundException` error when using OSX version lower than 13 - macOS Ventura. | diff --git a/src/content/docs/troubleshoot/MacOS/issue-1-bash-curl-not-working.mdx b/src/content/docs/troubleshoot/MacOS/issue-1-bash-curl-not-working.mdx index baf1434f1..82d00dbb0 100644 --- a/src/content/docs/troubleshoot/MacOS/issue-1-bash-curl-not-working.mdx +++ b/src/content/docs/troubleshoot/MacOS/issue-1-bash-curl-not-working.mdx @@ -1,11 +1,11 @@ --- -title: "\"bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh)\" does nothing" +title: '"bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh)" does nothing' sidebar: label: 1. bash curl not working order: 1 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -50,7 +50,7 @@ If the command still doesn’t respond, you can manually download and execute th 1. Go to the [skm-install.sh script](https://github.com/splashkit/skm/blob/master/install-scripts/skm-install.sh). 2. Click the “Download raw file” button (see below): - ![Download Raw File](https://i.imgur.com/MWhWHRO.png) + ![Download Raw File](https://i.imgur.com/MWhWHRO.png) 3. Save the file to an easily accessible location, such as the Downloads folder. 4. Open Terminal and type the command `bash` (with a space after the word). diff --git a/src/content/docs/troubleshoot/MacOS/issue-10-using-older-osx-version.mdx b/src/content/docs/troubleshoot/MacOS/issue-10-using-older-osx-version.mdx index 6d1c2066a..a09d5d1f2 100644 --- a/src/content/docs/troubleshoot/MacOS/issue-10-using-older-osx-version.mdx +++ b/src/content/docs/troubleshoot/MacOS/issue-10-using-older-osx-version.mdx @@ -5,7 +5,7 @@ sidebar: order: 9 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -68,7 +68,7 @@ Here are the most common commands you might use: - `skm dotnet run`: build if needed, then execute your program. :::note -After these commands, using `skm dotnet new` might affect the structure of SplashKit project files. Instead, you can use this [Template SplashKit Project](/resources/troubleshooting/Template_SplashKit_Project.zip) (*zipped folder*) for creating new projects. +After these commands, using `skm dotnet new` might affect the structure of SplashKit project files. Instead, you can use this [Template SplashKit Project](/resources/troubleshooting/Template_SplashKit_Project.zip) (_zipped folder_) for creating new projects. diff --git a/src/content/docs/troubleshoot/MacOS/issue-2-zshrc-permission-issues.mdx b/src/content/docs/troubleshoot/MacOS/issue-2-zshrc-permission-issues.mdx index ec3aea837..cae817c9f 100644 --- a/src/content/docs/troubleshoot/MacOS/issue-2-zshrc-permission-issues.mdx +++ b/src/content/docs/troubleshoot/MacOS/issue-2-zshrc-permission-issues.mdx @@ -5,7 +5,7 @@ sidebar: order: 2 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -27,25 +27,25 @@ The `bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/insta 1. Open the Terminal App, and run the following command: - ```shell - sudo chmod a=rw ~/.zshrc - ``` + ```shell + sudo chmod a=rw ~/.zshrc + ``` - :::note - If the error message mentions a different file such as `.bash_profile`, then you will use that file in the command above instead of the `.zshrc` file used in this example. - ::: + :::note + If the error message mentions a different file such as `.bash_profile`, then you will use that file in the command above instead of the `.zshrc` file used in this example. + ::: 2. Remove the existing `.splashkit` folder by running the following command: - ```shell - rm -rf ~/.splashkit - ``` + ```shell + rm -rf ~/.splashkit + ``` 3. Close and reopen the Terminal, and run the initial install script command again: - ```shell - bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh) - ``` + ```shell + bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh) + ``` @@ -62,39 +62,38 @@ To resolve this issue using Finder rather than the terminal, you can update the 1. Open Finder. 2. Click on "Go" at the top of the screen, then "Home": - ![Finder window showing how to get to Home folder](/images/troubleshoot/macos/finder-go-to-home.png) + ![Finder window showing how to get to Home folder](/images/troubleshoot/macos/finder-go-to-home.png) 3. Click into the **Macintosh HD** (or similar) folder, then the **Users** folder, and finally, click into the folder with your computer's username. 4. Show the hidden files with the shortcut: `Shift` + `Command` + `.` and you should be able to scroll down to see the file mentioned in the terminal error. - Here is an example to show the hidden `.zshrc` file mentioned in the screenshots above: + Here is an example to show the hidden `.zshrc` file mentioned in the screenshots above: - ![Finder window showing folder steps to .zshrc file](/images/troubleshoot/macos/finder-hidden-files-zshrc.png) + ![Finder window showing folder steps to .zshrc file](/images/troubleshoot/macos/finder-hidden-files-zshrc.png) - :::note - If the error message mentions a different file such as `.bash_profile`, then you will edit that file instead of the `.zshrc` file used in this example. - ::: + :::note + If the error message mentions a different file such as `.bash_profile`, then you will edit that file instead of the `.zshrc` file used in this example. + ::: 5. Right-click on the file and then select "**Get Info**". - You will see something that looks similar to this: + You will see something that looks similar to this: - ![Get info window for .zshrc file](/images/troubleshoot/macos/get-info-zshrc.png) + ![Get info window for .zshrc file](/images/troubleshoot/macos/get-info-zshrc.png) 6. Check the information in the orange boxes shown in the image above: - - Make sure the "**Locked**" checkbox is **not** ticked (as shown above). - Make sure the file has "**Read & Write**" Privileges for at least your username, but sometimes you may need to change all of them to Read & Write. 7. Close the Info window. 8. Open your terminal and run the SplashKit installation script command again: - ```bash - bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh) - ``` + ```bash + bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh) + ``` 9. If you get a message the SplashKit is already installed, copy the text to uninstall (highlighted in the image below - yours will have a different username): - ![Terminal window showing splashkit already installed](/images/troubleshoot/macos/skm-already-installed.png) + ![Terminal window showing splashkit already installed](/images/troubleshoot/macos/skm-already-installed.png) 10. Paste and run the command to uninstall SplashKit. 11. Close and re-open the Terminal and run the SplashKit installation script command again. diff --git a/src/content/docs/troubleshoot/MacOS/issue-3-skm-not-found.mdx b/src/content/docs/troubleshoot/MacOS/issue-3-skm-not-found.mdx index a5c45cb8b..e43b3ffa0 100644 --- a/src/content/docs/troubleshoot/MacOS/issue-3-skm-not-found.mdx +++ b/src/content/docs/troubleshoot/MacOS/issue-3-skm-not-found.mdx @@ -5,7 +5,7 @@ sidebar: order: 3 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -25,26 +25,26 @@ When trying to use `skm` in the terminal, you may encounter the error `zsh: comm 1. To add SplashKit to your PATH, run the following command: - ```shell - echo "export PATH=\"$HOME/.splashkit:\$PATH\"" >> ~/.zshrc - source ~/.zshrc - ``` + ```shell + echo "export PATH=\"$HOME/.splashkit:\$PATH\"" >> ~/.zshrc + source ~/.zshrc + ``` 2. Open a new terminal, and run the following command to install SplashKit in the default global locations: - ```shell - skm global install - ``` + ```shell + skm global install + ``` - :::note[Using OSX version older than 12.3?] + :::note[Using OSX version older than 12.3?] - If using an OSX version pre-12.3, you will need to build the library locally. You can do this by running: + If using an OSX version pre-12.3, you will need to build the library locally. You can do this by running: - ```shell - skm macos install - ``` + ```shell + skm macos install + ``` - ::: + ::: diff --git a/src/content/docs/troubleshoot/MacOS/issue-4-code-not-found.mdx b/src/content/docs/troubleshoot/MacOS/issue-4-code-not-found.mdx index 0af030ed5..1c4684f8f 100644 --- a/src/content/docs/troubleshoot/MacOS/issue-4-code-not-found.mdx +++ b/src/content/docs/troubleshoot/MacOS/issue-4-code-not-found.mdx @@ -5,7 +5,7 @@ sidebar: order: 4 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] diff --git a/src/content/docs/troubleshoot/MacOS/issue-5-dotnet-not-found.mdx b/src/content/docs/troubleshoot/MacOS/issue-5-dotnet-not-found.mdx index b3bad85bb..4ed16b79b 100644 --- a/src/content/docs/troubleshoot/MacOS/issue-5-dotnet-not-found.mdx +++ b/src/content/docs/troubleshoot/MacOS/issue-5-dotnet-not-found.mdx @@ -5,7 +5,7 @@ sidebar: order: 5 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] diff --git a/src/content/docs/troubleshoot/MacOS/issue-6-splashkitsdk-not-found.mdx b/src/content/docs/troubleshoot/MacOS/issue-6-splashkitsdk-not-found.mdx index f243e2a15..96fb5c876 100644 --- a/src/content/docs/troubleshoot/MacOS/issue-6-splashkitsdk-not-found.mdx +++ b/src/content/docs/troubleshoot/MacOS/issue-6-splashkitsdk-not-found.mdx @@ -5,7 +5,7 @@ sidebar: order: 6 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] diff --git a/src/content/docs/troubleshoot/MacOS/issue-7-dotnet-run-unable-to-find-splashkit-library.mdx b/src/content/docs/troubleshoot/MacOS/issue-7-dotnet-run-unable-to-find-splashkit-library.mdx index d3bdba5d1..b10bfcaa9 100644 --- a/src/content/docs/troubleshoot/MacOS/issue-7-dotnet-run-unable-to-find-splashkit-library.mdx +++ b/src/content/docs/troubleshoot/MacOS/issue-7-dotnet-run-unable-to-find-splashkit-library.mdx @@ -5,7 +5,7 @@ sidebar: order: 7 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -25,33 +25,33 @@ You get an error message when running the `dotnet run` command (after running th 1. Run the following command in a new terminal window: - ```shell - skm update - ``` + ```shell + skm update + ``` - Make sure to check if there are any errors in the output such as permissions issues. + Make sure to check if there are any errors in the output such as permissions issues. 2. You may also need to run: - ```shell - skm global install - ``` + ```shell + skm global install + ``` - This command is usually run when using the update command above, but running it again won't cause issues. + This command is usually run when using the update command above, but running it again won't cause issues. - :::note[Using OSX version older than 12.3?] + :::note[Using OSX version older than 12.3?] - If using an OSX version pre-12.3, you will need to build the library locally. You can do this by running: + If using an OSX version pre-12.3, you will need to build the library locally. You can do this by running: - ```shell - skm macos install - ``` + ```shell + skm macos install + ``` - ::: + ::: 3. To test if this has been resolved: - Create a new project folder and a new C# project. + Create a new project folder and a new C# project. diff --git a/src/content/docs/troubleshoot/MacOS/issue-9-dotnet-add-package-splashkit-not-working.mdx b/src/content/docs/troubleshoot/MacOS/issue-9-dotnet-add-package-splashkit-not-working.mdx index 4590683be..a46ed9b6c 100644 --- a/src/content/docs/troubleshoot/MacOS/issue-9-dotnet-add-package-splashkit-not-working.mdx +++ b/src/content/docs/troubleshoot/MacOS/issue-9-dotnet-add-package-splashkit-not-working.mdx @@ -5,7 +5,7 @@ sidebar: order: 9 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -24,13 +24,13 @@ To resolve this error, ensure your project (and folder) is NOT named "SplashKit" 1. **Rename Your Project Folder** - Make sure the folder where you create your SplashKit project does not have the name “SplashKit”. + Make sure the folder where you create your SplashKit project does not have the name “SplashKit”. - Choose a unique name for the folder, as the project name is automatically derived from it. + Choose a unique name for the folder, as the project name is automatically derived from it. 2. **Recreate the Project (if needed)** - If the error persists, try recreating the project in a new folder with a different name to avoid any cached references to the previous setup. + If the error persists, try recreating the project in a new folder with a different name to avoid any cached references to the previous setup. diff --git a/src/content/docs/troubleshoot/Windows (MSYS2)/index.mdx b/src/content/docs/troubleshoot/Windows (MSYS2)/index.mdx index 68462007e..53bd2fca8 100644 --- a/src/content/docs/troubleshoot/Windows (MSYS2)/index.mdx +++ b/src/content/docs/troubleshoot/Windows (MSYS2)/index.mdx @@ -7,12 +7,12 @@ sidebar: class: windows --- -*{frontmatter.description}.* +_{frontmatter.description}._ -| Link | Description | -| -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| [Issue_1](/troubleshoot/windows-msys2/issue-1-bash-curl-not-working) | `bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/installscripts/skm-install.sh)` does nothing | -| [Issue_2](/troubleshoot/windows-msys2/issue-2-skm-not-found) | `-bash: skm: command not found` | -| [Issue_3](/troubleshoot/windows-msys2/issue-3-dotnet-not-found) | `-bash: dotnet: command not found` | -| [Issue_4](/troubleshoot/windows-msys2/issue-4-code-not-found) | `-bash: code: command not found` | -| [Issue_5](/troubleshoot/windows-msys2/issue-5-splashkitsdk-not-found) | Error that mentions `The type or namespace 'SplashKitSDK' could not be found` | +| Link | Description | +| --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| [Issue_1](/troubleshoot/windows-msys2/issue-1-bash-curl-not-working) | `bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/installscripts/skm-install.sh)` does nothing | +| [Issue_2](/troubleshoot/windows-msys2/issue-2-skm-not-found) | `-bash: skm: command not found` | +| [Issue_3](/troubleshoot/windows-msys2/issue-3-dotnet-not-found) | `-bash: dotnet: command not found` | +| [Issue_4](/troubleshoot/windows-msys2/issue-4-code-not-found) | `-bash: code: command not found` | +| [Issue_5](/troubleshoot/windows-msys2/issue-5-splashkitsdk-not-found) | Error that mentions `The type or namespace 'SplashKitSDK' could not be found` | diff --git a/src/content/docs/troubleshoot/Windows (MSYS2)/issue-1-bash-curl-not-working.mdx b/src/content/docs/troubleshoot/Windows (MSYS2)/issue-1-bash-curl-not-working.mdx index 3953cac85..4f7d1e318 100644 --- a/src/content/docs/troubleshoot/Windows (MSYS2)/issue-1-bash-curl-not-working.mdx +++ b/src/content/docs/troubleshoot/Windows (MSYS2)/issue-1-bash-curl-not-working.mdx @@ -1,11 +1,11 @@ --- -title: "\"bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh)\" does nothing" +title: '"bash <(curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh)" does nothing' sidebar: label: 1. bash curl not working order: 1 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -48,13 +48,13 @@ If the command still doesn’t respond, you can manually download and execute th 1. Go to the [skm-install.sh script](https://github.com/splashkit/skm/blob/master/install-scripts/skm-install.sh). 2. Click the “Download raw file” button as shown below: - ![Download Raw File](https://i.imgur.com/MWhWHRO.png) + ![Download Raw File](https://i.imgur.com/MWhWHRO.png) 3. Save the file to a location you can easily access, such as your **Downloads** folder. 4. Open the **MINGW64** terminal and type `bash` (with a space at the end). 5. Drag the downloaded file from **File Explorer** into the terminal window to add its path, as shown here: - ![Drag and Drop Example](https://i.imgur.com/ZbcghXz.png) + ![Drag and Drop Example](https://i.imgur.com/ZbcghXz.png) 6. Press **Enter** to run the script. This should complete the installation of `skm`, allowing you to continue with the tutorial from the next step. diff --git a/src/content/docs/troubleshoot/Windows (MSYS2)/issue-2-skm-not-found.mdx b/src/content/docs/troubleshoot/Windows (MSYS2)/issue-2-skm-not-found.mdx index 636909dc6..94869ef26 100644 --- a/src/content/docs/troubleshoot/Windows (MSYS2)/issue-2-skm-not-found.mdx +++ b/src/content/docs/troubleshoot/Windows (MSYS2)/issue-2-skm-not-found.mdx @@ -5,7 +5,7 @@ sidebar: order: 2 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -29,51 +29,51 @@ Follow these steps to update your system “Path” variable: -1. **Open Environment Variables Settings** +1. **Open Environment Variables Settings** - Use the taskbar search bar to type “environment variables.” + Use the taskbar search bar to type “environment variables.” - Select the matching result, as shown below. + Select the matching result, as shown below. - ![Environment Variables Search](https://i.imgur.com/i3cb9nr.png) + ![Environment Variables Search](https://i.imgur.com/i3cb9nr.png) -2. **Access the Environment Variables Menu** +2. **Access the Environment Variables Menu** - In the “System Properties” window, go to the **Advanced** tab (red box) and click **Environment Variables** (green box). + In the “System Properties” window, go to the **Advanced** tab (red box) and click **Environment Variables** (green box). - ![System Properties](https://i.imgur.com/4Cbmnja.png) + ![System Properties](https://i.imgur.com/4Cbmnja.png) -3. **Select the Path Variable for Editing** +3. **Select the Path Variable for Editing** - In the Environment Variables window, locate the **Path** variable (red box) and select it, then click **Edit** (green box). + In the Environment Variables window, locate the **Path** variable (red box) and select it, then click **Edit** (green box). - ![Edit Path Variable](/images/troubleshoot/windows-msys2/env-var-windows.png) + ![Edit Path Variable](/images/troubleshoot/windows-msys2/env-var-windows.png) - :::tip[Finding your username] + :::tip[Finding your username] - To find your username for the paths in the next steps, open File Explorer or type `whoami` in the terminal to confirm your username. + To find your username for the paths in the next steps, open File Explorer or type `whoami` in the terminal to confirm your username. - ![Finding Username](https://i.imgur.com/2neJLOs.png) + ![Finding Username](https://i.imgur.com/2neJLOs.png) - ::: + ::: 4. **Add Required Paths for SplashKit** - In the “Edit Environment Variable” window, click **New** and then add the paths below (replacing `livmc` with your own username): + In the “Edit Environment Variable” window, click **New** and then add the paths below (replacing `livmc` with your own username): - ```plaintext - C:\msys64\mingw64\bin - C:\msys64\home\livmc\.splashkit - C:\msys64\home\livmc\.splashkit\lib\win64 - ``` + ```plaintext + C:\msys64\mingw64\bin + C:\msys64\home\livmc\.splashkit + C:\msys64\home\livmc\.splashkit\lib\win64 + ``` - ![Add Paths](/images/troubleshoot/windows-msys2/env-var-paths.png) + ![Add Paths](/images/troubleshoot/windows-msys2/env-var-paths.png) - Once the paths are added, click **OK** on all open windows to save your changes. + Once the paths are added, click **OK** on all open windows to save your changes. -5. **Verify the Update** +5. **Verify the Update** - Open a **new** MINGW64 terminal and run your program to confirm the paths have been correctly set and that SplashKit functions as expected. + Open a **new** MINGW64 terminal and run your program to confirm the paths have been correctly set and that SplashKit functions as expected. diff --git a/src/content/docs/troubleshoot/Windows (MSYS2)/issue-3-dotnet-not-found.mdx b/src/content/docs/troubleshoot/Windows (MSYS2)/issue-3-dotnet-not-found.mdx index 50ed6e861..808b97508 100644 --- a/src/content/docs/troubleshoot/Windows (MSYS2)/issue-3-dotnet-not-found.mdx +++ b/src/content/docs/troubleshoot/Windows (MSYS2)/issue-3-dotnet-not-found.mdx @@ -5,7 +5,7 @@ sidebar: order: 3 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -29,41 +29,41 @@ Follow these steps to update your system “Path” variable: -1. **Open Environment Variables Settings** +1. **Open Environment Variables Settings** - Use the taskbar search bar to type “environment variables”. + Use the taskbar search bar to type “environment variables”. - Select the matching result, as shown below. + Select the matching result, as shown below. - ![Environment Variables Search](https://i.imgur.com/i3cb9nr.png) + ![Environment Variables Search](https://i.imgur.com/i3cb9nr.png) -2. **Access the Environment Variables Menu** +2. **Access the Environment Variables Menu** - In the “System Properties” window, go to the **Advanced** tab (red box) and click **Environment Variables** (green box). + In the “System Properties” window, go to the **Advanced** tab (red box) and click **Environment Variables** (green box). - ![System Properties](https://i.imgur.com/4Cbmnja.png) + ![System Properties](https://i.imgur.com/4Cbmnja.png) -3. **Select the Path Variable for Editing** +3. **Select the Path Variable for Editing** - In the Environment Variables window, locate the **Path** variable (red box) and select it, then click **Edit** (green box). + In the Environment Variables window, locate the **Path** variable (red box) and select it, then click **Edit** (green box). - ![Edit Path Variable](/images/troubleshoot/windows-msys2/env-var-windows.png) + ![Edit Path Variable](/images/troubleshoot/windows-msys2/env-var-windows.png) 4. **Add Required Path for dotnet** - In the “Edit Environment Variable” window, click **New** and then add the path below: + In the “Edit Environment Variable” window, click **New** and then add the path below: - ```plaintext - C:\Program files\dotnet - ``` + ```plaintext + C:\Program files\dotnet + ``` - ![Path Configuration Example](https://i.imgur.com/T6wIBWt.png) + ![Path Configuration Example](https://i.imgur.com/T6wIBWt.png) - Once the path is added, click **OK** on all open windows to save your changes. + Once the path is added, click **OK** on all open windows to save your changes. -5. **Verify the Update** +5. **Verify the Update** - Open a **new** MINGW64 terminal and run your program to confirm the paths have been correctly set and that SplashKit functions as expected. + Open a **new** MINGW64 terminal and run your program to confirm the paths have been correctly set and that SplashKit functions as expected. diff --git a/src/content/docs/troubleshoot/Windows (MSYS2)/issue-4-code-not-found.mdx b/src/content/docs/troubleshoot/Windows (MSYS2)/issue-4-code-not-found.mdx index 3d31e3009..b15b34ca3 100644 --- a/src/content/docs/troubleshoot/Windows (MSYS2)/issue-4-code-not-found.mdx +++ b/src/content/docs/troubleshoot/Windows (MSYS2)/issue-4-code-not-found.mdx @@ -5,7 +5,7 @@ sidebar: order: 3 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -29,49 +29,49 @@ Follow these steps to update your system “Path” variable: -1. **Open Environment Variables Settings** +1. **Open Environment Variables Settings** - Use the taskbar search bar to type “environment variables”. + Use the taskbar search bar to type “environment variables”. - Select the matching result, as shown below. + Select the matching result, as shown below. - ![Environment Variables Search](https://i.imgur.com/i3cb9nr.png) + ![Environment Variables Search](https://i.imgur.com/i3cb9nr.png) -2. **Access the Environment Variables Menu** +2. **Access the Environment Variables Menu** - In the “System Properties” window, go to the **Advanced** tab (red box) and click **Environment Variables** (green box). + In the “System Properties” window, go to the **Advanced** tab (red box) and click **Environment Variables** (green box). - ![System Properties](https://i.imgur.com/4Cbmnja.png) + ![System Properties](https://i.imgur.com/4Cbmnja.png) -3. **Select the Path Variable for Editing** +3. **Select the Path Variable for Editing** - In the Environment Variables window, locate the **Path** variable (red box) and select it, then click **Edit** (green box). + In the Environment Variables window, locate the **Path** variable (red box) and select it, then click **Edit** (green box). - ![Edit Path Variable](/images/troubleshoot/windows-msys2/env-var-windows.png) + ![Edit Path Variable](/images/troubleshoot/windows-msys2/env-var-windows.png) - :::tip[Finding your username] + :::tip[Finding your username] - To find your username for the paths in the next steps, open File Explorer or type `whoami` in the terminal to confirm your username. + To find your username for the paths in the next steps, open File Explorer or type `whoami` in the terminal to confirm your username. - ![Finding Username](https://i.imgur.com/2neJLOs.png) + ![Finding Username](https://i.imgur.com/2neJLOs.png) - ::: + ::: 4. **Add Required Path for VS Code** - In the “Edit Environment Variable” window, click **New** and then add the path below (replacing `livmc` with your own username): + In the “Edit Environment Variable” window, click **New** and then add the path below (replacing `livmc` with your own username): - ```plaintext - C:\Users\livmc\AppData\Local\Programs\Microsoft VS Code\bin - ``` + ```plaintext + C:\Users\livmc\AppData\Local\Programs\Microsoft VS Code\bin + ``` - {/* TODO: Add image with path */} + {/* TODO: Add image with path */} - Once the path is added, click **OK** on all open windows to save your changes. + Once the path is added, click **OK** on all open windows to save your changes. -5. **Verify the Update** +5. **Verify the Update** - Open a **new** MINGW64 terminal and run your program to confirm the paths have been correctly set and that SplashKit functions as expected. + Open a **new** MINGW64 terminal and run your program to confirm the paths have been correctly set and that SplashKit functions as expected. diff --git a/src/content/docs/troubleshoot/Windows (MSYS2)/issue-5-splashkitsdk-not-found.mdx b/src/content/docs/troubleshoot/Windows (MSYS2)/issue-5-splashkitsdk-not-found.mdx index d1fcf577b..26e55f80f 100644 --- a/src/content/docs/troubleshoot/Windows (MSYS2)/issue-5-splashkitsdk-not-found.mdx +++ b/src/content/docs/troubleshoot/Windows (MSYS2)/issue-5-splashkitsdk-not-found.mdx @@ -5,7 +5,7 @@ sidebar: order: 5 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] diff --git a/src/content/docs/troubleshoot/Windows (WSL)/index.mdx b/src/content/docs/troubleshoot/Windows (WSL)/index.mdx index 9cb6671f1..399b271ef 100644 --- a/src/content/docs/troubleshoot/Windows (WSL)/index.mdx +++ b/src/content/docs/troubleshoot/Windows (WSL)/index.mdx @@ -7,11 +7,11 @@ sidebar: class: windows-wsl --- -*{frontmatter.description}.* +_{frontmatter.description}._ -| Link | Description | -| ------------------------------------------------ | ------------------------------------------------------------------------------------------------- | -| [Issue_1](/troubleshoot/windows-wsl/issue-1-user-account-issues) | Issues creating Ubuntu (WSL) user account. | +| Link | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | +| [Issue_1](/troubleshoot/windows-wsl/issue-1-user-account-issues) | Issues creating Ubuntu (WSL) user account. | | [Issue_2](/troubleshoot/windows-wsl/issue-2-gui-applications-not-working) | `Exception has occurred: CLR/System.StackOverflowException` when trying to open GUI applications. | You may also want to look at the [Linux troubleshooting pages](/troubleshoot/linux/) diff --git a/src/content/docs/troubleshoot/Windows (WSL)/issue-1-user-account-issues.mdx b/src/content/docs/troubleshoot/Windows (WSL)/issue-1-user-account-issues.mdx index 7c72561db..85a9c8b02 100644 --- a/src/content/docs/troubleshoot/Windows (WSL)/issue-1-user-account-issues.mdx +++ b/src/content/docs/troubleshoot/Windows (WSL)/issue-1-user-account-issues.mdx @@ -5,7 +5,7 @@ sidebar: order: 1 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -16,7 +16,7 @@ You have issues with the WSL (with **Ubuntu**) installation, such as: - You made a mistake when creating your username or password - You get an error that might look similar to this: - ![Image showing WSL terminal with ubuntu user account set up error](/images/troubleshoot/windows-wsl/unbuntu-wsl-reinstall-issue.png) + ![Image showing WSL terminal with ubuntu user account set up error](/images/troubleshoot/windows-wsl/unbuntu-wsl-reinstall-issue.png) ::: @@ -31,22 +31,22 @@ Reset your Ubuntu user account with the following steps: 1. Open a **Powershell** Terminal window. 2. Run the following command to reset the Ubuntu setup: - ```bash - wsl --unregister Ubuntu - ``` + ```bash + wsl --unregister Ubuntu + ``` 3. Then run the install command again: - ```bash - wsl --install - ``` + ```bash + wsl --install + ``` 4. Close all Terminal/Powershell windows. 5. Open the Ubuntu app (search in the start menu) -This should then open a Terminal window that will start ***Installing Ubuntu*** again, and then you can set up your username and password again. +This should then open a Terminal window that will start **_Installing Ubuntu_** again, and then you can set up your username and password again. :::note[Password not showing] Note that when you enter your new password in the terminal, it won't show any output, but it is reading the keyboard input. diff --git a/src/content/docs/troubleshoot/Windows (WSL)/issue-2-gui-applications-not-working.mdx b/src/content/docs/troubleshoot/Windows (WSL)/issue-2-gui-applications-not-working.mdx index ef04ee348..d881dd09f 100644 --- a/src/content/docs/troubleshoot/Windows (WSL)/issue-2-gui-applications-not-working.mdx +++ b/src/content/docs/troubleshoot/Windows (WSL)/issue-2-gui-applications-not-working.mdx @@ -5,7 +5,7 @@ sidebar: order: 2 --- -import { Steps } from '@astrojs/starlight/components'; +import { Steps } from "@astrojs/starlight/components"; :::caution[Issue:] @@ -45,7 +45,6 @@ To enable Linux GUI applications in WSL, follow these steps to ensure you have t 2. **Install the Appropriate vGPU Driver** Install the correct virtual GPU (vGPU) driver for your system to enable support for Linux GUI applications in WSL. Select the driver that matches your hardware: - - [Intel Graphics Driver](https://www.intel.com/content/www/us/en/download/19344/intel-graphics-windows-dch-drivers.html) - [AMD Graphics Driver](https://www.amd.com/en/support/download/drivers.html) - [NVIDIA Graphics Driver](https://www.nvidia.com/Download/index.aspx?lang=en-us) diff --git a/src/content/docs/troubleshoot/index.mdx b/src/content/docs/troubleshoot/index.mdx index 9ed1debbe..ae0df8612 100644 --- a/src/content/docs/troubleshoot/index.mdx +++ b/src/content/docs/troubleshoot/index.mdx @@ -11,7 +11,7 @@ sidebar: hidden: true --- -import { LinkCard, CardGrid } from '@astrojs/starlight/components'; +import { LinkCard, CardGrid } from "@astrojs/starlight/components"; :::tip[Troubleshooting with SplashKit?] If you encounter issues, ensure SplashKit is properly installed, check for syntax errors in your code, and consult the documentation for common solutions. @@ -32,7 +32,7 @@ Updating your SplashKit installation can often resolve compatibility or bug-rela /> img { +[data-has-hero] .hero > img { filter: drop-shadow(0 0 3rem var(--overlay-blurple)); } @@ -51,7 +54,7 @@ iframe[id="stackblitz-iframe"] { min-height: 600px; } -[data-has-hero] .hero>div.sl-flex { +[data-has-hero] .hero > div.sl-flex { align-self: flex-start; } @@ -327,7 +330,9 @@ code { color: var(--icon-color); /* Use the defined icon color */ font-weight: bold; - transition: transform 0.2s ease, color 0.2s ease; + transition: + transform 0.2s ease, + color 0.2s ease; /* Smooth transition for icon change */ } @@ -623,4 +628,4 @@ mjx-container svg { /* ----- End Tab Styling ----- -*/ \ No newline at end of file +*/ diff --git a/tsconfig.json b/tsconfig.json index 032ad645d..b7243b92c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,4 +4,4 @@ "jsx": "react-jsx", "jsxImportSource": "react" } -} \ No newline at end of file +}