Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::Extension::Internal::ImageResolution Class Reference

#include <image-resolution.h>

Public Member Functions

 ImageResolution (char const *fn)
 
bool ok () const
 
double x () const
 
double y () const
 

Private Member Functions

void readpng (char const *fn)
 
void readexif (char const *fn)
 
void readexiv (char const *fn)
 
void readjfif (char const *fn)
 
void readmagick (char const *fn)
 

Private Attributes

bool ok_
 
double x_
 
double y_
 

Detailed Description

Definition at line 17 of file image-resolution.h.

Constructor & Destructor Documentation

◆ ImageResolution()

Inkscape::Extension::Internal::ImageResolution::ImageResolution ( char const fn)
explicit

Definition at line 54 of file image-resolution.cpp.

References ok_, readexif(), readexiv(), readjfif(), readmagick(), readpng(), and x().

Member Function Documentation

◆ ok()

bool Inkscape::Extension::Internal::ImageResolution::ok ( ) const
inline

Definition at line 22 of file image-resolution.h.

References ok_.

◆ readexif()

void Inkscape::Extension::Internal::ImageResolution::readexif ( char const fn)
private

Definition at line 204 of file image-resolution.cpp.

References Inkscape::Extension::Internal::exifDouble(), ok_, x(), x_, and y_.

Referenced by ImageResolution().

◆ readexiv()

void Inkscape::Extension::Internal::ImageResolution::readexiv ( char const fn)
private

Definition at line 248 of file image-resolution.cpp.

References end, image, ok_, x(), x_, and y_.

Referenced by ImageResolution().

◆ readjfif()

◆ readmagick()

void Inkscape::Extension::Internal::ImageResolution::readmagick ( char const fn)
private

◆ readpng()

void Inkscape::Extension::Internal::ImageResolution::readpng ( char const fn)
private

Definition at line 90 of file image-resolution.cpp.

References Inkscape::Extension::Internal::haspngheader(), ok_, x(), x_, and y_.

Referenced by ImageResolution().

◆ x()

double Inkscape::Extension::Internal::ImageResolution::x ( ) const
inline

Definition at line 23 of file image-resolution.h.

References x_.

Referenced by ImageResolution(), readexif(), readexiv(), readjfif(), readmagick(), and readpng().

◆ y()

double Inkscape::Extension::Internal::ImageResolution::y ( ) const
inline

Definition at line 24 of file image-resolution.h.

References y_.

Member Data Documentation

◆ ok_

bool Inkscape::Extension::Internal::ImageResolution::ok_
private

Definition at line 27 of file image-resolution.h.

Referenced by ImageResolution(), ok(), readexif(), readexiv(), readjfif(), readmagick(), and readpng().

◆ x_

double Inkscape::Extension::Internal::ImageResolution::x_
private

Definition at line 28 of file image-resolution.h.

Referenced by readexif(), readexiv(), readjfif(), readmagick(), readpng(), and x().

◆ y_

double Inkscape::Extension::Internal::ImageResolution::y_
private

Definition at line 29 of file image-resolution.h.

Referenced by readexif(), readexiv(), readjfif(), readmagick(), readpng(), and y().


The documentation for this class was generated from the following files: