The CairoStatus class
(No version information available, might only be in Git)
Introduction
CairoStatus is used to indicate errors that can occur when using Cairo. In some cases it is returned directly by functions. but when using CairoContext, the last error, if any, is stored in the object and can be retrieved with CairoContext::status() or cairo_status(). New entries may be added in future versions.
Use Cairo::statusToString() or cairo_status_to_string() to get a human-readable representation of an error message.
Class synopsis
Predefined Constants
CairoStatus::SUCCESS
-
No error has occurred
CairoStatus::NO_MEMORY
-
Out of memory
CairoStatus::INVALID_RESTORE
-
cairo_restore() called without matching cairo_save()
CairoStatus::INVALID_POP_GROUP
-
No saved group to pop
CairoStatus::NO_CURRENT_POINT
-
No current point defined
CairoStatus::INVALID_MATRIX
-
Invalid matrix (not invertible)
CairoStatus::INVALID_STATUS
-
Invalid value for an input CairoStatus>
CairoStatus::NULL_POINTER
-
Null pointer
CairoStatus::INVALID_STRING
-
Input string not valid UTF-8 string
CairoStatus::INVALID_PATH_DATA
-
Input path data not valid
CairoStatus::READ_ERROR
-
Error while reading from input stream
CairoStatus::WRITE_ERROR
-
Error while writing to output stream
CairoStatus::SURFACE_FINISHED
-
Target surface has been finished
CairoStatus::SURFACE_TYPE_MISMATCH
-
The surface type is not appropriate for the operation
CairoStatus::PATTERN_TYPE_MISMATCH
-
The pattern type is not appropriate for the operation
CairoStatus::INVALID_CONTENT
-
Invalid value for an input CairoContent
CairoStatus::INVALID_FORMAT
-
Invalid value for an input CairoFormat
CairoStatus::INVALID_VISUAL
-
Invalid value for an input Visual
CairoStatus::FILE_NOT_FOUND
-
File not found
CairoStatus::INVALID_DASH
-
Invalid value for a dash setting
CairoStatus::INVALID_DSC_COMMENT
-
Invalid value for a DSC comment
CairoStatus::INVALID_INDEX
-
Invalid index passed to getter
CairoStatus::CLIP_NOT_REPRESENTABLE
-
Clip region not representable in desired format
CairoStatus::TEMP_FILE_ERROR
-
Error creating or writing to a temporary file
CairoStatus::INVALID_STRIDE
-
Invalid value for CairoStride
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Обработка и генерация изображений
- Введение
- Установка и настройка
- Предопределенные константы
- Примеры
- Cairo
- Класс Cairo
- The CairoContext class
- The CairoException class
- The CairoStatus class
- The CairoSurface class
- Svg Surface Backend
- The CairoImageSurface class
- Класс CairoPdfSurface
- Класс CairoPsSurface
- Класс CairoSurfaceType
- The CairoFontFace class
- The CairoFontOptions class
- The CairoFontSlant class
- The CairoFontType class
- The CairoFontWeight class
- Класс CairoScaledFont
- The CairoToyFontFace class
- The CairoPatternType class
- The CairoPattern class
- The CairoGradientPattern class
- Класс CairoSolidPattern
- Класс CairoSurfacePattern
- The CairoLinearGradient class
- Класс CairoRadialGradient
- The CairoAntialias class
- The CairoContent class
- Класс CairoExtend
- The CairoFormat class
- The CairoFillRule class
- The CairoFilter class
- The CairoHintMetrics class
- The CairoHintStyle class
- The CairoLineCap class
- Класс CairoLineJoin
- The CairoMatrix class
- The CairoOperator class
- The CairoPath class
- Класс CairoPsLevel
- Класс CairoSubpixelOrder
- Класс CairoSvgVersion
Коментарии
404 Not Found