- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
pdftron::PDF::CubicCurveBuilder Class Reference

`#include <CubicCurveBuilder.h>`

## Public Member Functions
| CubicCurveBuilder ()
| CubicCurveBuilder (const CubicCurveBuilder &other)
| CubicCurveBuilder (TRN_CubicCurveBuilder impl)
CubicCurveBuilder & | operator= (const CubicCurveBuilder &other)
| ~CubicCurveBuilder ()
void | Destroy ()
UInt32 | NumSourcePoints ()
void | AddSourcePoint (double x, double y)
UInt32 | NumCubicPoints ()
double | GetCubicXCoord (UInt32 index)
double | GetCubicYCoord (UInt32 index)

## Public Attributes
TRN_CubicCurveBuilder | m_impl

## Detailed Description

The class CubicCurveBuilder. Creates Cubic Curves from linear points

DocumentConversion instances are created through methods belonging to the Convert class. See Convert.WordToPDFConversion for an example.

Definition at line 25 of file CubicCurveBuilder.h.

## Constructor & Destructor Documentation

pdftron::PDF::CubicCurveBuilder::CubicCurveBuilder | ( |  | ) |

pdftron::PDF::CubicCurveBuilder::CubicCurveBuilder | ( | const CubicCurveBuilder & | other | ) |

pdftron::PDF::CubicCurveBuilder::CubicCurveBuilder | ( | TRN_CubicCurveBuilder | impl | ) |

pdftron::PDF::CubicCurveBuilder::~CubicCurveBuilder | ( |  | ) |

## Member Function Documentation

void pdftron::PDF::CubicCurveBuilder::AddSourcePoint | ( | double | x,
|  | double | y
| ) |  |

Add a source xy point.

Parameters

  x | – the x coordinate.
  y | – the y coordinate.

void pdftron::PDF::CubicCurveBuilder::Destroy | ( |  | ) |

double pdftron::PDF::CubicCurveBuilder::GetCubicXCoord | ( | UInt32 | index | ) |

Get the cubic X coordinate.

Parameters

  index | – the index of the coordinate. Must be less than NumCubicPoints().

Returns
  X coordinate of the indicated point on the cubic curve.

double pdftron::PDF::CubicCurveBuilder::GetCubicYCoord | ( | UInt32 | index | ) |

Get the cubic Y coordinate.

Parameters

  index | – the index of the coordinate. Must be less than NumCubicPoints().

Returns
  Y coordinate of the indicated point on the cubic curve.

UInt32 pdftron::PDF::CubicCurveBuilder::NumCubicPoints | ( |  | ) |

Number of generated cubic points.

Returns
  Indicates that the conversion succeeded, failed, or was cancelled.

UInt32 pdftron::PDF::CubicCurveBuilder::NumSourcePoints | ( |  | ) |

Number of source points.

Returns
  Indicates that the conversion succeeded, failed, or was cancelled.

CubicCurveBuilder& pdftron::PDF::CubicCurveBuilder::operator= | ( | const CubicCurveBuilder & | other | ) |

## Member Data Documentation

TRN_CubicCurveBuilder pdftron::PDF::CubicCurveBuilder::m_impl

Definition at line 77 of file CubicCurveBuilder.h.

The documentation for this class was generated from the following file:

- PDF/CubicCurveBuilder.h