summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/octree.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/octree.cxx')
-rw-r--r--vcl/source/gdi/octree.cxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/vcl/source/gdi/octree.cxx b/vcl/source/gdi/octree.cxx
index 0a6a8c1ddc13..4e7222cdb2f5 100644
--- a/vcl/source/gdi/octree.cxx
+++ b/vcl/source/gdi/octree.cxx
@@ -25,15 +25,15 @@
#include "octree.hxx"
-// ---------
+
// - pMask -
-// ---------
+
static const sal_uInt8 pImplMask[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 };
-// -------------
+
// - NodeCache -
-// -------------
+
ImpNodeCache::ImpNodeCache( const sal_uLong nInitSize ) :
pActNode( NULL )
@@ -49,7 +49,7 @@ ImpNodeCache::ImpNodeCache( const sal_uLong nInitSize ) :
}
}
-// ------------------------------------------------------------------------
+
ImpNodeCache::~ImpNodeCache()
{
@@ -62,9 +62,9 @@ ImpNodeCache::~ImpNodeCache()
}
}
-// ----------
+
// - Octree -
-// ----------
+
Octree::Octree( const BitmapReadAccess& rReadAcc, sal_uLong nColors ) :
nMax ( nColors ),
@@ -77,7 +77,7 @@ Octree::Octree( const BitmapReadAccess& rReadAcc, sal_uLong nColors ) :
ImplCreateOctree();
}
-// ------------------------------------------------------------------------
+
Octree::~Octree()
{
@@ -85,7 +85,7 @@ Octree::~Octree()
delete pNodeCache;
}
-// ------------------------------------------------------------------------
+
void Octree::ImplCreateOctree()
{
@@ -131,7 +131,7 @@ void Octree::ImplCreateOctree()
}
}
-// ------------------------------------------------------------------------
+
void Octree::ImplDeleteOctree( PPNODE ppNode )
{
@@ -145,7 +145,7 @@ void Octree::ImplDeleteOctree( PPNODE ppNode )
*ppNode = NULL;
}
-// ------------------------------------------------------------------------
+
void Octree::ImplAdd( PPNODE ppNode )
{
@@ -184,7 +184,7 @@ void Octree::ImplAdd( PPNODE ppNode )
}
}
-// ------------------------------------------------------------------------
+
void Octree::ImplReduce()
{
@@ -224,7 +224,7 @@ void Octree::ImplReduce()
nLeafCount -= --nChildren;
}
-// ------------------------------------------------------------------------
+
void Octree::CreatePalette( PNODE pNode )
{
@@ -241,7 +241,7 @@ void Octree::CreatePalette( PNODE pNode )
}
-// ------------------------------------------------------------------------
+
void Octree::GetPalIndex( PNODE pNode )
{
@@ -259,9 +259,9 @@ void Octree::GetPalIndex( PNODE pNode )
}
}
-// -------------------
+
// - InverseColorMap -
-// -------------------
+
InverseColorMap::InverseColorMap( const BitmapPalette& rPal ) :
nBits( 8 - OCTREE_BITS )
@@ -315,7 +315,7 @@ InverseColorMap::InverseColorMap( const BitmapPalette& rPal ) :
}
}
-// ------------------------------------------------------------------------
+
InverseColorMap::~InverseColorMap()
{
@@ -323,7 +323,7 @@ InverseColorMap::~InverseColorMap()
rtl_freeMemory( pMap );
}
-// ------------------------------------------------------------------------
+
void InverseColorMap::ImplCreateBuffers( const sal_uLong nMax )
{