MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / FillRun

Method FillRun

scintilla/src/XPM.cxx:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void XPM::FillRun(Surface *surface, int code, int startX, int y, int x) {
49 if ((code != codeTransparent) && (startX != x)) {
50 PRectangle rc(startX, y, x, y+1);
51 surface->FillRectangle(rc, ColourFromCode(code));
52 }
53}
54
55XPM::XPM(const char *textForm) {
56 Init(textForm);

Callers

nothing calls this directly

Calls 1

FillRectangleMethod · 0.80

Tested by

no test coverage detected