<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to SourceCode_0_0_Classes_Surface</title><link>https://sourceforge.net/p/ansigl/wiki/SourceCode_0_0_Classes_Surface/</link><description>Recent changes to SourceCode_0_0_Classes_Surface</description><atom:link href="https://sourceforge.net/p/ansigl/wiki/SourceCode_0_0_Classes_Surface/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 22 May 2012 22:08:40 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ansigl/wiki/SourceCode_0_0_Classes_Surface/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage SourceCode_0_0_Classes_Surface modified by NicroHobak</title><link>https://sourceforge.net/p/ansigl/wiki/SourceCode_0_0_Classes_Surface/</link><description>&lt;pre&gt;--- v5
+++ v6
@@ -4,7 +4,7 @@
 Overview
 ----------------------------------------
 
-A Surface is a collection of [pixels](Classes_Pixel), arranged logically in a rectangular format akin to any conventional rendering context for any other graphics library.  The pixel resolution of AnsiGL is (as expected, I'm sure) a single term character.
+A Surface is a collection of [pixels](SourceCode_0_0_Classes_Pixel), arranged logically in a rectangular format akin to any conventional rendering context for any other graphics library.  The pixel resolution of AnsiGL is (as expected, I'm sure) a single term character.
 
 
 Relationships
@@ -13,8 +13,8 @@
     * Parents:
         * None
     * Children:
-        * [Sprite](Classes_Sprite) -- The Surface lineage dedicated to *being* content
-        * [Window](Classes_Window) -- The Surface lineage dedicated to *displaying* content (even though they can also be used as content as well)
+        * [Sprite](SourceCode_0_0_Classes_Sprite) -- The Surface lineage dedicated to *being* content
+        * [Window](SourceCode_0_0_Classes_Window) -- The Surface lineage dedicated to *displaying* content (even though they can also be used as content as well)
 * Related:
     * Scanline (typedef of vector&lt; Pixel &gt;)
 
@@ -59,4 +59,3 @@
 DrawVStringB()            | Draws a string vertically bottom-aligned on the desired position
 **Primitives**            | 
 DrawBox                   | Draws a simple box
-
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NicroHobak</dc:creator><pubDate>Tue, 22 May 2012 22:08:40 -0000</pubDate><guid>https://sourceforge.netd7941f383e764c5652127536e07c60f1f1edf8ce</guid></item><item><title>WikiPage SourceCode_0_0_Classes_Surface modified by NicroHobak</title><link>https://sourceforge.net/p/ansigl/wiki/SourceCode_0_0_Classes_Surface/</link><description>&lt;pre&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NicroHobak</dc:creator><pubDate>Tue, 22 May 2012 22:08:25 -0000</pubDate><guid>https://sourceforge.net64e640f8317f6e891e174af2ee2abbd12c2d9c67</guid></item><item><title>WikiPage Classes_Surface modified by NicroHobak</title><link>https://sourceforge.net/p/ansigl/wiki/Classes_Surface/</link><description>&lt;pre&gt;--- v3 
+++ v4 
@@ -37,6 +37,13 @@
 
 Name                      | Details
 ------------------------- | ---------------------------------------------
+GetScanline()             | Returns an astring that represents a single scanline
+GetPixel()                | Gets the value of a pixel on the surface
+SetPixel()                | Sets a value of a pixel on the surface (Note: The Draw*() functions are usually preferred to SetPixel()!)
+Size()                    | Returns an area that represents the size of the surface
+Resize()                  | Resizes the surface to the size of the area given
+Width()                   | Gets/sets the width of the surface
+Height()                  | Gets/sets the height of the surface
 Clear()                   | Clears the surface (ANSI and glyphs)
 HasPoint()                | Checks to see if the provided Point is within the bounds of the Surface
 ***Rendering Functions*** | 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NicroHobak</dc:creator><pubDate>Sat, 14 Jan 2012 18:49:18 -0000</pubDate><guid>https://sourceforge.netccba20942c34f69eea738090327643d9406c93f9</guid></item><item><title>WikiPage Classes_Surface modified by NicroHobak</title><link>https://sourceforge.net/p/ansigl/wiki/Classes_Surface/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -17,7 +17,6 @@
         * [Window](Classes_Window) -- The Surface lineage dedicated to *displaying* content (even though they can also be used as content as well)
 * Related:
     * Scanline (typedef of vector&lt; Pixel &gt;)
-    * [Surface](Classes_Surface)
 
 
 Member Variables
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NicroHobak</dc:creator><pubDate>Sat, 14 Jan 2012 00:59:29 -0000</pubDate><guid>https://sourceforge.net73055ded778f45314694b968f661e21eafb219e4</guid></item><item><title>WikiPage Classes_Surface modified by NicroHobak</title><link>https://sourceforge.net/p/ansigl/wiki/Classes_Surface/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -40,17 +40,17 @@
 ------------------------- | ---------------------------------------------
 Clear()                   | Clears the surface (ANSI and glyphs)
 HasPoint()                | Checks to see if the provided Point is within the bounds of the Surface
-***Rendering Functions*** | ***Rendering Functions***
-**Strings**               | **Strings**
+***Rendering Functions*** | 
+**Strings**               | 
 DrawChar()                | Draws a single character
 DrawString()              | See DrawStringL()
 DrawStringL()             | Draws a string left-justified on the desired position
 DrawStringC()             | Draws a string centered on the desired position
 DrawStringR()             | Draws a string right-justified on the desired position
 DrawVString()             | See DrawVStringT()
 DrawVStringT()            | Draws a string vertically top-aligned on the desired position
 DrawVStringM()            | Draws a string vertically middle-aligned on the desired position
 DrawVStringB()            | Draws a string vertically bottom-aligned on the desired position
-**Primitives**            | **Primitives**
+**Primitives**            | 
 DrawBox                   | Draws a simple box
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NicroHobak</dc:creator><pubDate>Sat, 14 Jan 2012 00:59:07 -0000</pubDate><guid>https://sourceforge.net448f1ef6805caa9c5d7539fc84620020a4527e76</guid></item><item><title>WikiPage Classes_Surface modified by NicroHobak</title><link>https://sourceforge.net/p/ansigl/wiki/Classes_Surface/</link><description>Class: Surface
========================================

Overview
----------------------------------------

A Surface is a collection of [pixels](Classes_Pixel), arranged logically in a rectangular format akin to any conventional rendering context for any other graphics library.  The pixel resolution of AnsiGL is (as expected, I'm sure) a single term character.


Relationships
----------------------------------------
* Inheritance:
    * Parents:
        * None
    * Children:
        * [Sprite](Classes_Sprite) -- The Surface lineage dedicated to *being* content
        * [Window](Classes_Window) -- The Surface lineage dedicated to *displaying* content (even though they can also be used as content as well)
* Related:
    * Scanline (typedef of vector&lt; Pixel &gt;)
    * [Surface](Classes_Surface)


Member Variables
----------------------------------------

Data Type              | Name       | Details
---------------------- | ---------- | -----------------------------------
unsigned int           | TabSize    | The number of spaces that make up a tab character '\t' on this Surface
bool                   | RenderANSI |
bool                   | UseCLS     | If enabled, an ANSI clear screen code is rendered as the first character
bool                   | UseENDL    | If enabled, a std::endl "\r\n" is sent after each scanline has been rendered (useful when logical screen sizes are smaller than "physical" term size)
bool                   | UseLF      | Like UseENDL, but '\n' instead
bool                   | UseCR      | Like UseENDL, but '\r' instead


Member Functions
----------------------------------------

Name                      | Details
------------------------- | ---------------------------------------------
Clear()                   | Clears the surface (ANSI and glyphs)
HasPoint()                | Checks to see if the provided Point is within the bounds of the Surface
***Rendering Functions*** | ***Rendering Functions***
**Strings**               | **Strings**
DrawChar()                | Draws a single character
DrawString()              | See DrawStringL()
DrawStringL()             | Draws a string left-justified on the desired position
DrawStringC()             | Draws a string centered on the desired position
DrawStringR()             | Draws a string right-justified on the desired position
DrawVString()             | See DrawVStringT()
DrawVStringT()            | Draws a string vertically top-aligned on the desired position
DrawVStringM()            | Draws a string vertically middle-aligned on the desired position
DrawVStringB()            | Draws a string vertically bottom-aligned on the desired position
**Primitives**            | **Primitives**
DrawBox                   | Draws a simple box

</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NicroHobak</dc:creator><pubDate>Sat, 14 Jan 2012 00:58:47 -0000</pubDate><guid>https://sourceforge.netd1f5581a8a417beeb392bf57b1a3124bf9aee530</guid></item></channel></rss>