mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: alignment
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
d12fb4b380
commit
e02cd968c2
2 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ typedef enum {
|
|||
GTextOverflowModeFill
|
||||
} GTextOverflowMode;
|
||||
|
||||
//! Text aligment controls the way the text is aligned inside the box the text is drawn into.
|
||||
//! Text alignment controls the way the text is aligned inside the box the text is drawn into.
|
||||
//! @see graphics_draw_text
|
||||
//! @see text_layer_set_text_alignment
|
||||
typedef enum {
|
||||
|
|
|
@ -120,13 +120,13 @@ const GBitmap* bitmap_layer_get_bitmap(BitmapLayer *bitmap_layer);
|
|||
void bitmap_layer_set_bitmap(BitmapLayer *bitmap_layer, const GBitmap *bitmap);
|
||||
|
||||
//! Sets the alignment of the image to draw with in frame of the BitmapLayer.
|
||||
//! The aligment parameter specifies which edges of the bitmap should overlap
|
||||
//! The alignment parameter specifies which edges of the bitmap should overlap
|
||||
//! with the frame of the BitmapLayer.
|
||||
//! If the bitmap is smaller than the frame of the BitmapLayer, the background
|
||||
//! is filled with the background color.
|
||||
//!
|
||||
//! The bitmap layer is automatically marked dirty after this operation.
|
||||
//! @param bitmap_layer The BitmapLayer for which to set the aligment
|
||||
//! @param bitmap_layer The BitmapLayer for which to set the alignment
|
||||
//! @param alignment The new alignment for the image inside the BitmapLayer
|
||||
void bitmap_layer_set_alignment(BitmapLayer *bitmap_layer, GAlign alignment);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue