Public Member Functions

  • void
    addColorStopRgb (double offset, double red, double green, double blue)
  • void
    addColorStopRgba (double offset, double red, double green, double blue, double alpha)
  • void
    addColorStop (double offset, const Color &color)
  • void
    addColorStop (double offset, const ColorA &color)
  • void
    getColorStopRgba (int index, double *offset, double *red, double *green, double *blue, double *alpha)
  • cairo_pattern_t *
    getCairoPattern ()
  • void
    setExtend (int extend)
  • void
    setExtendNone ()
  • void
    setExtendRepeat ()
  • void
    setExtendReflect ()
  • void
    setExtendPad ()
  • int
    getExtend () const
  • void
    setFilter (int filter)
  • int
    getFilter () const
  • void
    setMatrix (const Matrix &matrix)
  • getMatrix () const

Protected Member Functions

  • Gradient (cairo_pattern_t *pattern)

Protected Attributes

  • cairo_pattern_t *
    mCairoPattern