SlideShare a Scribd company logo
1 of 49
Download to read offline
NYC
Talking Round
Credits:
Heiko, Kevin, Jon and #PDR15
What’s New?
• Pebble Time Round
• Aplite -> Basalt -> Chalk
• SDK 3.6
Hardware
Display Shape
• Round has 7%
more visible pixels
than rectangular
Rectangular
(144 x 168)
Round (visible)
Round (total)
(180 x 180)
(0, 0)
OS Compatibility
Aplite Basalt Chalk
2.x ✅
3.0 ❌ ✅
3.6 ❌ ✅
Pebble Time Round
This Year™
Aplite Basalt Chalk
2.x ✅
3.0 ❌ ✅
3.6 ❌ ✅
3.x ✅
SDK 3.6
• Uniform APIs
• Text Flow
• Round Drawing
• API Improvements
Uniform APIs
Graphics
Timeline
Action Menu
Text Flow
Text Flow
Text Flow
facilisis egestas. Proin
vitae arcu ac diam
viverra aliquet. Nunc
gravida libero nec massa
rutrum, vel ultriciesenim
tristique. Nam magna
enim, ullamcorper nec
tellus vel, accumsan.
(0,0)
(179,179)
facilisis egestas. Proin
vitae arcu ac diam
viverra aliquet. Nunc
gravida libero nec massa
rutrum, vel ultriciesenim
tristique. Nam magna
enim, ullamcorper nec
tellus vel, accumsan.
(0,0)
(179,179)
s_text_layer = text_layer_create(window_bounds);

layer_add_child(

window_layer, text_layer_get_layer(s_text_layer));



text_layer_set_text(s_text_layer, s_text);

text_layer_set_background_color(

s_text_layer, GColorBlueMoon);
Text Layer
facilisis egestas. Proin
vitae arcu ac diam
viverra aliquet. Nunc
gravida libero nec massa
rutrum, vel ultriciesenim
tristique. Nam magna
enim, ullamcorper nec
tellus vel, accumsan.
(0,0)
(179,179)
facilisis egestas. Proin
vitae arcu ac diam
viverra aliquet. Nunc
gravida libero nec massa
rutrum, vel ultriciesenim
tristique. Nam magna
enim, ullamcorper nec
tellus vel, accumsan.
(0,0)
(179,179)
s_text_layer = text_layer_create(window_bounds);

layer_add_child(

window_layer, text_layer_get_layer(s_text_layer));



text_layer_set_text(s_text_layer, s_text);

text_layer_set_background_color(

s_text_layer, GColorBlueMoon);



text_layer_set_text_alignment(

s_text_layer, GTextAlignmentCenter);
TextLayer
facilisis
egestas. Proin
vitae arcu ac diam
viverra aliquet. Nunc
gravida libero nec
massa rutrum, vel
ultriciesenim
(0,0)
(179,179)
facilisis
egestas. Proin
vitae arcu ac diam
viverra aliquet. Nunc
gravida libero nec
massa rutrum, vel
ultriciesenim
(0,0)
(179,179)
10px 10px
10px
10px
facilisis egestas. Proin
vitae arcu ac diam
viverra aliquet. Nunc
gravida libero nec massa
rutrum, vel ultriciesenim
tristique. Nam magna
enim, ullamcorper nec
tellus vel, accumsan.
(0,0)
(179,179)
facilisis egestas. Proin
vitae arcu ac diam
viverra aliquet. Nunc
gravida libero nec massa
rutrum, vel ultriciesenim
tristique. Nam magna
enim, ullamcorper nec
tellus vel, accumsan.
(0,0)
(179,179)
Text Flow
Drawing Round
center_a = GPoint(3, 3);

radius_a = 2;

graphics_fill_circle(ctx,

center_a,

radius_a

);
centera
radiusa
center_b = GPoint(4.5, 4.5);

radius_b = 3.5;

graphics_fill_circle(ctx,

center_b,

radius_b

);
center_a = GPoint(3, 3);

radius_a = 2;

graphics_fill_circle(ctx,

center_a,

radius_a

);
centera
radiusa
centera
radiusb
center_a = GPoint(3, 3);

radius_a = 2;

graphics_fill_circle(ctx,

center_a,

radius_a

);
centera
radiusa
centera
radiusb
center_b = GPoint(4.5, 4.5);

radius_b = 3.5;

graphics_fill_circle(ctx,

center_b,

radius_b

);
Rectangles to the Rescue
rect_a = GRect(1, 1, 5, 5);

somehow_fill_circle_inside(
ctx, rect_a

);
rect_b = GRect(1, 1, 8, 8);

