summaryrefslogtreecommitdiff
path: root/basebmp/source/bitmapdevice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basebmp/source/bitmapdevice.cxx')
-rw-r--r--basebmp/source/bitmapdevice.cxx41
1 files changed, 3 insertions, 38 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index 4e179c3a0ce0..bf4cafd16cb2 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -1622,17 +1623,6 @@ struct StdMasks
static const bool alphamask_polarity = true;
};
-#if 0
-/** Clip and alpha masks for the generic renderer (of course, those
- need to be generic, too)
- */
-struct MaskTraitsGeneric
-{
- typedef PixelFormatTraits_GenericInteger clipmask_format_traits;
- typedef PixelFormatTraits_GenericInteger alphamask_format_traits;
-};
-#endif
-
//----------------------------------------------------------------------------------
// Some compilers don't like the nested template wrap_accessor
@@ -2031,34 +2021,9 @@ BitmapDeviceSharedPtr cloneBitmapDevice( const basegfx::B2IVector& rSize,
/// Clone our device, with GenericImageAccessor to handle all formats
BitmapDeviceSharedPtr BitmapDevice::getGenericRenderer() const
{
-#if 0
- // xxx TODO
- typedef BitmapRenderer< PixelFormatTraits_GenericInteger::iterator_type,
- PixelFormatTraits_GenericInteger::raw_accessor_type,
- PixelFormatTraits_GenericInteger::accessor_selector,
- MaskTraitsGeneric >
- Renderer;
-
- if( !mpImpl->mpGenericRenderer )
- {
- mpImpl->mpGenericRenderer.reset(
- new Renderer(
- mpImpl->maBounds,
- isTopDown(),
- getScanlineFormat(),
- getScanlineStride(),
- mpImpl->mpFirstScanline,
- PixelFormatTraits_GenericInteger::iterator_type(),
- GenericIntegerImageRawAccessor<Color>(
- const_cast<BitmapDevice*>(this)->shared_from_this()),
- GenericIntegerImageAccessor<Color>(
- const_cast<BitmapDevice*>(this)->shared_from_this()),
- getBuffer(),
- getPalette() ));
- }
-#endif
-
return mpImpl->mpGenericRenderer;
}
} // namespace basebmp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */