Defines | Functions

DrawingApiTestRunner.cpp File Reference

#include "MovieTester.h"
#include "MovieClip.h"
#include "log.h"
#include "GnashKey.h"
#include "check.h"
#include <string>
#include <cassert>
#include <sstream>
Include dependency graph for DrawingApiTestRunner.cpp:

Defines

#define INPUT_FILENAME   "DrawingApiTest.swf"

Functions

Range2d< int > inscribedRect (int x, int y, int radius)
 Return a Range2d<int> defining the square inscribed in a circle.
int main (int, char **)

Define Documentation

#define INPUT_FILENAME   "DrawingApiTest.swf"

Referenced by main().


Function Documentation

Range2d<int> inscribedRect ( int  x,
int  y,
int  radius 
)

Return a Range2d<int> defining the square inscribed in a circle.

Parameters:
radius Radius in pixels

References gnash::geometry::Range2d< T >::expandTo(), s2x::f, and round.

Referenced by main().

int main ( int  ,
char **   
)