somehow_fill_circle_inside(
ctx, rect_b

);
Drawing Round
void graphics_fill_radial(
GContext *ctx, 

GRect rect, 

GOvalScaleMode scale_mode,

uint16_t inset_thickness,

int32_t angle_start, 

int32_t angle_end
);
void graphics_draw_arc(

GContext *ctx,

GRect rect,

GOvalScaleMode scale_mode,

int32_t angle_start,

int32_t angle_end
);
angle_end
inset
draw_arc & stroke_width
angle_start & angle_end
GOvalScaleModeFitCircle
GOvalScaleModeFillCircle
gpoint_from_polar
grect_centered_from_polar
API Improvements
• Status Bar
• Action Bar
• Menu Layer
Status Bar
Status Bar
Action Bar
Menu Layer
Feature Selection
Aplite Basalt Chalk
Resolution
144x168px

(Rectangular)
180x180
(Circular)
Color b/w 64 Colors
PBL_IF_RECT_ELSE("rect", "otherwise");

PBL_IF_ROUND_ELSE("round", "otherwise");

PBL_IF_COLOR_ELSE("color", "otherwise");

PBL_IF_BW_ELSE("bw", "otherwise");
file~rect.png

file~round.png

file~color.png

file~bw.png
#defines
#resources
Find Out More
• developer.pebble.com/round
• www.slideshare.net/pebbledev/clipboards/pdr15
• Slack! slack.pbldev.io
The Project
developer.pebble.com
github.com/kirbyk/simon-pebble
cloudpebble.com
The Wrap-up
Recap
pebble.com/jobs
Thanks!
Questions?

More Related Content

Similar to Pebble NYC Meetup Pebble Time Round and the Chalk SDK

MLconf NYC Shan Shan Huang
MLconf NYC Shan Shan HuangMLconf NYC Shan Shan Huang
MLconf NYC Shan Shan HuangMLconf
 
Multivariate Time Series
Multivariate Time SeriesMultivariate Time Series
Multivariate Time SeriesApache MXNet
 
Applying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPKApplying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPKJeremy Chen
 
C++: a fast tour of a fast language
C++: a fast tour of a fast languageC++: a fast tour of a fast language
C++: a fast tour of a fast languageAdrian Ostrowski
 
Regression and Classification with R
Regression and Classification with RRegression and Classification with R
Regression and Classification with RYanchang Zhao
 
Chapter 3 linear programming
Chapter 3   linear programmingChapter 3   linear programming
Chapter 3 linear programmingsarkissk
 
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)Amazon Web Services Korea
 

Similar to Pebble NYC Meetup Pebble Time Round and the Chalk SDK (9)

Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
 
MLconf NYC Shan Shan Huang
MLconf NYC Shan Shan HuangMLconf NYC Shan Shan Huang
MLconf NYC Shan Shan Huang
 
Data Mining Lecture_4.pptx
Data Mining Lecture_4.pptxData Mining Lecture_4.pptx
Data Mining Lecture_4.pptx
 
Multivariate Time Series
Multivariate Time SeriesMultivariate Time Series
Multivariate Time Series
 
Applying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPKApplying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPK
 
C++: a fast tour of a fast language
C++: a fast tour of a fast languageC++: a fast tour of a fast language
C++: a fast tour of a fast language
 
Regression and Classification with R
Regression and Classification with RRegression and Classification with R
Regression and Classification with R
 
Chapter 3 linear programming
Chapter 3   linear programmingChapter 3   linear programming
Chapter 3 linear programming
 
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)
 

Recently uploaded

Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 

