View Issue Details

IDProjectCategoryView StatusLast Update
0036452LazarusDocumentationpublic2019-12-17 22:02
ReporterCudaText manAssigned Towp 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.1 (SVN)Product Build 
Target VersionFixed in Version 
Summary0036452: Canvas.PolyBezier docs is poor
Descriptionhttps://lazarus-ccr.sourceforge.io/docs/lcl/graphics/tcanvas.polybezier.html
Quote: If the Filled Flag is set to TRUE then the resulting Poly-Bezier will be drawn as a Polygon.

??? does it mean that start and end points of a curve will be connected? does it mean that all parts of curve (with Continuous=false) will be connected? does it mean that all points (start-end and parts) will be connected and Brush filling is used?
TagsNo tags attached.
Fixed in Revision62408
LazTarget-
Widgetset
Attached Files

Activities

wp

2019-12-17 20:12

developer   ~0119896

Last edited: 2019-12-17 20:16

View 4 revisions

Yes this is nonsense. I'd propose "If the Filled flag is set to TRUE then a straight line is drawn to the starting point, and the entire curve is filled with the current brush". OK?

See screen shot of the attached test program illustrating the effect of the Filled flag.

wp

2019-12-17 20:13

developer  

polybezier_fill.png (4,098 bytes)
polybezier_fill.png (4,098 bytes)

wp

2019-12-17 20:14

developer  

polybezier-fill.zip (2,401 bytes)

CudaText man

2019-12-17 20:55

reporter   ~0119897

Yes, it will be ok.

wp

2019-12-17 22:02

developer   ~0119898

Done. Thanks for reporting.

Issue History

Date Modified Username Field Change
2019-12-17 17:06 CudaText man New Issue
2019-12-17 20:08 wp Assigned To => wp
2019-12-17 20:08 wp Status new => assigned
2019-12-17 20:12 wp Note Added: 0119896
2019-12-17 20:13 wp File Added: polybezier_fill.png
2019-12-17 20:14 wp Note Edited: 0119896 View Revisions
2019-12-17 20:14 wp File Added: polybezier-fill.zip
2019-12-17 20:16 wp Note Edited: 0119896 View Revisions
2019-12-17 20:16 wp Note Edited: 0119896 View Revisions
2019-12-17 20:18 wp Status assigned => feedback
2019-12-17 20:18 wp LazTarget => -
2019-12-17 20:55 CudaText man Note Added: 0119897
2019-12-17 20:55 CudaText man Status feedback => assigned
2019-12-17 22:02 wp Status assigned => resolved
2019-12-17 22:02 wp Resolution open => fixed
2019-12-17 22:02 wp Fixed in Revision => 62408
2019-12-17 22:02 wp Note Added: 0119898