<html>
<head>
</head>

<body bgcolor="#FFFFFF">
<p class="Decl"><strong>procedure</strong> InitializeSurface(NewWidth, NewHeight: Integer; ClearBuffer: Boolean);<strong> virtual; abstract;</strong></p>
<h2>Description</h2>
<p class="Body">Initializes the surface with the dimensions of <strong>NewWidth</strong> x <strong>NewHeight</strong> both measured in pixels. Each pixel has to be 4 byte (ARGB) in size. The allocated memory has to be contiguous with the stride being the length of <strong>NewWidth</strong