mirror of
https://github.com/google/pebble.git
synced 2025-04-30 07:21:39 -04:00
spelling: necessary
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
808be075ae
commit
56f2f72c43
2 changed files with 3 additions and 3 deletions
|
@ -256,7 +256,7 @@ T_STATIC void graphics_circle_quadrant_draw_1px_aa(GContext* ctx, GPoint p, uint
|
|||
* x -
|
||||
*
|
||||
* | original calculated pixels for plotting
|
||||
* - mirrored eight of the circle (will mirror more of them if neccessary)
|
||||
* - mirrored eight of the circle (will mirror more of them if necessary)
|
||||
* o special case pixels
|
||||
* x center of the circle
|
||||
*/
|
||||
|
@ -866,7 +866,7 @@ static void prv_fill_oval_precise(GContext *ctx, GPointPrecise center,
|
|||
radius_inner_x.raw_value, radius_inner_y.raw_value,
|
||||
config.end_quadrant.angle);
|
||||
|
||||
// Swapping top/bottom offset points if neccesary
|
||||
// Swapping top/bottom offset points if necessary
|
||||
if (start_top.y.raw_value > start_bottom.y.raw_value) {
|
||||
prv_swap_precise_points(&start_top, &start_bottom);
|
||||
} else if (start_top.y.raw_value == start_bottom.y.raw_value &&
|
||||
|
|
|
@ -417,7 +417,7 @@ void prv_draw_stroked_line_precise(GContext* ctx, GPointPrecise p0, GPointPrecis
|
|||
// Finish color hack
|
||||
ctx->draw_state.fill_color = temp_color;
|
||||
|
||||
// Return without drawing the line since its not neccessary
|
||||
// Return without drawing the line since its not necessary
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue