mirror of
https://github.com/google/pebble.git
synced 2025-04-23 21:17:12 -04:00
spelling: subtracted
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
85257fc5c4
commit
836341f13b
1 changed files with 2 additions and 2 deletions
|
@ -459,7 +459,7 @@ void prv_draw_stroked_line_precise(GContext* ctx, GPointPrecise p0, GPointPrecis
|
|||
|
||||
// Drawing loop: Iterates over horizontal lines
|
||||
// As part of optimisation, this algorithm is moving between drawing boundaries,
|
||||
// so drawing box has to be substracted from its clipping extremes
|
||||
// so drawing box has to be subtracted from its clipping extremes
|
||||
const int16_t clip_min_y = ctx->draw_state.clip_box.origin.y
|
||||
- ctx->draw_state.drawing_box.origin.y;
|
||||
const int16_t clip_max_y = clip_min_y + ctx->draw_state.clip_box.size.h;
|
||||
|
@ -585,7 +585,7 @@ void prv_draw_stroked_line_precise(GContext* ctx, GPointPrecise p0, GPointPrecis
|
|||
|
||||
// Drawing loop: Iterates over vertical lines from left to right
|
||||
// As part of optimisation, this algorithm is moving between drawing boundaries,
|
||||
// so drawing box has to be substracted from its clipping extremes
|
||||
// so drawing box has to be subtracted from its clipping extremes
|
||||
const int16_t clip_min_x = ctx->draw_state.clip_box.origin.x
|
||||
- ctx->draw_state.drawing_box.origin.x;
|
||||
const int16_t clip_max_x = clip_min_x + ctx->draw_state.clip_box.size.w;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue