Namespaces | |
| namespace | app |
| namespace | audio |
| namespace | cocoa |
| namespace | gl |
| namespace | ip |
| namespace | msw |
| namespace | params |
| namespace | qtime |
| namespace | svg |
| namespace | signals |
Classes | |
| class | Arcball |
| class | RectT |
| class | Area |
| class | AxisAlignedBox3f |
| class | BandedMatrix |
| class | BSplineBasis |
| class | BSpline |
| class | Buffer |
| class | Camera |
| class | CameraPersp |
| class | CameraOrtho |
| class | CameraStereo |
| class | Capture |
| class | CaptureImplAvFoundationDevice |
| class | CaptureImplCocoaDummyDevice |
| This class implements a stubbed-out Capture implementation in order to allow an iOS app which requires capture support to run in the simulator. More... | |
| class | CaptureImplDirectShow |
| class | CaptureImplQtKitDevice |
| class | ChannelT |
| A single channel of image data, either a color channel of a Surface or a grayscale image. Implicitly shared object. More... | |
| struct | CHANTRAIT |
| struct | CHANTRAIT< uint8_t > |
| struct | CHANTRAIT< uint16_t > |
| struct | CHANTRAIT< float > |
| struct | math |
| struct | math< float > |
| class | Clipboard |
| Singleton representing the system's clipboard. More... | |
| class | ColorT |
| class | ColorAT |
| class | ConcurrentCircularBuffer |
| class | DataSource |
| class | DataSourcePath |
| class | DataSourceUrl |
| class | DataSourceBuffer |
| class | DataTarget |
| class | DataTargetPath |
| class | DataTargetStream |
| class | Display |
| struct | EaseNone |
| Easing equation for a simple linear tweening with no easing. Functor edition. More... | |
| struct | EaseInQuad |
| Easing equation for a quadratic (t^2) ease-in, accelerating from zero velocity. Functor edition. More... | |
| struct | EaseOutQuad |
| Easing equation for a quadratic (t^2) ease-out, decelerating to zero velocity. Functor edition. More... | |
| struct | EaseInOutQuad |
| Easing equation for a quadratic (t^2) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More... | |
| struct | EaseOutInQuad |
| Easing equation for a quadratic (t^2) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More... | |
| struct | EaseInCubic |
| Easing equation function for a cubic (t^3) ease-in, accelerating from zero velocity. Functor edition. More... | |
| struct | EaseOutCubic |
| Easing equation for a cubic (t^3) ease-out, decelerating to zero velocity. Functor edition. More... | |
| struct | EaseInOutCubic |
| Easing equation for a cubic (t^3) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More... | |
| struct | EaseOutInCubic |
| Easing equation for a cubic (t^3) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More... | |
| struct | EaseInQuart |
| Easing equation for a quartic (t^4) ease-in, accelerating from zero velocity. Functor edition. More... | |
| struct | EaseOutQuart |
| Easing equation for a quartic (t^4) ease-out, decelerating to zero velocity. Functor edition;. More... | |
| struct | EaseInOutQuart |
| Easing equation for a quartic (t^4) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More... | |
| struct | EaseOutInQuart |
| Easing equation for a quartic (t^4) ease-out/in, decelerating until halfway, then accelerating. Funtor edition. More... | |
| struct | EaseInQuint |
| Easing equation function for a quintic (t^5) ease-in, accelerating from zero velocity. Functor edition. More... | |
| struct | EaseOutQuint |
| Easing equation function for a quintic (t^5) ease-in, accelerating from zero velocity. Functor edition. More... | |
| struct | EaseInOutQuint |
| Easing equation for a quintic (t^5) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More... | |
| struct | EaseOutInQuint |
| Easing equation for a quintic (t^5) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More... | |
| struct | EaseInSine |
| Easing equation for a sinusoidal (sin(t)) ease-in, accelerating from zero velocity. Functor edition. More... | |
| struct | EaseOutSine |
| Easing equation for a sinusoidal (sin(t)) easing out, decelerating from zero velocity. Functor edition. More... | |
| struct | EaseInOutSine |
| Easing equation for a sinusoidal (sin(t)) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More... | |
| struct | EaseOutInSine |
| Easing equation for a sinusoidal (sin(t)) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More... | |
| struct | EaseInExpo |
| Easing equation for an exponential (2^t) ease-in, accelerating from zero velocity. Functor edition. More... | |
| struct | EaseOutExpo |
| Easing equation for an exponential (2^t) ease-out, decelerating from zero velocity. Functor edition. More... | |
| struct | EaseInOutExpo |
| Easing equation for an exponential (2^t) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More... | |
| struct | EaseOutInExpo |
| Easing equation for an exponential (2^t) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More... | |
| struct | EaseInCirc |
| Easing equation for a circular (sqrt(1-t^2)) ease-in, accelerating from zero velocity. Functor edition. More... | |
| struct | EaseOutCirc |
| Easing equation for a circular (sqrt(1-t^2)) ease-out, decelerating from zero velocity. Functor edition. More... | |
| struct | EaseInOutCirc |
| Easing equation for a circular (sqrt(1-t^2)) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More... | |
| struct | EaseOutInCirc |
| Easing equation for a circular (sqrt(1-t^2)) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More... | |
| struct | EaseInBounce |
| Easing equation for a bounce (exponentially decaying parabolic bounce) ease-in, accelerating from zero velocity. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| struct | EaseOutBounce |
| Easing equation for a bounce (exponentially decaying parabolic bounce) ease-out, decelerating from zero velocity. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| struct | EaseInOutBounce |
| Easing equation for a bounce (exponentially decaying parabolic bounce) ease-in/out, accelerating until halfway, then decelerating. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| struct | EaseOutInBounce |
| Easing equation for a bounce (exponentially decaying parabolic bounce) ease-out/in, decelerating until halfway, then accelerating. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| struct | EaseInBack |
| Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-in, accelerating from zero velocity. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| struct | EaseOutBack |
| Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-out, decelerating from zero velocity. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| struct | EaseInOutBack |
| Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-in/out, accelerating until halfway, then decelerating. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| struct | EaseOutInBack |
| Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-out/in, decelerating until halfway, then accelerating. Functor edition. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| struct | EaseInElastic |
| Easing equation for an elastic (exponentially decaying sine wave) ease-in, accelerating from zero velocity. Functor edition. More... | |
| struct | EaseOutElastic |
| Easing equation for an elastic (exponentially decaying sine wave) ease-out, decelerating from zero velocity. Functor edition. More... | |
| struct | EaseInOutElastic |
| Easing equation for an elastic (exponentially decaying sine wave) ease-in/out, accelerating until halfway, then decelerating. Functor edition. More... | |
| struct | EaseOutInElastic |
| Easing equation for an elastic (exponentially decaying sine wave) ease-out/in, decelerating until halfway, then accelerating. Functor edition. More... | |
| struct | EaseInAtan |
| Easing equation for an atan ease-in, accelerating from zero velocity. Functor edition. Used by permssion from Chris McKenzie. More... | |
| struct | EaseOutAtan |
| Easing equation for an atan ease-out, decelerating from zero velocity. Functor edition. Used by permssion from Chris McKenzie. More... | |
| struct | EaseInOutAtan |
| Easing equation for an atan ease-in/out, accelerating until halfway, then decelerating. Functor edition. Used by permssion from Chris McKenzie. More... | |
| class | Exception |
| class | FilterBase |
| class | FilterBox |
| class | FilterTriangle |
| class | FilterQuadratic |
| class | FilterCubic |
| class | FilterCatmullRom |
| class | FilterMitchell |
| class | FilterSincBlackman |
| class | FilterGaussian |
| class | FilterBesselBlackman |
| class | Font |
| Represents an instance of a font at a point size. Implicitly shared object. More... | |
| class | FontInvalidNameExc |
| class | FontGlyphFailureExc |
| class | Frustum |
| class | CallbackMgr |
| Implements a utility class for maintaining a list of callbacks. More... | |
| class | ImageIo |
| class | ImageSource |
| class | ImageTarget |
| class | ImageIoException |
| class | ImageIoExceptionFailedLoad |
| class | ImageIoExceptionFailedWrite |
| class | ImageIoExceptionUnknownExtension |
| class | ImageIoExceptionIllegalColorModel |
| class | ImageIoExceptionIllegalDataType |
| class | ImageIoExceptionIllegalChannelOrder |
| struct | ImageIoRegistrar |
| struct | ImageIoRegistrant |
| class | ImageSourceFileQuartz |
| class | ImageSourceFileWic |
| class | ImageSourcePng |
| class | ImageTargetFileQuartz |
| class | ImageTargetFileWic |
| class | JsonTree |
| struct | KdNode |
| struct | NullLookupProc |
| class | KdTree |
| struct | NodeDataVectorTraits |
| struct | NodeDataTraits |
| struct | NodeDataTraits< Vec2f > |
| struct | CompareNode |
| class | Matrix22 |
| class | Matrix33 |
| class | Matrix44 |
| class | MatrixAffine2 |
| Represents a two dimensional affine transformation. More... | |
| class | MayaCamUI |
| class | SurfaceConstraintsGdiPlus |
| class | ObjLoader |
| Loads Alias|Wavefront .OBJ file format. More... | |
| class | Path2d |
| class | Path2dExc |
| class | Perlin |
| class | Plane |
| class | PlaneExc |
| class | PolyLine |
| struct | QUATCONV |
| class | Quaternion |
| class | Rand |
| class | Ray |
| class | RectMapping |
| class | Serial |
| class | SerialExc |
| class | SerialExcOpenFailed |
| class | SerialExcDeviceEnumerationFailed |
| class | SerialExcReadFailure |
| class | SerialExcWriteFailure |
| class | SerialTimeoutExc |
| class | Shape2d |
| class | Sphere |
| class | StreamBase |
| class | OStream |
| class | IStream |
| class | IoStream |
| class | IStreamFile |
| class | OStreamFile |
| class | IoStreamFile |
| class | IStreamMem |
| class | OStreamMem |
| class | IStreamStateRestore |
| class | StreamExc |
| class | StreamExcOutOfMemory |
| class | cinder_stream_source |
| class | cinder_stream_sink |
| class | cinder_stream_bidirectional_device |
| class | SurfaceChannelOrder |
| Specifies the in-memory ordering of the channels of a Surface. More... | |
| class | SurfaceConstraints |
| Base class for defining the properties of a Surface necessary to be interoperable with different APIs. More... | |
| class | SurfaceConstraintsDefault |
| class | SurfaceT |
| An in-memory representation of an image. Implicitly shared object. More... | |
| class | SurfaceExc |
| class | SurfaceConstraintsExc |
| class | SvgRendererGl |
| class | System |
| Queries system software and hardware capabilities of the computer. Values are cached so there is low overhead in calling these functions more than once. More... | |
| class | SystemExc |
| class | SystemExcFailedQuery |
| class | TextLayout |
| class | TextBox |
| class | ThreadSetup |
| Create an instance of this class at the beginning of any multithreaded code that makes use of Cinder functionality. More... | |
| class | Timeline |
| class | Cue |
| class | TimelineItem |
| Base interface for anything that can go on a Timeline. More... | |
| class | Timer |
| A high-resolution timer class. More... | |
| class | Triangulator |
| Converts an arbitrary Shape2d into a TriMesh2d. More... | |
| class | TriMesh |
| class | TriMesh2d |
| class | Tween |
| class | Anim |
| class | TweenBase |
| class | TweenRef |
| class | FnTween |
| class | FnTweenRef |
| class | AnimBase |
| class | Url |
| class | UrlOptions |
| Options for loadUrl() to dictate caching and timeout behavior. More... | |
| class | IStreamUrl |
| class | UrlLoadExc |
| Exception for failed Url loading. More... | |
| class | IStreamUrlImplCurl |
| class | IStreamUrlImplWinInet |
| class | Vec3 |
| class | Vec2 |
| class | Vec4 |
| class | XmlTree |
Typedefs | |
| typedef BSplineFit< float > | BSplineFitf |
| typedef BSplineFit< double > | BSplineFitd |
| typedef BSplineFitBasis< float > | BSplineFitBasisf |
| typedef BSplineFitBasis< double > | BSplineFitBasisd |
| typedef boost::geometry::model::polygon < boost::geometry::model::d2::point_xy < double > > | polygon |
| typedef struct cinder::_LOGICALPROCESSORDATA | LOGICALPROCESSORDATA |
| typedef struct cinder::_LOGICALPROCESSORDATA * | PLOGICALPROCESSORDATA |
| typedef std::multimap< void *, TimelineItemRef >::iterator | s_iter |
| typedef std::multimap< void *, TimelineItemRef > ::const_iterator | s_const_iter |
| typedef BandedMatrix< float > | BandedMatrixf |
| typedef BandedMatrix< double > | BandedMatrixd |
| typedef BSpline< Vec2f > | BSpline2f |
| typedef BSpline< Vec3f > | BSpline3f |
| typedef std::shared_ptr< class Capture > | CaptureRef |
| typedef std::shared_ptr< class ImageSource > | ImageSourceRef |
| typedef ChannelT< uint8_t > | Channel |
| 8-bit image channel. Synonym for Channel8u. More... | |
| typedef ChannelT< uint8_t > | Channel8u |
| 8-bit image channel More... | |
| typedef ChannelT< uint16_t > | Channel16u |
| 16-bit image channel. Suitable as an intermediate representation and ImageIo but not a first-class citizen. More... | |
| typedef ChannelT< float > | Channel32f |
| 32-bit floating point image channel More... | |
| typedef ColorT< float > | Color |
| typedef ColorT< float > | Colorf |
| typedef ColorT< uint8_t > | Color8u |
| typedef ColorAT< float > | ColorA |
| typedef ColorAT< float > | ColorAf |
| typedef ColorAT< uint8_t > | ColorA8u |
| typedef std::shared_ptr< class DataSource > | DataSourceRef |
| typedef std::shared_ptr< class DataSourcePath > | DataSourcePathRef |
| typedef std::shared_ptr< class DataSourceUrl > | DataSourceUrlRef |
| typedef std::shared_ptr< class DataSourceBuffer > | DataSourceBufferRef |
| typedef std::shared_ptr< class DataTarget > | DataTargetRef |
| typedef std::shared_ptr< class DataTargetPath > | DataTargetPathRef |
| typedef std::shared_ptr< class DataTargetStream > | DataTargetStreamRef |
| typedef std::shared_ptr< class Display > | DisplayRef |
| typedef Frustum< float > | Frustumf |
| typedef Frustum< double > | Frustumd |
| typedef uint32_t | CallbackId |
| Represents a unique identifier for a callback. More... | |
| typedef std::shared_ptr< class ImageLoader > | ImageLoaderRef |
| typedef std::shared_ptr< class ImageTarget > | ImageTargetRef |
| typedef std::shared_ptr< class ImageTargetFile > | ImageTargetFileRef |
| typedef std::shared_ptr< class ImageSourceFileQuartz > | ImageSourceFileQuartzRef |
| typedef std::shared_ptr< class ImageSourceFileWic > | ImageSourceFileWicRef |
| typedef std::shared_ptr< class ImageSourcePng > | ImageSourcePngRef |
| typedef std::shared_ptr< class ImageTargetFileQuartz > | ImageTargetFileQuartzRef |
| typedef std::shared_ptr< class ImageTargetFileWic > | ImageTargetFileWicRef |
| typedef Matrix22< float > | Matrix22f |
| typedef Matrix22< double > | Matrix22d |
| typedef Matrix33< float > | Matrix33f |
| typedef Matrix33< double > | Matrix33d |
| typedef Matrix44< float > | Matrix44f |
| typedef Matrix44< double > | Matrix44d |
| typedef MatrixAffine2< float > | MatrixAffine2f |
| typedef MatrixAffine2< double > | MatrixAffine2d |
| typedef Plane< float > | Planef |
| typedef Plane< double > | Planed |
| typedef PolyLine< Vec2f > | PolyLine2f |
| typedef PolyLine< Vec2d > | PolyLine2d |
| typedef Quaternion< float > | Quatf |
| typedef Quaternion< double > | Quatd |
| typedef RectT< float > | Rectf |
| typedef RectT< double > | Rectd |
| typedef std::shared_ptr< class OStream > | OStreamRef |
| typedef std::shared_ptr< IStream > | IStreamRef |
| typedef std::shared_ptr< IoStream > | IoStreamRef |
| typedef std::shared_ptr< class IStreamFile > | IStreamFileRef |
| typedef std::shared_ptr< class OStreamFile > | OStreamFileRef |
| typedef std::shared_ptr< class IoStreamFile > | IoStreamFileRef |
| typedef std::shared_ptr< class IStreamMem > | IStreamMemRef |
| typedef std::shared_ptr< class OStreamMem > | OStreamMemRef |
| typedef boost::iostreams::stream < cinder_stream_source > | cinder_istream |
| typedef boost::iostreams::stream < cinder_stream_sink > | cinder_ostream |
| typedef boost::iostreams::stream < cinder_stream_bidirectional_device > | cinder_iostream |
| typedef SurfaceT< uint8_t > | Surface |
| 8-bit image. Synonym for Surface8u. More... | |
| typedef SurfaceT< uint8_t > | Surface8u |
| 8-bit image More... | |
| typedef SurfaceT< uint16_t > | Surface16u |
| 16-bit image. Suitable as an intermediate representation and ImageIo but not a first-class citizen. More... | |
| typedef SurfaceT< float > | Surface32f |
| 32-bit floating point image More... | |
| typedef std::shared_ptr< class Cue > | CueRef |
| typedef std::shared_ptr< class Timeline > | TimelineRef |
| typedef std::shared_ptr< class TimelineItem > | TimelineItemRef |
| typedef std::function< float(float)> | EaseFn |
| typedef std::shared_ptr< class IStreamUrl > | IStreamUrlRef |
| A pointer to an instance of an IStreamUrl. Can be created using IStreamUrl::createRef() More... | |
| typedef Vec2< int > | Vec2i |
| typedef Vec2< float > | Vec2f |
| typedef Vec2< double > | Vec2d |
| typedef Vec3< int > | Vec3i |
| typedef Vec3< float > | Vec3f |
| typedef Vec3< double > | Vec3d |
| typedef Vec4< int > | Vec4i |
| typedef Vec4< float > | Vec4f |
| typedef Vec4< double > | Vec4d |
Enumerations | |
| enum | ColorModel { CM_RGB, CM_HSV } |
| enum | UnicodeBreaks { UNICODE_MUST_BREAK, UNICODE_ALLOW_BREAK, UNICODE_NO_BREAK, UNICODE_INSIDE_CHAR } |
| Values returned by calcBreaksUtf8 and calcBreaksUtf16. More... | |
Functions | |
| pair< Area, Vec2i > | clippedSrcDst (const Area &srcSurfaceBounds, const Area &srcArea, const Area &dstSurfaceBounds, const Vec2i &dstLT) |
| std::string | toBase64 (const std::string &input, int charsPerLine=0) |
| Converts input into a Base64-encoded string. If charsPerLine > 0, carriage returns ( ) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4. More... | |
| std::string | toBase64 (const Buffer &input, int charsPerLine=0) |
| Converts input into a Base64-encoded string. If charsPerLine > 0, carriage returns ( ) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4. More... | |
| std::string | toBase64 (const void *input, size_t inputSize, int charsPerLine=0) |
| Converts input of length inputSize into a Base64-encoded string. If charsPerLine > 0, carriage returns ( ) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4. More... | |
| Buffer | fromBase64 (const std::string &input) |
| Converts Base64-encoded data input into unencoded data. More... | |
| Buffer | fromBase64 (const Buffer &input) |
| Converts Base64-encoded data input into unencoded data. More... | |
| Buffer | fromBase64 (const void *input, size_t inputSize) |
| Converts Base64-encoded data input into unencoded data. More... | |
| template<class T > | |
| void | allocate2D (int iCols, int iRows, T **&raatArray) |
| template<class T > | |
| void | deallocate2D (T **&raatArray) |
| template<typename T > | |
| T::TYPE | getSpeedWithData (float fTime, void *pvData) |
| template<typename Real > | |
| Real | rombergIntegral (int iOrder, Real fA, Real fB, Real(*oF)(Real, void *), void *pvUserData) |
| template<typename T > | |
| BSpline< T > | fitBSpline (const std::vector< T > &samples, int degree, int outputSamples) |
| template BSpline< Vec2f > | fitBSpline (const std::vector< Vec2f > &samples, int degree, int outputSamples) |
| template BSpline< Vec3f > | fitBSpline (const std::vector< Vec3f > &samples, int degree, int outputSamples) |
| template BSpline< Vec4f > | fitBSpline (const std::vector< Vec4f > &samples, int degree, int outputSamples) |
| Buffer | compressBuffer (const Buffer &aBuffer, int8_t compressionLevel, bool resizeResult) |
| Buffer | decompressBuffer (const Buffer &aBuffer, bool resizeResult, bool useGZip) |
| template<typename T > | |
| int | solveCubic (T a, T b, T c, T d, T result[3]) |
| template int | solveCubic (float a, float b, float c, float d, float result[3]) |
| template int | solveCubic (double a, double b, double c, double d, double result[3]) |
| bool | clipboardContainsFormat (const std::set< UINT > &formats) |
| Colorf | hsvToRGB (const Vec3f &hsv) |
| Vec3f | rgbToHSV (const Colorf &c) |
| std::ostream & | operator<< (std::ostream &lhs, const ColorT< float > &rhs) |
| std::ostream & | operator<< (std::ostream &lhs, const ColorT< uint8_t > &rhs) |
| std::ostream & | operator<< (std::ostream &lhs, const ColorAT< float > &rhs) |
| std::ostream & | operator<< (std::ostream &lhs, const ColorAT< uint8_t > &rhs) |
| PolyLine2f | calcConvexHull (const std::vector< Vec2f > &points) |
| PolyLine2f | calcConvexHull (const Vec2f *points, size_t numPoints) |
| PolyLine2f | calcConvexHull (const Shape2d &shape) |
| PolyLine2f | calcConvexHull (const Path2d &path) |
| PolyLine2f | calcConvexHull (const PolyLine2f &polyLine) |
| DataSourceRef | loadFile (const fs::path &path) |
| DataSourceRef | loadUrl (const Url &url, const UrlOptions &options) |
| DataTargetPathRef | writeFile (const fs::path &path, bool createParents=true) |
Returns a DataTarget to file path path, and optionally creates any necessary directories when createParents is true. More... | |
| int CALLBACK | EnumFontFamiliesExProc (ENUMLOGFONTEX *lpelfe, NEWTEXTMETRICEX *lpntme, int FontType, LPARAM lParam) |
| CFRelease (cfName) | |
| if (mCGFont==0) throw FontInvalidNameExc(aName) | |
| assert (sizeof(wchar_t)==2) | |
| finishSetup () | |
| Font::Obj::Obj(DataSourceRef dataSource, float size) std::shared_ptr < CGDataProvider > | dataProvider (::CGDataProviderCreateWithData(NULL, buffer.getData(), buffer.getDataSize(), NULL),::CGDataProviderRelease) |
| if (!dataProvider) throw FontInvalidNameExc() | |
| privateFontCollection | AddMemoryFont (buffer.getData(), buffer.getDataSize()) |
| if (count<=0) throw FontInvalidNameExc() | |
| std::shared_ptr< void > | fontFamily (malloc(sizeof(Gdiplus::FontFamily)), free) |
| privateFontCollection | GetFamilies (1,(Gdiplus::FontFamily *) fontFamily.get(),&found) |
| if (found!=0) | |
| else throw | FontInvalidNameExc () |
| if (numFonts< 1) throw FontInvalidNameExc() | |
| ImageSourceRef | loadImage (const fs::path &path, ImageSource::Options options=ImageSource::Options(), std::string extension="") |
| Loads an image from the file path path. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG. More... | |
| ImageSourceRef | loadImage (DataSourceRef dataSource, ImageSource::Options options=ImageSource::Options(), std::string extension="") |
| Loads an image from dataSource. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG. More... | |
| void | writeImage (const fs::path &path, const ImageSourceRef &imageSource, ImageTarget::Options options, std::string extension) |
| void | writeImage (DataTargetRef dataTarget, const ImageSourceRef &imageSource, ImageTarget::Options options=ImageTarget::Options(), std::string extension="") |
| Writes imageSource to dataTarget. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG. More... | |
| void | writeImage (ImageTargetRef imageTarget, const ImageSourceRef &imageSource) |
| Writes imageSource to imageTarget. More... | |
| ostream & | operator<< (ostream &out, const JsonTree &json) |
| template<typename T > | |
| Matrix44< T > | firstFrame (const Vec3< T > &firstPoint, const Vec3< T > &secondPoint, const Vec3< T > &thirdPoint) |
| template<typename T > | |
| Matrix44< T > | nextFrame (const Matrix44< T > &prevMatrix, const Vec3< T > &prevPoint, const Vec3< T > &curPoint, Vec3< T > &prevTangent, Vec3< T > &curTangent) |
| template<typename T > | |
| Matrix44< T > | lastFrame (const Matrix44< T > &prevMatrix, const Vec3< T > &prevPoint, const Vec3< T > &lastPoint) |
| template Matrix44f | firstFrame (const Vec3f &firstPoint, const Vec3f &secondPoint, const Vec3f &thirdPoint) |
| template Matrix44f | nextFrame (const Matrix44f &prevMatrix, const Vec3f &prevPoint, const Vec3f &curPoint, Vec3f &prevTangent, Vec3f &curTangent) |
| template Matrix44f | lastFrame (const Matrix44f &prevMatrix, const Vec3f &prevPoint, const Vec3f &lastPoint) |
| template Matrix44d | firstFrame (const Vec3d &firstPoint, const Vec3d &secondPoint, const Vec3d &thirdPoint) |
| template Matrix44d | nextFrame (const Matrix44d &prevMatrix, const Vec3d &prevPoint, const Vec3d &curPoint, Vec3d &prevTangent, Vec3d &curTangent) |
| template Matrix44d | lastFrame (const Matrix44d &prevMatrix, const Vec3d &prevPoint, const Vec3d &lastPoint) |
| float | nlerp (float t, float a, float b) |
| template<typename T > | |
| T | linearYatX (const Vec2< T > p[2], T x) |
| template<typename T > | |
| size_t | linearCrossings (const Vec2< T > p[2], const Vec2f &pt) |
| void | sleep (float milliseconds) |
| Suspends the execution of the current thread until milliseconds have passed. Supports sub-millisecond precision only on Mac OS X. More... | |
| void | getClippedScaledRects (const Area &srcSurfaceBounds, const Rectf &srcRect, const Area &dstSurfaceBounds, const Area &dstArea, Rectf *resultSrcRect, Area *resultDstArea) |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &o, const RectT< T > &rect) |
| IStreamFileRef | loadFileStream (const fs::path &path) |
| Opens the file lcoated at path for read access as a stream. More... | |
| std::shared_ptr< OStreamFile > | writeFileStream (const fs::path &path, bool createParents=true) |
| Opens the file located at path for write access as a stream, and creates it if it does not exist. Optionally creates any intermediate directories when createParents is true. More... | |
| IoStreamFileRef | readWriteFileStream (const fs::path &path) |
| Opens a path for read-write access as a stream. More... | |
| void | loadStreamMemory (IStreamRef is, std::shared_ptr< uint8_t > *resultData, size_t *resultDataSize) |
| Loads the contents of a stream into a contiguous block of memory, pointed to by resultData. The size of this block is stored in resultDataSize. More... | |
| Buffer | loadStreamBuffer (IStreamRef is) |
| Loads the contents of a stream into a Buffer. More... | |
| void | cpuidwrap (int *p, unsigned int param) |
| void | lockToLogicalProcessor (int n) |
| void | cpuid (int whichlp, PLOGICALPROCESSORDATA p) |
| Surface | renderStringPow2 (const std::string &str, const Font &font, const ColorA &color, Vec2i *actualSize, float *baselineOffset=0) |
| Renders a single string and returns it as a Surface. Optional baselineOffset pointer will receive how many pixels of descender are in the returned Surface. Offset rendering the result Surface by this amount in order to preserve a consistent baseline. Consider gl::drawString() as a more convenient alternative. More... | |
| Surface | renderString (const string &str, const Font &font, const ColorA &color, float *baselineOffset) |
| void * | stdAlloc (void *userData, unsigned int size) |
| void | stdFree (void *userData, void *ptr) |
| size_t | stringLengthUtf8 (const char *str, size_t lengthInBytes=0) |
| Returns the number of characters (not bytes) in the the UTF-8 string str. Optimize operation by supplying a non-default lengthInBytes of str. More... | |
| uint32_t | nextCharUtf8 (const char *str, size_t *inOutByte, size_t lengthInBytes=0) |
| Returns the UTF-32 code point of the next character in str, relative to the byte inOutByte. Increments inOutByte to be the first byte of the next character. Optimize operation by supplying a non-default lengthInBytes of str. More... | |
| size_t | advanceCharUtf8 (const char *str, size_t numChars, size_t lengthInBytes=0) |
| Returns the index in bytes of the next character in str, advanced by numChars characters. Optimize operation by supplying a non-default lengthInBytes of str. More... | |
| void | lineBreakUtf8 (const char *line, const std::function< bool(const char *, size_t)> &measureFn, std::function< void(const char *, size_t)> lineProcessFn) |
| void | calcLinebreaksUtf8 (const char *str, std::vector< uint8_t > *resultBreaks) |
| Sets resultBreaks to be of the same length as the null-terminated UTF-8 string str with the values enumerated by UnicodeBreaks. More... | |
| void | calcLinebreaksUtf8 (const char *str, size_t strLength, std::vector< uint8_t > *resultBreaks) |
| Sets resultBreaks to be of the same length as the UTF-8 string str with the values enumerated by UnicodeBreaks. More... | |
| void | calcLinebreaksUtf16 (const uint16_t *str, std::vector< uint8_t > *resultBreaks) |
| Sets resultBreaks to be of the same length as the null-terminated UTF-16 string str with the values enumerated by UnicodeBreaks. More... | |
| void | calcLinebreaksUtf16 (const uint16_t *str, size_t strLength, std::vector< uint8_t > *resultBreaks) |
| Sets resultBreaks to be of the same length as the UTF-16 string str with the values enumerated by UnicodeBreaks. More... | |
| IStreamUrlRef | loadUrlStream (const Url &url, const UrlOptions &options) |
| IStreamUrlRef | loadUrlStream (const std::string &url, const std::string &user, const std::string &password, const UrlOptions &options) |
| void | safeInternetCloseHandle (HINTERNET hInternet) |
| void | testAndThrowHttpStatus (HINTERNET hInternet) |
| fs::path | expandPath (const fs::path &path) |
| Returns a canonical version of path by expanding a "~" and symlinks on the Mac "..", "." and "//". More... | |
| fs::path | getHomeDirectory () |
| Returns a path to the user's home directory. More... | |
| fs::path | getDocumentsDirectory () |
| Returns a path to the user's documents directory. More... | |
| fs::path | getTemporaryDirectory () |
| Returns a path to the user's temporary directory. More... | |
| fs::path | getTemporaryFilePath (const std::string &prefix="") |
| Returns a path that is gauranteed to be unique and is suitable for creating a temporary file. An optional prefix parameters allows specification of a file name prefix, some portion of which will be incorporated into the result. Note a race condition that can exist between the uniqueness of the path and the creation of the file. More... | |
| std::string | getPathDirectory (const std::string &path) |
| Returns the directory portion of file path path, the last component of which must be a file name or a terminating path separator. More... | |
| std::string | getPathFileName (const std::string &path) |
Returns the file name portion of file path path. For example "C:\Images\Beyonce.jpg" returns "Beyonce.jpg". More... | |
| std::string | getPathExtension (const std::string &path) |
| Returns the file extension of the file located at path. More... | |
| bool | createDirectories (const fs::path &path, bool createParents=true) |
Creates a directory at path and optionally creates any missing parent directories when createParents is true. Returns true upon success. More... | |
| void | launchWebBrowser (const Url &url) |
| Launches a path in a web browser. More... | |
| void | deleteFile (const fs::path &path) |
| Delete the file at path. Fails quietly if the path does not exist. More... | |
| std::vector< std::string > | split (const std::string &str, char separator, bool compress=true) |
Returns a vector of substrings split by the separator separator. split( "one two three", ' ' ) -> [ "one", "two", "three" ] If compress is TRUE, it will consider consecutive separators as one. More... | |
| std::vector< std::string > | split (const std::string &str, const std::string &separators, bool compress=true) |
Returns a vector of substrings split by the characters in separators. split( "one, two, three", " ," ) -> [ "one", "two", "three" ] If compress is TRUE, it will consider consecutive separators as one. More... | |
| string | loadString (DataSourceRef dataSource) |
| Loads the contents of dataSource and returns it as a std::string. More... | |
| wstring | toUtf16 (const std::string &utf8) |
| Returns a utf-16 encoded std::wstring by converting the utf-8 encoded string utf8. More... | |
| string | toUtf8 (const std::wstring &utf16) |
| Returns a utf-8 encoded std::string by converting the utf-16 encoded string utf16. More... | |
| vector< string > | stackTrace () |
Returns a stack trace (aka backtrace) where stackTrace()[0] == caller, stackTrace()[1] == caller's parent, etc. More... | |
| int16_t | swapEndian (int16_t val) |
| uint16_t | swapEndian (uint16_t val) |
| int32_t | swapEndian (int32_t val) |
| uint32_t | swapEndian (uint32_t val) |
| float | swapEndian (float val) |
| double | swapEndian (double val) |
| void | swapEndianBlock (uint16_t *blockPtr, size_t blockSizeInBytes) |
| void | swapEndianBlock (float *blockPtr, size_t blockSizeInBytes) |
| void | parseItem (const rapidxml::xml_node<> &node, XmlTree *parent, XmlTree *result, const XmlTree::ParseOptions &parseOptions) |
| ostream & | operator<< (ostream &out, const XmlTree &xml) |
| float | toRadians (float x) |
| double | toRadians (double x) |
| float | toDegrees (float x) |
| double | toDegrees (double x) |
| template<typename T , typename L > | |
| T | lerp (const T &a, const T &b, L factor) |
| template<typename T > | |
| T | lmap (T val, T inMin, T inMax, T outMin, T outMax) |
| template<typename T , typename L > | |
| T | bezierInterp (T a, T b, T c, T d, L t) |
| template<typename T , typename L > | |
| T | bezierInterpRef (const T &a, const T &b, const T &c, const T &d, L t) |
| template<typename T > | |
| T | constrain (T val, T minVal, T maxVal) |
| template<class T > | |
| T | sinx_over_x (T x) |
| uint32_t | log2floor (uint32_t x) |
| uint32_t | log2ceil (uint32_t x) |
| uint32_t | nextPowerOf2 (uint32_t x) |
| template<typename T > | |
| int | solveLinear (T a, T b, T result[1]) |
| template<typename T > | |
| int | solveQuadratic (T a, T b, T c, T result[2]) |
| template<typename T , typename Y > | |
| ColorT< T > | operator* (Y s, const ColorT< T > &c) |
| template<typename T , typename Y > | |
| ColorAT< T > | operator* (Y s, const ColorAT< T > &c) |
| DataSourceRef | loadUrl (const std::string &urlString, const UrlOptions &options=UrlOptions()) |
| float | easeNone (float t) |
| Easing equation for a simple linear tweening with no easing. More... | |
| float | easeInQuad (float t) |
| Easing equation for a quadratic (t^2) ease-in, accelerating from zero velocity. More... | |
| float | easeOutQuad (float t) |
| Easing equation for a quadratic (t^2) ease-out, decelerating to zero velocity. More... | |
| float | easeInOutQuad (float t) |
| Easing equation for a quadratic (t^2) ease-in/out, accelerating until halfway, then decelerating. More... | |
| float | easeOutInQuad (float t) |
| Easing equation for a quadratic (t^2) ease-out/in, decelerating until halfway, then accelerating. More... | |
| float | easeInCubic (float t) |
| Easing equation function for a cubic (t^3) ease-in, accelerating from zero velocity. More... | |
| float | easeOutCubic (float t) |
| Easing equation for a cubic (t^3) ease-out, decelerating to zero velocity. More... | |
| float | easeInOutCubic (float t) |
| Easing equation for a cubic (t^3) ease-in/out, accelerating until halfway, then decelerating. More... | |
| float | easeOutInCubic (float t) |
| Easing equation for a cubic (t^3) ease-out/in, decelerating until halfway, then accelerating. More... | |
| float | easeInQuart (float t) |
| Easing equation for a quartic (t^4) ease-in, accelerating from zero velocity. More... | |
| float | easeOutQuart (float t) |
| Easing equation for a quartic (t^4) ease-out, decelerating to zero velocity. More... | |
| float | easeInOutQuart (float t) |
| Easing equation for a quartic (t^4) ease-in/out, accelerating until halfway, then decelerating. More... | |
| float | easeOutInQuart (float t) |
| Easing equation for a quartic (t^4) ease-out/in, decelerating until halfway, then accelerating. More... | |
| float | easeInQuint (float t) |
| Easing equation function for a quintic (t^5) ease-in, accelerating from zero velocity. More... | |
| float | easeOutQuint (float t) |
| Easing equation for a quintic (t^5) ease-out, decelerating to zero velocity. More... | |
| float | easeInOutQuint (float t) |
| Easing equation for a quintic (t^5) ease-in/out, accelerating until halfway, then decelerating. More... | |
| float | easeOutInQuint (float t) |
| Easing equation for a quintic (t^5) ease-out/in, decelerating until halfway, then accelerating. More... | |
| float | easeInSine (float t) |
| Easing equation for a sinusoidal (sin(t)) ease-in, accelerating from zero velocity. More... | |
| float | easeOutSine (float t) |
| Easing equation for a sinusoidal (sin(t)) ease-out, decelerating from zero velocity. More... | |
| float | easeInOutSine (float t) |
| Easing equation for a sinusoidal (sin(t)) ease-in/out, accelerating until halfway, then decelerating. More... | |
| float | easeOutInSine (float t) |
| Easing equation for a sinusoidal (sin(t)) ease-out/in, decelerating until halfway, then accelerating. More... | |
| float | easeInExpo (float t) |
| Easing equation for an exponential (2^t) ease-in, accelerating from zero velocity. More... | |
| float | easeOutExpo (float t) |
| Easing equation for an exponential (2^t) ease-out, decelerating from zero velocity. More... | |
| float | easeInOutExpo (float t) |
| Easing equation for an exponential (2^t) ease-in/out, accelerating until halfway, then decelerating. More... | |
| float | easeOutInExpo (float t) |
| Easing equation for an exponential (2^t) ease-out/in, decelerating until halfway, then accelerating. More... | |
| float | easeInCirc (float t) |
| Easing equation for a circular (sqrt(1-t^2)) ease-in, accelerating from zero velocity. More... | |
| float | easeOutCirc (float t) |
| Easing equation for a circular (sqrt(1-t^2)) ease-out, decelerating from zero velocity. More... | |
| float | easeInOutCirc (float t) |
| Easing equation for a circular (sqrt(1-t^2)) ease-in/out, accelerating until halfway, then decelerating. More... | |
| float | easeOutInCirc (float t) |
| Easing equation for a circular (sqrt(1-t^2)) ease-out/in, decelerating until halfway, then accelerating. More... | |
| float | easeInBounce (float t, float a=1.70158f) |
| Easing equation for a bounce (exponentially decaying parabolic bounce) ease-in, accelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| float | easeOutBounce (float t, float a=1.70158f) |
| Easing equation for a bounce (exponentially decaying parabolic bounce) ease-out, decelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| float | easeInOutBounce (float t, float a=1.70158f) |
| Easing equation for a bounce (exponentially decaying parabolic bounce) ease-in/out, accelerating until halfway, then decelerating. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| float | easeOutInBounce (float t, float a=1.70158f) |
| Easing equation for a bounce (exponentially decaying parabolic bounce) ease-out/in, decelerating until halfway, then accelerating. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| float | easeInBack (float t, float s=1.70158f) |
| Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-in, accelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| float | easeOutBack (float t, float s=1.70158f) |
| Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-out, decelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| float | easeInOutBack (float t, float s=1.70158f) |
| Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-in/out, accelerating until halfway, then decelerating. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| float | easeOutInBack (float t, float s) |
| Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-out/in, decelerating until halfway, then accelerating. The a parameter controls overshoot, the default producing a 10% overshoot. More... | |
| float | easeInElastic (float t, float amplitude, float period) |
| Easing equation for an elastic (exponentially decaying sine wave) ease-in, accelerating from zero velocity. More... | |
| float | easeOutElastic (float t, float amplitude, float period) |
| Easing equation for an elastic (exponentially decaying sine wave) ease-out, decelerating from zero velocity. More... | |
| float | easeInOutElastic (float t, float amplitude, float period) |
| Easing equation for an elastic (exponentially decaying sine wave) ease-in/out, accelerating until halfway, then decelerating. More... | |
| float | easeOutInElastic (float t, float amplitude, float period) |
| Easing equation for an elastic (exponentially decaying sine wave) ease-out/in, decelerating until halfway, then accelerating. More... | |
| float | easeInAtan (float t, float a=15) |
| Easing equation for an atan ease-in, accelerating from zero velocity. Used by permssion from Chris McKenzie. More... | |
| float | easeOutAtan (float t, float a=15) |
| Easing equation for an atan ease-out, decelerating from zero velocity. Used by permssion from Chris McKenzie. More... | |
| float | easeInOutAtan (float t, float a=15) |
| Easing equation for an atan ease-in/out, accelerating until halfway, then decelerating. Used by permssion from Chris McKenzie. More... | |
| template<typename T > | |
| Matrix44< T > | firstFrame (const Vec4< T > &firstPoint, const Vec4< T > &secondPoint, const Vec4< T > &thirdPoint) |
| template<typename T > | |
| Matrix44< T > | nextFrame (const Matrix44< T > &prevMatrix, const Vec4< T > &prevPoint, const Vec4< T > &curPoint, Vec4< T > &prevTangent, Vec4< T > &curTangent) |
| template<typename T > | |
| Matrix44< T > | lastFrame (const Matrix44< T > &prevMatrix, const Vec4< T > &prevPoint, const Vec4< T > &lastPoint) |
| Matrix44f | SseMultiply (const Matrix44f &mat0, const Matrix44f &mat1) |
| Matrix44f | SseInvert (const Matrix44f &mat) |
| std::ostream & | operator<< (std::ostream &out, const Path2d &p) |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &o, const Plane< T > &p) |
| template<typename T > | |
| Vec3< T > | operator* (const Vec3< T > &vec, const Quaternion< T > &q) |
| void | randSeed (unsigned long seedValue) |
| Resets the static random generator to the specific seed seedValue. More... | |
| bool | randBool () |
| returns a random boolean value More... | |
| int32_t | randInt () |
| returns a random integer in the range [0,2147483647] More... | |
| int32_t | randInt (int32_t v) |
| returns a random integer in the range [0,v) More... | |
| int32_t | randInt (int32_t a, int32_t b) |
| returns a random integer in the range [a,b) More... | |
| float | randFloat () |
| returns a random float in the range [0.0f,1.0f] More... | |
| float | randFloat (float v) |
| returns a random float in the range [0.0f,v] More... | |
| float | randFloat (float a, float b) |
| returns a random float in the range [a,b] More... | |
| float | randPosNegFloat (float a, float b) |
| returns a random float in the range [a,b] or the range [-b,-a] More... | |
| Vec3f | randVec3f () |
| returns a random Vec3f that represents a point on the unit sphere More... | |
| Vec2f | randVec2f () |
| returns a random Vec2f that represents a point on the unit circle More... | |
| float | randGaussian () |
| returns a random float via Gaussian distribution More... | |
| std::ostream & | operator<< (std::ostream &outp, const System::NetworkAdapter &adapter) |
| template<typename T > | |
| T | tweenLerp (const T &start, const T &end, float time) |
| template<> | |
| Quatf | tweenLerp (const Quatf &start, const Quatf &end, float time) |
| template<> | |
| Quatd | tweenLerp (const Quatd &start, const Quatd &end, float time) |
| std::ostream & | operator<< (std::ostream &out, const Url &url) |
| std::istream & | operator>> (std::istream &is, Url &url) |
| char | getPathSeparator () |
Returns the path separator for the host operating system's file system, '\' on Windows and '/' on Mac OS. More... | |
| template<typename T > | |
| std::string | toString (const T &t) |
| template<typename T > | |
| T | fromString (const std::string &s) |
| template<> | |
| Url | fromString (const std::string &s) |
| int8_t | swapEndian (int8_t val) |
| uint8_t | swapEndian (uint8_t val) |
| template<typename T > | |
| Vec2< T > | toPolar (Vec2< T > car) |
| Converts a coordinate from rectangular (Cartesian) coordinates to polar coordinates of the form (radius, theta) More... | |
| template<typename T > | |
| Vec2< T > | fromPolar (Vec2< T > pol) |
| Converts a coordinate from polar coordinates of the form (radius, theta) to rectangular coordinates. More... | |
| template<typename T , typename Y > | |
| Vec2< T > | operator* (Y s, const Vec2< T > &v) |
| template<typename T , typename Y > | |
| Vec2< T > | operator* (const Vec2< T > &v, Y s) |
| template<typename T , typename Y > | |
| Vec3< T > | operator* (Y s, const Vec3< T > &v) |
| template<typename T , typename Y > | |
| Vec3< T > | operator* (const Vec3< T > &v, Y s) |
| template<typename T , typename Y > | |
| Vec4< T > | operator* (Y s, const Vec4< T > &v) |
| template<typename T , typename Y > | |
| Vec4< T > | operator* (const Vec4< T > &v, Y s) |
| template<typename T > | |
| T | dot (const Vec2< T > &a, const Vec2< T > &b) |
| template<typename T > | |
| T | dot (const Vec3< T > &a, const Vec3< T > &b) |
| template<typename T > | |
| T | dot (const Vec4< T > &a, const Vec4< T > &b) |
| template<typename T > | |
| Vec3< T > | cross (const Vec3< T > &a, const Vec3< T > &b) |
| template<typename T > | |
| Vec4< T > | cross (const Vec4< T > &a, const Vec4< T > &b) |
| template<typename T > | |
| bool | isNaN (const Vec2< T > &a) |
| template<typename T > | |
| bool | isNaN (const Vec3< T > &a) |
| template<typename T > | |
| bool | isNaN (const Vec4< T > &a) |
Variables | |
| Font::Obj::Obj(const string &aName, float aSize) | mCGFont = ::CGFontCreateWithFontName( cfName ) |
| mCTFont = ::CTFontCreateWithGraphicsFont( mCGFont, (CGFloat)mSize, 0, 0 ) | |
| ::CFStringRef | fullName = ::CGFontCopyFullName( mCGFont ) |
| string | result = cocoa::convertCfString( fullName ) |
| wstring | faceName = toUtf16( mName ) |
| mHfont | |
| mGdiplusFont = std::shared_ptr<Gdiplus::Font>( new Gdiplus::Font( FontManager::instance()->getFontDc(), mHfont ) ) | |
| INT | found = 0 |
| INT | count = 0 |
| WCHAR | familyName [1024] |
| Gdiplus::PrivateFontCollection | privateFontCollection |
| ci::Buffer | buffer = dataSource->getBuffer() |
| DWORD | numFonts = 0 |
| const double | EPSILON_VALUE = 4.37114e-05 |
| typedef BSplineFit<float> cinder::BSplineFitf |
| typedef BSplineFit<double> cinder::BSplineFitd |
| typedef BSplineFitBasis<float> cinder::BSplineFitBasisf |
| typedef BSplineFitBasis<double> cinder::BSplineFitBasisd |
| typedef boost::geometry::model::polygon<boost::geometry::model::d2::point_xy<double> > cinder::polygon |
| typedef struct cinder::_LOGICALPROCESSORDATA cinder::LOGICALPROCESSORDATA |
| typedef struct cinder::_LOGICALPROCESSORDATA * cinder::PLOGICALPROCESSORDATA |
| typedef std::multimap<void*,TimelineItemRef>::iterator cinder::s_iter |
| typedef std::multimap<void*,TimelineItemRef>::const_iterator cinder::s_const_iter |
| typedef BandedMatrix<float> cinder::BandedMatrixf |
| typedef BandedMatrix<double> cinder::BandedMatrixd |
| typedef BSpline<Vec2f> cinder::BSpline2f |
| typedef BSpline<Vec3f> cinder::BSpline3f |
| typedef std::shared_ptr<class Capture> cinder::CaptureRef |
| typedef std::shared_ptr< class ImageSource > cinder::ImageSourceRef |
| typedef ChannelT<uint8_t> cinder::Channel |
8-bit image channel. Synonym for Channel8u.
| typedef ChannelT<uint8_t> cinder::Channel8u |
8-bit image channel
| typedef ChannelT<uint16_t> cinder::Channel16u |
16-bit image channel. Suitable as an intermediate representation and ImageIo but not a first-class citizen.
| typedef ChannelT<float> cinder::Channel32f |
32-bit floating point image channel
| typedef ColorT<float> cinder::Color |
| typedef ColorT<float> cinder::Colorf |
| typedef ColorT<uint8_t> cinder::Color8u |
| typedef ColorAT<float> cinder::ColorA |
| typedef ColorAT<float> cinder::ColorAf |
| typedef ColorAT<uint8_t> cinder::ColorA8u |
| typedef std::shared_ptr<class DataSource> cinder::DataSourceRef |
| typedef std::shared_ptr<class DataSourcePath> cinder::DataSourcePathRef |
| typedef std::shared_ptr<class DataSourceUrl> cinder::DataSourceUrlRef |
| typedef std::shared_ptr<class DataSourceBuffer> cinder::DataSourceBufferRef |
| typedef std::shared_ptr<class DataTarget> cinder::DataTargetRef |
| typedef std::shared_ptr<class DataTargetPath> cinder::DataTargetPathRef |
| typedef std::shared_ptr<class DataTargetStream> cinder::DataTargetStreamRef |
| typedef std::shared_ptr<class Display> cinder::DisplayRef |
| typedef Frustum<float> cinder::Frustumf |
| typedef Frustum<double> cinder::Frustumd |
| typedef uint32_t cinder::CallbackId |
Represents a unique identifier for a callback.
| typedef std::shared_ptr<class ImageLoader> cinder::ImageLoaderRef |
| typedef std::shared_ptr< class ImageTarget > cinder::ImageTargetRef |
| typedef std::shared_ptr<class ImageTargetFile> cinder::ImageTargetFileRef |
| typedef std::shared_ptr<class ImageSourceFileQuartz> cinder::ImageSourceFileQuartzRef |
| typedef std::shared_ptr<class ImageSourceFileWic> cinder::ImageSourceFileWicRef |
| typedef std::shared_ptr<class ImageSourcePng> cinder::ImageSourcePngRef |
| typedef std::shared_ptr<class ImageTargetFileQuartz> cinder::ImageTargetFileQuartzRef |
| typedef std::shared_ptr<class ImageTargetFileWic> cinder::ImageTargetFileWicRef |
| typedef Matrix22<float> cinder::Matrix22f |
| typedef Matrix22<double> cinder::Matrix22d |
| typedef Matrix33<float> cinder::Matrix33f |
| typedef Matrix33<double> cinder::Matrix33d |
| typedef Matrix44<float> cinder::Matrix44f |
| typedef Matrix44<double> cinder::Matrix44d |
| typedef MatrixAffine2<float> cinder::MatrixAffine2f |
| typedef MatrixAffine2<double> cinder::MatrixAffine2d |
| typedef Plane<float> cinder::Planef |
| typedef Plane<double> cinder::Planed |
| typedef PolyLine<Vec2f> cinder::PolyLine2f |
| typedef PolyLine<Vec2d> cinder::PolyLine2d |
| typedef Quaternion<float> cinder::Quatf |
| typedef Quaternion<double> cinder::Quatd |
| typedef RectT<float> cinder::Rectf |
| typedef RectT<double> cinder::Rectd |
| typedef std::shared_ptr<class OStream> cinder::OStreamRef |
| typedef std::shared_ptr<IStream> cinder::IStreamRef |
| typedef std::shared_ptr<IoStream> cinder::IoStreamRef |
| typedef std::shared_ptr<class IStreamFile> cinder::IStreamFileRef |
| typedef std::shared_ptr<class OStreamFile> cinder::OStreamFileRef |
| typedef std::shared_ptr<class IoStreamFile> cinder::IoStreamFileRef |
| typedef std::shared_ptr<class IStreamMem> cinder::IStreamMemRef |
| typedef std::shared_ptr<class OStreamMem> cinder::OStreamMemRef |
| typedef boost::iostreams::stream<cinder_stream_source> cinder::cinder_istream |
| typedef boost::iostreams::stream<cinder_stream_sink> cinder::cinder_ostream |
| typedef boost::iostreams::stream<cinder_stream_bidirectional_device> cinder::cinder_iostream |
| typedef SurfaceT<uint8_t> cinder::Surface |
8-bit image. Synonym for Surface8u.
| typedef SurfaceT<uint8_t> cinder::Surface8u |
8-bit image
| typedef SurfaceT<uint16_t> cinder::Surface16u |
16-bit image. Suitable as an intermediate representation and ImageIo but not a first-class citizen.
| typedef SurfaceT<float> cinder::Surface32f |
32-bit floating point image
| typedef std::shared_ptr<class Cue> cinder::CueRef |
| typedef std::shared_ptr< Timeline > cinder::TimelineRef |
| typedef std::shared_ptr<class TimelineItem> cinder::TimelineItemRef |
| typedef std::function<float (float)> cinder::EaseFn |
| typedef std::shared_ptr<class IStreamUrl> cinder::IStreamUrlRef |
A pointer to an instance of an IStreamUrl. Can be created using IStreamUrl::createRef()
| typedef Vec2<int> cinder::Vec2i |
| typedef Vec2<float> cinder::Vec2f |
| typedef Vec2<double> cinder::Vec2d |
| typedef Vec3<int> cinder::Vec3i |
| typedef Vec3<float> cinder::Vec3f |
| typedef Vec3<double> cinder::Vec3d |
| typedef Vec4<int> cinder::Vec4i |
| typedef Vec4<float> cinder::Vec4f |
| typedef Vec4<double> cinder::Vec4d |
| enum cinder::ColorModel |
| std::pair< Area, Vec2i > cinder::clippedSrcDst | ( | const Area & | srcSurfaceBounds, |
| const Area & | srcArea, | ||
| const Area & | dstSurfaceBounds, | ||
| const Vec2i & | dstLT | ||
| ) |
| std::string cinder::toBase64 | ( | const std::string & | input, |
| int | charsPerLine | ||
| ) |
Converts input into a Base64-encoded string. If charsPerLine > 0, carriage returns (
) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4.
| std::string cinder::toBase64 | ( | const Buffer & | input, |
| int | charsPerLine | ||
| ) |
Converts input into a Base64-encoded string. If charsPerLine > 0, carriage returns (
) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4.
| std::string cinder::toBase64 | ( | const void * | input, |
| size_t | inputSize, | ||
| int | charsPerLine | ||
| ) |
Converts input of length inputSize into a Base64-encoded string. If charsPerLine > 0, carriage returns (
) are inserted every charsPerLine characters, rounded down to the nearest multiple of 4.
| Buffer cinder::fromBase64 | ( | const std::string & | input | ) |
Converts Base64-encoded data input into unencoded data.
| Buffer cinder::fromBase64 | ( | const Buffer & | input | ) |
Converts Base64-encoded data input into unencoded data.
| Buffer cinder::fromBase64 | ( | const void * | input, |
| size_t | inputSize | ||
| ) |
Converts Base64-encoded data input into unencoded data.
| void cinder::allocate2D | ( | int | iCols, |
| int | iRows, | ||
| T **& | raatArray | ||
| ) |
| void cinder::deallocate2D | ( | T **& | raatArray | ) |
| T::TYPE cinder::getSpeedWithData | ( | float | fTime, |
| void * | pvData | ||
| ) |
| Real cinder::rombergIntegral | ( | int | iOrder, |
| Real | fA, | ||
| Real | fB, | ||
| Real(*)(Real, void *) | oF, | ||
| void * | pvUserData | ||
| ) |
| BSpline< T > cinder::fitBSpline | ( | const std::vector< T > & | samples, |
| int | degree, | ||
| int | outputSamples | ||
| ) |
| template BSpline<Vec2f> cinder::fitBSpline | ( | const std::vector< Vec2f > & | samples, |
| int | degree, | ||
| int | outputSamples | ||
| ) |
| template BSpline<Vec3f> cinder::fitBSpline | ( | const std::vector< Vec3f > & | samples, |
| int | degree, | ||
| int | outputSamples | ||
| ) |
| template BSpline<Vec4f> cinder::fitBSpline | ( | const std::vector< Vec4f > & | samples, |
| int | degree, | ||
| int | outputSamples | ||
| ) |
| Buffer cinder::compressBuffer | ( | const Buffer & | aBuffer, |
| int8_t | compressionLevel, | ||
| bool | resizeResult | ||
| ) |
| Buffer cinder::decompressBuffer | ( | const Buffer & | aBuffer, |
| bool | resizeResult, | ||
| bool | useGZip | ||
| ) |
| int cinder::solveCubic | ( | T | a, |
| T | b, | ||
| T | c, | ||
| T | d, | ||
| T | result[3] | ||
| ) |
| template int cinder::solveCubic | ( | float | a, |
| float | b, | ||
| float | c, | ||
| float | d, | ||
| float | result[3] | ||
| ) |
| template int cinder::solveCubic | ( | double | a, |
| double | b, | ||
| double | c, | ||
| double | d, | ||
| double | result[3] | ||
| ) |
| bool cinder::clipboardContainsFormat | ( | const std::set< UINT > & | formats | ) |
| ColorT< float > cinder::hsvToRGB | ( | const Vec3f & | hsv | ) |
| Vec3f cinder::rgbToHSV | ( | const Colorf & | c | ) |
| std::ostream & cinder::operator<< | ( | std::ostream & | lhs, |
| const ColorT< float > & | rhs | ||
| ) |
| std::ostream & cinder::operator<< | ( | std::ostream & | lhs, |
| const ColorT< uint8_t > & | rhs | ||
| ) |
| std::ostream & cinder::operator<< | ( | std::ostream & | lhs, |
| const ColorAT< float > & | rhs | ||
| ) |
| std::ostream & cinder::operator<< | ( | std::ostream & | lhs, |
| const ColorAT< uint8_t > & | rhs | ||
| ) |
| PolyLine2f cinder::calcConvexHull | ( | const std::vector< Vec2f > & | points | ) |
| PolyLine2f cinder::calcConvexHull | ( | const Vec2f * | points, |
| size_t | numPoints | ||
| ) |
| PolyLine2f cinder::calcConvexHull | ( | const Shape2d & | shape | ) |
| PolyLine2f cinder::calcConvexHull | ( | const Path2d & | path | ) |
| PolyLine2f cinder::calcConvexHull | ( | const PolyLine2f & | polyLine | ) |
| DataSourceRef cinder::loadFile | ( | const fs::path & | path | ) |
| DataSourceRef cinder::loadUrl | ( | const Url & | url, |
| const UrlOptions & | options | ||
| ) |
| DataTargetPathRef cinder::writeFile | ( | const fs::path & | path, |
| bool | createParents | ||
| ) |
Returns a DataTarget to file path path, and optionally creates any necessary directories when createParents is true.
| int CALLBACK cinder::EnumFontFamiliesExProc | ( | ENUMLOGFONTEX * | lpelfe, |
| NEWTEXTMETRICEX * | lpntme, | ||
| int | FontType, | ||
| LPARAM | lParam | ||
| ) |
| cinder::CFRelease | ( | cfName | ) |
| cinder::if | ( | mCGFont | = =0 | ) |
| cinder::assert | ( | sizeof(wchar_t) | = =2 | ) |
| cinder::finishSetup | ( | ) |
| Font::Obj::Obj ( DataSourceRef dataSource, float size ) std::shared_ptr<CGDataProvider> cinder::dataProvider | ( | :: | CGDataProviderCreateWithDataNULL, buffer.getData(), buffer.getDataSize(), NULL, |
| ::CGDataProviderRelease | |||
| ) |
| cinder::if | ( | ! | dataProvider | ) |
| privateFontCollection cinder::AddMemoryFont | ( | buffer. | getData(), |
| buffer. | getDataSize() | ||
| ) |
| cinder::if | ( | count<= | 0 | ) |
| std::shared_ptr<void> cinder::fontFamily | ( | malloc(sizeof(Gdiplus::FontFamily)) | , |
| free | |||
| ) |
| privateFontCollection cinder::GetFamilies | ( | 1 | , |
| (Gdiplus::FontFamily *) fontFamily.get() | , | ||
| & | found | ||
| ) |
| cinder::if | ( | found! | = 0 | ) |
| else throw cinder::FontInvalidNameExc | ( | ) |
| cinder::if | ( | ) |
| ImageSourceRef cinder::loadImage | ( | const fs::path & | path, |
| ImageSource::Options | options, | ||
| string | extension | ||
| ) |
Loads an image from the file path path. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG.
| ImageSourceRef cinder::loadImage | ( | DataSourceRef | dataSource, |
| ImageSource::Options | options, | ||
| string | extension | ||
| ) |
Loads an image from dataSource. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG.
| void cinder::writeImage | ( | const fs::path & | path, |
| const ImageSourceRef & | imageSource, | ||
| ImageTarget::Options | options = ImageTarget::Options(), |
||
| std::string | extension = "" |
||
| ) |
Writes imageSource to file path path. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG
| void cinder::writeImage | ( | DataTargetRef | dataTarget, |
| const ImageSourceRef & | imageSource, | ||
| ImageTarget::Options | options, | ||
| string | extension | ||
| ) |
Writes imageSource to dataTarget. Optional extension parameter allows specification of a file type. For example, "jpg" would force the file to load as a JPEG.
| void cinder::writeImage | ( | ImageTargetRef | imageTarget, |
| const ImageSourceRef & | imageSource | ||
| ) |
Writes imageSource to imageTarget.
| std::ostream & cinder::operator<< | ( | ostream & | out, |
| const JsonTree & | json | ||
| ) |
| Matrix44< T > cinder::firstFrame | ( | const Vec3< T > & | firstPoint, |
| const Vec3< T > & | secondPoint, | ||
| const Vec3< T > & | thirdPoint | ||
| ) |
| Matrix44< T > cinder::nextFrame | ( | const Matrix44< T > & | prevMatrix, |
| const Vec3< T > & | prevPoint, | ||
| const Vec3< T > & | curPoint, | ||
| Vec3< T > & | prevTangent, | ||
| Vec3< T > & | curTangent | ||
| ) |
| Matrix44< T > cinder::lastFrame | ( | const Matrix44< T > & | prevMatrix, |
| const Vec3< T > & | prevPoint, | ||
| const Vec3< T > & | lastPoint | ||
| ) |
| template Matrix44f cinder::firstFrame | ( | const Vec3f & | firstPoint, |
| const Vec3f & | secondPoint, | ||
| const Vec3f & | thirdPoint | ||
| ) |
| template Matrix44f cinder::nextFrame | ( | const Matrix44f & | prevMatrix, |
| const Vec3f & | prevPoint, | ||
| const Vec3f & | curPoint, | ||
| Vec3f & | prevTangent, | ||
| Vec3f & | curTangent | ||
| ) |
| template Matrix44f cinder::lastFrame | ( | const Matrix44f & | prevMatrix, |
| const Vec3f & | prevPoint, | ||
| const Vec3f & | lastPoint | ||
| ) |
| template Matrix44d cinder::firstFrame | ( | const Vec3d & | firstPoint, |
| const Vec3d & | secondPoint, | ||
| const Vec3d & | thirdPoint | ||
| ) |
| template Matrix44d cinder::nextFrame | ( | const Matrix44d & | prevMatrix, |
| const Vec3d & | prevPoint, | ||
| const Vec3d & | curPoint, | ||
| Vec3d & | prevTangent, | ||
| Vec3d & | curTangent | ||
| ) |
| template Matrix44d cinder::lastFrame | ( | const Matrix44d & | prevMatrix, |
| const Vec3d & | prevPoint, | ||
| const Vec3d & | lastPoint | ||
| ) |
| float cinder::nlerp | ( | float | t, |
| float | a, | ||
| float | b | ||
| ) |
| T cinder::linearYatX | ( | const Vec2< T > | p[2], |
| T | x | ||
| ) |
| size_t cinder::linearCrossings | ( | const Vec2< T > | p[2], |
| const Vec2f & | pt | ||
| ) |
| void cinder::sleep | ( | float | milliseconds | ) |
Suspends the execution of the current thread until milliseconds have passed. Supports sub-millisecond precision only on Mac OS X.
| void cinder::getClippedScaledRects | ( | const Area & | srcSurfaceBounds, |
| const Rectf & | srcRect, | ||
| const Area & | dstSurfaceBounds, | ||
| const Area & | dstArea, | ||
| Rectf * | resultSrcRect, | ||
| Area * | resultDstArea | ||
| ) |
| std::ostream& cinder::operator<< | ( | std::ostream & | o, |
| const RectT< T > & | rect | ||
| ) |
| IStreamFileRef cinder::loadFileStream | ( | const fs::path & | path | ) |
Opens the file lcoated at path for read access as a stream.
| OStreamFileRef cinder::writeFileStream | ( | const fs::path & | path, |
| bool | createParents | ||
| ) |
Opens the file located at path for write access as a stream, and creates it if it does not exist. Optionally creates any intermediate directories when createParents is true.
| IoStreamFileRef cinder::readWriteFileStream | ( | const fs::path & | path | ) |
Opens a path for read-write access as a stream.
| void cinder::loadStreamMemory | ( | IStreamRef | is, |
| std::shared_ptr< uint8_t > * | resultData, | ||
| size_t * | resultDataSize | ||
| ) |
Loads the contents of a stream into a contiguous block of memory, pointed to by resultData. The size of this block is stored in resultDataSize.
| void cinder::cpuidwrap | ( | int * | p, |
| unsigned int | param | ||
| ) |
| void cinder::lockToLogicalProcessor | ( | int | n | ) |
| void cinder::cpuid | ( | int | whichlp, |
| PLOGICALPROCESSORDATA | p | ||
| ) |
| Surface cinder::renderStringPow2 | ( | const string & | str, |
| const Font & | font, | ||
| const ColorA & | color, | ||
| Vec2i * | actualSize, | ||
| float * | baselineOffset | ||
| ) |
Renders a single string and returns it as a Surface. Optional baselineOffset pointer will receive how many pixels of descender are in the returned Surface. Offset rendering the result Surface by this amount in order to preserve a consistent baseline. Consider gl::drawString() as a more convenient alternative.
| Surface cinder::renderString | ( | const string & | str, |
| const Font & | font, | ||
| const ColorA & | color, | ||
| float * | baselineOffset | ||
| ) |
| void* cinder::stdAlloc | ( | void * | userData, |
| unsigned int | size | ||
| ) |
| void cinder::stdFree | ( | void * | userData, |
| void * | ptr | ||
| ) |
| size_t cinder::stringLengthUtf8 | ( | const char * | str, |
| size_t | lengthInBytes | ||
| ) |
Returns the number of characters (not bytes) in the the UTF-8 string str. Optimize operation by supplying a non-default lengthInBytes of str.
| uint32_t cinder::nextCharUtf8 | ( | const char * | str, |
| size_t * | inOutByte, | ||
| size_t | lengthInBytes | ||
| ) |
Returns the UTF-32 code point of the next character in str, relative to the byte inOutByte. Increments inOutByte to be the first byte of the next character. Optimize operation by supplying a non-default lengthInBytes of str.
| size_t cinder::advanceCharUtf8 | ( | const char * | str, |
| size_t | numChars, | ||
| size_t | lengthInBytes | ||
| ) |
Returns the index in bytes of the next character in str, advanced by numChars characters. Optimize operation by supplying a non-default lengthInBytes of str.
| void cinder::lineBreakUtf8 | ( | const char * | line, |
| const std::function< bool(const char *, size_t)> & | measureFn, | ||
| std::function< void(const char *, size_t)> | lineProcessFn | ||
| ) |
| void cinder::calcLinebreaksUtf8 | ( | const char * | str, |
| std::vector< uint8_t > * | resultBreaks | ||
| ) |
Sets resultBreaks to be of the same length as the null-terminated UTF-8 string str with the values enumerated by UnicodeBreaks.
| void cinder::calcLinebreaksUtf8 | ( | const char * | str, |
| size_t | strLength, | ||
| std::vector< uint8_t > * | resultBreaks | ||
| ) |
Sets resultBreaks to be of the same length as the UTF-8 string str with the values enumerated by UnicodeBreaks.
| void cinder::calcLinebreaksUtf16 | ( | const uint16_t * | str, |
| std::vector< uint8_t > * | resultBreaks | ||
| ) |
Sets resultBreaks to be of the same length as the null-terminated UTF-16 string str with the values enumerated by UnicodeBreaks.
| void cinder::calcLinebreaksUtf16 | ( | const uint16_t * | str, |
| size_t | strLength, | ||
| std::vector< uint8_t > * | resultBreaks | ||
| ) |
Sets resultBreaks to be of the same length as the UTF-16 string str with the values enumerated by UnicodeBreaks.
| IStreamUrlRef cinder::loadUrlStream | ( | const Url & | url, |
| const UrlOptions & | options | ||
| ) |
| IStreamUrlRef cinder::loadUrlStream | ( | const std::string & | url, |
| const std::string & | user, | ||
| const std::string & | password, | ||
| const UrlOptions & | options | ||
| ) |
| void cinder::safeInternetCloseHandle | ( | HINTERNET | hInternet | ) |
| void cinder::testAndThrowHttpStatus | ( | HINTERNET | hInternet | ) |
| fs::path cinder::expandPath | ( | const fs::path & | path | ) |
Returns a canonical version of path by expanding a "~" and symlinks on the Mac "..", "." and "//".
| fs::path cinder::getHomeDirectory | ( | ) |
Returns a path to the user's home directory.
| fs::path cinder::getDocumentsDirectory | ( | ) |
Returns a path to the user's documents directory.
| fs::path cinder::getTemporaryDirectory | ( | ) |
Returns a path to the user's temporary directory.
| fs::path cinder::getTemporaryFilePath | ( | const std::string & | prefix | ) |
Returns a path that is gauranteed to be unique and is suitable for creating a temporary file. An optional prefix parameters allows specification of a file name prefix, some portion of which will be incorporated into the result. Note a race condition that can exist between the uniqueness of the path and the creation of the file.
| std::string cinder::getPathDirectory | ( | const std::string & | path | ) |
Returns the directory portion of file path path, the last component of which must be a file name or a terminating path separator.
| std::string cinder::getPathFileName | ( | const std::string & | path | ) |
Returns the file name portion of file path path. For example "C:\Images\Beyonce.jpg" returns "Beyonce.jpg".
| std::string cinder::getPathExtension | ( | const std::string & | path | ) |
Returns the file extension of the file located at path.
| bool cinder::createDirectories | ( | const fs::path & | path, |
| bool | createParents | ||
| ) |
Creates a directory at path and optionally creates any missing parent directories when createParents is true. Returns true upon success.
| void cinder::launchWebBrowser | ( | const Url & | url | ) |
Launches a path in a web browser.
| void cinder::deleteFile | ( | const fs::path & | path | ) |
Delete the file at path. Fails quietly if the path does not exist.
| std::vector< std::string > cinder::split | ( | const std::string & | str, |
| char | separator, | ||
| bool | compress | ||
| ) |
Returns a vector of substrings split by the separator separator. split( "one two three", ' ' ) -> [ "one", "two", "three" ] If compress is TRUE, it will consider consecutive separators as one.
| std::vector< std::string > cinder::split | ( | const std::string & | str, |
| const std::string & | separators, | ||
| bool | compress | ||
| ) |
Returns a vector of substrings split by the characters in separators. split( "one, two, three", " ," ) -> [ "one", "two", "three" ] If compress is TRUE, it will consider consecutive separators as one.
| std::string cinder::loadString | ( | DataSourceRef | dataSource | ) |
Loads the contents of dataSource and returns it as a std::string.
| std::wstring cinder::toUtf16 | ( | const string & | utf8 | ) |
Returns a utf-16 encoded std::wstring by converting the utf-8 encoded string utf8.
| std::string cinder::toUtf8 | ( | const wstring & | utf16 | ) |
Returns a utf-8 encoded std::string by converting the utf-16 encoded string utf16.
| std::vector< std::string > cinder::stackTrace | ( | ) |
Returns a stack trace (aka backtrace) where stackTrace()[0] == caller, stackTrace()[1] == caller's parent, etc.
| int16_t cinder::swapEndian | ( | int16_t | val | ) |
| uint16_t cinder::swapEndian | ( | uint16_t | val | ) |
| int32_t cinder::swapEndian | ( | int32_t | val | ) |
| uint32_t cinder::swapEndian | ( | uint32_t | val | ) |
| float cinder::swapEndian | ( | float | val | ) |
| double cinder::swapEndian | ( | double | val | ) |
| void cinder::swapEndianBlock | ( | uint16_t * | blockPtr, |
| size_t | blockSizeInBytes | ||
| ) |
| void cinder::swapEndianBlock | ( | float * | blockPtr, |
| size_t | blockSizeInBytes | ||
| ) |
| void cinder::parseItem | ( | const rapidxml::xml_node<> & | node, |
| XmlTree * | parent, | ||
| XmlTree * | result, | ||
| const XmlTree::ParseOptions & | parseOptions | ||
| ) |
| std::ostream & cinder::operator<< | ( | ostream & | out, |
| const XmlTree & | xml | ||
| ) |
Streams the XmlTree xml to std::ostream out with standard formatting.
| float cinder::toRadians | ( | float | x | ) |
| double cinder::toRadians | ( | double | x | ) |
| float cinder::toDegrees | ( | float | x | ) |
| double cinder::toDegrees | ( | double | x | ) |
| T cinder::lerp | ( | const T & | a, |
| const T & | b, | ||
| L | factor | ||
| ) |
| T cinder::lmap | ( | T | val, |
| T | inMin, | ||
| T | inMax, | ||
| T | outMin, | ||
| T | outMax | ||
| ) |
| T cinder::bezierInterp | ( | T | a, |
| T | b, | ||
| T | c, | ||
| T | d, | ||
| L | t | ||
| ) |
| T cinder::bezierInterpRef | ( | const T & | a, |
| const T & | b, | ||
| const T & | c, | ||
| const T & | d, | ||
| L | t | ||
| ) |
| T cinder::constrain | ( | T | val, |
| T | minVal, | ||
| T | maxVal | ||
| ) |
| T cinder::sinx_over_x | ( | T | x | ) |
| uint32_t cinder::log2floor | ( | uint32_t | x | ) |
| uint32_t cinder::log2ceil | ( | uint32_t | x | ) |
| uint32_t cinder::nextPowerOf2 | ( | uint32_t | x | ) |
| int cinder::solveLinear | ( | T | a, |
| T | b, | ||
| T | result[1] | ||
| ) |
| int cinder::solveQuadratic | ( | T | a, |
| T | b, | ||
| T | c, | ||
| T | result[2] | ||
| ) |
| ColorT<T> cinder::operator* | ( | Y | s, |
| const ColorT< T > & | c | ||
| ) |
| ColorAT<T> cinder::operator* | ( | Y | s, |
| const ColorAT< T > & | c | ||
| ) |
| DataSourceRef cinder::loadUrl | ( | const std::string & | urlString, |
| const UrlOptions & | options = UrlOptions() |
||
| ) |
| float cinder::easeNone | ( | float | t | ) |
Easing equation for a simple linear tweening with no easing.
| float cinder::easeInQuad | ( | float | t | ) |
Easing equation for a quadratic (t^2) ease-in, accelerating from zero velocity.
| float cinder::easeOutQuad | ( | float | t | ) |
Easing equation for a quadratic (t^2) ease-out, decelerating to zero velocity.
| float cinder::easeInOutQuad | ( | float | t | ) |
Easing equation for a quadratic (t^2) ease-in/out, accelerating until halfway, then decelerating.
| float cinder::easeOutInQuad | ( | float | t | ) |
Easing equation for a quadratic (t^2) ease-out/in, decelerating until halfway, then accelerating.
| float cinder::easeInCubic | ( | float | t | ) |
Easing equation function for a cubic (t^3) ease-in, accelerating from zero velocity.
| float cinder::easeOutCubic | ( | float | t | ) |
Easing equation for a cubic (t^3) ease-out, decelerating to zero velocity.
| float cinder::easeInOutCubic | ( | float | t | ) |
Easing equation for a cubic (t^3) ease-in/out, accelerating until halfway, then decelerating.
| float cinder::easeOutInCubic | ( | float | t | ) |
Easing equation for a cubic (t^3) ease-out/in, decelerating until halfway, then accelerating.
| float cinder::easeInQuart | ( | float | t | ) |
Easing equation for a quartic (t^4) ease-in, accelerating from zero velocity.
| float cinder::easeOutQuart | ( | float | t | ) |
Easing equation for a quartic (t^4) ease-out, decelerating to zero velocity.
| float cinder::easeInOutQuart | ( | float | t | ) |
Easing equation for a quartic (t^4) ease-in/out, accelerating until halfway, then decelerating.
| float cinder::easeOutInQuart | ( | float | t | ) |
Easing equation for a quartic (t^4) ease-out/in, decelerating until halfway, then accelerating.
| float cinder::easeInQuint | ( | float | t | ) |
Easing equation function for a quintic (t^5) ease-in, accelerating from zero velocity.
| float cinder::easeOutQuint | ( | float | t | ) |
Easing equation for a quintic (t^5) ease-out, decelerating to zero velocity.
| float cinder::easeInOutQuint | ( | float | t | ) |
Easing equation for a quintic (t^5) ease-in/out, accelerating until halfway, then decelerating.
| float cinder::easeOutInQuint | ( | float | t | ) |
Easing equation for a quintic (t^5) ease-out/in, decelerating until halfway, then accelerating.
| float cinder::easeInSine | ( | float | t | ) |
Easing equation for a sinusoidal (sin(t)) ease-in, accelerating from zero velocity.
| float cinder::easeOutSine | ( | float | t | ) |
Easing equation for a sinusoidal (sin(t)) ease-out, decelerating from zero velocity.
| float cinder::easeInOutSine | ( | float | t | ) |
Easing equation for a sinusoidal (sin(t)) ease-in/out, accelerating until halfway, then decelerating.
| float cinder::easeOutInSine | ( | float | t | ) |
Easing equation for a sinusoidal (sin(t)) ease-out/in, decelerating until halfway, then accelerating.
| float cinder::easeInExpo | ( | float | t | ) |
Easing equation for an exponential (2^t) ease-in, accelerating from zero velocity.
| float cinder::easeOutExpo | ( | float | t | ) |
Easing equation for an exponential (2^t) ease-out, decelerating from zero velocity.
| float cinder::easeInOutExpo | ( | float | t | ) |
Easing equation for an exponential (2^t) ease-in/out, accelerating until halfway, then decelerating.
| float cinder::easeOutInExpo | ( | float | t | ) |
Easing equation for an exponential (2^t) ease-out/in, decelerating until halfway, then accelerating.
| float cinder::easeInCirc | ( | float | t | ) |
Easing equation for a circular (sqrt(1-t^2)) ease-in, accelerating from zero velocity.
| float cinder::easeOutCirc | ( | float | t | ) |
Easing equation for a circular (sqrt(1-t^2)) ease-out, decelerating from zero velocity.
| float cinder::easeInOutCirc | ( | float | t | ) |
Easing equation for a circular (sqrt(1-t^2)) ease-in/out, accelerating until halfway, then decelerating.
| float cinder::easeOutInCirc | ( | float | t | ) |
Easing equation for a circular (sqrt(1-t^2)) ease-out/in, decelerating until halfway, then accelerating.
| float cinder::easeInBounce | ( | float | t, |
| float | a = 1.70158f |
||
| ) |
Easing equation for a bounce (exponentially decaying parabolic bounce) ease-in, accelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot.
| float cinder::easeOutBounce | ( | float | t, |
| float | a = 1.70158f |
||
| ) |
Easing equation for a bounce (exponentially decaying parabolic bounce) ease-out, decelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot.
| float cinder::easeInOutBounce | ( | float | t, |
| float | a = 1.70158f |
||
| ) |
Easing equation for a bounce (exponentially decaying parabolic bounce) ease-in/out, accelerating until halfway, then decelerating. The a parameter controls overshoot, the default producing a 10% overshoot.
| float cinder::easeOutInBounce | ( | float | t, |
| float | a = 1.70158f |
||
| ) |
Easing equation for a bounce (exponentially decaying parabolic bounce) ease-out/in, decelerating until halfway, then accelerating. The a parameter controls overshoot, the default producing a 10% overshoot.
| float cinder::easeInBack | ( | float | t, |
| float | s = 1.70158f |
||
| ) |
Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-in, accelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot.
| float cinder::easeOutBack | ( | float | t, |
| float | s = 1.70158f |
||
| ) |
Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-out, decelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot.
| float cinder::easeInOutBack | ( | float | t, |
| float | s = 1.70158f |
||
| ) |
Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-in/out, accelerating until halfway, then decelerating. The a parameter controls overshoot, the default producing a 10% overshoot.
| float cinder::easeOutInBack | ( | float | t, |
| float | s | ||
| ) |
Easing equation for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) ease-out/in, decelerating until halfway, then accelerating. The a parameter controls overshoot, the default producing a 10% overshoot.
| float cinder::easeInElastic | ( | float | t, |
| float | amplitude, | ||
| float | period | ||
| ) |
Easing equation for an elastic (exponentially decaying sine wave) ease-in, accelerating from zero velocity.
| float cinder::easeOutElastic | ( | float | t, |
| float | amplitude, | ||
| float | period | ||
| ) |
Easing equation for an elastic (exponentially decaying sine wave) ease-out, decelerating from zero velocity.
| float cinder::easeInOutElastic | ( | float | t, |
| float | amplitude, | ||
| float | period | ||
| ) |
Easing equation for an elastic (exponentially decaying sine wave) ease-in/out, accelerating until halfway, then decelerating.
| float cinder::easeOutInElastic | ( | float | t, |
| float | amplitude, | ||
| float | period | ||
| ) |
Easing equation for an elastic (exponentially decaying sine wave) ease-out/in, decelerating until halfway, then accelerating.
| float cinder::easeInAtan | ( | float | t, |
| float | a = 15 |
||
| ) |
Easing equation for an atan ease-in, accelerating from zero velocity. Used by permssion from Chris McKenzie.
| float cinder::easeOutAtan | ( | float | t, |
| float | a = 15 |
||
| ) |
Easing equation for an atan ease-out, decelerating from zero velocity. Used by permssion from Chris McKenzie.
| float cinder::easeInOutAtan | ( | float | t, |
| float | a = 15 |
||
| ) |
Easing equation for an atan ease-in/out, accelerating until halfway, then decelerating. Used by permssion from Chris McKenzie.
| Matrix44<T> cinder::firstFrame | ( | const Vec4< T > & | firstPoint, |
| const Vec4< T > & | secondPoint, | ||
| const Vec4< T > & | thirdPoint | ||
| ) |
| Matrix44<T> cinder::nextFrame | ( | const Matrix44< T > & | prevMatrix, |
| const Vec4< T > & | prevPoint, | ||
| const Vec4< T > & | curPoint, | ||
| Vec4< T > & | prevTangent, | ||
| Vec4< T > & | curTangent | ||
| ) |
| Matrix44<T> cinder::lastFrame | ( | const Matrix44< T > & | prevMatrix, |
| const Vec4< T > & | prevPoint, | ||
| const Vec4< T > & | lastPoint | ||
| ) |
| Matrix44f cinder::SseMultiply | ( | const Matrix44f & | mat0, |
| const Matrix44f & | mat1 | ||
| ) |
| Matrix44f cinder::SseInvert | ( | const Matrix44f & | mat | ) |
| std::ostream& cinder::operator<< | ( | std::ostream & | out, |
| const Path2d & | p | ||
| ) |
| std::ostream& cinder::operator<< | ( | std::ostream & | o, |
| const Plane< T > & | p | ||
| ) |
| Vec3<T> cinder::operator* | ( | const Vec3< T > & | vec, |
| const Quaternion< T > & | q | ||
| ) |
| void cinder::randSeed | ( | unsigned long | seedValue | ) |
Resets the static random generator to the specific seed seedValue.
| bool cinder::randBool | ( | ) |
returns a random boolean value
| int32_t cinder::randInt | ( | ) |
returns a random integer in the range [0,2147483647]
| int32_t cinder::randInt | ( | int32_t | v | ) |
returns a random integer in the range [0,v)
| int32_t cinder::randInt | ( | int32_t | a, |
| int32_t | b | ||
| ) |
returns a random integer in the range [a,b)
| float cinder::randFloat | ( | ) |
returns a random float in the range [0.0f,1.0f]
| float cinder::randFloat | ( | float | v | ) |
returns a random float in the range [0.0f,v]
| float cinder::randFloat | ( | float | a, |
| float | b | ||
| ) |
returns a random float in the range [a,b]
| float cinder::randPosNegFloat | ( | float | a, |
| float | b | ||
| ) |
returns a random float in the range [a,b] or the range [-b,-a]
| Vec3f cinder::randVec3f | ( | ) |
returns a random Vec3f that represents a point on the unit sphere
| Vec2f cinder::randVec2f | ( | ) |
returns a random Vec2f that represents a point on the unit circle
| float cinder::randGaussian | ( | ) |
returns a random float via Gaussian distribution
| std::ostream& cinder::operator<< | ( | std::ostream & | outp, |
| const System::NetworkAdapter & | adapter | ||
| ) |
| T cinder::tweenLerp | ( | const T & | start, |
| const T & | end, | ||
| float | time | ||
| ) |
| Quatf cinder::tweenLerp | ( | const Quatf & | start, |
| const Quatf & | end, | ||
| float | time | ||
| ) |
| Quatd cinder::tweenLerp | ( | const Quatd & | start, |
| const Quatd & | end, | ||
| float | time | ||
| ) |
| std::ostream& cinder::operator<< | ( | std::ostream & | out, |
| const Url & | url | ||
| ) |
| std::istream& cinder::operator>> | ( | std::istream & | is, |
| Url & | url | ||
| ) |
| char cinder::getPathSeparator | ( | ) |
Returns the path separator for the host operating system's file system, '\' on Windows and '/' on Mac OS.
| std::string cinder::toString | ( | const T & | t | ) |
| T cinder::fromString | ( | const std::string & | s | ) |
| Url cinder::fromString | ( | const std::string & | s | ) |
| int8_t cinder::swapEndian | ( | int8_t | val | ) |
| uint8_t cinder::swapEndian | ( | uint8_t | val | ) |
| Vec2<T> cinder::toPolar | ( | Vec2< T > | car | ) |
Converts a coordinate from rectangular (Cartesian) coordinates to polar coordinates of the form (radius, theta)
| Vec2<T> cinder::fromPolar | ( | Vec2< T > | pol | ) |
Converts a coordinate from polar coordinates of the form (radius, theta) to rectangular coordinates.
| Vec2<T> cinder::operator* | ( | Y | s, |
| const Vec2< T > & | v | ||
| ) |
| Vec2<T> cinder::operator* | ( | const Vec2< T > & | v, |
| Y | s | ||
| ) |
| Vec3<T> cinder::operator* | ( | Y | s, |
| const Vec3< T > & | v | ||
| ) |
| Vec3<T> cinder::operator* | ( | const Vec3< T > & | v, |
| Y | s | ||
| ) |
| Vec4<T> cinder::operator* | ( | Y | s, |
| const Vec4< T > & | v | ||
| ) |
| Vec4<T> cinder::operator* | ( | const Vec4< T > & | v, |
| Y | s | ||
| ) |
| T cinder::dot | ( | const Vec2< T > & | a, |
| const Vec2< T > & | b | ||
| ) |
| T cinder::dot | ( | const Vec3< T > & | a, |
| const Vec3< T > & | b | ||
| ) |
| T cinder::dot | ( | const Vec4< T > & | a, |
| const Vec4< T > & | b | ||
| ) |
| Vec3<T> cinder::cross | ( | const Vec3< T > & | a, |
| const Vec3< T > & | b | ||
| ) |
| Vec4<T> cinder::cross | ( | const Vec4< T > & | a, |
| const Vec4< T > & | b | ||
| ) |
| bool cinder::isNaN | ( | const Vec2< T > & | a | ) |
| bool cinder::isNaN | ( | const Vec3< T > & | a | ) |
| bool cinder::isNaN | ( | const Vec4< T > & | a | ) |
| cinder::mCGFont = ::CGFontCreateWithFontName( cfName ) |
| cinder::mCTFont = ::CTFontCreateWithGraphicsFont( mCGFont, (CGFloat)mSize, 0, 0 ) |
| ::CFStringRef cinder::fullName = ::CGFontCopyFullName( mCGFont ) |
| string cinder::result = cocoa::convertCfString( fullName ) |
| wstring cinder::faceName = toUtf16( mName ) |
| cinder::mHfont |
| cinder::mGdiplusFont = std::shared_ptr<Gdiplus::Font>( new Gdiplus::Font( FontManager::instance()->getFontDc(), mHfont ) ) |
| INT cinder::found = 0 |
| cinder::count = 0 |
| WCHAR cinder::familyName[1024] |
| Gdiplus::PrivateFontCollection cinder::privateFontCollection |
| ci::Buffer cinder::buffer = dataSource->getBuffer() |
| DWORD cinder::numFonts = 0 |
| const double cinder::EPSILON_VALUE = 4.37114e-05 |