The PNG image resource class. More...

#include "murl_resource_png_image.h"

Inheritance diagram for Murl::Resource::PngImage:

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< IObject >
using ClassInfoArray = Array< const ClassInfo * >
 Definition of an array of ClassInfo objects.
 
- Public Member Functions inherited from Murl::Resource::IObject
virtual Bool GetFileDependencies (Array< String > &fileNames) const =0
 Fill a given string array with names of files the resource depends on. More...
 
- Public Member Functions inherited from Murl::IFactoryObject< IObject >
 ~IFactoryObject () override
 The destructor.
 
virtual const ClassInfo * GetObjectClassInfo () const=0
 Get the object instance's class info, if present. More...
 
virtual void ResetObjectProperties ()=0
 Reset the object instance's properties to their default values.
 
- Public Member Functions inherited from Murl::Resource::IImage
virtual IObjectGetObjectInterface ()=0
 Get the mutable Resource::IObject interface. More...
 
virtual const IObjectGetObjectInterface () const =0
 Get the constant Resource::IObject interface. More...
 
- Static Public Member Functions inherited from Murl::IFactoryObject< IObject >
static const PropertyInfoGetPropertyInfo ()
 Get the class' property info struct. More...
 
static const AttributeInfoGetAttributeInfo ()
 Get the class' attribute info struct. More...
 
static void ResetProperties (IFactoryObject< IObject > *object)
 Reset an object instance's properties to their default values. More...
 

Detailed Description

The PNG image resource class.

Use the <Resource> tag in a .murlres package's resource.xml file to specify a PNG image resource. See Murl::Resource::Object.

XML Elements

XML Resource Object Attributes:

matteColor="0f,0f,0f,0f" [Color]

The matte color to use for the image. If specified, the image is processed during loading to replace all color values whose alpha value is equal or below a given threshold (see the matteThreshold attribute below) with the given color value. See Murl::IVideoSurface::ApplyMatte().

matteThreshold="8" [UInt32]

The matte threshold to use, if the matteColor attribute above is specified.


The documentation for this class was generated from the following file:
  • murl_resource_png_image.h


Copyright © 2011-2024 Spraylight GmbH.