Public Member Functions

  • GradientLinear (double x0, double y0, double x1, double y1)
  • GradientLinear (vec2 point0, vec2 point1)
  • 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 Attributes

  • cairo_pattern_t *
    mCairoPattern