pfodParser 3.55.0 The pfodParser library is handles commands sent from the Android pfodApp, pfodApp supports WiFi, BLE, Bluetooth and SMS connections

pfodArc.h
Go to the documentation of this file.
1 #ifndef pfodArc_h
2 #define pfodArc_h
3 /*
4 * (c)2014-2017 Forward Computing and Control Pty. Ltd.
5 * NSW Australia, www.forward.com.au
6 * This code is not warranted to be fit for any purpose. You may only use it at your own risk.
7 * This code may be freely used for both private and commercial use
8 * Provide this copyright is maintained.
9 */
10 #include <stdint.h>
11 #include <Arduino.h>
12 #include "pfodDwgsBase.h"
13
14 class pfodArc : public pfodDwgsBase {
15 public:
19 pfodArc();
20 pfodArc &radius(float _radius); // default 1
21 pfodArc &start(float _start);
22 pfodArc &angle(float _angle);
23 pfodArc &color(int _color); // default BLACK_WHITE
24 pfodArc &idx(uint16_t _idx); // default 0 i.e. not set
25 pfodArc &autoIdx(uint16_t &_idx); // reserve new idx if 0
26 pfodArc &filled(); // default not filled
27 pfodArc &offset(float _colOffset, float _rowOffset); // default 0,0
28
29 void init(Print *out, struct VALUES* _values);
30 void send(char _startChar = '|');
32 };
33 #endif // pfodArc_h
pfodArc
Definition: pfodArc.h:14
pfodArc::autoIdx
pfodArc & autoIdx(uint16_t &_idx)
pfodArc::angle
pfodArc & angle(float _angle)
pfodArc::init
void init(Print *out, struct VALUES *_values)
pfodArc::color
pfodArc & color(int _color)
pfodArc::filled
pfodArc & filled()
pfodArc::radius
pfodArc & radius(float _radius)
pfodArc::idx
pfodArc & idx(uint16_t _idx)
pfodArc::start
pfodArc & start(float _start)
pfodArc::offset
pfodArc & offset(float _colOffset, float _rowOffset)
pfodArc::send
void send(char _startChar='|')
pfodDwgsBase
Definition: pfodDwgsBase.h:55
pfodDwgsBase::out
Print * out
Definition: pfodDwgsBase.h:58
pfodDwgsBase.h
VALUES
Definition: pfodDwgsBase.h:15