Surface.markDirtyRectangle - multiple declarations

Function 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.

Prototypes

void markDirtyRectangle(
  int x,
  int y,
  int width,
  int height
);

void markDirtyRectangle(
  Rectangle!(int) rect
);

Function 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.

Prototypes

void markDirtyRectangle(
  int x,
  int y,
  int width,
  int height
);

void markDirtyRectangle(
  Rectangle!(int) rect
);

Authors

Johannes Pfau cairoD
Andrej Mitrovic cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1