/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ #ifndef __com_sun_star_rendering_StrokeAttributes_idl__ #define __com_sun_star_rendering_StrokeAttributes_idl__ module com { module sun { module star { module rendering { /** This structure contains all attributes required for path stroking.
Path stroking is the process of drawing a polygon with a thick pen. The various attributes contained in this structure can be used to customize that process.
@single #110496# */ published struct StrokeAttributes { /** Defines the width of the stroke, measured in user coordinate space. This value must be positive (or 0.0) */ double StrokeWidth; //------------------------------------------------------------------------- /** Determines the maximal length of the diagonal in mitered corners.
This attribute is only used when
Before performing the actual comparison, implementations will multiply the MiterLimit with the current StrokeWidth, such that, with phi being the angle between the two joining segments, MiterLimit=1/sin(phi/2.0).
*/ double MiterLimit; //------------------------------------------------------------------------- /** Array of ink on and off lengths, measured in user coordinate space.
The first element specifies the length of the first 'on' segment of the dashing, the second element the length of the first 'off' segment, and so forth. Give zero elements here for solid strokes. This array always have an even number of elements, with zero, as usual, counting as even here. Furthermore, each entry in this array must have a value that is positive (or 0.0)
*/
sequence
The entries here are relative to the
*/
sequence
The start point is the first point of every polygon of the
path poly-polygon.
@see
The end point is the last point of every polygon of the path
poly-polygon.
@see
After every sub-stroke, i.e. after every line or curve segment
within a single path polygon, a shape of this type is inserted
into the stroke to glue the segments together. Please note
that distinct polygons within the path poly-polygon are not
connected, and therefore also not joined via the shape
specified here.
@see