Skip to content

Latest commit

 

History

History
80 lines (43 loc) · 2.96 KB

CairoDrawContext.md

File metadata and controls

80 lines (43 loc) · 2.96 KB

Class lwtk.lpugl.CairoDrawContext

Contents

Inheritance

Constructor

Methods

  • lpugl.CairoDrawContext:beginOpacity(opacity)

  • lpugl.CairoDrawContext:drawBorder(color, borderThickness, x, y, w, h)

  • lpugl.CairoDrawContext:drawLine(x1, y1, x2, y2, ...)

  • lpugl.CairoDrawContext:drawText(x, y, text)

  • lpugl.CairoDrawContext:endOpacity()

  • lpugl.CairoDrawContext:fillRect(color, x, y, w, h)

  • lpugl.CairoDrawContext:intersectClip(x, y, w, h)

  • lpugl.CairoDrawContext:restore()

  • lpugl.CairoDrawContext:save()

  • lpugl.CairoDrawContext:setColor(r, g, b, a)

  • lpugl.CairoDrawContext:setLineWidth(w)

  • lpugl.CairoDrawContext:translate(x, y)

  • lpugl.CairoDrawContext:_setCairoContext(cairoCtx)

Inherited Methods