Kaydet (Commit) 9c8d3789 authored tarafından Caolán McNamara's avatar Caolán McNamara

remove ItalicMatrix into delivered header

üst 3b74ade0
...@@ -156,22 +156,6 @@ friend class ImplDevFontListData; ...@@ -156,22 +156,6 @@ friend class ImplDevFontListData;
// - ImplFontSelectData - // - ImplFontSelectData -
// ---------------------- // ----------------------
struct ItalicMatrix
{
double xx, xy, yx, yy;
ItalicMatrix() : xx(1), xy(0), yx(0), yy(1) {}
};
inline bool operator ==(const ItalicMatrix& a, const ItalicMatrix& b)
{
return a.xx == b.xx && a.xy == b.xy && a.yx == b.yx && a.yy == b.yy;
}
inline bool operator !=(const ItalicMatrix& a, const ItalicMatrix& b)
{
return a.xx != b.xx || a.xy != b.xy || a.yx != b.yx || a.yy != b.yy;
}
class ImplFontSelectData : public ImplFontAttributes class ImplFontSelectData : public ImplFontAttributes
{ {
public: public:
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include "vcl/dllapi.h" #include "vcl/dllapi.h"
#include "vcl/helper.hxx" #include "vcl/helper.hxx"
#include "vcl/vclenum.hxx" #include "vcl/vclenum.hxx"
#include "outfont.hxx"
#include "com/sun/star/lang/Locale.hpp" #include "com/sun/star/lang/Locale.hpp"
#include <vector> #include <vector>
......
...@@ -190,6 +190,22 @@ enum OutDevSupportType { OutDevSupport_TransparentRect, OutDevSupport_B2DClip, O ...@@ -190,6 +190,22 @@ enum OutDevSupportType { OutDevSupport_TransparentRect, OutDevSupport_B2DClip, O
#endif #endif
struct ItalicMatrix
{
double xx, xy, yx, yy;
ItalicMatrix() : xx(1), xy(0), yx(0), yy(1) {}
};
inline bool operator ==(const ItalicMatrix& a, const ItalicMatrix& b)
{
return a.xx == b.xx && a.xy == b.xy && a.yx == b.yx && a.yy == b.yy;
}
inline bool operator !=(const ItalicMatrix& a, const ItalicMatrix& b)
{
return a.xx != b.xx || a.xy != b.xy || a.yx != b.yx || a.yy != b.yy;
}
#endif // _VCL_VCLENUM_HXX #endif // _VCL_VCLENUM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment