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,080
    • Issues 2,080
    • 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
  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #21863
Closed
Open
Created Apr 26, 2012 by FPC Admin account@fpc_adminOwner

Cannot set background color for drawing text

Original Reporter info from Mantis: cobines
  • Reporter name:

Description:

It is not possible to set background color for text using Canvas.Brush.Color := &LtPos;color>.

Drawing with Canvas.TextOut always draws black background color.
Drawing with DrawText does not draw background.
Drawing with ExtTextOut always draws black background color.

All three functions draw background correctly on LCLQT/Linux.

Mantis conversion info:

  • Mantis ID: 21863
  • OS: Debian
  • OS Build: Sid
  • Build: 37027
  • Platform: Linux i386
  • Version: 1.1 (SVN)
  • Fixed in revision: 37029 (#d9d4cafa),37031 (#5c73765c)
Assignee
Assign to
Time tracking