Bug 156081 - MCGR: Change or add example for using Gradient2
Summary: MCGR: Change or add example for using Gradient2
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: x86-64 (AMD64) All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: HelpGaps-NewFeatures
  Show dependency treegraph
 
Reported: 2023-06-27 15:54 UTC by Regina Henschel
Modified: 2023-10-28 09:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2023-06-27 15:54:15 UTC
The file
https://opengrok.libreoffice.org/xref/core/odk/examples/DevelopersGuide/Drawing/FillAndLineStyleDemo.java

contains an example how to apply a gradient to a shape. That file needs an update or a new example needs to be added, now that multicolor gradients are possible. Affected is the struct Gradient2 and the struct ColorStop, see SDK API Reference.
Comment 1 Stéphane Guillou (stragu) 2023-10-28 09:35:03 UTC
Confirmed, thanks Regina.