Legacy Constants — Pycairo documentation

# Legacy Constants

These constants are aliases for enum attributes in newer versions of Pycairo. They might still be useful if you need to support Pycairo versions older than 1.13.

cairo.ANTIALIAS_DEFAULT = Ellipsis

  The type of the Ellipsis singleton.

cairo.ANTIALIAS_NONE = Ellipsis

  The type of the Ellipsis singleton.

cairo.ANTIALIAS_GRAY = Ellipsis

  The type of the Ellipsis singleton.

cairo.ANTIALIAS_SUBPIXEL = Ellipsis

  The type of the Ellipsis singleton.

cairo.ANTIALIAS_FAST = Ellipsis

  The type of the Ellipsis singleton.

cairo.ANTIALIAS_GOOD = Ellipsis

  The type of the Ellipsis singleton.

cairo.ANTIALIAS_BEST = Ellipsis

  The type of the Ellipsis singleton.

cairo.CONTENT_COLOR = Ellipsis

  The type of the Ellipsis singleton.

cairo.CONTENT_ALPHA = Ellipsis

  The type of the Ellipsis singleton.

cairo.CONTENT_COLOR_ALPHA = Ellipsis

  The type of the Ellipsis singleton.

cairo.EXTEND_NONE = Ellipsis

  The type of the Ellipsis singleton.

cairo.EXTEND_REPEAT = Ellipsis

  The type of the Ellipsis singleton.

cairo.EXTEND_REFLECT = Ellipsis

  The type of the Ellipsis singleton.

cairo.EXTEND_PAD = Ellipsis

  The type of the Ellipsis singleton.

cairo.FILL_RULE_WINDING = Ellipsis

  The type of the Ellipsis singleton.

cairo.FILL_RULE_EVEN_ODD = Ellipsis

  The type of the Ellipsis singleton.

cairo.FILTER_FAST = Ellipsis

  The type of the Ellipsis singleton.

cairo.FILTER_GOOD = Ellipsis

  The type of the Ellipsis singleton.

cairo.FILTER_BEST = Ellipsis

  The type of the Ellipsis singleton.

cairo.FILTER_NEAREST = Ellipsis

  The type of the Ellipsis singleton.

cairo.FILTER_BILINEAR = Ellipsis

  The type of the Ellipsis singleton.

cairo.FILTER_GAUSSIAN = Ellipsis

  The type of the Ellipsis singleton.

cairo.FONT_SLANT_NORMAL = Ellipsis

  The type of the Ellipsis singleton.

cairo.FONT_SLANT_ITALIC = Ellipsis

  The type of the Ellipsis singleton.

cairo.FONT_SLANT_OBLIQUE = Ellipsis

  The type of the Ellipsis singleton.

cairo.FONT_WEIGHT_NORMAL = Ellipsis

  The type of the Ellipsis singleton.

cairo.FONT_WEIGHT_BOLD = Ellipsis

  The type of the Ellipsis singleton.

cairo.FORMAT_INVALID = Ellipsis

  The type of the Ellipsis singleton.

cairo.FORMAT_ARGB32 = Ellipsis

  The type of the Ellipsis singleton.

cairo.FORMAT_RGB24 = Ellipsis

  The type of the Ellipsis singleton.

cairo.FORMAT_A8 = Ellipsis

  The type of the Ellipsis singleton.

cairo.FORMAT_A1 = Ellipsis

  The type of the Ellipsis singleton.

cairo.FORMAT_RGB16_565 = Ellipsis

  The type of the Ellipsis singleton.

cairo.FORMAT_RGB30 = Ellipsis

  The type of the Ellipsis singleton.

cairo.HINT_METRICS_DEFAULT = Ellipsis

  The type of the Ellipsis singleton.

cairo.HINT_METRICS_OFF = Ellipsis

  The type of the Ellipsis singleton.

cairo.HINT_METRICS_ON = Ellipsis

  The type of the Ellipsis singleton.

cairo.HINT_STYLE_DEFAULT = Ellipsis

  The type of the Ellipsis singleton.

cairo.HINT_STYLE_NONE = Ellipsis

  The type of the Ellipsis singleton.

cairo.HINT_STYLE_SLIGHT = Ellipsis

  The type of the Ellipsis singleton.

cairo.HINT_STYLE_MEDIUM = Ellipsis

  The type of the Ellipsis singleton.

cairo.HINT_STYLE_FULL = Ellipsis

  The type of the Ellipsis singleton.

