Skip to content

GitLab

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Menu
    Projects Groups Snippets
  • Sign up now
  • Login
  • 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
  • #21806
Closed
Open
Created Apr 19, 2012 by FPC Admin account@fpc_adminOwner

Brush.Style = bsClear is ignored

Original Reporter info from Mantis: Ask
  • Reporter name: Alexander S. Klenin

Description:

The code below

  with PaintBox1.Canvas do begin
    Brush.Style := bsClear;
    Brush.Color := clRed;
    Pen.Style := psDot;
    Pen.Color := clBlack;
    LineTo(100, 100);
  end;

draws red-black line instead of "transparent"-black.
This is a regression both compared to Delphi and Lazarus 0.9.30

Steps to reproduce:

Run attached project.

Mantis conversion info:

  • Mantis ID: 21806
  • Version: 1.1 (SVN)
  • Fixed in version: 1.1 (SVN)
Assignee
Assign to
Time tracking