OpenLayer Offline Manual

OpenLayer | Shape | Poly | TexturedPoly TexturedPoly
TexturedPoly( | const Bitmap &texture, Vec2D rotationPivot = Vec2D( 0.0, 0.0 ))
Constructs a new textured polygon with the specified texture and rotation pivot.
TexturedPoly( | const Bitmap &texture, const std_container &vertices, Vec2D rotationPivot = Vec2D( 0.0, 0.0 ))
Constructs a new textured polygon with the specified texture, vertices from an STL container and a rotation pivot.
TexturedPoly( | const Bitmap &texture, const Vec2D *vertices, int numVertices, Vec2D rotationPivot = Vec2D( 0.0, 0.0 ))
Constructs a new textured polygon with the specified texture, vertices from an an array and a rotation pivot. Examples Bitmap myBmp( ... ); // Construct a new textured polygon with myBmp as the texture // TexturedPoly myPoly( myBmp ); Member functions
Advanced functions
Construct | Immediately pre-caches the internal structure of the TexturedPoly
Parent Class Poly Back to the main page of the manual Questions about TexturedPoly? Click here.