Welcome, Guest
Username: Password: Remember me
Components and Libraries for Graphics Development, discussions, problems and suggestions.
  • Page:
  • 1

TOPIC:

Rectangle Frame using TBGRABitmap 12 years 11 months ago #1427

  • Gintas
  • Gintas's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Graphics Designer/Developer
  • Posts: 32
  • Thank you received: 3
Heya,

I wonder how to draw a rectangle with frame using TBGRABitmap
RectangleAntialias function?

Here is my code:
webbutton.RectangleAntialias(0,0,128 ,128,BGRA(255,0,0),1,BGRA(0,0,0));

The result is attached bellow.
Attachments:

Please Log in or Create an account to join the conversation.

Re: Rectangle Frame using TBGRABitmap 12 years 11 months ago #1436

  • Gintas
  • Gintas's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Graphics Designer/Developer
  • Posts: 32
  • Thank you received: 3
Solved the problem by using two FillRect functions. Now stuck with same
stuff by using FillRoundRectAntialias and TBGRAMultishapeFiller for border. :(

Please Log in or Create an account to join the conversation.

  • Page:
  • 1