LibreOffice
LibreOffice 24.2 SDK API Reference
Public Attributes | List of all members
RealBezierSegment2D Struct Reference

This structure contains the relevant data for a cubic Bezier curve. More...

import"RealBezierSegment2D.idl";

Public Attributes

double Px
 The x coordinate of the start point. More...
 
double Py
 The y coordinate of the start point. More...
 
double C1x
 The x coordinate of the first control point. More...
 
double C1y
 The y coordinate of the first control point. More...
 
double C2x
 The x coordinate of the second control point. More...
 
double C2y
 The y coordinate of the second control point. More...
 

Detailed Description

This structure contains the relevant data for a cubic Bezier curve.

The data is stored real-valued. The last point of the segment is taken from the first point of the following segment, and thus not included herein. That is, when forming a polygon out of cubic Bezier segments, each two consecutive RealBezierSegment2D define the actual curve, with the very last segment providing only the end point of the last curve, and the remaining members ignored.

See also
com::sun::star::rendering::XBezierPolyPolygon2D
Since
OOo 2.0

Member Data Documentation

◆ C1x

double C1x

The x coordinate of the first control point.

◆ C1y

double C1y

The y coordinate of the first control point.

◆ C2x

double C2x

The x coordinate of the second control point.

◆ C2y

double C2y

The y coordinate of the second control point.

◆ Px

double Px

The x coordinate of the start point.

◆ Py

double Py

The y coordinate of the start point.


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