Home > comp > gb.cairo > cairo > pathextents 
 en fr de es it nl pl pt pt_BR mk sq ca hu tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Cairo.PathExtents (gb.cairo)
Static Property Read PathExtents As CairoExtents

Computes a bounding box in user-space coordinates covering the points on the current path. If the current path is empty, returns an empty rectangle. Stroke parameters, fill rule, surface dimensions and clipping are not taken into account.

Contrast with Cairo.FillExtents and Cairo.StrokeExtents which return the extents of only the area that would be "inked" by the corresponding drawing operations.

The result of this vlastnosti is defined as equivalent to the limit of Cairo.StrokeExtents with LineCapRound as the line width approaches 0.0, (but never reaching the empty-rectangle returned by CairoStrokeExtents for a line width of 0.0).

Specifically, this means that zero-area sub-paths such as Cairo.MoveTo;Cairo.LineTo segments, (even degenerate cases where the coordinates to both calls are identical), will be considered as contributing to the extents. However, a lone Cairo.MoveTo will not contribute to the results of