Files | |
| file | CCVertex.h |
Classes | |
| class | Size |
| class | Rect |
| Rectangle area. More... | |
Functions | |
| Rect CC_DLL | (const std::string &str) |
| Returns a Core Graphics rectangle structure corresponding to the data in a given string. More... | |
| void CC_DLL | (Vec2 *points, float stroke, Vec2 *vertices, unsigned int offset, unsigned int nuPoints) |
| converts a line to a polygon More... | |
| var | ( var points, var stroke, var vertices, var offset, var nuPoints) |
| converts a line to a polygon More... | |
| local | ( local points, local stroke, local vertices, local offset, local nuPoints) |
| converts a line to a polygon More... | |
| bool CC_DLL | (float Ax, float Ay, float Bx, float By, float Cx, float Cy, float Dx, float Dy, float *T) |
| returns whether or not the line intersects More... | |
| var | ( var Ax, var Ay, var Bx, var By, var Cx, var Cy, var Dx, var Dy, var T) |
| returns whether or not the line intersects More... | |
| local | ( local Ax, local Ay, local Bx, local By, local Cx, local Cy, local Dx, local Dy, local T) |
| returns whether or not the line intersects More... | |
| void CC_DLL cocos2d::ccVertexLineToPolygon |
( | Vec2 * | points, |
| float | stroke, | ||
| Vec2 * | vertices, | ||
| unsigned int | offset, | ||
| unsigned int | nuPoints | ||
| ) |
converts a line to a polygon
| var ccVertexLineToPolygon | ( | var | points, |
| var | stroke, | ||
| var | vertices, | ||
| var | offset, | ||
| var | nuPoints | ||
| ) |
converts a line to a polygon
| local ccVertexLineToPolygon | ( | local | points, |
| local | stroke, | ||
| local | vertices, | ||
| local | offset, | ||
| local | nuPoints | ||
| ) |
converts a line to a polygon
| bool CC_DLL cocos2d::ccVertexLineIntersect |
( | float | Ax, |
| float | Ay, | ||
| float | Bx, | ||
| float | By, | ||
| float | Cx, | ||
| float | Cy, | ||
| float | Dx, | ||
| float | Dy, | ||
| float * | T | ||
| ) |
returns whether or not the line intersects
| var ccVertexLineIntersect | ( | var | Ax, |
| var | Ay, | ||
| var | Bx, | ||
| var | By, | ||
| var | Cx, | ||
| var | Cy, | ||
| var | Dx, | ||
| var | Dy, | ||
| var | T | ||
| ) |
returns whether or not the line intersects
| local ccVertexLineIntersect | ( | local | Ax, |
| local | Ay, | ||
| local | Bx, | ||
| local | By, | ||
| local | Cx, | ||
| local | Cy, | ||
| local | Dx, | ||
| local | Dy, | ||
| local | T | ||
| ) |
returns whether or not the line intersects
| Rect CC_DLL cocos2d::RectFromString | ( | const std::string & | str | ) |
Returns a Core Graphics rectangle structure corresponding to the data in a given string.
| pszContent | A string object whose contents are of the form "{{x,y},{w, h}}", where x is the x coordinate, y is the y coordinate, w is the width, and h is the height. These components can represent integer or float values. An example of a valid string is "{{3,2},{4,5}}". The string is not localized, so items are always separated with a comma. |
| var RectFromString | ( | var | str | ) |
Returns a Core Graphics rectangle structure corresponding to the data in a given string.
| pszContent | A string object whose contents are of the form "{{x,y},{w, h}}", where x is the x coordinate, y is the y coordinate, w is the width, and h is the height. These components can represent integer or float values. An example of a valid string is "{{3,2},{4,5}}". The string is not localized, so items are always separated with a comma. |
| local RectFromString | ( | local | str | ) |
Returns a Core Graphics rectangle structure corresponding to the data in a given string.
| pszContent | A string object whose contents are of the form "{{x,y},{w, h}}", where x is the x coordinate, y is the y coordinate, w is the width, and h is the height. These components can represent integer or float values. An example of a valid string is "{{3,2},{4,5}}". The string is not localized, so items are always separated with a comma. |