ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ftbbox.c File Reference
#include <ft2build.h>

Go to the source code of this file.

Data Structures

struct  TBBox_Rec

Defines

#define CHECK_X(p, bbox)   ( p->x < bbox.xMin || p->x > bbox.xMax )
#define CHECK_Y(p, bbox)   ( p->y < bbox.yMin || p->y > bbox.yMax )

Functions

static int BBox_Move_To (FT_Vector *to, TBBox_Rec *user)
static void BBox_Conic_Check (FT_Pos y1, FT_Pos y2, FT_Pos y3, FT_Pos *min, FT_Pos *max)
static int BBox_Conic_To (FT_Vector *control, FT_Vector *to, TBBox_Rec *user)
static void test_cubic_extrema (FT_Pos y1, FT_Pos y2, FT_Pos y3, FT_Pos y4, FT_Fixed u, FT_Pos *min, FT_Pos *max)
static void BBox_Cubic_Check (FT_Pos y1, FT_Pos y2, FT_Pos y3, FT_Pos y4, FT_Pos *min, FT_Pos *max)
static int BBox_Cubic_To (FT_Vector *control1, FT_Vector *control2, FT_Vector *to, TBBox_Rec *user)
 FT_DEFINE_OUTLINE_FUNCS (bbox_interface,(FT_Outline_MoveTo_Func) BBox_Move_To,(FT_Outline_LineTo_Func) BBox_Move_To,(FT_Outline_ConicTo_Func) BBox_Conic_To,(FT_Outline_CubicTo_Func) BBox_Cubic_To, 0, 0) FT_Outline_Get_BBox(FT_Outline *outline
 if (!abbox) return FT_Err_Invalid_Argument
 if (outline->n_points==0||outline->n_contours<=0)
 for (n=1;n< outline->n_points;n++)
 if (cbox.xMin< bbox.xMin||cbox.xMax > bbox.xMax||cbox.yMin< bbox.yMin||cbox.yMax > bbox.yMax)

Variables

FT_BBox *abbox FT_BBox cbox
FT_BBox bbox
FT_Vectorvec = outline->points
FT_UShort n
bbox xMin = bbox.xMax = cbox.xMin = cbox.xMax = vec->x
bbox yMin = bbox.yMax = cbox.yMin = cbox.yMax = vec->y
else * abbox = bbox
return FT_Err_Ok

Generated on Sun May 27 2012 05:59:49 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.