Recently uploaded (20)

Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Pebble NYC Meetup Pebble Time Round and the Chalk SDK

  • 1.
  • 3. What’s New? • Pebble Time Round • Aplite -> Basalt -> Chalk • SDK 3.6
  • 5. Display Shape • Round has 7% more visible pixels than rectangular Rectangular (144 x 168) Round (visible) Round (total) (180 x 180) (0, 0)
  • 6. OS Compatibility Aplite Basalt Chalk 2.x ✅ 3.0 ❌ ✅ 3.6 ❌ ✅ Pebble Time Round
  • 7. This Year™ Aplite Basalt Chalk 2.x ✅ 3.0 ❌ ✅ 3.6 ❌ ✅ 3.x ✅
  • 8.
  • 9. SDK 3.6 • Uniform APIs • Text Flow • Round Drawing • API Improvements
  • 14.
  • 15.
  • 16. facilisis egestas. Proin vitae arcu ac diam viverra aliquet. Nunc gravida libero nec massa rutrum, vel ultriciesenim tristique. Nam magna enim, ullamcorper nec tellus vel, accumsan. (0,0) (179,179) facilisis egestas. Proin vitae arcu ac diam viverra aliquet. Nunc gravida libero nec massa rutrum, vel ultriciesenim tristique. Nam magna enim, ullamcorper nec tellus vel, accumsan. (0,0) (179,179) s_text_layer = text_layer_create(window_bounds);
 layer_add_child(
 window_layer, text_layer_get_layer(s_text_layer));
 
 text_layer_set_text(s_text_layer, s_text);
 text_layer_set_background_color(
 s_text_layer, GColorBlueMoon); Text Layer
  • 17. facilisis egestas. Proin vitae arcu ac diam viverra aliquet. Nunc gravida libero nec massa rutrum, vel ultriciesenim tristique. Nam magna enim, ullamcorper nec tellus vel, accumsan. (0,0) (179,179) facilisis egestas. Proin vitae arcu ac diam viverra aliquet. Nunc gravida libero nec massa rutrum, vel ultriciesenim tristique. Nam magna enim, ullamcorper nec tellus vel, accumsan. (0,0) (179,179) s_text_layer = text_layer_create(window_bounds);
 layer_add_child(
 window_layer, text_layer_get_layer(s_text_layer));
 
 text_layer_set_text(s_text_layer, s_text);
 text_layer_set_background_color(
 s_text_layer, GColorBlueMoon);
 
 text_layer_set_text_alignment(
 s_text_layer, GTextAlignmentCenter); TextLayer
  • 18. facilisis egestas. Proin vitae arcu ac diam viverra aliquet. Nunc gravida libero nec massa rutrum, vel ultriciesenim (0,0) (179,179) facilisis egestas. Proin vitae arcu ac diam viverra aliquet. Nunc gravida libero nec massa rutrum, vel ultriciesenim (0,0) (179,179) 10px 10px 10px 10px facilisis egestas. Proin vitae arcu ac diam viverra aliquet. Nunc gravida libero nec massa rutrum, vel ultriciesenim tristique. Nam magna enim, ullamcorper nec tellus vel, accumsan. (0,0) (179,179) facilisis egestas. Proin vitae arcu ac diam viverra aliquet. Nunc gravida libero nec massa rutrum, vel ultriciesenim tristique. Nam magna enim, ullamcorper nec tellus vel, accumsan. (0,0) (179,179) Text Flow
  • 19.
  • 21. center_a = GPoint(3, 3);
 radius_a = 2;
 graphics_fill_circle(ctx,
 center_a,
 radius_a
 ); centera radiusa
  • 22. center_b = GPoint(4.5, 4.5);
 radius_b = 3.5;
 graphics_fill_circle(ctx,
 center_b,
 radius_b
 ); center_a = GPoint(3, 3);
 radius_a = 2;
 graphics_fill_circle(ctx,
 center_a,
 radius_a
 ); centera radiusa centera radiusb
  • 23. center_a = GPoint(3, 3);
 radius_a = 2;
 graphics_fill_circle(ctx,
 center_a,
 radius_a
 ); centera radiusa centera radiusb center_b = GPoint(4.5, 4.5);
 radius_b = 3.5;
 graphics_fill_circle(ctx,
 center_b,
 radius_b
 );
  • 24. Rectangles to the Rescue rect_a = GRect(1, 1, 5, 5);
 somehow_fill_circle_inside( ctx, rect_a
 ); rect_b = GRect(1, 1, 8, 8);
 somehow_fill_circle_inside( ctx, rect_b
 );
  • 25. Drawing Round void graphics_fill_radial( GContext *ctx, 
 GRect rect, 
 GOvalScaleMode scale_mode,
 uint16_t inset_thickness,
 int32_t angle_start, 
 int32_t angle_end ); void graphics_draw_arc(
 GContext *ctx,
 GRect rect,
 GOvalScaleMode scale_mode,
 int32_t angle_start,
 int32_t angle_end );
  • 27. inset
  • 34. API Improvements • Status Bar • Action Bar • Menu Layer
  • 39. Feature Selection Aplite Basalt Chalk Resolution 144x168px
 (Rectangular) 180x180 (Circular) Color b/w 64 Colors PBL_IF_RECT_ELSE("rect", "otherwise");
 PBL_IF_ROUND_ELSE("round", "otherwise");
 PBL_IF_COLOR_ELSE("color", "otherwise");
 PBL_IF_BW_ELSE("bw", "otherwise"); file~rect.png
 file~round.png
 file~color.png
 file~bw.png #defines #resources
  • 40. Find Out More • developer.pebble.com/round • www.slideshare.net/pebbledev/clipboards/pdr15 • Slack! slack.pbldev.io
  • 42.
  • 46. Recap