Applied docspak188.

This commit is contained in:
blitz-research
2014-12-08 12:43:20 +13:00
parent ff8bad7a2d
commit bb0f822db3
649 changed files with 33093 additions and 23947 deletions
@@ -1,16 +1,51 @@
<html><head><title>Command: GraphicsBuffer() </title><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'><link rel='stylesheet' href='../css/commands.css' type='text/css'></head><body><span class='Command'>&nbsp;&nbsp;GraphicsBuffer() &nbsp;&nbsp;</span></p><span class='header'>Definition:</span> <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>Returns the handle of the current graphics buffer.</td></tr></table><span class='header'><br>Parameter Description:</span> <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>None</td></tr></table><p class='header'>Command Description: <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>Use this command to get which buffer Blitz is currently writing to.</td></tr></table><p class='header'>Example: <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>; GraphicsWidth(), GraphicsHeight(), GraphicsDepth(), GraphicsBuffer() example<br>
<html>
<head>
<title>Blitz3D Docs</title>
<link rel=stylesheet href=../css/commands.css type=text/css>
</head>
<body>
<h1>GraphicsBuffer()</h1>
<h1>Parameters</h1>
<table>
<tr>
<td>
None
</td>
</tr>
</table>
<h1>Description</h1>
<table>
<tr>
<td>
Use this command to get which buffer Blitz is currently writing to.
</td>
</tr>
</table>
<h1><a href=../2d_examples/GraphicsBuffer.bb>Example</a></h1>
<table>
<tr>
<td>
; GraphicsWidth(), GraphicsHeight(), GraphicsDepth(), GraphicsBuffer() example
<br />
<br />
; Set a graphics mode and buffer
<br />
Graphics 640,480,16
<br />
SetBuffer FrontBuffer()
<br />
<br />
; Print the details
<br />
Print "Screen width is: " + GraphicsWidth()
<br />
Print "Screen height is: " + GraphicsHeight()
<br />
Print "Screen color depth is: " + GraphicsDepth()
<br />
; Set a graphics mode and buffer<br>
Graphics 640,480,16<br>
SetBuffer FrontBuffer()<br>
Print "Current buffer handle is: " + GraphicsBuffer()
<br />
; Print the details<br>
Print "Screen width is: " + GraphicsWidth()<br>
Print "Screen height is: " + GraphicsHeight()<br>
Print "Screen color depth is: " + GraphicsDepth()<br>
Print "Current buffer handle is: " + GraphicsBuffer()<br>
<br>
; Wait for ESC before exiting<br>
While Not KeyHit(1)<br>
Wend<br></td></tr></table><p><b><a target="_top" href="../index.htm">Index</a></b></p></body>
<br />