84PCSE:BCALLs:4D74
From WikiTI
Revision as of 19:47, 19 October 2013 by FloppusMaximus (Talk | contribs)
Synopsis
Hypothesized Official Name: DrawRectBorderClear
BCALL Address: 4D74h
Draw a rectangular outline 1 pixel wide, and fill the interior of the rectangle with white.
Inputs
- HL = X coordinate of left edge
- DE = X coordinate of right edge (must be greater than HL and at most 319)
- B = Y coordinate of top edge (from top of screen)
- C = Y coordinate of bottom edge (must be greater than B and at most 239)
- (penFGColor) = RGB color of outline
Outputs
- (fillRectColor) = 0FFFFh
Destroys
- AF
- Interrupts disabled
Comments
The rectangle is drawn only to the LCD, never to the graph buffer.
The dimensions of the enclosed area are (HL-DE-1) × (C-B-1). The outer dimensions of the border are (HL-DE+1) × (C-B+1).