PHP Velho Oeste 2024

SWFMorph クラス

(PHP 5 < 5.3.0, PECL ming SVN)

はじめに

これらのメソッドは少々変わっています。 単に newSWFMorph(shape1, shape2); とできればわかりやすいのですが、 現在は、shape2 が変形の二番目の部分を知っている必要があります (これは、描画コマンドを受け取った時点ですぐに出力を開始するからです。 そうではなく、すべてが完了してから書き出すようにすれば、かなり楽になるのですが)。

クラス概要

SWFMorph {
/* メソッド */
__construct ( void )
getShape1 ( void ) : SWFShape
getShape2 ( void ) : SWFShape
}

目次

add a note add a note

User Contributed Notes 2 notes

up
1
dk dot php dot net dot nospam at emanuelgreisen dot dk
19 years ago
If you call getShape1() twize (by mistake, when copy-pasting). ming-0.3_beta1 will segfault.
up
1
o dot marce at free dot fr
18 years ago
setLine() is mandatory for shape got with getShape1 and getShape2, otherwise you will get a "failed assertion"
To Top