Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

Direct2DShape

Hardware accelerated (GPU) TShape for Delphi

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

TDirect2DShape is a simply TShape implementation using TDirect2DCanvas to paint instead GDI TCanvas.

Instalation

[Optional] Boss instalation:

pascal
boss install github.com/willisnou/Direct2DShape

[Manual] For manual installation add the ../Direct2DShape/src directory on library path in Tools > Options > Language > Delphi > Library > Library Path AND install the component package to use in design time.

Getting started

Just drop (at design time) the TDirect2DShape on the form and configure it. To create at runtime declare the Direct2DShape unit in uses clause and use the TDirect2DShape object.

delphi
uses Direct2DShape;

Sample code

Check out the sample code available and compare by your own.