Surface.markDirtyRectangle

Like Surface.markDirty(), but drawing has been done only to the specified rectangle, so that cairo can retain cached contents for other parts of the surface.

Any cached clip set on the surface will be reset by this function, to make sure that future cairo calls have the clip set that they expect.

  1. void markDirtyRectangle(int x, int y, int width, int height)
    class Surface
    void
    markDirtyRectangle
    (
    int x
    ,
    int y
    ,
    int width
    ,
    int height
    )
  2. void markDirtyRectangle(Rectangle!int rect)

Meta