Diagonal lines Root › Technical support › Tricks This topic has 3 replies, 3 voices, and was last updated 5 years, 12 months ago by Support. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts August 20, 2018 at 12:23 pm #58291 SupportKeymaster Hello There is no such special component, but you can use a PaintBox, I think. You can use the acgpDrawLine procedure which is declared in the acgpUtils unit: Code: procedure acgpDrawLine (DC: hdc; X1, Y1, X2, Y2: Single; Color: TColor; PenWidth: Single = 1); This procedure paints antialiased lines. June 20, 2019 at 10:23 am #59633 SzakiLaciParticipant 'Support' wrote: You can use the acgpDrawLine procedure which is declared in the acgpUtils unit: Code: procedure acgpDrawLine (DC: hdc; X1, Y1, X2, Y2: Single; Color: TColor; PenWidth: Single = 1); This procedure paints antialiased lines. Hi, Is there any version of this that is drawing this line with alpha-channel blended? [TColor >> TsColor] I would like to draw a big RED diagonal line on “deleted” ikons with white “shadow”. Or is it faster if I pre-create this image and simply “overdraw” the original (=merge it) every time? (If yes >> how?) June 20, 2019 at 12:39 pm #59636 SupportKeymaster Color is 32-bit color there (with Alpha channel) if I'm not wrong. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Tricks