FDA-PIOUPIOU
FDA-PIOUPIOU

Reputation: 31

Is TCanvas.DrawLine() a vector draw or a pixel-based draw?

When I call DrawLine() on a TImage.Bitmap.Canvas, is it a vector draw or a pixel-based draw?

Upvotes: 1

Views: 306

Answers (1)

fpiette
fpiette

Reputation: 12292

It is a pixel-based draw. If you need vector drawing, you may look at SVG components or use a metafile. Anyway, at some point, it will be rasterized to be rendered on screen or other device.

Upvotes: 2

Related Questions