Image::GetDPI now const (thanks SergeA)

git-svn-id: svn://ultimatepp.org/upp/trunk@11124 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-05-26 17:02:55 +00:00
parent 13a5bfd911
commit 319f8d4fcd
3 changed files with 3 additions and 3 deletions

View file

@ -187,7 +187,7 @@ Size Image::GetDots() const
return data ? data->buffer.GetDots() : Size(0, 0);
}
Size Image::GetDPI()
Size Image::GetDPI() const
{
Size size = GetSize();
Size dots = GetDots();

View file

@ -179,7 +179,7 @@ public:
Point GetHotSpot() const;
Point Get2ndSpot() const;
Size GetDots() const;
Size GetDPI();
Size GetDPI() const;
int GetKindNoScan() const;
int GetKind() const;
int GetResolution() const;

View file

@ -68,7 +68,7 @@ dSpot()_[@(0.0.255) const]&]
returns Size(0, 0).&]
[s3; &]
[s4; &]
[s5;:Image`:`:GetDPI`(`): [_^topic`:`/`/Core`/src`/Size`$en`-us^ Size]_GetDPI()&]
[s5;:Image`:`:GetDPI`(`): [_^Upp`:`:Size^ Size]_[* GetDPI]()_[@(0.0.255) const]&]
[s2;%% Returns the image resolution in dpi (dots per inch).&]
[s3; &]
[s4; &]