Loading...
Searching...
No Matches
gravity.cpp
48 Image base( Geometry(600,600), Color("white") );
52 base.draw( DrawableLine( 300,100, 300,500 ) );
53 base.draw( DrawableLine( 100,300, 500,300 ) );
54 base.draw( DrawableRectangle( 100,100, 500,500 ) );
67 Image pic = base;
68 pic.annotate( "NorthWest", Geometry(0,0,x,y), NorthWestGravity, angle );
69 pic.annotate( "North", Geometry(0,0,0,y), NorthGravity, angle );
70 pic.annotate( "NorthEast", Geometry(0,0,x,y), NorthEastGravity, angle );
71 pic.annotate( "East", Geometry(0,0,x,0), EastGravity, angle );
72 pic.annotate( "Center", Geometry(0,0,0,0), CenterGravity, angle );
73 pic.annotate( "SouthEast", Geometry(0,0,x,y), SouthEastGravity, angle );
74 pic.annotate( "South", Geometry(0,0,0,y), SouthGravity, angle );
75 pic.annotate( "SouthWest", Geometry(0,0,x,y), SouthWestGravity, angle );
76 pic.annotate( "West", Geometry(0,0,x,0), WestGravity, angle );