Lines Matching full:path

104  * @brief Enumeration specifying the values of the path commands accepted by TVG.
106 …* Not to be confused with the path commands from the svg path element (like M, L, Q, H and many ot…
111 …Close = 0, ///< Ends the current sub-path and connects it with its initial point. This command doe…
112 …MoveTo, ///< Sets a new initial point of the sub-path and a new current point. This command exp…
123 …Square = 0, ///< The stroke is extended in both end-points of a sub-path by a rectangle, with the …
124 …Round, ///< The stroke is extended in both end-points of a sub-path by a half circle, with a …
125 …Butt ///< The stroke ends exactly at each of the two end-points of a sub-path. For zero len…
130 * @brief Enumeration determining the style used at the corners of joined stroked path segments.
134 …Bevel = 0, ///< The outer corner of the joined path segments is bevelled at the join point. The tr…
135 …Round, ///< The outer corner of the joined path segments is rounded. The circular region is ce…
136 …Miter ///< The outer corner of the joined path segments is spiked. The spike is created by ex…
156 …. The intersections of the line with the path segment of the shape are counted. Starting from zero…
157 …t to a location outside the shape is drawn and its intersections with the path segments of the sha…
851 …jor properties: shape outline, stroking, filling. The outline in the Shape is retained as the path.
852 …* Path can be composed by accumulating primitive commands such as moveTo(), lineTo(), cubicTo(), o…
853 * Path can consists of sub-paths. One sub-path is determined by a close command.
856 …* It's efficient since the shape path and the stroking path can be shared with each other. It's al…
864 * @brief Resets the shape path.
868 …* @note The memory where the path data is stored is not deallocated at this stage to allow for cac…
873 * @brief Sets the initial point of the sub-path.
877 * @param[in] x The horizontal coordinate of the initial point of the sub-path.
878 * @param[in] y The vertical coordinate of the initial point of the sub-path.
883 …* @brief Adds a new point to the sub-path, which results in drawing a line from the current point …
890 * @note In case this is the first command in the path, it corresponds to the moveTo() call.
895 … * @brief Adds new points to the sub-path, which results in drawing a cubic Bezier curve starting
907 * @note In case this is the first command in the path, no data from the path are rendered.
912 …* @brief Closes the current sub-path by drawing a line from the current point to the initial point…
914 * The value of the current point is set to the initial point of the closed sub-path.
916 * @note In case the sub-path does not contain any points, this function has no effect.
921 * @brief Appends a rectangle to the path.
928 * The rectangle is treated as a new sub-path - it is not connected with the previous sub-path.
945 * @brief Appends an ellipse to the path.
949 * The ellipse is treated as a new sub-path - it is not connected with the previous sub-path.
962 * @brief Appends a circular arc to the path.
964 * The arc is treated as a new sub-path - it is not connected with the previous sub-path.
979 * @brief Appends a given sub-path to the path.
981 * The current point value is set to the last point from the sub-path.
983 …nt than the number required by the @p cmds array, the shape with this sub-path will not be display…
985 * @param[in] cmds The array of the commands in the sub-path.
986 * @param[in] cmdCnt The number of the sub-path's commands.
990 …* @note The interface is designed for optimal path setting if the caller has a completed path comm…
995 * @brief Sets the stroke width for all of the figures from the path.
1003 * @brief Sets the color of the stroke for all of the figures from the path.
1014 * @brief Sets the gradient fill of the stroke for all of the figures from the path.
1044 * @brief Sets the join style for stroked path segments.
1046 * The join style is used for joining the two line segment while stroking the path.
1065 …* @brief Sets the trim of the stroke along the defined path segment, allowing control over which p…
1069 * @param[in] begin Specifies the start of the segment to display along the path.
1070 * @param[in] end Specifies the end of the segment to display along the path.
1079 * @brief Sets the solid color for all of the figures from the path.
1093 * @brief Sets the gradient fill for all of the figures from the path.
1120 * @brief Gets the commands data of the path.
1122 * @param[out] cmds The pointer to the array of the commands from the path.
1129 * @brief Gets the points values of the path.
1131 * @param[out] pts The pointer to the array of the two-dimensional points from the path.
1197 * @brief Gets the cap style used for stroking the path.
1204 * @brief Gets the join style value used for stroking the path.
1263 * ThorVG efficiently caches the loaded data using the specified @p path as a key.
1267 * @param[in] path A path to the picture file.
1269 * @retval Result::InvalidArguments In case the @p path is invalid.
1275 Result load(const std::string& path) noexcept;
1555 * ThorVG efficiently caches the loaded data using the specified @p path as a key.
1559 * @param[in] path The path to the font file.
1561 * @retval Result::InvalidArguments In case the @p path is invalid.
1564 * @see Text::unload(const std::string& path)
1568 static Result load(const std::string& path) noexcept;
1602 * @param[in] path The file path of the loaded font.
1607 * @see Text::load(const std::string& path)
1611 static Result unload(const std::string& path) noexcept;
2032 * @brief Exports the given @p paint data to the given @p path
2039 * @param[in] path A path to the file, in which the paint data is to be saved.
2051 … Result save(std::unique_ptr<Paint> paint, const std::string& path, bool compress = true) noexcept;
2054 * @brief Export the provided animation data to the specified file path.
2056 …* This function exports the given animation data to the provided file path. You can also specify t…
2059 * @param[in] path The path to the file where the animation will be saved.
2074 …Result save(std::unique_ptr<Animation> animation, const std::string& path, uint32_t quality = 100,…