From 2ff77db367c7077ff87ab8cbd05be0d8edc80ece Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 12 Apr 2025 09:10:37 +0200 Subject: [PATCH] Documentation fixes. --- www/Magick++/Blob.html | 2 +- www/Magick++/Geometry.html | 33 ++++++++++++++++++++++++--------- www/Magick++/Image.html | 4 ++-- 3 files changed, 27 insertions(+), 12 deletions(-) diff --git a/www/Magick++/Blob.html b/www/Magick++/Blob.html index f44f1144a3..02443e681e 100644 --- a/www/Magick++/Blob.html +++ b/www/Magick++/Blob.html @@ -147,7 +147,7 @@

void

-

void* data_, const size_t length_, Blob::Allocator allocator_ = Blob::NewAllocator

+

void* data_, const size_t length_, const Allocator allocator_ = Blob::NewAllocator

Update object contents, using supplied pointer directly (no copy) Any existing data in the object is deallocated. The user must ensure that the pointer supplied is not deleted or otherwise modified after it has been supplied to this method. The optional allocator_ parameter allows the user to specify if the C (MallocAllocator) or C++ (NewAllocator) memory allocation system was used to allocate the memory. The default is to use the C++ memory allocator.

diff --git a/www/Magick++/Geometry.html b/www/Magick++/Geometry.html index 75c3417ffb..438efdf309 100644 --- a/www/Magick++/Geometry.html +++ b/www/Magick++/Geometry.html @@ -495,24 +495,38 @@ table: - +

Geometry

- +

 

-

size_t width_, size_t height_, ssize_t xOff_ = - 0, ssize_t yOff_ = 0, bool xNegative_ = false, bool - yNegative_ = false

+

-

Construct geometry via explicit parameters.

+

Default constructor

-

const string geometry_

+

const char *geometry_

+ + +

Construct geometry from C string

+ + + + +

const Geometry &geometry_

+ + +

Copy constructor

+ + + + +

const std::string &geometry_

Construct geometry from C++ string

@@ -520,10 +534,11 @@ table: -

const char * geometry_

+

size_t width_, size_t height_, ssize_t xOff_ = + 0, ssize_t yOff_ = 0

-

Construct geometry from C string

+

Construct geometry via explicit parameters

diff --git a/www/Magick++/Image.html b/www/Magick++/Image.html index 4bb4ce920f..0d7eb7a452 100644 --- a/www/Magick++/Image.html +++ b/www/Magick++/Image.html @@ -3119,7 +3119,7 @@ should never be deallocated by the user.
readPixels
void - QuantumTypes + QuantumType quantum_, const unsigned char *source_, Transfers one or more pixel components from a buffer or file into the image pixel cache of an image. ReadPixels is @@ -3131,7 +3131,7 @@ corresponds to the region set by a preceding setPixels call.
writePixels
void - QuantumTypes + QuantumType quantum_, unsigned char *destination_ Transfers one or more pixel components from the image pixel cache to a buffer or file. WritePixels is typically