The WEBP image resource class. More...

#include "murl_resource_webp_image.h"

Inheritance diagram for Murl::Resource::WebpImage:

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< IObject >
typedef Array< const ClassInfo *> ClassInfoArray
 Definition of an array of ClassInfo objects. More...
 
- Public Member Functions inherited from Murl::IFactoryObject< IObject >
virtual ~IFactoryObject ()
 The destructor. More...
 
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.
 
- 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 WEBP image resource class.

Use the <Resource> tag in a .murlres package's resource.xml file to specify a WEBP 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_webp_image.h


Copyright © 2011-2018 Spraylight GmbH.