Lines Matching full:to
94 …///< The value returned in the event of a problem with the arguments given to the API - e.g. empty…
106 …* Not to be confused with the path commands from the svg path element (like M, L, Q, H and many ot…
107 * TVG interprets all of them and translates to the ones from the PathCommand values.
113 …LineTo, ///< Draws a line from the current point to the given point and sets a new value of the…
114 …CubicTo ///< Draws a cubic Bezier curve from the current point to the given point using two giv…
123 …nts of a sub-path by a rectangle, with the width equal to the stroke width and the length equal to…
124 …ded in both end-points of a sub-path by a half circle, with a radius equal to the half of a stroke…
136 …rsect. In case the extension goes beyond the limit, the join style is converted to the Bevel style.
141 * @brief Enumeration specifying how to fill the area outside the gradient bounds.
152 …* @brief Enumeration specifying the algorithm used to establish which parts of the shape are treat…
156 …Winding = 0, ///< A line from the point to a location outside the shape is drawn. The intersection…
157 …EvenOdd ///< A line from the point to a location outside the shape is drawn and its intersect…
173 …InvAlphaMask, ///< Alpha Masking using the complement to the compositing target's pixels as …
175 …sking using the grayscale (0.2125R + 0.7154G + 0.0721*B) of the complement to the compositing targ…
186 …* @brief Enumeration indicates the method used for blending paint. Please refer to the respective …
197 …Multiply, ///< Takes the RGB channel values from 0 to 255 of each pixel in the top layer …
207 …//< Subtracts the bottom layer from the top layer or the other way around, to always get a non-neg…
221 * This enum provides options to apply various post-processing effects to a scene.
222 …* Scene effects are typically applied to modify the final appearance of a rendered scene, such as …
230 …ClearAll = 0, ///< Reset all previously applied scene effects, restoring the scene to its ori…
249 …* ThorVG's drawing objects can return class type values, allowing you to identify the specific cla…
282 * The elements e31 and e32 are set to 0, e33 is set to 1.
299 … TVG recommends the user to regard a paint as a set of volatile commands. They can prepare a Paint…
333 * The horizontal and vertical axes point to the right and down, respectively.
346 * The augmented matrix of the transformation is expected to be given.
369 …is API may require multiple render pass for composition. It is recommended to avoid changing the o…
377 * @param[in] method The method used to composite the source object with the target.
384 * This function restricts the drawing area of the paint object to the specified shape's paths.
398 …* The blending feature allows you to combine colors to create visually appealing effects, includin…
402 * @param[in] method The blending method to be set.
420 …the paint's transformations are taken into account in the scene it belongs to. Otherwise they aren…
422 …* @note This is useful when you need to figure out the bounding box of the paint in the canvas spa…
424 …* @note If @p transformed is @c true, the paint needs to be pushed into a canvas and updated befor…
450 * @return The method used to composite the source object with the target.
459 * This method can be used to check the current concrete instance type.
470 * This is reserved to specify an paint instance in a scene.
492 * or RadialGradient class, depending on the type of the gradient to be used.
494 * is smaller than the area to be filled.
517 …* @param[in] cnt The count of the @p colorStops array equal to the colors number used in the gradi…
522 …* @brief Sets the FillSpread value, which specifies how to fill the area outside the gradient boun…
531 * The augmented matrix of the transformation is expected to be given.
540 …* @param[out] colorStops A pointer to the memory location, where the array of the gradient's Color…
542 …* @return The number of colors used in the gradient. This value corresponds to the length of the @…
574 * This method can be used to check the current concrete instance type.
598 …or depends on the raster engine though the final content of the buffer is expected to be identical.
599 * @warning The Paint objects belonging to one Canvas can't be shared among multiple Canvases.
612 …* This function provides the list of paint nodes, allowing users a direct opportunity to modify th…
622 * @brief Passes drawing elements to the Canvas using Paint objects.
627 * @param[in] paint A Paint object to be drawn.
631 …hed into the canvas. Consider sorting the paints before pushing them if you intend to use layering.
640 * This API sets the total number of paints pushed into the canvas to zero.
642 …* So if you need to update paint properties while maintaining the existing scene structure, you ca…
653 * @brief Request the canvas to update the paint objects.
656 * otherwise only the paint to which the given @p paint points.
658 * @param[in] paint A pointer to the Paint object or @c nullptr.
665 * @brief Requests the canvas to draw the Paint objects.
667 …* @note Drawing can be asynchronous if the assigned thread number is greater than zero. To guarant…
676 … * The specified viewport is used to clip the rendering output to the boundaries of the rectangle.
687 …* @warning It's not allowed to change the viewport during Canvas::push() - Canvas::sync() or Canva…
689 * @note When resetting the target, the viewport will also be reset to the target size.
697 … * The Canvas rendering can be performed asynchronously. To make sure that rendering is finished,
727 …s (@p x1, @p y1) and (@p x2, @p y2), respectively. Both lines are perpendicular to the line linking
730 …* @param[in] x1 The horizontal coordinate of the first point used to determine the gradient bounds.
731 … * @param[in] y1 The vertical coordinate of the first point used to determine the gradient bounds.
732 …* @param[in] x2 The horizontal coordinate of the second point used to determine the gradient bound…
733 … * @param[in] y2 The vertical coordinate of the second point used to determine the gradient bounds.
744 …s (@p x1, @p y1) and (@p x2, @p y2), respectively. Both lines are perpendicular to the line linking
747 …* @param[out] x1 The horizontal coordinate of the first point used to determine the gradient bound…
748 … * @param[out] y1 The vertical coordinate of the first point used to determine the gradient bounds.
749 …* @param[out] x2 The horizontal coordinate of the second point used to determine the gradient boun…
750 …* @param[out] y2 The vertical coordinate of the second point used to determine the gradient bounds.
764 * This method can be used to check the current concrete instance type.
829 * This method can be used to check the current concrete instance type.
855 …* The stroke of Shape is an optional property in case the Shape needs to be represented with/witho…
868 …* @note The memory where the path data is stored is not deallocated at this stage to allow for cac…
875 * The value of the current point is set to the given point.
883 …* @brief Adds a new point to the sub-path, which results in drawing a line from the current point …
885 * The value of the current point is set to the given end-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
898 * The value of the current point is set to the given end-point.
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.
921 * @brief Appends a rectangle to the path.
923 …* The rectangle with rounded corners can be achieved by setting non-zero values to @p rx and @p ry…
930 * The value of the current point is set to (@p x + @p rx, @p y) - in case @p rx is greater
931 * than @p w/2 the current point is set to (@p x + @p w/2, @p y)
940 …* @note For @p rx and @p ry greater than or equal to the half of @p w and the half of @p h, respec…
945 * @brief Appends an ellipse to the path.
951 * The value of the current point is set to (@p cx, @p cy - @p ry).
962 * @brief Appends a circular arc to the path.
965 …* The current point value is set to the end-point of the arc in case @p pie is @c false, and to th…
972 …* @param[in] pie Specifies whether to draw radii from the arc's center to both of its end-point - …
974 …* @note Setting @p sweep value greater than 360 degrees, is equivalent to calling appendCircle(cx,…
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.
1030 * @note To reset the stroke dash pattern, pass @c nullptr to @p dashPattern and zero to @p cnt.
1067 …d @p end exceed the 0-1 range, they are wrapped around in a manner similar to angle wrapping, effe…
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.
1071 …eous Determines how to trim multiple paths within a single shape. If set to @c true (default), tri…
1072 …* Otherwise, all paths are treated as a single entity with a combined length equal to the sum of t…
1097 * @param[in] f The unique pointer to the gradient fill.
1122 * @param[out] cmds The pointer to the array of the commands from the path.
1131 * @param[out] pts The pointer to the array of the two-dimensional points from the path.
1138 * @brief Gets the pointer to the gradient fill of the shape.
1140 …* @return The pointer to the gradient fill of the stroke when succeed, @c nullptr in case no fill …
1181 * @brief Gets the pointer to the gradient fill of the stroke.
1183 * @return The pointer to the gradient fill of the stroke when succeed, @c nullptr otherwise.
1190 * @param[out] dashPattern The pointer to the memory, where the dash pattern array is stored.
1229 * This method can be used to check the current concrete instance type.
1250 …* Besides the methods inherited from the Paint, it provides methods to load & draw images on the c…
1267 * @param[in] path A path to the picture file.
1270 * @retval Result::NonSupport When trying to load a file with an unknown extension.
1289 …* @param[in] data A pointer to a memory location where the content of the picture file is stored. …
1295 * @retval Result::NonSupport When trying to load a file with an unknown extension.
1297 * @warning It's the user responsibility to release the @p data memory.
1299 …the MIME type, you can provide an empty value like @c "", and thorvg will attempt to figure it out.
1305 * @brief Resizes the picture content to the given width and height.
1308 …* The scaling factor is established for each of dimensions and the smaller value is applied to bot…
1332 …* @param[in] data A pointer to a memory location where the content of the picture raw data is stor…
1349 …* @return A pointer to the paint object that matches the given identifier, or @c nullptr if no mat…
1367 * This method can be used to check the current concrete instance type.
1388 * @brief A class to composite children paints.
1402 * @brief Passes drawing elements to the Scene using Paint objects.
1407 * @param[in] paint A Paint object to be drawn.
1409 …as they were pushed. Consider sorting the paints before pushing them if you intend to use layering.
1420 …* This function provides the list of paint nodes, allowing users a direct opportunity to modify th…
1432 * @brief Sets the total number of the paints pushed into the scene to be zero.
1437 …* @warning If you don't free the paints they become dangled. They are supposed to be reused, other…
1444 * @brief Apply a post-processing effect to the scene.
1447 * to the scene after it has been rendered. Multiple effects can be applied in sequence.
1449 * @param[in] effect The scene effect to apply. Options are defined in the SceneEffect enum.
1450 …* For example, use SceneEffect::GaussianBlur to apply a blur with specific param…
1467 * This method can be used to check the current concrete instance type.
1487 …* @brief A class to represent text objects in a graphical context, allowing for rendering and mani…
1499 * This function allows you to define the font characteristics used for text rendering.
1502 … * @param[in] name The name of the font. This should correspond to a font available in the canvas.
1504 * @param[in] style The style of the font. It can be used to set the font to 'italic'.
1514 * @brief Assigns the given unicode text to be rendered.
1517 * The text is set according to the specified UTF encoding method, which defaults to UTF-8.
1519 * @param[in] text The multi-byte text encoded with utf8 string to be rendered.
1543 * @param[in] f The unique pointer to the gradient fill.
1559 * @param[in] path The path to the font file.
1562 * @retval Result::NonSupport When trying to load a file with an unknown extension.
1578 * @param[in] data A pointer to a memory location where the content of the font data is stored.
1583 …rguments If no name is provided or if @p size is zero while @p data points to a valid memory locat…
1584 * @retval Result::NonSupport When trying to load a file with an unsupported extension.
1585 …* @retval Result::InsufficientCondition If attempting to unload the font data that has not been pr…
1587 * @warning It's the user responsibility to release the @p data memory.
1589 …* @note To unload the font data loaded using this API, pass the proper @p name and @c nullptr as @…
1590 …the MIME type, you can provide an empty value like @c "", and thorvg will attempt to figure it out.
1600 …* This function is used to release resources associated with a font file that has been loaded into…
1625 * This method can be used to check the current concrete instance type.
1664 Default = 0, ///< Default behavior that ThorVG is designed to.
1674 …* @param[in] buffer A pointer to a memory block of the size @p stride x @p h, where the raster dat…
1675 * @param[in] stride The stride of the raster image - greater than or equal to @p w.
1696 * which can be reused among the canvases in order to avoid memory overhead.
1698 * Thus ThorVG suggests using a memory pool policy to satisfy user demands,
1699 * if it needs to guarantee the thread-safety of the internal data access.
1789 * @param[in] surface WGPUSurface, handle to a presentable surface.
1833 …* @param[in] engine The engine types to initialize. This is relative to the Canvas types, in which…
1834 …am[in] threads The number of additional threads. Zero indicates only the main thread is to be used.
1846 …* @param[in] engine The engine types to terminate. This is relative to the Canvas types, in which …
1848 * @retval Result::InsufficientCondition In case there is nothing to be terminated.
1891 …* @param[in] no The index of the animation frame to be displayed. The index should be less than th…
1896 …* @note For efficiency, ThorVG ignores updates to the new frame value if the difference from the c…
1908 …* This function provides access to the picture instance that can be used to load animation formats…
1909 …* After setting up the picture, it can be pushed to the designated canvas, enabling control over a…
1912 * @return A picture instance that is tied to this animation.
1967 * @note Animation allows a range from 0.0 to 1.0. @p end should not be higher than @p begin.
2003 …* @brief A class for exporting a paint object into a specified file, from which to recover the pai…
2005 …feature for exporting & importing paint data. The Saver role is to export the paint data to a file.
2006 …* It's useful when you need to save the composed scene or image from a paint object and recreate i…
2011 * Once you export a paint to the file successfully, you can recreate it using the Picture class.
2025 * @param[in] paint The paint to be drawn as the background image for the saving paint.
2032 * @brief Exports the given @p paint data to the given @p path
2036 * if you wish to optimize for speed.
2038 * @param[in] paint The paint to be saved with all its associated properties.
2039 * @param[in] path A path to the file, in which the paint data is to be saved.
2043 …* @retval Result::NonSupport When trying to save a file with an unknown extension or in an unsuppo…
2044 * @retval Result::Unknown In case an empty paint is to be saved.
2046 …* @note Saving can be asynchronous if the assigned thread number is greater than zero. To guarante…
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…
2058 * @param[in] animation The animation to be saved, including all associated properties.
2059 * @param[in] path The path to the file where the animation will be saved.
2061 …fps The desired frames per second (FPS). For example, to encode data at 60 FPS, pass 60. Pass 0 to…
2064 …* @retval Result::NonSupport if an attempt is made to save the file with an unknown extension or i…
2065 * @retval Result::Unknown if attempting to save an empty paint.
2067 …mes per second (FPS) would result in a larger file size. It is recommended to use the default valu…
2068 …* @note Saving can be asynchronous if the assigned thread number is greater than zero. To guarante…
2080 …* Thus, if you wish to have a benefit of it, you must call sync() after the save() in the proper d…
2106 * @brief The Accessor is a utility class to debug the Scene structure by traversing the scene-tree.
2108 …* The Accessor helps you search specific nodes to read the property information, figure out the st…
2110 …* @warning We strongly warn you not to change the paints of a scene unless you really know the des…
2124 * @param[in] picture The picture node to traverse the internal scene-tree.
2126 * @param[in] data Data passed to the @p func as its argument.
2138 * You can use this to assign a unique ID to the Paint object.
2140 * @param[in] name The input string to generate the unique identifier from.
2162 * @brief The cast() function is a utility function used to cast a 'Paint' to type 'T'.
2173 * @brief The cast() function is a utility function used to cast a 'Fill' to type 'T'.