Kaydet (Commit) 65d17f83 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Avoid misleading term "factory method", just say "function"

Change-Id: I35de0d7eedae5454001fad7e43c6697d9042a829
üst 62d4eb0c
...@@ -74,7 +74,7 @@ protected: ...@@ -74,7 +74,7 @@ protected:
/** Definition of BitmapDevice interface /** 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 Implementation note: the clip mask and bitmap parameter instances
of BitmapDevice that are passed to individual BitmapDevice of BitmapDevice that are passed to individual BitmapDevice
...@@ -658,13 +658,13 @@ private: ...@@ -658,13 +658,13 @@ private:
boost::scoped_ptr< ImplBitmapDevice > mpImpl; 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, BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVector& rSize,
bool bTopDown, bool bTopDown,
sal_Int32 nScanlineFormat ); 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 with the given palette
Note: the provided palette must have sufficient size, to satisfy Note: the provided palette must have sufficient size, to satisfy
...@@ -676,7 +676,7 @@ BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVe ...@@ -676,7 +676,7 @@ BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVe
sal_Int32 nScanlineFormat, sal_Int32 nScanlineFormat,
const PaletteMemorySharedVector& rPalette ); 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 from the given piece of raw memory and palette
Note: the provided memory must have sufficient size, to store the Note: the provided memory must have sufficient size, to store the
...@@ -689,7 +689,7 @@ BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVe ...@@ -689,7 +689,7 @@ BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVe
const PaletteMemorySharedVector& rPalette ); const PaletteMemorySharedVector& rPalette );
/** Factory method to retrieve a subsetted BitmapDevice to the same /** Function to retrieve a subsetted BitmapDevice to the same
memory. memory.
This method creates a second bitmap device instance, which renders This method creates a second bitmap device instance, which renders
...@@ -700,7 +700,7 @@ BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVe ...@@ -700,7 +700,7 @@ BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVe
BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr subsetBitmapDevice( const BitmapDeviceSharedPtr& rProto, BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr subsetBitmapDevice( const BitmapDeviceSharedPtr& rProto,
const basegfx::B2IBox& rSubset ); 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 All attributes (like scanline format and top-down state) are
copied, only the size can be varied. Note that the prototype's copied, only the size can be varied. Note that the prototype's
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment