CairoContext::copyPathcairo_copy_path(PECL cairo >= 0.1.0) CairoContext::copyPath -- cairo_copy_path — Creates a copy of the current path ОписаниеОбъектно-ориентированный стиль (method): Процедурный стиль: Creates a copy of the current path and returns it to the user as a CairoPath. See CairoPath for hints on how to iterate over the returned data structure. This function will always return a valid CairoPath object, but the result will have no data, if either of the following conditions hold:
Список параметров
Возвращаемые значенияA copy of the current CairoPath in the context Примеры
Пример #1 Объектно-ориентированный стиль
<?phpРезультатом выполнения данного примера будет что-то подобное:
object(CairoPath)#3 (0) {
}
Пример #2 Процедурный стиль
<?phpРезультатом выполнения данного примера будет что-то подобное:
object(CairoPath)#3 (0) {
}
|
||