cairo.LINE_CAP_BUTT = Ellipsis

  The type of the Ellipsis singleton.

cairo.LINE_CAP_ROUND = Ellipsis

  The type of the Ellipsis singleton.

cairo.LINE_CAP_SQUARE = Ellipsis

  The type of the Ellipsis singleton.

cairo.LINE_JOIN_MITER = Ellipsis

  The type of the Ellipsis singleton.

cairo.LINE_JOIN_ROUND = Ellipsis

  The type of the Ellipsis singleton.

cairo.LINE_JOIN_BEVEL = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_CLEAR = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_SOURCE = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_OVER = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_IN = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_OUT = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_ATOP = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_DEST = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_DEST_OVER = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_DEST_IN = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_DEST_OUT = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_DEST_ATOP = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_XOR = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_ADD = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_SATURATE = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_MULTIPLY = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_SCREEN = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_OVERLAY = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_DARKEN = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_LIGHTEN = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_COLOR_DODGE = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_COLOR_BURN = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_HARD_LIGHT = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_SOFT_LIGHT = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_DIFFERENCE = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_EXCLUSION = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_HSL_HUE = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_HSL_SATURATION = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_HSL_COLOR = Ellipsis

  The type of the Ellipsis singleton.

cairo.OPERATOR_HSL_LUMINOSITY = Ellipsis

  The type of the Ellipsis singleton.

cairo.PATH_MOVE_TO = Ellipsis

  The type of the Ellipsis singleton.

cairo.PATH_LINE_TO = Ellipsis

  The type of the Ellipsis singleton.

cairo.PATH_CURVE_TO = Ellipsis

  The type of the Ellipsis singleton.

cairo.PATH_CLOSE_PATH = Ellipsis

  The type of the Ellipsis singleton.

cairo.PS_LEVEL_2 = Ellipsis

  The type of the Ellipsis singleton.

cairo.PS_LEVEL_3 = Ellipsis

  The type of the Ellipsis singleton.

cairo.PDF_VERSION_1_4 = Ellipsis

  The type of the Ellipsis singleton.

cairo.PDF_VERSION_1_5 = Ellipsis

  The type of the Ellipsis singleton.

cairo.SVG_VERSION_1_1 = Ellipsis

  The type of the Ellipsis singleton.

cairo.SVG_VERSION_1_2 = Ellipsis

  The type of the Ellipsis singleton.

cairo.SUBPIXEL_ORDER_DEFAULT = Ellipsis

  The type of the Ellipsis singleton.

cairo.SUBPIXEL_ORDER_RGB = Ellipsis

  The type of the Ellipsis singleton.

cairo.SUBPIXEL_ORDER_BGR = Ellipsis

  The type of the Ellipsis singleton.

cairo.SUBPIXEL_ORDER_VRGB = Ellipsis

  The type of the Ellipsis singleton.

cairo.SUBPIXEL_ORDER_VBGR = Ellipsis

  The type of the Ellipsis singleton.

cairo.REGION_OVERLAP_IN = Ellipsis

  The type of the Ellipsis singleton.

cairo.REGION_OVERLAP_OUT = Ellipsis

  The type of the Ellipsis singleton.

cairo.REGION_OVERLAP_PART = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_SUCCESS = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_NO_MEMORY = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_RESTORE = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_POP_GROUP = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_NO_CURRENT_POINT = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_MATRIX = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_STATUS = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_NULL_POINTER = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_STRING = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_PATH_DATA = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_READ_ERROR = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_WRITE_ERROR = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_SURFACE_FINISHED = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_SURFACE_TYPE_MISMATCH = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_PATTERN_TYPE_MISMATCH = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_CONTENT = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_FORMAT = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_VISUAL = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_FILE_NOT_FOUND = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_DASH = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_DSC_COMMENT = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_INDEX = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_CLIP_NOT_REPRESENTABLE = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_TEMP_FILE_ERROR = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_STRIDE = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_FONT_TYPE_MISMATCH = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_USER_FONT_IMMUTABLE = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_USER_FONT_ERROR = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_NEGATIVE_COUNT = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_CLUSTERS = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_SLANT = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_WEIGHT = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_SIZE = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_USER_FONT_NOT_IMPLEMENTED = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_DEVICE_TYPE_MISMATCH = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_DEVICE_ERROR = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_INVALID_MESH_CONSTRUCTION = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_DEVICE_FINISHED = Ellipsis

  The type of the Ellipsis singleton.

cairo.STATUS_LAST_STATUS = Ellipsis

  The type of the Ellipsis singleton.