SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | X | O | O |
Public Functions | |
---|---|
SFCError |
EnableClientFrameGeneration(
Bool enable
) This function allows the application to control frame generation.
|
SFCError |
Focus(
SInt16 event
) Send a focus event to the SVG decoder.
|
SFCError |
GenerateFrame(
UInt32 frameTime
) Request a frame to be generated in client-controlled mode.
|
SFCError |
Key(
SVGKeyData * key
) Send a key event to the SVG decoder.
|
static SFBMediaSVGSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBMediaSVG instance.
|
static SFBMediaSVGSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBMediaSVG instance.
|
SFCError |
Pan(
SVGPanData * pan
) Send a pan event to the SVG decoder.
|
SFCError |
PointerClick(
SVGPointerData * pointer
) Send a pointer click event to the SVG decoder.
|
SFCError |
PointerDown(
SVGPointerData * pointer
) sends a pointer down event to the SVG decoder.
|
SFCError |
PointerLeave(
SVGPointerData * pointer
) Send a pointer leave event to the SVG decoder.
|
SFCError |
PointerMove(
SVGPointerData * pointer
) Send a pointer move event to the SVG decoder.
|
SFCError |
PointerOver(
SVGPointerData * pointer
) This function sends a pointer over event to the SVG decoder.
|
SFCError |
PointerUp(
SVGPointerData * pointer
) Send a pointer up event to the SVG decoder.
|
SFCError |
ResetFrame( Void ) Resets the current frame to original view, undoing prior zoom and pan events.
|
SFCError |
Rotate(
SVGRotateData * rotate
) Send a rotate event to the SVG decoder.
|
SFCError |
SetBackgroundColor(
RGBVAL color
) Set the frame background color.
|
SFCError |
SetBackgroundColor(
SFXRGBColorConstRef color
) Set the frame background color.
|
SFCError |
SetDPI(
UInt16 dpi
) Set the frame dots per inch (DPI).
|
SFCError |
SetDir(
ACharConstPtr directory
) Set the default directory for external files.
|
SFCError |
SetDir(
SFXAnsiStringConstRef directory
) Set the default directory for external files.
|
SFCError |
SetFrameDelay(
UInt32 frame
) Set the frame delay for autmatic rendering mode.
|
SFCError |
Zoom(
SVGZoomData * zoom
) Send a zoom event to the SVG decoder.
|
SFCError |
EnableChannelShare(
Bool enable
)
(inherits from SFBMedia)
Enable/Disable exclusive playback of the media.
|
SFCError |
EnableFrameCallback(
Bool enable
)
(inherits from SFBMedia)
Enable/Disable frame playback of the media.
|
SFCError |
FastForward(
SInt32 time
)
(inherits from SFBMedia)
Fast forward lTimeMS milliseconds from the current position.
The media is left in the current state.
|
SFCError |
GetClassID(
AEECLSID* clsid
)
(inherits from SFBMedia)
Retrieve the class ID of SFBMedia Interface object.
|
AEECLSID |
GetClassID( Void )
(inherits from SFBMedia)
Retrieve the class ID of SFBMedia Interface object.
|
SFCError |
GetDecryptCaps(
UInt32Ptr caps
, UInt32ConstHandle formats
)
(inherits from SFBMedia)
Retrieves the decryption capabilities, including the decryption formats, supported for the media.
|
SFCError |
GetFrame(
SFBBitmapSmpPtr frame
)
(inherits from SFBMedia)
Retrieves the current frame as SFBBitmap pointer.
|
SFCError |
GetMediaData(
AEEMediaData* data
)
(inherits from SFBMedia)
Get the media data.
|
SFCError |
GetMediaParm(
SInt32 id
, SInt32Ptr param1
, SInt32Ptr param2
)
(inherits from SFBMedia)
Get the parameters.
|
SFCError |
GetRect(
SFXRectanglePtr imgRect
, SFXRectanglePtr textRect
)
(inherits from SFBMedia)
Retrieve the destination image rectangle and text rectangle.
|
SInt32 |
GetState(
BoolPtr stateChanging
)
(inherits from SFBMedia)
Return the current state of SFBMedia Interface
and also indicates if the SFBMedia Interface object is currently in state transition.
|
SFCError |
GetTotalTime( Void )
(inherits from SFBMedia)
Return the total playback time of the SFBMedia Interface object.
|
SFCError |
GetVolume(
UInt16Ptr volume
)
(inherits from SFBMedia)
Retrieve the volume of the current playback / recording.
|
UInt16 |
GetVolume( Void )
(inherits from SFBMedia)
Retrieve the volume of the current playback / recording.
|
SFCError |
IsChannelShare(
BoolPtr enable
)
(inherits from SFBMedia)
Retrieves the current channel share setting.
|
SFCError |
IsFrameCallback(
BoolPtr enable
)
(inherits from SFBMedia)
Retrieves the current frame callback enable/disable setting.
|
SFCError |
Pause( Void )
(inherits from SFBMedia)
Pause the media.
|
SFCError |
Play( Void )
(inherits from SFBMedia)
Start the playback of a media.
|
SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFCError |
QueryInterface(
AEECLSID clsid
, SFBBaseSmpPtr handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFCError |
Record( Void )
(inherits from SFBMedia)
Start the recording of a media.
|
SFCError |
RegisterNotify(
PFNMEDIANOTIFY notify
, VoidPtr data = null
)
(inherits from SFBMedia)
Register a callback notification function.
|
SFCError |
Resume( Void )
(inherits from SFBMedia)
Resume the media from the current position.
|
SFCError |
Rewind(
SInt32 time
)
(inherits from SFBMedia)
Rewind the specified time from the current position.
The media is left in the current state.
|
SFCError |
Seek(
AEEMediaSeek seek
, SInt32 time
)
(inherits from SFBMedia)
Seek the media position.
The media is left in the current state.
|
SFCError |
SeekFrame(
AEEMediaSeek seek
, SInt32 frames
)
(inherits from SFBMedia)
Seek the media pos based on the seek reference and number of frames.
Typically, this API is used for video formats to seek based on frames.
The media is left in the current state.
|
Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
SFCError |
SetAudioDevice(
AEESoundDevice device
)
(inherits from SFBMedia)
Set the audio output device.
|
SFCError |
SetAudioPath(
SInt32 path
, UInt32 pause
)
(inherits from SFBMedia)
Set the audio path for playback/recording.
|
SFCError |
SetDecryptInfo(
AEEMediaDecryptInfo* info
)
(inherits from SFBMedia)
Set required decryption info necessary to decrypt the media content.
|
SFCError |
SetMediaData(
AEEMediaData* data
)
(inherits from SFBMedia)
Set the media data and puts the media in Ready state.
|
SFCError |
SetMediaDataEx(
AEEMediaDataEx* mediaContent
, SInt32 count
)
(inherits from SFBMedia)
Set a list of media data and puts the media in Ready state.
|
SFCError |
SetMediaParm(
SInt32 id
, SInt32 param1
, SInt32 param2
)
(inherits from SFBMedia)
Set specified the media parameters.
|
SFCError |
SetMuteCtl(
Bool mute
)
(inherits from SFBMedia)
Mute / Unmute the current audio path.
|
SFCError |
SetPan(
UInt16 pan
)
(inherits from SFBMedia)
Set the pan factor of the current playback.
|
SFCError |
SetRect(
SFXRectanglePtr imgRect
, SFXRectanglePtr textRect
)
(inherits from SFBMedia)
Set the destination image rectangle and text rectangle.
|
SFCError |
SetTickTime(
UInt32 tick
)
(inherits from SFBMedia)
Set periodicity of MM_TICK_UPDATE event sent to the application during playback/recording.
|
SFCError |
SetVolume(
UInt16 volume
)
(inherits from SFBMedia)
Set the volume of the current playback / recording.
|
SFCError |
Stop( Void )
(inherits from SFBMedia)
Stop the playback/recording of media.
|
Protected Functions | |
---|---|
static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface.
|
static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.
|
[ public ] SFCError EnableClientFrameGeneration( Bool enable // TRUE/FALSE => Enable/Disable client control of frame generation );
Can have one of the following values:
[ public ] SFCError Key( SVGKeyData * key // Key data );
[ public, static ] SFBMediaSVGSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBMediaSVGSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError Pan( SVGPanData * pan // Pan data );
[ public ] SFCError PointerClick( SVGPointerData * pointer // Pointer data );
[ public ] SFCError PointerDown( SVGPointerData * pointer // Pointer data );
[ public ] SFCError PointerLeave( SVGPointerData * pointer // Pointer data );
[ public ] SFCError PointerMove( SVGPointerData * pointer // Pointer data );
[ public ] SFCError PointerOver( SVGPointerData * pointer // ポインタのデータ );
[ public ] SFCError PointerUp( SVGPointerData * pointer // Pointer data );
[ public ] SFCError ResetFrame(Void);
[ public ] SFCError Rotate( SVGRotateData * rotate // Rotate data );
[ public ] SFCError SetBackgroundColor( RGBVAL color // Background color );
[ public ] SFCError SetBackgroundColor( SFXRGBColorConstRef color // Background color );
デフォルトで,フレームは白の背景に描画されます.
By default frames are rendered with DPI of 72.
[ public ] SFCError SetDir( ACharConstPtr directory // Directory (NULL terminated) );
[ public ] SFCError SetDir( SFXAnsiStringConstRef directory // Directory (NULL terminated) );
SVG content may contain external file references. If such a reference does not contain a directory path, the SVG decoder will use the path set by this function. By default this is the same directory path where the SVG file exists.
By default frames are generated as often as possible (with a delay of 0). Increasing the delay between frames will cause fewer frames to be generated over the time of the SVG playback, creating choppier animation.
[ public ] SFCError Zoom( SVGZoomData * zoom // Zoom data );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |