Graphics

How to determine the height of a Text (TextExtent te_Height ?) ?

Hi,
I just wonder if the te_Height returned by TextExtent() is really the size in pixels of a text displayed on a RastPort ?

Considering I have a window of 132 pixels height with a Text whose TextExtent.te_Height is 128.
If I move my text to y = 130, it should be vertically centered, no ?

In the following test, I try to vertically center a text of 128 pixels height in a 132 pixels height window (window height returned by window->Height and by SysMon).

Forums: 

Hardware accelerated blitting

Hello,
for my work in progress application, I need to rely on fast hardware accelerated blitting operations.

I am currently evaluating the following functions, I wonder which are up to the task:

1) BltBitMapRastPort()
2) BltBitMapTags()
3) CompositeTags()

Any other functions that I am not taking in consideration?

The target is AmigaOS 4.1 Update 1.

Thanks, regards

Forums: 

Pages

Subscribe to RSS - Graphics