From a30f5359f03c3017fa19a6770fab32d25d22cb87 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 15 Jul 2024 19:08:22 +0900 Subject: Rename graphics class nt* related files to equivalent tq* (part 1) Signed-off-by: Michele Calgaro --- doc/html/tqbitmap.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/tqbitmap.html') diff --git a/doc/html/tqbitmap.html b/doc/html/tqbitmap.html index c4e78871e..abea71e97 100644 --- a/doc/html/tqbitmap.html +++ b/doc/html/tqbitmap.html @@ -58,7 +58,7 @@ The TQBitmap class provides monochrome (1-bit depth) pixmaps.

The TQBitmap class is a monochrome off-screen paint device used -mainly for creating custom TQCursor and TQBrush objects, in +mainly for creating custom TQCursor and TQBrush objects, in TQPixmap::setMask() and for TQRegion.

A TQBitmap is a TQPixmap with a depth of 1. If a pixmap with a depth greater than 1 is assigned to a @@ -66,19 +66,19 @@ bitmap, the bitmap will be dithered automatically. A TQBitmap is guaranteed to always have the depth 1, unless it is TQPixmap::isNull() which has depth 0.

When drawing in a TQBitmap (or TQPixmap with depth 1), we recommend -using the TQColor objects TQt::color0 and TQt::color1. +using the TQColor objects TQt::color0 and TQt::color1. Painting with color0 sets the bitmap bits to 0, and painting with color1 sets the bits to 1. For a bitmap, 0-bits indicate background (or transparent) and 1-bits indicate foreground (or opaque). Using the black and white TQColor objects make no -sense because the TQColor::pixel() value is not necessarily 0 for +sense because the TQColor::pixel() value is not necessarily 0 for black and 1 for white.

The TQBitmap can be transformed (translated, scaled, sheared or rotated) using xForm().

Just like the TQPixmap class, TQBitmap is optimized by the use of implicit sharing, so it is very efficient to pass TQBitmap objects as arguments. -

See also TQPixmap, TQPainter::drawPixmap(), bitBlt(), Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +

See also TQPixmap, TQPainter::drawPixmap(), bitBlt(), Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.


Member Function Documentation

TQBitmap::TQBitmap () @@ -90,7 +90,7 @@ Constructs a null bitmap.

Constructs a bitmap with width w and height h.

The contents of the bitmap is uninitialized if clear is FALSE; -otherwise it is filled with pixel value 0 (the TQColor TQt::color0). +otherwise it is filled with pixel value 0 (the TQColor TQt::color0).

The optional optimization argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may @@ -102,7 +102,7 @@ benefit from setting this argument; see TQColor TQt::color0). +otherwise it is filled with pixel value 0 (the TQColor TQt::color0).

The optional optimization argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may -- cgit v1.2.1