Drawing Commands: TI Nspire CX II
|
07-19-2019, 04:17 PM
Post: #1
|
|||
|
|||
Drawing Commands: TI Nspire CX II
Blog post: http://edspi31415.blogspot.com/2019/07/t...i-cas.html
The CX II adds drawing commands to the TI Nspire programming language which includes: Clear (blank to clear the entire screen), (x, y, width, height) DrawArc x, y, width, height, startAngle, sweepAngle DrawCircle x, y, radius DrawLine x1, y1, x2, y2 DrawPoly (see plotdemo2 for further details) DrawRect upper_x_pixel, upper_y_pixel, width, height DrawText x, y, string/text/expression FillArc x, y, width, height, startAngle, sweepAngle FillCircle x, y, radius FillPoly (see plotdemo2 for further details) FillRect upper_x_pixel, upper_y_pixel, width, height getPlatform() (returns dt for desktop, hh for handheld, ios for the iOS App) PaintBuffer (buffers the paint screen) PlotXY x, y, shape (13 shapes available: 1 for dot, 5 for cross, 6 for plus, 8, for medium dot) SetColor red, green, blue (sets the Nspire's color pen) SetPen thickness, style (1 thin, 2 medium, 3 thick; 1 smooth, 2, dotted, 3 dashed) SetWidnow xMin, xMax, yMin, yMax (establishes drawing area - use this command to switch coordinates to Cartesian) UseBuffer (tells the Nspire to use an off screen to draw objects, then use PaintBuffer to call them back up) |
|||
07-19-2019, 06:08 PM
Post: #2
|
|||
|
|||
RE: Drawing Commands: TI Nspire CX II
(07-19-2019 04:17 PM)Eddie W. Shore Wrote: Blog post: http://edspi31415.blogspot.com/2019/07/t...i-cas.html I posted a CX II program to draw a hat some time back. I do like the CX II but I still wish it had a method to grab a section of the screen and put it down somewhere else (BitBlit) Maybe in a future OS version... Code: Define hat()= Tom L Cui bono? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)