company logo

Pixmap :: Pixmap - Constructor

The constructor allows creating a pixmap definition from internal or external resources (file, database).

Implementation overview

Implementation details

  1. 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.

  2. to list
  3. 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.

  4. to list
  5. Create empty pixmap
    Pixmap  :: Pixmap (  )
  6. to list
  7. 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.

  8. to list