2032 lines
113 KiB
HTML
2032 lines
113 KiB
HTML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<!-- This file is generated by Nim. -->
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<!-- Favicon -->
|
|
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
|
|
|
|
<!-- Google fonts -->
|
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
|
|
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
|
|
|
|
<!-- CSS -->
|
|
<title>Module image</title>
|
|
<style type="text/css" >
|
|
/*
|
|
Stylesheet for use with Docutils/rst2html.
|
|
|
|
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
|
|
customize this style sheet.
|
|
|
|
Modified from Chad Skeeters' rst2html-style
|
|
https://bitbucket.org/cskeeters/rst2html-style/
|
|
|
|
Modified by Boyd Greenfield
|
|
*/
|
|
/* SCSS variables */
|
|
/* Text weights */
|
|
/* Body colors */
|
|
/* Text colors */
|
|
/* Link colors */
|
|
/* Syntax highlighting colors */
|
|
/* Pct changes */
|
|
/* Mixins */
|
|
/* Body/layout */
|
|
html {
|
|
font-size: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
-ms-text-size-adjust: 100%; }
|
|
|
|
/* Where we want fancier font if available */
|
|
h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
|
|
|
|
h1.title {
|
|
font-weight: 900; }
|
|
|
|
body {
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 20px;
|
|
color: #444;
|
|
letter-spacing: 0.15px;
|
|
background-color: #FDFBFA; }
|
|
|
|
/* Skeleton grid */
|
|
.container {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
box-sizing: border-box; }
|
|
|
|
.column,
|
|
.columns {
|
|
width: 100%;
|
|
float: left;
|
|
box-sizing: border-box; }
|
|
|
|
/* For devices larger than 400px */
|
|
@media (min-width: 400px) {
|
|
.container {
|
|
width: 100%;
|
|
padding: 0; } }
|
|
/* For devices larger than 650px */
|
|
@media (min-width: 650px) {
|
|
.container {
|
|
width: 100%; }
|
|
|
|
.column,
|
|
.columns {
|
|
margin-left: 4%; }
|
|
|
|
.column:first-child,
|
|
.columns:first-child {
|
|
margin-left: 0; }
|
|
|
|
.one.column,
|
|
.one.columns {
|
|
width: 4.66666666667%; }
|
|
|
|
.two.columns {
|
|
width: 13.3333333333%; }
|
|
|
|
.three.columns {
|
|
width: 22%; }
|
|
|
|
.four.columns {
|
|
width: 30.6666666667%; }
|
|
|
|
.five.columns {
|
|
width: 39.3333333333%; }
|
|
|
|
.six.columns {
|
|
width: 48%; }
|
|
|
|
.seven.columns {
|
|
width: 56.6666666667%; }
|
|
|
|
.eight.columns {
|
|
width: 65.3333333333%; }
|
|
|
|
.nine.columns {
|
|
width: 74.0%; }
|
|
|
|
.ten.columns {
|
|
width: 82.6666666667%; }
|
|
|
|
.eleven.columns {
|
|
width: 91.3333333333%; }
|
|
|
|
.twelve.columns {
|
|
width: 100%;
|
|
margin-left: 0; }
|
|
|
|
.one-third.column {
|
|
width: 30.6666666667%; }
|
|
|
|
.two-thirds.column {
|
|
width: 65.3333333333%; } }
|
|
/* Customer Overrides */
|
|
.footer {
|
|
text-align: center;
|
|
color: #969696;
|
|
padding-top: 10%; }
|
|
|
|
p.module-desc {
|
|
font-size: 1.1em;
|
|
color: #666666; }
|
|
|
|
a.link-seesrc {
|
|
color: #aec7d2;
|
|
font-style: italic; }
|
|
|
|
a.link-seesrc:hover {
|
|
color: #6c9aae; }
|
|
|
|
#toc-list {
|
|
word-wrap: break-word; }
|
|
|
|
ul.simple-toc {
|
|
list-style: none; }
|
|
|
|
ul.simple-toc a.reference-toplevel {
|
|
font-weight: bold;
|
|
color: #0077b3; }
|
|
|
|
ul.simple-toc-section {
|
|
list-style-type: circle;
|
|
color: #6c9aae; }
|
|
|
|
ul.simple-toc-section a.reference {
|
|
color: #0077b3; }
|
|
|
|
cite {
|
|
font-style: italic !important; }
|
|
|
|
dt > pre {
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
background-color: rgba(255, 255, 255, 0.3);
|
|
margin: 15px 0px 5px; }
|
|
|
|
dd > pre {
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
background-color: whitesmoke;
|
|
margin-top: 8px; }
|
|
|
|
.item > dd {
|
|
margin-left: 10px;
|
|
margin-bottom: 30px; }
|
|
|
|
/* Nim line-numbered tables */
|
|
.line-nums-table {
|
|
width: 100%;
|
|
table-layout: fixed; }
|
|
|
|
/* Nim search input */
|
|
div#searchInputDiv {
|
|
margin-bottom: 8px;
|
|
}
|
|
div#searchInputDiv input#searchInput {
|
|
width: 10em;
|
|
}
|
|
div.search-groupby {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
table.line-nums-table {
|
|
border-radius: 4px;
|
|
border: 1px solid #cccccc;
|
|
background-color: whitesmoke;
|
|
border-collapse: separate;
|
|
margin-top: 15px;
|
|
margin-bottom: 25px; }
|
|
|
|
.line-nums-table tbody {
|
|
border: none; }
|
|
|
|
.line-nums-table td pre {
|
|
border: none;
|
|
background-color: transparent; }
|
|
|
|
.line-nums-table td.blob-line-nums {
|
|
width: 28px; }
|
|
|
|
.line-nums-table td.blob-line-nums pre {
|
|
color: #b0b0b0;
|
|
-webkit-filter: opacity(75%);
|
|
text-align: right;
|
|
border-color: transparent;
|
|
background-color: transparent;
|
|
padding-left: 0px;
|
|
margin-left: 0px;
|
|
padding-right: 0px;
|
|
margin-right: 0px; }
|
|
|
|
/* Docgen styles */
|
|
/* Links */
|
|
a {
|
|
color: #0077b3;
|
|
text-decoration: none; }
|
|
|
|
a:hover,
|
|
a:focus {
|
|
color: #00334d;
|
|
text-decoration: underline; }
|
|
|
|
a:visited {
|
|
color: #00334d; }
|
|
|
|
a:focus {
|
|
outline: thin dotted #2d2d2d;
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
outline-offset: -2px; }
|
|
|
|
a:hover,
|
|
a:active {
|
|
outline: 0; }
|
|
|
|
sub,
|
|
sup {
|
|
position: relative;
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
vertical-align: baseline; }
|
|
|
|
sup {
|
|
top: -0.5em; }
|
|
|
|
sub {
|
|
bottom: -0.25em; }
|
|
|
|
img {
|
|
width: auto;
|
|
height: auto;
|
|
max-width: 100%;
|
|
vertical-align: middle;
|
|
border: 0;
|
|
-ms-interpolation-mode: bicubic; }
|
|
|
|
@media print {
|
|
* {
|
|
color: black !important;
|
|
text-shadow: none !important;
|
|
background: transparent !important;
|
|
box-shadow: none !important; }
|
|
|
|
a,
|
|
a:visited {
|
|
text-decoration: underline; }
|
|
|
|
a[href]:after {
|
|
content: " (" attr(href) ")"; }
|
|
|
|
abbr[title]:after {
|
|
content: " (" attr(title) ")"; }
|
|
|
|
.ir a:after,
|
|
a[href^="javascript:"]:after,
|
|
a[href^="#"]:after {
|
|
content: ""; }
|
|
|
|
pre,
|
|
blockquote {
|
|
border: 1px solid #999;
|
|
page-break-inside: avoid; }
|
|
|
|
thead {
|
|
display: table-header-group; }
|
|
|
|
tr,
|
|
img {
|
|
page-break-inside: avoid; }
|
|
|
|
img {
|
|
max-width: 100% !important; }
|
|
|
|
@page {
|
|
margin: 0.5cm; }
|
|
|
|
h1 {
|
|
page-break-before: always; }
|
|
|
|
h1.title {
|
|
page-break-before: avoid; }
|
|
|
|
p,
|
|
h2,
|
|
h3 {
|
|
orphans: 3;
|
|
widows: 3; }
|
|
|
|
h2,
|
|
h3 {
|
|
page-break-after: avoid; } }
|
|
.img-rounded {
|
|
-webkit-border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
border-radius: 6px; }
|
|
|
|
.img-polaroid {
|
|
padding: 4px;
|
|
background-color: rgba(252, 248, 244, 0.75);
|
|
border: 1px solid #ccc;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
|
|
|
|
p {
|
|
margin: 0 0 8px; }
|
|
|
|
small {
|
|
font-size: 85%; }
|
|
|
|
strong {
|
|
font-weight: 600; }
|
|
|
|
em {
|
|
font-style: italic; }
|
|
|
|
cite {
|
|
font-style: normal; }
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
|
|
font-weight: 600;
|
|
line-height: 20px;
|
|
color: inherit;
|
|
text-rendering: optimizelegibility; }
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
font-weight: 400;
|
|
padding-bottom: .15em;
|
|
border-bottom: 1px solid #aaaaaa;
|
|
margin-top: 1.0em;
|
|
line-height: 1.2em; }
|
|
|
|
h1.title {
|
|
padding-bottom: 1em;
|
|
border-bottom: 0px;
|
|
font-size: 2.75em; }
|
|
|
|
h2 {
|
|
font-size: 1.5em;
|
|
margin-top: 1.5em; }
|
|
|
|
h3 {
|
|
font-size: 1.3em;
|
|
font-style: italic;
|
|
margin-top: 0.75em; }
|
|
|
|
h4 {
|
|
font-size: 1.3em;
|
|
margin-top: 0.5em; }
|
|
|
|
h5 {
|
|
font-size: 1.2em;
|
|
margin-top: 0.25em; }
|
|
|
|
h6 {
|
|
font-size: 1.1em; }
|
|
|
|
ul,
|
|
ol {
|
|
padding: 0;
|
|
margin: 0 0 0px 15px; }
|
|
|
|
ul ul,
|
|
ul ol,
|
|
ol ol,
|
|
ol ul {
|
|
margin-bottom: 0; }
|
|
|
|
li {
|
|
line-height: 20px; }
|
|
|
|
dl {
|
|
margin-bottom: 20px; }
|
|
|
|
dt,
|
|
dd {
|
|
line-height: 20px; }
|
|
|
|
dt {
|
|
font-weight: bold; }
|
|
|
|
dd {
|
|
margin-left: 10px;
|
|
margin-bottom: 26px; }
|
|
|
|
hr {
|
|
margin: 20px 0;
|
|
border: 0;
|
|
border-top: 1px solid #eeeeee;
|
|
border-bottom: 1px solid #ffffff; }
|
|
|
|
abbr[title],
|
|
abbr[data-original-title] {
|
|
cursor: help;
|
|
border-bottom: 1px dotted #999999; }
|
|
|
|
abbr.initialism {
|
|
font-size: 90%;
|
|
text-transform: uppercase; }
|
|
|
|
blockquote {
|
|
padding: 0 0 0 15px;
|
|
margin: 0 0 20px;
|
|
border-left: 5px solid #EFEBE0; }
|
|
|
|
table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
|
|
border-left: 5px solid #c9c9c9;
|
|
}
|
|
|
|
table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
|
|
margin-bottom: 0;
|
|
font-size: 15px;
|
|
font-weight: 200;
|
|
line-height: 1.5;
|
|
font-style: italic; }
|
|
|
|
q:before,
|
|
q:after,
|
|
blockquote:before,
|
|
blockquote:after {
|
|
content: ""; }
|
|
|
|
address {
|
|
display: block;
|
|
margin-bottom: 20px;
|
|
font-style: normal;
|
|
line-height: 20px; }
|
|
|
|
code,
|
|
pre {
|
|
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
padding: 0 3px 2px;
|
|
font-weight: 500;
|
|
font-size: 12px;
|
|
color: #444444;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px; }
|
|
|
|
.pre {
|
|
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
font-weight: 600;
|
|
/*color: #504da6;*/
|
|
}
|
|
|
|
code {
|
|
padding: 2px 4px;
|
|
color: #444444;
|
|
white-space: nowrap;
|
|
background-color: white;
|
|
border: 1px solid #777777; }
|
|
|
|
pre {
|
|
display: inline-block;
|
|
box-sizing: border-box;
|
|
min-width: calc(100% - 19.5px);
|
|
padding: 9.5px;
|
|
margin: 0.25em 10px 10px 10px;
|
|
font-size: 15px;
|
|
line-height: 20px;
|
|
white-space: pre !important;
|
|
overflow-y: hidden;
|
|
overflow-x: visible;
|
|
background-color: rgba(0, 0, 0, 0.01);
|
|
border: 1px solid #cccccc;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px; }
|
|
|
|
pre.prettyprint {
|
|
margin-bottom: 20px; }
|
|
|
|
pre code {
|
|
padding: 0;
|
|
color: inherit;
|
|
white-space: pre;
|
|
overflow-x: visible;
|
|
background-color: transparent;
|
|
border: 0; }
|
|
|
|
.pre-scrollable {
|
|
max-height: 340px;
|
|
overflow-y: scroll; }
|
|
|
|
table {
|
|
max-width: 100%;
|
|
background-color: transparent;
|
|
border-collapse: collapse;
|
|
border-spacing: 0; }
|
|
|
|
table th, table td {
|
|
padding: 0px 8px 0px;
|
|
}
|
|
|
|
.table {
|
|
width: 100%;
|
|
margin-bottom: 20px; }
|
|
|
|
.table th,
|
|
.table td {
|
|
padding: 8px;
|
|
line-height: 20px;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
border-top: 1px solid #444444; }
|
|
|
|
.table th {
|
|
font-weight: bold; }
|
|
|
|
.table thead th {
|
|
vertical-align: bottom; }
|
|
|
|
.table caption + thead tr:first-child th,
|
|
.table caption + thead tr:first-child td,
|
|
.table colgroup + thead tr:first-child th,
|
|
.table colgroup + thead tr:first-child td,
|
|
.table thead:first-child tr:first-child th,
|
|
.table thead:first-child tr:first-child td {
|
|
border-top: 0; }
|
|
|
|
.table tbody + tbody {
|
|
border-top: 2px solid #444444; }
|
|
|
|
.table .table {
|
|
background-color: rgba(252, 248, 244, 0.75); }
|
|
|
|
.table-condensed th,
|
|
.table-condensed td {
|
|
padding: 4px 5px; }
|
|
|
|
.table-bordered {
|
|
border: 1px solid #444444;
|
|
border-collapse: separate;
|
|
*border-collapse: collapse;
|
|
border-left: 0;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px; }
|
|
|
|
.table-bordered th,
|
|
.table-bordered td {
|
|
border-left: 1px solid #444444; }
|
|
|
|
.table-bordered caption + thead tr:first-child th,
|
|
.table-bordered caption + tbody tr:first-child th,
|
|
.table-bordered caption + tbody tr:first-child td,
|
|
.table-bordered colgroup + thead tr:first-child th,
|
|
.table-bordered colgroup + tbody tr:first-child th,
|
|
.table-bordered colgroup + tbody tr:first-child td,
|
|
.table-bordered thead:first-child tr:first-child th,
|
|
.table-bordered tbody:first-child tr:first-child th,
|
|
.table-bordered tbody:first-child tr:first-child td {
|
|
border-top: 0; }
|
|
|
|
.table-bordered thead:first-child tr:first-child > th:first-child,
|
|
.table-bordered tbody:first-child tr:first-child > td:first-child,
|
|
.table-bordered tbody:first-child tr:first-child > th:first-child {
|
|
-webkit-border-top-left-radius: 4px;
|
|
border-top-left-radius: 4px;
|
|
-moz-border-radius-topleft: 4px; }
|
|
|
|
.table-bordered thead:first-child tr:first-child > th:last-child,
|
|
.table-bordered tbody:first-child tr:first-child > td:last-child,
|
|
.table-bordered tbody:first-child tr:first-child > th:last-child {
|
|
-webkit-border-top-right-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
-moz-border-radius-topright: 4px; }
|
|
|
|
.table-bordered thead:last-child tr:last-child > th:first-child,
|
|
.table-bordered tbody:last-child tr:last-child > td:first-child,
|
|
.table-bordered tbody:last-child tr:last-child > th:first-child,
|
|
.table-bordered tfoot:last-child tr:last-child > td:first-child,
|
|
.table-bordered tfoot:last-child tr:last-child > th:first-child {
|
|
-webkit-border-bottom-left-radius: 4px;
|
|
border-bottom-left-radius: 4px;
|
|
-moz-border-radius-bottomleft: 4px; }
|
|
|
|
.table-bordered thead:last-child tr:last-child > th:last-child,
|
|
.table-bordered tbody:last-child tr:last-child > td:last-child,
|
|
.table-bordered tbody:last-child tr:last-child > th:last-child,
|
|
.table-bordered tfoot:last-child tr:last-child > td:last-child,
|
|
.table-bordered tfoot:last-child tr:last-child > th:last-child {
|
|
-webkit-border-bottom-right-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
-moz-border-radius-bottomright: 4px; }
|
|
|
|
.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
|
|
-webkit-border-bottom-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
-moz-border-radius-bottomleft: 0; }
|
|
|
|
.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
|
|
-webkit-border-bottom-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
-moz-border-radius-bottomright: 0; }
|
|
|
|
.table-bordered caption + thead tr:first-child th:first-child,
|
|
.table-bordered caption + tbody tr:first-child td:first-child,
|
|
.table-bordered colgroup + thead tr:first-child th:first-child,
|
|
.table-bordered colgroup + tbody tr:first-child td:first-child {
|
|
-webkit-border-top-left-radius: 4px;
|
|
border-top-left-radius: 4px;
|
|
-moz-border-radius-topleft: 4px; }
|
|
|
|
.table-bordered caption + thead tr:first-child th:last-child,
|
|
.table-bordered caption + tbody tr:first-child td:last-child,
|
|
.table-bordered colgroup + thead tr:first-child th:last-child,
|
|
.table-bordered colgroup + tbody tr:first-child td:last-child {
|
|
-webkit-border-top-right-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
-moz-border-radius-topright: 4px; }
|
|
|
|
table.docutils th {
|
|
background-color: #e8e8e8; }
|
|
|
|
table.docutils tr:hover {
|
|
background-color: whitesmoke; }
|
|
|
|
.table-striped tbody > tr:nth-child(odd) > td,
|
|
.table-striped tbody > tr:nth-child(odd) > th {
|
|
background-color: rgba(252, 248, 244, 0.75); }
|
|
|
|
.table-hover tbody tr:hover > td,
|
|
.table-hover tbody tr:hover > th {
|
|
background-color: rgba(241, 222, 204, 0.75); }
|
|
|
|
table td[class*="span"],
|
|
table th[class*="span"],
|
|
.row-fluid table td[class*="span"],
|
|
.row-fluid table th[class*="span"] {
|
|
display: table-cell;
|
|
float: none;
|
|
margin-left: 0; }
|
|
|
|
.hero-unit {
|
|
padding: 60px;
|
|
margin-bottom: 30px;
|
|
font-size: 18px;
|
|
font-weight: 200;
|
|
line-height: 30px;
|
|
color: inherit;
|
|
background-color: rgba(230, 197, 164, 0.75);
|
|
-webkit-border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
border-radius: 6px; }
|
|
|
|
.hero-unit h1 {
|
|
margin-bottom: 0;
|
|
font-size: 60px;
|
|
line-height: 1;
|
|
letter-spacing: -1px;
|
|
color: inherit; }
|
|
|
|
.hero-unit li {
|
|
line-height: 30px; }
|
|
|
|
/* rst2html default used to remove borders from tables and images */
|
|
.borderless, table.borderless td, table.borderless th {
|
|
border: 0; }
|
|
|
|
table.borderless td, table.borderless th {
|
|
/* Override padding for "table.docutils td" with "! important".
|
|
The right padding separates the table cells. */
|
|
padding: 0 0.5em 0 0 !important; }
|
|
|
|
.first {
|
|
/* Override more specific margin styles with "! important". */
|
|
margin-top: 0 !important; }
|
|
|
|
.last, .with-subtitle {
|
|
margin-bottom: 0 !important; }
|
|
|
|
.hidden {
|
|
display: none; }
|
|
|
|
a.toc-backref {
|
|
text-decoration: none;
|
|
color: #444444; }
|
|
|
|
blockquote.epigraph {
|
|
margin: 2em 5em; }
|
|
|
|
dl.docutils dd {
|
|
margin-bottom: 0.5em; }
|
|
|
|
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
|
overflow: hidden; }
|
|
|
|
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
|
dl.docutils dt {
|
|
font-weight: bold }
|
|
*/
|
|
div.abstract {
|
|
margin: 2em 5em; }
|
|
|
|
div.abstract p.topic-title {
|
|
font-weight: bold;
|
|
text-align: center; }
|
|
|
|
div.admonition, div.attention, div.caution, div.danger, div.error,
|
|
div.hint, div.important, div.note, div.tip, div.warning {
|
|
margin: 2em;
|
|
border: medium outset;
|
|
padding: 1em; }
|
|
|
|
div.note, div.warning {
|
|
margin: 1.5em 0px;
|
|
border: none; }
|
|
|
|
div.note p.admonition-title,
|
|
div.warning p.admonition-title {
|
|
display: none; }
|
|
|
|
/* Clearfix
|
|
* http://css-tricks.com/snippets/css/clear-fix/
|
|
*/
|
|
div.note:after,
|
|
div.warning:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both; }
|
|
|
|
div.note p:before,
|
|
div.warning p:before {
|
|
display: block;
|
|
float: left;
|
|
font-size: 4em;
|
|
line-height: 1em;
|
|
margin-right: 20px;
|
|
margin-left: 0em;
|
|
margin-top: -10px;
|
|
content: '\0270D';
|
|
/*handwriting*/ }
|
|
|
|
div.warning p:before {
|
|
content: '\026A0';
|
|
/*warning*/ }
|
|
|
|
div.admonition p.admonition-title, div.hint p.admonition-title,
|
|
div.important p.admonition-title, div.note p.admonition-title,
|
|
div.tip p.admonition-title {
|
|
font-weight: bold;
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
|
|
|
|
div.attention p.admonition-title, div.caution p.admonition-title,
|
|
div.danger p.admonition-title, div.error p.admonition-title,
|
|
div.warning p.admonition-title, .code .error {
|
|
color: #b30000;
|
|
font-weight: bold;
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
|
|
|
|
/* Uncomment (and remove this text!) to get reduced vertical space in
|
|
compound paragraphs.
|
|
div.compound .compound-first, div.compound .compound-middle {
|
|
margin-bottom: 0.5em }
|
|
|
|
div.compound .compound-last, div.compound .compound-middle {
|
|
margin-top: 0.5em }
|
|
*/
|
|
div.dedication {
|
|
margin: 2em 5em;
|
|
text-align: center;
|
|
font-style: italic; }
|
|
|
|
div.dedication p.topic-title {
|
|
font-weight: bold;
|
|
font-style: normal; }
|
|
|
|
div.figure {
|
|
margin-left: 2em;
|
|
margin-right: 2em; }
|
|
|
|
div.footer, div.header {
|
|
clear: both;
|
|
font-size: smaller; }
|
|
|
|
div.line-block {
|
|
display: block;
|
|
margin-top: 1em;
|
|
margin-bottom: 1em; }
|
|
|
|
div.line-block div.line-block {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
margin-left: 1.5em; }
|
|
|
|
div.sidebar {
|
|
margin: 0 0 0.5em 1em;
|
|
border: medium outset;
|
|
padding: 1em;
|
|
background-color: rgba(252, 248, 244, 0.75);
|
|
width: 40%;
|
|
float: right;
|
|
clear: right; }
|
|
|
|
div.sidebar p.rubric {
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
|
|
font-size: medium; }
|
|
|
|
div.system-messages {
|
|
margin: 5em; }
|
|
|
|
div.system-messages h1 {
|
|
color: #b30000; }
|
|
|
|
div.system-message {
|
|
border: medium outset;
|
|
padding: 1em; }
|
|
|
|
div.system-message p.system-message-title {
|
|
color: #b30000;
|
|
font-weight: bold; }
|
|
|
|
div.topic {
|
|
margin: 2em; }
|
|
|
|
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
|
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
|
margin-top: 0.4em; }
|
|
|
|
h1.title {
|
|
text-align: center; }
|
|
|
|
h2.subtitle {
|
|
text-align: center; }
|
|
|
|
hr.docutils {
|
|
width: 75%; }
|
|
|
|
img.align-left, .figure.align-left, object.align-left {
|
|
clear: left;
|
|
float: left;
|
|
margin-right: 1em; }
|
|
|
|
img.align-right, .figure.align-right, object.align-right {
|
|
clear: right;
|
|
float: right;
|
|
margin-left: 1em; }
|
|
|
|
img.align-center, .figure.align-center, object.align-center {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto; }
|
|
|
|
.align-left {
|
|
text-align: left; }
|
|
|
|
.align-center {
|
|
clear: both;
|
|
text-align: center; }
|
|
|
|
.align-right {
|
|
text-align: right; }
|
|
|
|
/* reset inner alignment in figures */
|
|
div.align-right {
|
|
text-align: inherit; }
|
|
|
|
/* div.align-center * { */
|
|
/* text-align: left } */
|
|
|
|
ul.simple > li {
|
|
margin-bottom: 0.5em }
|
|
|
|
ol.simple, ul.simple {
|
|
margin-bottom: 1em; }
|
|
|
|
ol.arabic {
|
|
list-style: decimal; }
|
|
|
|
ol.loweralpha {
|
|
list-style: lower-alpha; }
|
|
|
|
ol.upperalpha {
|
|
list-style: upper-alpha; }
|
|
|
|
ol.lowerroman {
|
|
list-style: lower-roman; }
|
|
|
|
ol.upperroman {
|
|
list-style: upper-roman; }
|
|
|
|
p.attribution {
|
|
text-align: right;
|
|
margin-left: 50%; }
|
|
|
|
p.caption {
|
|
font-style: italic; }
|
|
|
|
p.credits {
|
|
font-style: italic;
|
|
font-size: smaller; }
|
|
|
|
p.label {
|
|
white-space: nowrap; }
|
|
|
|
p.rubric {
|
|
font-weight: bold;
|
|
font-size: larger;
|
|
color: maroon;
|
|
text-align: center; }
|
|
|
|
p.sidebar-title {
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
|
|
font-weight: bold;
|
|
font-size: larger; }
|
|
|
|
p.sidebar-subtitle {
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
|
|
font-weight: bold; }
|
|
|
|
p.topic-title {
|
|
font-weight: bold; }
|
|
|
|
pre.address {
|
|
margin-bottom: 0;
|
|
margin-top: 0;
|
|
font: inherit; }
|
|
|
|
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
|
margin-left: 2em;
|
|
margin-right: 2em; }
|
|
|
|
pre.code .ln {
|
|
color: grey; }
|
|
|
|
/* line numbers */
|
|
pre.code, code {
|
|
background-color: #eeeeee; }
|
|
|
|
pre.code .comment, code .comment {
|
|
color: #5c6576; }
|
|
|
|
pre.code .keyword, code .keyword {
|
|
color: #3B0D06;
|
|
font-weight: bold; }
|
|
|
|
pre.code .literal.string, code .literal.string {
|
|
color: #0c5404; }
|
|
|
|
pre.code .name.builtin, code .name.builtin {
|
|
color: #352b84; }
|
|
|
|
pre.code .deleted, code .deleted {
|
|
background-color: #DEB0A1; }
|
|
|
|
pre.code .inserted, code .inserted {
|
|
background-color: #A3D289; }
|
|
|
|
span.classifier {
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
|
|
font-style: oblique; }
|
|
|
|
span.classifier-delimiter {
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
|
|
font-weight: bold; }
|
|
|
|
span.interpreted {
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif; }
|
|
|
|
span.option {
|
|
white-space: nowrap; }
|
|
|
|
span.pre {
|
|
white-space: pre; }
|
|
|
|
span.problematic {
|
|
color: #b30000; }
|
|
|
|
span.section-subtitle {
|
|
/* font-size relative to parent (h1..h6 element) */
|
|
font-size: 80%; }
|
|
|
|
table.citation {
|
|
border-left: solid 1px #666666;
|
|
margin-left: 1px; }
|
|
|
|
table.docinfo {
|
|
margin: 0em;
|
|
margin-top: 2em;
|
|
margin-bottom: 2em;
|
|
font-family: "Lato", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
|
|
color: #444444; }
|
|
|
|
table.docutils {
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0.5em; }
|
|
|
|
table.footnote {
|
|
border-left: solid 1px #2d2d2d;
|
|
margin-left: 1px; }
|
|
|
|
table.docutils td, table.docutils th,
|
|
table.docinfo td, table.docinfo th {
|
|
padding-left: 0.5em;
|
|
padding-right: 0.5em;
|
|
vertical-align: top; }
|
|
|
|
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
|
font-weight: 700;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
padding-left: 0; }
|
|
|
|
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
|
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
|
font-size: 100%; }
|
|
|
|
ul.auto-toc {
|
|
list-style-type: none; }
|
|
|
|
span.DecNumber {
|
|
color: #252dbe; }
|
|
|
|
span.BinNumber {
|
|
color: #252dbe; }
|
|
|
|
span.HexNumber {
|
|
color: #252dbe; }
|
|
|
|
span.OctNumber {
|
|
color: #252dbe; }
|
|
|
|
span.FloatNumber {
|
|
color: #252dbe; }
|
|
|
|
span.Identifier {
|
|
color: #3b3b3b; }
|
|
|
|
span.Keyword {
|
|
font-weight: 600;
|
|
color: #5e8f60; }
|
|
|
|
span.StringLit {
|
|
color: #a4255b; }
|
|
|
|
span.LongStringLit {
|
|
color: #a4255b; }
|
|
|
|
span.CharLit {
|
|
color: #a4255b; }
|
|
|
|
span.EscapeSequence {
|
|
color: black; }
|
|
|
|
span.Operator {
|
|
color: black; }
|
|
|
|
span.Punctuation {
|
|
color: black; }
|
|
|
|
span.Comment, span.LongComment {
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
color: #484a86; }
|
|
|
|
span.RegularExpression {
|
|
color: darkviolet; }
|
|
|
|
span.TagStart {
|
|
color: darkviolet; }
|
|
|
|
span.TagEnd {
|
|
color: darkviolet; }
|
|
|
|
span.Key {
|
|
color: #252dbe; }
|
|
|
|
span.Value {
|
|
color: #252dbe; }
|
|
|
|
span.RawData {
|
|
color: #a4255b; }
|
|
|
|
span.Assembler {
|
|
color: #252dbe; }
|
|
|
|
span.Preprocessor {
|
|
color: #252dbe; }
|
|
|
|
span.Directive {
|
|
color: #252dbe; }
|
|
|
|
span.Command, span.Rule, span.Hyperlink, span.Label, span.Reference,
|
|
span.Other {
|
|
color: black; }
|
|
|
|
/* Pop type, const, proc, and iterator defs in nim def blocks */
|
|
dt pre > span.Identifier, dt pre > span.Operator {
|
|
color: #155da4;
|
|
font-weight: 700; }
|
|
|
|
dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier {
|
|
color: inherit;
|
|
font-weight: inherit; }
|
|
|
|
dt pre > span.Operator ~ span.Identifier {
|
|
color: inherit;
|
|
font-weight: inherit; }
|
|
|
|
/* Nim sprite for the footer (taken from main page favicon) */
|
|
.nim-sprite {
|
|
display: inline-block;
|
|
height: 12px;
|
|
width: 12px;
|
|
background-position: 0 0;
|
|
background-size: 12px 12px;
|
|
-webkit-filter: opacity(50%);
|
|
background-repeat: no-repeat;
|
|
background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA==");
|
|
margin-bottom: -5px; }
|
|
div.pragma {
|
|
display: none;
|
|
}
|
|
span.pragmabegin {
|
|
cursor: pointer;
|
|
}
|
|
span.pragmaend {
|
|
cursor: pointer;
|
|
}
|
|
|
|
div.search_results {
|
|
background-color: antiquewhite;
|
|
margin: 3em;
|
|
padding: 1em;
|
|
border: 1px solid #4d4d4d;
|
|
}
|
|
|
|
div#global-links ul {
|
|
margin-left: 0;
|
|
list-style-type: none;
|
|
}
|
|
</style>
|
|
|
|
<script type="text/javascript" src="../dochack.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
function togglepragma(d) {
|
|
if (d.style.display != 'inline')
|
|
d.style.display = 'inline';
|
|
else
|
|
d.style.display = 'none';
|
|
}
|
|
|
|
function main() {
|
|
var elements = document.getElementsByClassName("pragmabegin");
|
|
for (var i = 0; i < elements.length; ++i) {
|
|
var e = elements[i];
|
|
e.onclick = function(event) {
|
|
togglepragma(event.target.nextSibling);
|
|
};
|
|
}
|
|
var elements = document.getElementsByClassName("pragmaend");
|
|
for (var i = 0; i < elements.length; ++i) {
|
|
var e = elements[i];
|
|
e.onclick = function(event) {
|
|
togglepragma(event.target.previousSibling);
|
|
};
|
|
}
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
<body onload="main()">
|
|
<div class="document" id="documentId">
|
|
<div class="container">
|
|
<h1 class="title">Module image</h1>
|
|
<div class="row">
|
|
<div class="three columns">
|
|
<div id="global-links">
|
|
<ul class="simple">
|
|
</ul>
|
|
</div>
|
|
<div id="searchInputDiv">
|
|
Search: <input type="text" id="searchInput"
|
|
onkeyup="search()" />
|
|
</div>
|
|
<div>
|
|
Group by:
|
|
<select onchange="groupBy(this.value)">
|
|
<option value="section">Section</option>
|
|
<option value="type">Type</option>
|
|
</select>
|
|
</div>
|
|
<ul class="simple simple-toc" id="toc-list">
|
|
<li>
|
|
<a class="reference reference-toplevel" href="#6" id="56">Imports</a>
|
|
<ul class="simple simple-toc-section">
|
|
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a class="reference reference-toplevel" href="#10" id="60">Consts</a>
|
|
<ul class="simple simple-toc-section">
|
|
<li><a class="reference" href="#FORMAT_L8"
|
|
title="FORMAT_L8 = 0'i64"><wbr />FORMAT_<wbr />L8<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_LA8"
|
|
title="FORMAT_LA8 = 1'i64"><wbr />FORMAT_<wbr />LA8<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_R8"
|
|
title="FORMAT_R8 = 2'i64"><wbr />FORMAT_<wbr />R8<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RG8"
|
|
title="FORMAT_RG8 = 3'i64"><wbr />FORMAT_<wbr />RG8<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGB8"
|
|
title="FORMAT_RGB8 = 4'i64"><wbr />FORMAT_<wbr />RGB8<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGBA8"
|
|
title="FORMAT_RGBA8 = 5'i64"><wbr />FORMAT_<wbr />RGBA8<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGBA4444"
|
|
title="FORMAT_RGBA4444 = 6'i64"><wbr />FORMAT_<wbr />RGBA4444<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGBA5551"
|
|
title="FORMAT_RGBA5551 = 7'i64"><wbr />FORMAT_<wbr />RGBA5551<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RF"
|
|
title="FORMAT_RF = 8'i64"><wbr />FORMAT_<wbr />RF<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGF"
|
|
title="FORMAT_RGF = 9'i64"><wbr />FORMAT_<wbr />RGF<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGBF"
|
|
title="FORMAT_RGBF = 10'i64"><wbr />FORMAT_<wbr />RGBF<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGBAF"
|
|
title="FORMAT_RGBAF = 11'i64"><wbr />FORMAT_<wbr />RGBAF<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RH"
|
|
title="FORMAT_RH = 12'i64"><wbr />FORMAT_<wbr />RH<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGH"
|
|
title="FORMAT_RGH = 13'i64"><wbr />FORMAT_<wbr />RGH<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGBH"
|
|
title="FORMAT_RGBH = 14'i64"><wbr />FORMAT_<wbr />RGBH<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGBAH"
|
|
title="FORMAT_RGBAH = 15'i64"><wbr />FORMAT_<wbr />RGBAH<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGBE9995"
|
|
title="FORMAT_RGBE9995 = 16'i64"><wbr />FORMAT_<wbr />RGBE9995<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_DXT1"
|
|
title="FORMAT_DXT1 = 17'i64"><wbr />FORMAT_<wbr />DXT1<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_DXT3"
|
|
title="FORMAT_DXT3 = 18'i64"><wbr />FORMAT_<wbr />DXT3<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_DXT5"
|
|
title="FORMAT_DXT5 = 19'i64"><wbr />FORMAT_<wbr />DXT5<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGTC_R"
|
|
title="FORMAT_RGTC_R = 20'i64"><wbr />FORMAT_<wbr />RGTC_<wbr />R<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_RGTC_RG"
|
|
title="FORMAT_RGTC_RG = 21'i64"><wbr />FORMAT_<wbr />RGTC_<wbr />RG<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_BPTC_RGBA"
|
|
title="FORMAT_BPTC_RGBA = 22'i64"><wbr />FORMAT_<wbr />BPTC_<wbr />RGBA<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_BPTC_RGBF"
|
|
title="FORMAT_BPTC_RGBF = 23'i64"><wbr />FORMAT_<wbr />BPTC_<wbr />RGBF<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_BPTC_RGBFU"
|
|
title="FORMAT_BPTC_RGBFU = 24'i64"><wbr />FORMAT_<wbr />BPTC_<wbr />RGBFU<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_PVRTC2"
|
|
title="FORMAT_PVRTC2 = 25'i64"><wbr />FORMAT_<wbr />PVRTC2<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_PVRTC2A"
|
|
title="FORMAT_PVRTC2A = 26'i64"><wbr />FORMAT_<wbr />PVRTC2A<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_PVRTC4"
|
|
title="FORMAT_PVRTC4 = 27'i64"><wbr />FORMAT_<wbr />PVRTC4<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_PVRTC4A"
|
|
title="FORMAT_PVRTC4A = 28'i64"><wbr />FORMAT_<wbr />PVRTC4A<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_ETC"
|
|
title="FORMAT_ETC = 29'i64"><wbr />FORMAT_<wbr />ETC<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_ETC2_R11"
|
|
title="FORMAT_ETC2_R11 = 30'i64"><wbr />FORMAT_<wbr />ETC2_<wbr />R11<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_ETC2_R11S"
|
|
title="FORMAT_ETC2_R11S = 31'i64"><wbr />FORMAT_<wbr />ETC2_<wbr />R11S<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_ETC2_RG11"
|
|
title="FORMAT_ETC2_RG11 = 32'i64"><wbr />FORMAT_<wbr />ETC2_<wbr />RG11<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_ETC2_RG11S"
|
|
title="FORMAT_ETC2_RG11S = 33'i64"><wbr />FORMAT_<wbr />ETC2_<wbr />RG11S<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_ETC2_RGB8"
|
|
title="FORMAT_ETC2_RGB8 = 34'i64"><wbr />FORMAT_<wbr />ETC2_<wbr />RGB8<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_ETC2_RGBA8"
|
|
title="FORMAT_ETC2_RGBA8 = 35'i64"><wbr />FORMAT_<wbr />ETC2_<wbr />RGBA8<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_ETC2_RGB8A1"
|
|
title="FORMAT_ETC2_RGB8A1 = 36'i64"><wbr />FORMAT_<wbr />ETC2_<wbr />RGB8A1<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#FORMAT_MAX"
|
|
title="FORMAT_MAX = 37'i64"><wbr />FORMAT_<wbr />MAX<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#INTERPOLATE_NEAREST"
|
|
title="INTERPOLATE_NEAREST = 0'i64"><wbr />INTERPOLATE_<wbr />NEAREST<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#INTERPOLATE_BILINEAR"
|
|
title="INTERPOLATE_BILINEAR = 1'i64"><wbr />INTERPOLATE_<wbr />BILINEAR<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#INTERPOLATE_CUBIC"
|
|
title="INTERPOLATE_CUBIC = 2'i64"><wbr />INTERPOLATE_<wbr />CUBIC<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#ALPHA_NONE"
|
|
title="ALPHA_NONE = 0'i64"><wbr />ALPHA_<wbr />NONE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#ALPHA_BIT"
|
|
title="ALPHA_BIT = 1'i64"><wbr />ALPHA_<wbr />BIT<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#ALPHA_BLEND"
|
|
title="ALPHA_BLEND = 2'i64"><wbr />ALPHA_<wbr />BLEND<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#COMPRESS_S3TC"
|
|
title="COMPRESS_S3TC = 0'i64"><wbr />COMPRESS_<wbr />S3TC<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#COMPRESS_PVRTC2"
|
|
title="COMPRESS_PVRTC2 = 1'i64"><wbr />COMPRESS_<wbr />PVRTC2<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#COMPRESS_PVRTC4"
|
|
title="COMPRESS_PVRTC4 = 2'i64"><wbr />COMPRESS_<wbr />PVRTC4<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#COMPRESS_ETC"
|
|
title="COMPRESS_ETC = 3'i64"><wbr />COMPRESS_<wbr />ETC<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#COMPRESS_ETC2"
|
|
title="COMPRESS_ETC2 = 4'i64"><wbr />COMPRESS_<wbr />ETC2<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#COMPRESS_SOURCE_GENERIC"
|
|
title="COMPRESS_SOURCE_GENERIC = 0'i64"><wbr />COMPRESS_<wbr />SOURCE_<wbr />GENERIC<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#COMPRESS_SOURCE_SRGB"
|
|
title="COMPRESS_SOURCE_SRGB = 1'i64"><wbr />COMPRESS_<wbr />SOURCE_<wbr />SRGB<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#COMPRESS_SOURCE_NORMAL"
|
|
title="COMPRESS_SOURCE_NORMAL = 2'i64"><wbr />COMPRESS_<wbr />SOURCE_<wbr />NORMAL<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
|
|
<ul class="simple simple-toc-section">
|
|
<li><a class="reference" href="#data,Image"
|
|
title="data(self: Image): Dictionary"><wbr />data<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#data=,Image,Dictionary"
|
|
title="data=(self: Image; val: Dictionary)"><wbr />data=<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getWidth,Image"
|
|
title="getWidth(self: Image): int64"><wbr />get<wbr />Width<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getHeight,Image"
|
|
title="getHeight(self: Image): int64"><wbr />get<wbr />Height<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getSize,Image"
|
|
title="getSize(self: Image): Vector2"><wbr />get<wbr />Size<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#hasMipmaps,Image"
|
|
title="hasMipmaps(self: Image): bool"><wbr />has<wbr />Mipmaps<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getFormat,Image"
|
|
title="getFormat(self: Image): int64"><wbr />get<wbr />Format<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getDataImpl,Image"
|
|
title="getDataImpl(self: Image): PoolByteArray"><wbr />get<wbr />Data<wbr />Impl<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#convert,Image,int64"
|
|
title="convert(self: Image; format: int64)"><wbr />convert<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getMipmapOffset,Image,int64"
|
|
title="getMipmapOffset(self: Image; mipmap: int64): int64"><wbr />get<wbr />Mipmap<wbr />Offset<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#resizeToPo2,Image,bool"
|
|
title="resizeToPo2(self: Image; square: bool = false)"><wbr />resize<wbr />To<wbr />Po2<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#resize,Image,int64,int64,int64"
|
|
title="resize(self: Image; width: int64; height: int64; interpolation: int64 = 1'i64)"><wbr />resize<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#shrinkX2,Image"
|
|
title="shrinkX2(self: Image)"><wbr />shrink<wbr />X2<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#expandX2Hq2x,Image"
|
|
title="expandX2Hq2x(self: Image)"><wbr />expand<wbr />X2Hq2x<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#crop,Image,int64,int64"
|
|
title="crop(self: Image; width: int64; height: int64)"><wbr />crop<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#flipX,Image"
|
|
title="flipX(self: Image)"><wbr />flip<wbr />X<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#flipY,Image"
|
|
title="flipY(self: Image)"><wbr />flip<wbr />Y<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#generateMipmaps,Image,bool"
|
|
title="generateMipmaps(self: Image; renormalize: bool = false): Error"><wbr />generate<wbr />Mipmaps<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#clearMipmaps,Image"
|
|
title="clearMipmaps(self: Image)"><wbr />clear<wbr />Mipmaps<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#create,Image,int64,int64,bool,int64"
|
|
title="create(self: Image; width: int64; height: int64; useMipmaps: bool; format: int64)"><wbr />create<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#createFromData,Image,int64,int64,bool,int64,PoolByteArray"
|
|
title="createFromData(self: Image; width: int64; height: int64; useMipmaps: bool;
|
|
format: int64; data: PoolByteArray)"><wbr />create<wbr />From<wbr />Data<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#isEmpty,Image"
|
|
title="isEmpty(self: Image): bool"><wbr />is<wbr />Empty<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#load,Image,string"
|
|
title="load(self: Image; path: string): Error"><wbr />load<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#savePng,Image,string"
|
|
title="savePng(self: Image; path: string): Error"><wbr />save<wbr />Png<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#detectAlpha,Image"
|
|
title="detectAlpha(self: Image): int64"><wbr />detect<wbr />Alpha<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#isInvisible,Image"
|
|
title="isInvisible(self: Image): bool"><wbr />is<wbr />Invisible<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#compress,Image,int64,int64,float64"
|
|
title="compress(self: Image; mode: int64; source: int64; lossyQuality: float64): Error"><wbr />compress<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#decompress,Image"
|
|
title="decompress(self: Image): Error"><wbr />decompress<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#isCompressed,Image"
|
|
title="isCompressed(self: Image): bool"><wbr />is<wbr />Compressed<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#fixAlphaEdges,Image"
|
|
title="fixAlphaEdges(self: Image)"><wbr />fix<wbr />Alpha<wbr />Edges<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#premultiplyAlpha,Image"
|
|
title="premultiplyAlpha(self: Image)"><wbr />premultiply<wbr />Alpha<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#srgbToLinear,Image"
|
|
title="srgbToLinear(self: Image)"><wbr />srgb<wbr />To<wbr />Linear<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#normalmapToXy,Image"
|
|
title="normalmapToXy(self: Image)"><wbr />normalmap<wbr />To<wbr />Xy<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#rgbeToSrgb,Image"
|
|
title="rgbeToSrgb(self: Image): Image"><wbr />rgbe<wbr />To<wbr />Srgb<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#bumpmapToNormalmap,Image,float64"
|
|
title="bumpmapToNormalmap(self: Image; bumpScale: float64 = 1.0)"><wbr />bumpmap<wbr />To<wbr />Normalmap<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#blitRect,Image,Image,Rect2,Vector2"
|
|
title="blitRect(self: Image; src: Image; srcRect: Rect2; dst: Vector2)"><wbr />blit<wbr />Rect<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#blitRectMask,Image,Image,Image,Rect2,Vector2"
|
|
title="blitRectMask(self: Image; src: Image; mask: Image; srcRect: Rect2; dst: Vector2)"><wbr />blit<wbr />Rect<wbr />Mask<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#blendRect,Image,Image,Rect2,Vector2"
|
|
title="blendRect(self: Image; src: Image; srcRect: Rect2; dst: Vector2)"><wbr />blend<wbr />Rect<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#blendRectMask,Image,Image,Image,Rect2,Vector2"
|
|
title="blendRectMask(self: Image; src: Image; mask: Image; srcRect: Rect2; dst: Vector2)"><wbr />blend<wbr />Rect<wbr />Mask<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#fill,Image,Color"
|
|
title="fill(self: Image; color: Color)"><wbr />fill<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getUsedRect,Image"
|
|
title="getUsedRect(self: Image): Rect2"><wbr />get<wbr />Used<wbr />Rect<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getRect,Image,Rect2"
|
|
title="getRect(self: Image; rect: Rect2): Image"><wbr />get<wbr />Rect<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#copyFrom,Image,Image"
|
|
title="copyFrom(self: Image; src: Image)"><wbr />copy<wbr />From<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#lock,Image"
|
|
title="lock(self: Image)"><wbr />lock<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#unlock,Image"
|
|
title="unlock(self: Image)"><wbr />unlock<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getPixelv,Image,Vector2"
|
|
title="getPixelv(self: Image; src: Vector2): Color"><wbr />get<wbr />Pixelv<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getPixel,Image,int64,int64"
|
|
title="getPixel(self: Image; x: int64; y: int64): Color"><wbr />get<wbr />Pixel<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#setPixelv,Image,Vector2,Color"
|
|
title="setPixelv(self: Image; dst: Vector2; color: Color)"><wbr />set<wbr />Pixelv<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#setPixel,Image,int64,int64,Color"
|
|
title="setPixel(self: Image; x: int64; y: int64; color: Color)"><wbr />set<wbr />Pixel<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#loadPngFromBuffer,Image,PoolByteArray"
|
|
title="loadPngFromBuffer(self: Image; buffer: PoolByteArray): Error"><wbr />load<wbr />Png<wbr />From<wbr />Buffer<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#loadJpgFromBuffer,Image,PoolByteArray"
|
|
title="loadJpgFromBuffer(self: Image; buffer: PoolByteArray): Error"><wbr />load<wbr />Jpg<wbr />From<wbr />Buffer<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
<div class="nine columns" id="content">
|
|
<div id="tocRoot"></div>
|
|
<p class="module-desc"></p>
|
|
<div class="section" id="6">
|
|
<h1><a class="toc-backref" href="#6">Imports</a></h1>
|
|
<dl class="item">
|
|
<a class="reference external" href="../godot.html">godot</a>, <a class="reference external" href="godottypes.html">godottypes</a>, <a class="reference external" href="../godotinternal.html">godotinternal</a>, <a class="reference external" href="resource.html">resource</a>
|
|
</dl></div>
|
|
<div class="section" id="10">
|
|
<h1><a class="toc-backref" href="#10">Consts</a></h1>
|
|
<dl class="item">
|
|
<dt id="FORMAT_L8"><a name="FORMAT_L8"></a><pre><span class="Identifier">FORMAT_L8</span> <span class="Other">=</span> <span class="DecNumber">0'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_LA8"><a name="FORMAT_LA8"></a><pre><span class="Identifier">FORMAT_LA8</span> <span class="Other">=</span> <span class="DecNumber">1'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_R8"><a name="FORMAT_R8"></a><pre><span class="Identifier">FORMAT_R8</span> <span class="Other">=</span> <span class="DecNumber">2'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RG8"><a name="FORMAT_RG8"></a><pre><span class="Identifier">FORMAT_RG8</span> <span class="Other">=</span> <span class="DecNumber">3'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGB8"><a name="FORMAT_RGB8"></a><pre><span class="Identifier">FORMAT_RGB8</span> <span class="Other">=</span> <span class="DecNumber">4'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGBA8"><a name="FORMAT_RGBA8"></a><pre><span class="Identifier">FORMAT_RGBA8</span> <span class="Other">=</span> <span class="DecNumber">5'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGBA4444"><a name="FORMAT_RGBA4444"></a><pre><span class="Identifier">FORMAT_RGBA4444</span> <span class="Other">=</span> <span class="DecNumber">6'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGBA5551"><a name="FORMAT_RGBA5551"></a><pre><span class="Identifier">FORMAT_RGBA5551</span> <span class="Other">=</span> <span class="DecNumber">7'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RF"><a name="FORMAT_RF"></a><pre><span class="Identifier">FORMAT_RF</span> <span class="Other">=</span> <span class="DecNumber">8'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGF"><a name="FORMAT_RGF"></a><pre><span class="Identifier">FORMAT_RGF</span> <span class="Other">=</span> <span class="DecNumber">9'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGBF"><a name="FORMAT_RGBF"></a><pre><span class="Identifier">FORMAT_RGBF</span> <span class="Other">=</span> <span class="DecNumber">10'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGBAF"><a name="FORMAT_RGBAF"></a><pre><span class="Identifier">FORMAT_RGBAF</span> <span class="Other">=</span> <span class="DecNumber">11'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RH"><a name="FORMAT_RH"></a><pre><span class="Identifier">FORMAT_RH</span> <span class="Other">=</span> <span class="DecNumber">12'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGH"><a name="FORMAT_RGH"></a><pre><span class="Identifier">FORMAT_RGH</span> <span class="Other">=</span> <span class="DecNumber">13'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGBH"><a name="FORMAT_RGBH"></a><pre><span class="Identifier">FORMAT_RGBH</span> <span class="Other">=</span> <span class="DecNumber">14'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGBAH"><a name="FORMAT_RGBAH"></a><pre><span class="Identifier">FORMAT_RGBAH</span> <span class="Other">=</span> <span class="DecNumber">15'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGBE9995"><a name="FORMAT_RGBE9995"></a><pre><span class="Identifier">FORMAT_RGBE9995</span> <span class="Other">=</span> <span class="DecNumber">16'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_DXT1"><a name="FORMAT_DXT1"></a><pre><span class="Identifier">FORMAT_DXT1</span> <span class="Other">=</span> <span class="DecNumber">17'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_DXT3"><a name="FORMAT_DXT3"></a><pre><span class="Identifier">FORMAT_DXT3</span> <span class="Other">=</span> <span class="DecNumber">18'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_DXT5"><a name="FORMAT_DXT5"></a><pre><span class="Identifier">FORMAT_DXT5</span> <span class="Other">=</span> <span class="DecNumber">19'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGTC_R"><a name="FORMAT_RGTC_R"></a><pre><span class="Identifier">FORMAT_RGTC_R</span> <span class="Other">=</span> <span class="DecNumber">20'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_RGTC_RG"><a name="FORMAT_RGTC_RG"></a><pre><span class="Identifier">FORMAT_RGTC_RG</span> <span class="Other">=</span> <span class="DecNumber">21'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_BPTC_RGBA"><a name="FORMAT_BPTC_RGBA"></a><pre><span class="Identifier">FORMAT_BPTC_RGBA</span> <span class="Other">=</span> <span class="DecNumber">22'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_BPTC_RGBF"><a name="FORMAT_BPTC_RGBF"></a><pre><span class="Identifier">FORMAT_BPTC_RGBF</span> <span class="Other">=</span> <span class="DecNumber">23'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_BPTC_RGBFU"><a name="FORMAT_BPTC_RGBFU"></a><pre><span class="Identifier">FORMAT_BPTC_RGBFU</span> <span class="Other">=</span> <span class="DecNumber">24'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_PVRTC2"><a name="FORMAT_PVRTC2"></a><pre><span class="Identifier">FORMAT_PVRTC2</span> <span class="Other">=</span> <span class="DecNumber">25'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_PVRTC2A"><a name="FORMAT_PVRTC2A"></a><pre><span class="Identifier">FORMAT_PVRTC2A</span> <span class="Other">=</span> <span class="DecNumber">26'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_PVRTC4"><a name="FORMAT_PVRTC4"></a><pre><span class="Identifier">FORMAT_PVRTC4</span> <span class="Other">=</span> <span class="DecNumber">27'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_PVRTC4A"><a name="FORMAT_PVRTC4A"></a><pre><span class="Identifier">FORMAT_PVRTC4A</span> <span class="Other">=</span> <span class="DecNumber">28'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_ETC"><a name="FORMAT_ETC"></a><pre><span class="Identifier">FORMAT_ETC</span> <span class="Other">=</span> <span class="DecNumber">29'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_ETC2_R11"><a name="FORMAT_ETC2_R11"></a><pre><span class="Identifier">FORMAT_ETC2_R11</span> <span class="Other">=</span> <span class="DecNumber">30'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_ETC2_R11S"><a name="FORMAT_ETC2_R11S"></a><pre><span class="Identifier">FORMAT_ETC2_R11S</span> <span class="Other">=</span> <span class="DecNumber">31'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_ETC2_RG11"><a name="FORMAT_ETC2_RG11"></a><pre><span class="Identifier">FORMAT_ETC2_RG11</span> <span class="Other">=</span> <span class="DecNumber">32'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_ETC2_RG11S"><a name="FORMAT_ETC2_RG11S"></a><pre><span class="Identifier">FORMAT_ETC2_RG11S</span> <span class="Other">=</span> <span class="DecNumber">33'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_ETC2_RGB8"><a name="FORMAT_ETC2_RGB8"></a><pre><span class="Identifier">FORMAT_ETC2_RGB8</span> <span class="Other">=</span> <span class="DecNumber">34'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_ETC2_RGBA8"><a name="FORMAT_ETC2_RGBA8"></a><pre><span class="Identifier">FORMAT_ETC2_RGBA8</span> <span class="Other">=</span> <span class="DecNumber">35'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_ETC2_RGB8A1"><a name="FORMAT_ETC2_RGB8A1"></a><pre><span class="Identifier">FORMAT_ETC2_RGB8A1</span> <span class="Other">=</span> <span class="DecNumber">36'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="FORMAT_MAX"><a name="FORMAT_MAX"></a><pre><span class="Identifier">FORMAT_MAX</span> <span class="Other">=</span> <span class="DecNumber">37'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="INTERPOLATE_NEAREST"><a name="INTERPOLATE_NEAREST"></a><pre><span class="Identifier">INTERPOLATE_NEAREST</span> <span class="Other">=</span> <span class="DecNumber">0'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="INTERPOLATE_BILINEAR"><a name="INTERPOLATE_BILINEAR"></a><pre><span class="Identifier">INTERPOLATE_BILINEAR</span> <span class="Other">=</span> <span class="DecNumber">1'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="INTERPOLATE_CUBIC"><a name="INTERPOLATE_CUBIC"></a><pre><span class="Identifier">INTERPOLATE_CUBIC</span> <span class="Other">=</span> <span class="DecNumber">2'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="ALPHA_NONE"><a name="ALPHA_NONE"></a><pre><span class="Identifier">ALPHA_NONE</span> <span class="Other">=</span> <span class="DecNumber">0'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="ALPHA_BIT"><a name="ALPHA_BIT"></a><pre><span class="Identifier">ALPHA_BIT</span> <span class="Other">=</span> <span class="DecNumber">1'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="ALPHA_BLEND"><a name="ALPHA_BLEND"></a><pre><span class="Identifier">ALPHA_BLEND</span> <span class="Other">=</span> <span class="DecNumber">2'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="COMPRESS_S3TC"><a name="COMPRESS_S3TC"></a><pre><span class="Identifier">COMPRESS_S3TC</span> <span class="Other">=</span> <span class="DecNumber">0'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="COMPRESS_PVRTC2"><a name="COMPRESS_PVRTC2"></a><pre><span class="Identifier">COMPRESS_PVRTC2</span> <span class="Other">=</span> <span class="DecNumber">1'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="COMPRESS_PVRTC4"><a name="COMPRESS_PVRTC4"></a><pre><span class="Identifier">COMPRESS_PVRTC4</span> <span class="Other">=</span> <span class="DecNumber">2'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="COMPRESS_ETC"><a name="COMPRESS_ETC"></a><pre><span class="Identifier">COMPRESS_ETC</span> <span class="Other">=</span> <span class="DecNumber">3'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="COMPRESS_ETC2"><a name="COMPRESS_ETC2"></a><pre><span class="Identifier">COMPRESS_ETC2</span> <span class="Other">=</span> <span class="DecNumber">4'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="COMPRESS_SOURCE_GENERIC"><a name="COMPRESS_SOURCE_GENERIC"></a><pre><span class="Identifier">COMPRESS_SOURCE_GENERIC</span> <span class="Other">=</span> <span class="DecNumber">0'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="COMPRESS_SOURCE_SRGB"><a name="COMPRESS_SOURCE_SRGB"></a><pre><span class="Identifier">COMPRESS_SOURCE_SRGB</span> <span class="Other">=</span> <span class="DecNumber">1'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="COMPRESS_SOURCE_NORMAL"><a name="COMPRESS_SOURCE_NORMAL"></a><pre><span class="Identifier">COMPRESS_SOURCE_NORMAL</span> <span class="Other">=</span> <span class="DecNumber">2'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
|
|
</dl></div>
|
|
<div class="section" id="12">
|
|
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
|
<dl class="item">
|
|
<dt id="data"><a name="data,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">data</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Dictionary</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="data="><a name="data=,Image,Dictionary"></a><pre><span class="Keyword">proc</span> <span class="Identifier">data=</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">val</span><span class="Other">:</span> <span class="Identifier">Dictionary</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getWidth"><a name="getWidth,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getWidth</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getHeight"><a name="getHeight,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getHeight</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getSize"><a name="getSize,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getSize</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Vector2</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="hasMipmaps"><a name="hasMipmaps,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">hasMipmaps</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getFormat"><a name="getFormat,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getFormat</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getDataImpl"><a name="getDataImpl,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getDataImpl</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">PoolByteArray</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">]</span><span class="Other">,</span>
|
|
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="convert"><a name="convert,Image,int64"></a><pre><span class="Keyword">proc</span> <span class="Identifier">convert</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">format</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getMipmapOffset"><a name="getMipmapOffset,Image,int64"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getMipmapOffset</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">mipmap</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
|
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="resizeToPo2"><a name="resizeToPo2,Image,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">resizeToPo2</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">square</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="resize"><a name="resize,Image,int64,int64,int64"></a><pre><span class="Keyword">proc</span> <span class="Identifier">resize</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">width</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">height</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">interpolation</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other">=</span> <span class="DecNumber">1'i64</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma">
|
|
<span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="shrinkX2"><a name="shrinkX2,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">shrinkX2</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="expandX2Hq2x"><a name="expandX2Hq2x,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">expandX2Hq2x</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="crop"><a name="crop,Image,int64,int64"></a><pre><span class="Keyword">proc</span> <span class="Identifier">crop</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">width</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">height</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="flipX"><a name="flipX,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">flipX</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="flipY"><a name="flipY,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">flipY</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="generateMipmaps"><a name="generateMipmaps,Image,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">generateMipmaps</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">renormalize</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Error</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span>
|
|
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="clearMipmaps"><a name="clearMipmaps,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">clearMipmaps</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="create"><a name="create,Image,int64,int64,bool,int64"></a><pre><span class="Keyword">proc</span> <span class="Identifier">create</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">width</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">height</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">useMipmaps</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">;</span> <span class="Identifier">format</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma">
|
|
<span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="createFromData"><a name="createFromData,Image,int64,int64,bool,int64,PoolByteArray"></a><pre><span class="Keyword">proc</span> <span class="Identifier">createFromData</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">width</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">height</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">useMipmaps</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">;</span>
|
|
<span class="Identifier">format</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">data</span><span class="Other">:</span> <span class="Identifier">PoolByteArray</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
|
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="isEmpty"><a name="isEmpty,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">isEmpty</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="load"><a name="load,Image,string"></a><pre><span class="Keyword">proc</span> <span class="Identifier">load</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">path</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Error</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="savePng"><a name="savePng,Image,string"></a><pre><span class="Keyword">proc</span> <span class="Identifier">savePng</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">path</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Error</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="detectAlpha"><a name="detectAlpha,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">detectAlpha</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="isInvisible"><a name="isInvisible,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">isInvisible</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="compress"><a name="compress,Image,int64,int64,float64"></a><pre><span class="Keyword">proc</span> <span class="Identifier">compress</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">source</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">lossyQuality</span><span class="Other">:</span> <span class="Identifier">float64</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Error</span> <span class="Other pragmabegin">{.</span><div class="pragma">
|
|
<span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="decompress"><a name="decompress,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">decompress</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Error</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="isCompressed"><a name="isCompressed,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">isCompressed</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="fixAlphaEdges"><a name="fixAlphaEdges,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">fixAlphaEdges</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="premultiplyAlpha"><a name="premultiplyAlpha,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">premultiplyAlpha</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="srgbToLinear"><a name="srgbToLinear,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">srgbToLinear</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="normalmapToXy"><a name="normalmapToXy,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">normalmapToXy</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="rgbeToSrgb"><a name="rgbeToSrgb,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">rgbeToSrgb</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Image</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">]</span><span class="Other">,</span>
|
|
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="bumpmapToNormalmap"><a name="bumpmapToNormalmap,Image,float64"></a><pre><span class="Keyword">proc</span> <span class="Identifier">bumpmapToNormalmap</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">bumpScale</span><span class="Other">:</span> <span class="Identifier">float64</span> <span class="Other">=</span> <span class="FloatNumber">1.0</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span>
|
|
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="blitRect"><a name="blitRect,Image,Image,Rect2,Vector2"></a><pre><span class="Keyword">proc</span> <span class="Identifier">blitRect</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">src</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">srcRect</span><span class="Other">:</span> <span class="Identifier">Rect2</span><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span>
|
|
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="blitRectMask"><a name="blitRectMask,Image,Image,Image,Rect2,Vector2"></a><pre><span class="Keyword">proc</span> <span class="Identifier">blitRectMask</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">src</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">mask</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">srcRect</span><span class="Other">:</span> <span class="Identifier">Rect2</span><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma">
|
|
<span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="blendRect"><a name="blendRect,Image,Image,Rect2,Vector2"></a><pre><span class="Keyword">proc</span> <span class="Identifier">blendRect</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">src</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">srcRect</span><span class="Other">:</span> <span class="Identifier">Rect2</span><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span>
|
|
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="blendRectMask"><a name="blendRectMask,Image,Image,Image,Rect2,Vector2"></a><pre><span class="Keyword">proc</span> <span class="Identifier">blendRectMask</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">src</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">mask</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">srcRect</span><span class="Other">:</span> <span class="Identifier">Rect2</span><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma">
|
|
<span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="fill"><a name="fill,Image,Color"></a><pre><span class="Keyword">proc</span> <span class="Identifier">fill</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">color</span><span class="Other">:</span> <span class="Identifier">Color</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getUsedRect"><a name="getUsedRect,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getUsedRect</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Rect2</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getRect"><a name="getRect,Image,Rect2"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getRect</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Identifier">Rect2</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Image</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">]</span><span class="Other">,</span>
|
|
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="copyFrom"><a name="copyFrom,Image,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">copyFrom</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">src</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="lock"><a name="lock,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">lock</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="unlock"><a name="unlock,Image"></a><pre><span class="Keyword">proc</span> <span class="Identifier">unlock</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getPixelv"><a name="getPixelv,Image,Vector2"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getPixelv</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">src</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Color</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getPixel"><a name="getPixel,Image,int64,int64"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getPixel</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">x</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Color</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
|
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="setPixelv"><a name="setPixelv,Image,Vector2,Color"></a><pre><span class="Keyword">proc</span> <span class="Identifier">setPixelv</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <span class="Identifier">Vector2</span><span class="Other">;</span> <span class="Identifier">color</span><span class="Other">:</span> <span class="Identifier">Color</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
|
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="setPixel"><a name="setPixel,Image,int64,int64,Color"></a><pre><span class="Keyword">proc</span> <span class="Identifier">setPixel</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">x</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">color</span><span class="Other">:</span> <span class="Identifier">Color</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
|
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="loadPngFromBuffer"><a name="loadPngFromBuffer,Image,PoolByteArray"></a><pre><span class="Keyword">proc</span> <span class="Identifier">loadPngFromBuffer</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">buffer</span><span class="Other">:</span> <span class="Identifier">PoolByteArray</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Error</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span>
|
|
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="loadJpgFromBuffer"><a name="loadJpgFromBuffer,Image,PoolByteArray"></a><pre><span class="Keyword">proc</span> <span class="Identifier">loadJpgFromBuffer</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Image</span><span class="Other">;</span> <span class="Identifier">buffer</span><span class="Other">:</span> <span class="Identifier">PoolByteArray</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Error</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span><span class="Other">,</span>
|
|
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
|
|
</dl></div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="twelve-columns footer">
|
|
<span class="nim-sprite"></span>
|
|
<br/>
|
|
<small>Made with Nim. Generated: 2018-06-04 10:57:56 UTC</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|