FANDOM


Paint Edit

Refresh the filling in the cCairoContext.

Example Edit

Dim CC As cCairoContext
  'unlike in GDI, where we would "Select" a Bitmap into a hDC first...
  'with Cairo we can create such a CC "anytime" from any Surface
  'in a non-expensive Operation (this does not need larger CPU-cycles)
  Set CC = Srf.CreateContext
 
  'the following two lines ensure a complete Surface-Fill
  CC.SetSourceColor vbWhite
  CC.Paint

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.