Pixmap :: Pixmap - Constructor
The constructor allows creating a pixmap definition from internal or external resources (file, database).
Implementation overview
- Create pixmap from binary data block
Pixmap :: Pixmap ( cBinary ) - Copy constructor
Pixmap :: Pixmap ( cPixmap ) - Create empty pixmap
Pixmap :: Pixmap (  ) - Create pixmap from file
Pixmap :: Pixmap ( sPath )
Implementation details
-
Create pixmap from binary data block
Pixmap  :: Pixmap ( odaba::Binary &cBinary )
The pixmap definition is created from the binary data block passed in cBinary .
- cBinary
- Binary data block
The binary data block contains binary data usually read from a file or database.
to list
- cBinary
- Binary data block
-
Copy constructor
Pixmap  :: Pixmap ( odabagui::Pixmap &cPixmap )
The copy constructor creates a pixmap definition from another pixmap definition. Path and binary data are shared as long as not being updated.
- cPixmap
- Pixmap data
Pixmap data contains a file path to a pixmap file and/or pixmap data as binary data block.
to list
- cPixmap
- Pixmap data
- to list
-
Create pixmap from file
Pixmap  :: Pixmap ( odaba::String &sPath )
The constructor creates a pixmap from the file passed in sPath . In order to provide variable file names, the file name may contain option variables enclosed in %...%.
- sPath
- File path
The string refers to a relative or absolute file location.
to list
- sPath
- File path