Lines Matching defs:bitmap

14 	contain bitmap data.
56 BBitmap::Private bitmap(sBitmapList.ItemAt(i));
57 bitmap.ReconnectToAppServer();
62 BBitmap::Private::Private(BBitmap* bitmap)
64 fBitmap(bitmap)
77 bitmap data (not including any padding) given a color space and a
147 /*! \brief Returns the number of bytes per row needed to store the bitmap
170 \param bounds The bitmap dimensions.
172 \param colorSpace The bitmap's color space.
173 \param bytesPerRow The number of bytes per row the bitmap should use.
199 \param bounds The bitmap dimensions.
200 \param colorSpace The bitmap's color space.
201 \param acceptsViews \c true, if the bitmap shall accept BViews, i.e. if
202 it shall be possible to attach BView to the bitmap and draw into
230 /*! \brief Creates a BBitmap as a clone of another bitmap.
231 \param source The source bitmap.
232 \param acceptsViews \c true, if the bitmap shall accept BViews, i.e. if
233 it shall be possible to attach BView to the bitmap and draw into
341 /*! \brief Unarchives a bitmap from a BMessage.
362 // this bitmap is archived in some archaic format
413 \return A bitmap reconstructed from the archive or \c NULL, if an error
494 /*! \brief Locks the bitmap bits so that they cannot be relocated.
506 // It would be more or less useful to report what kind of bitmap
526 // drawing the bitmap yet?
533 /*! \brief Unlocks the bitmap's buffer again.
547 /*! \brief Returns the ID of the area the bitmap data reside in.
548 \return The ID of the area the bitmap data reside in.
558 /*! \brief Returns the pointer to the bitmap data.
559 \return The pointer to the bitmap data.
575 /*! \brief Returns the size of the bitmap data.
576 \return The size of the bitmap data.
585 /*! \brief Returns the number of bytes used to store a row of bitmap data.
586 \return The number of bytes used to store a row of bitmap data.
595 /*! \brief Returns the bitmap's color space.
596 \return The bitmap's color space.
605 /*! \brief Returns the bitmap's dimensions.
606 \return The bitmap's dimensions.
615 /*! \brief Returns the bitmap's creating flags.
618 bitmap. It would for example tell you whether this is an overlay
619 bitmap. If bitmap creation succeeded, all flags are fulfilled.
621 \return The bitmap's creation flags.
630 /*! \brief Assigns data to the bitmap.
632 Data are directly written into the bitmap's data buffer, being converted
649 \param offset The offset (in bytes) relative to beginning of the bitmap
669 // If in color space is B_CMAP8, but the bitmap's is another one,
680 /*! \brief Assigns data to the bitmap.
682 Data are directly written into the bitmap's data buffer, being converted
695 \param offset The offset (in bytes) relative to beginning of the bitmap
730 /*! \brief Assigns data to the bitmap.
732 Allows for a BPoint offset in the source and in the bitmap. The region
734 (and converted if necessary) to the bitmap at \a to.
744 \param to The offset in the bitmap where the source should be written.
784 /*! \brief Assigns another bitmap's data to this bitmap.
786 The supplied bitmap must have the exactly same dimensions as this bitmap.
787 Its data is converted to the color space of this bitmap.
792 \param bitmap The source bitmap.
795 - \c B_BAD_VALUE: \c NULL \a bitmap, or \a bitmap has other dimensions,
799 BBitmap::ImportBits(const BBitmap* bitmap)
804 if (!bitmap || bitmap->InitCheck() != B_OK || bitmap->Bounds() != fBounds)
807 return ImportBits(bitmap->Bits(), bitmap->BitsLength(),
808 bitmap->BytesPerRow(), 0, bitmap->ColorSpace());
812 /*! \brief Assigns data to the bitmap.
814 Allows for a BPoint offset in the source and in the bitmap. The region
816 (and converted if necessary) to the bitmap at \a to. The source bitmap is
817 clipped to the bitmap and they don't need to have the same dimensions.
822 \param bitmap The source bitmap.
824 \param to The offset in the bitmap where the source should be written.
827 - \c B_BAD_VALUE: \c NULL \a bitmap, the conversion from or to one of
831 BBitmap::ImportBits(const BBitmap* bitmap, BPoint from, BPoint to, BSize size)
836 if (!bitmap || bitmap->InitCheck() != B_OK)
839 return ImportBits(bitmap->Bits(), bitmap->BitsLength(),
840 bitmap->BytesPerRow(), bitmap->ColorSpace(), from, to, size);
845 BBitmap::ImportBits(const BBitmap* bitmap, BPoint from, BPoint to, int32 width, int32 height)
847 return ImportBits(bitmap, from, to, BSize(width - 1, height - 1));
851 /*! \brief Returns the overlay_restrictions structure for this bitmap
873 /*! \brief Adds a BView to the bitmap's view hierarchy.
875 The bitmap must accept views and the supplied view must not be child of
888 /*! \brief Removes a BView from the bitmap's view hierarchy.
898 /*! \brief Returns the number of BViews currently belonging to the bitmap.
899 \return The number of BViews currently belonging to the bitmap.
908 /*! \brief Returns the BView at a certain index in the bitmap's list of views.
920 /*! \brief Returns a bitmap's BView with a certain name.
922 \return The BView with the name \a name or \c NULL, if the bitmap doesn't
932 /*! \brief Returns a bitmap's BView at a certain location.
934 \return The BView with located at \a point or \c NULL, if the bitmap
944 /*! \brief Locks the off-screen window that belongs to the bitmap.
946 The bitmap must accept views, if locking should work.
958 /*! \brief Unlocks the off-screen window that belongs to the bitmap.
960 The bitmap must accept views, if locking should work.
970 /*! \brief Returns whether or not the bitmap's off-screen window is locked.
972 The bitmap must accept views, if locking should work.
1031 /*! \brief Initializes the bitmap.
1032 \param bounds The bitmap dimensions.
1033 \param colorSpace The bitmap's color space.
1035 \param bytesPerRow The number of bytes per row the bitmap should use.
1065 fprintf(stderr, "bitmap bounds is much too large: "
1079 // allocate the bitmap buffer
1081 // TODO: Let the app_server return the size when it allocated the bitmap
1135 // Ask the server (via our owning application) to create a bitmap.
1223 // TODO: Creating an offscreen window with a non32 bit bitmap
1224 // copies the current content of the bitmap to a back buffer.
1225 // So at this point the bitmap has to be already cleared to white.
1242 /*! \brief Cleans up any memory allocated by the bitmap and
1286 // We lazily clone our own areas - if the bitmap is part of the usual
1287 // server memory area, or is a B_BITMAP_NO_SERVER_LINK bitmap, it
1289 fArea = clone_area("shared bitmap area", (void**)&fBasePointer,