Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of skinGames_forktest by
text3D.h
00001 00002 // Class for creating 3d "flying" texts 00003 // NOT USED FOR THE TIME BEING. 00004 00005 #ifndef text3d_h 00006 #define text3d_h 00007 00008 #include "Scene.h" // in fact, we want to include BaseObject.h (separate the files?) 00009 00010 #include <string> 00011 using namespace std; 00012 00013 class Text3D : public BaseObject { 00014 00015 public: 00016 00017 // Constructor & destructor: 00018 letter3D(char letter, float width, float height); 00019 //~letter3D(); 00020 00021 weight(float with, float height); // resizing factor for the letter (note: this could be done using the lsr object, but this provides an easier more 00022 // direct method when creating letters). 00023 00024 // A letter is just like a normal BaseObject, but provides methods to create it with a certain size (in the future.. font?) 00025 char ascii; // the ascii code (for identifying it if required, not necessarily the object ID) 00026 float width, height; 00027 // ==================================== 00028 00029 private: 00030 void fillLetter(char ch); 00031 }; 00032 00033 #endif 00034
Generated on Tue Jul 12 2022 19:19:38 by
1.7.2
