- Timestamp:
- Jun 27, 2018, 3:20:35 PM (8 years ago)
- Location:
- branches/czw_branch/20170908/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/libkapa/src/KapaWindow.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20170908/Ohana
- Property svn:mergeinfo changed
-
branches/czw_branch/20170908/Ohana/src/libkapa/src/KapaWindow.c
r39926 r40477 94 94 graphdata[0].xmax = graphdata[0].ymax = 1.0; 95 95 96 graphdata[0].style = graphdata[0].ptype = 2; 96 graphdata[0].style = KAPA_PLOT_POINTS; 97 graphdata[0].ptype = KAPA_POINT_BOX_SOLID; 97 98 graphdata[0].ltype = graphdata[0].color = 0; 98 99 graphdata[0].etype = graphdata[0].ebar = 0; … … 357 358 } 358 359 359 int KapaSendTextline (int fd, char *string, float x, float y, float angle) { 360 360 int KapaSendTextline (int fd, char *string, float x, float y, float angle, int justify, int color) { 361 362 // must be in range 0 - 8 363 justify = MIN(MAX(justify, 0), 8); 364 361 365 KiiSendCommand (fd, 4, "PTXT"); 362 KiiSendMessage (fd, "%f %f %f ", x, y, angle);366 KiiSendMessage (fd, "%f %f %f %d %d", x, y, angle, justify, color); 363 367 KiiSendData (fd, string, strlen(string)); 364 368 KiiWaitAnswer (fd, "DONE");
Note:
See TracChangeset
for help on using the changeset viewer.
