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

Method RectangleDraw

scintilla/win32/PlatWin.cxx:723–727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721}
722
723void SurfaceGDI::RectangleDraw(PRectangle rc, ColourDesired fore, ColourDesired back) {
724 PenColour(fore);
725 BrushColor(back);
726 ::Rectangle(hdc, rc.left, rc.top, rc.right, rc.bottom);
727}
728
729void SurfaceGDI::FillRectangle(PRectangle rc, ColourDesired back) {
730 // Using ExtTextOut rather than a FillRect ensures that no dithering occurs.

Callers 2

DrawBoxFunction · 0.80
DrawMethod · 0.80

Calls 2

RoundFloatFunction · 0.85
FillRectangleMethod · 0.80

Tested by

no test coverage detected