BGRABitmap tutorial/ru

From Lazarus wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Deutsch (de) English (en) español (es) français (fr) русский (ru)

Home | Tutorial 1 | Tutorial 2 | Tutorial 3 | Tutorial 4 | Tutorial 5 | Tutorial 6 | Tutorial 7 | Tutorial 8 | Tutorial 9 | Tutorial 10 | Tutorial 11 | Tutorial 12 | Tutorial 13 | Tutorial 14 | Tutorial 15 | Tutorial 16 | Edit

Добро пожаловать в набор уроков для библиотеки BGRABitmap. Вы можете просматривать уроки по номеру с помощью панели сверху или по следующим категориям:

Установка BGRABitmap и рисование основных фигур

TBGRABitmap изображения имеют функции для рисования по целочисленным координатам или с плавающей запятой.

Текстуры и сканеры

Пиксели - это таблица в памяти, содержащая значения в формате TBGRAPixel. На этом уровне мы можем выполнять различные операции:

Другие возможности рисования

Больше возможностей можно получить, если использовать другие основные функции рисования:

More

You can use BGRABitmap to improve TAChart rendering.

More classes are available (you need to create them when you need them):

  • TBGRATextEffect, in unit BGRATextFX, allows to prepare the drawing of text line, to add effects like contour and shadow.
  • TBGRALayeredBitmap, in unit BGRALayers, allow to create a multi-layered bitmap. Units BGRAPaintNet and BGRAOpenRaster contain implementations to read and write in Paint.NET format (read only) and OpenRaster format (read and write).
  • Units BGRAGradientScanner and BGRATransform contain scanners to do various effects.
  • Unit BGRAGradients contain procedures to generate gradients and TPhongShading class for Phong shading.
  • TBGRACompressableBitmap, in unit BGRACompressableBitmap, allow to store and compress images.

Other units contient low level functions, and you should not need to use them for a normal usage.