Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,094
    • Issues 2,094
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #21743
Closed
Open
Created Apr 13, 2012 by FPC Admin account@fpc_adminOwner

Extend Carbon RawImage and Bitmap handling

Original Reporter info from Mantis: djenkins @dfjenkins
  • Reporter name: David Jenkins

Description:

  1. In TCarbonWidgetSet.RawImage_DescriptionFromCarbonBitmap ADesc.Depth
    should be set to 1 if the bmp is monochrome (a mask).

  2. Add functionality to TCarbonWidgetSet.RawImage_FromCarbonBitmap so that Arect is actually
    used and applied

  3. In TCarbonWidgetSet.GetImagePixelData the bitmapBytesPerRow should be DQuadWord aligned. If not then use of this function can cause memory tromping when the size isn't as expected.

Patch against rev 36681 attached

Mantis conversion info:

  • Mantis ID: 21743
  • Version: 0.9.30.5 (SVN)
  • Fixed in revision: 36773 (#518bee76)
  • Monitored by: » @dfjenkins (David Jenkins)
Assignee
Assign to
Time tracking