summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-06-08 12:17:42 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-06-11 09:26:51 +0300
commit65d17f83f70434729a3ff2833c667ec1cb18bdd0 (patch)
treefa3dfd06b8b5462dfd30335b1191bf64bf67b5b6 /basebmp
parent62d4eb0c8064697abbb91cdf2785777849d29e4a (diff)
Avoid misleading term "factory method", just say "function"
Change-Id: I35de0d7eedae5454001fad7e43c6697d9042a829
Diffstat (limited to 'basebmp')
-rw-r--r--basebmp/inc/basebmp/bitmapdevice.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/basebmp/inc/basebmp/bitmapdevice.hxx b/basebmp/inc/basebmp/bitmapdevice.hxx
index 5d67344033b2..b4995ecaa5dc 100644
--- a/basebmp/inc/basebmp/bitmapdevice.hxx
+++ b/basebmp/inc/basebmp/bitmapdevice.hxx
@@ -74,7 +74,7 @@ protected:
/** Definition of BitmapDevice interface
- Use the createBitmapDevice() factory method to create instances.
+ Use the createBitmapDevice() function to create instances.
Implementation note: the clip mask and bitmap parameter instances
of BitmapDevice that are passed to individual BitmapDevice
@@ -658,13 +658,13 @@ private:
boost::scoped_ptr< ImplBitmapDevice > mpImpl;
};
-/** Factory method to create a BitmapDevice for given scanline format
+/** Function to create a BitmapDevice for given scanline format
*/
BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVector& rSize,
bool bTopDown,
sal_Int32 nScanlineFormat );
-/** Factory method to create a BitmapDevice for given scanline format
+/** Function to create a BitmapDevice for given scanline format
with the given palette
Note: the provided palette must have sufficient size, to satisfy
@@ -676,7 +676,7 @@ BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVe
sal_Int32 nScanlineFormat,
const PaletteMemorySharedVector& rPalette );
-/** Factory method to create a BitmapDevice for given scanline format
+/** Function to create a BitmapDevice for given scanline format
from the given piece of raw memory and palette
Note: the provided memory must have sufficient size, to store the
@@ -689,7 +689,7 @@ BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVe
const PaletteMemorySharedVector& rPalette );
-/** Factory method to retrieve a subsetted BitmapDevice to the same
+/** Function to retrieve a subsetted BitmapDevice to the same
memory.
This method creates a second bitmap device instance, which renders
@@ -700,7 +700,7 @@ BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVe
BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr subsetBitmapDevice( const BitmapDeviceSharedPtr& rProto,
const basegfx::B2IBox& rSubset );
-/** Factory method to clone a BitmapDevice from a given prototype.
+/** Function to clone a BitmapDevice from a given prototype.
All attributes (like scanline format and top-down state) are
copied, only the size can be varied. Note that the prototype's