diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-21 21:51:40 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-21 21:51:40 +0000 |
commit | f9958ed00c5f288d95ab4c6c1d90fc639d5c0f8d (patch) | |
tree | 8bc55fb63db3080b3f59bdc8ee95414a5d957649 /xfa/fxfa/parser/cxfa_fontdata.h | |
parent | 7c986a085631639d38076918e0df719d11f40e59 (diff) | |
download | pdfium-f9958ed00c5f288d95ab4c6c1d90fc639d5c0f8d.tar.xz |
Cleanup CXFA_FontData
This CL makes the various methods const and removes out params from
CXFA_FontData.
Change-Id: I85268906a2454c23b73d5724c2556758246791cb
Reviewed-on: https://pdfium-review.googlesource.com/18970
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_fontdata.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_fontdata.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/xfa/fxfa/parser/cxfa_fontdata.h b/xfa/fxfa/parser/cxfa_fontdata.h index ae5e4ac961..906337a88b 100644 --- a/xfa/fxfa/parser/cxfa_fontdata.h +++ b/xfa/fxfa/parser/cxfa_fontdata.h @@ -16,20 +16,20 @@ class CXFA_FontData : public CXFA_DataData { public: explicit CXFA_FontData(CXFA_Node* pNode); - float GetBaselineShift(); - float GetHorizontalScale(); - float GetVerticalScale(); - float GetLetterSpacing(); - int32_t GetLineThrough(); - int32_t GetUnderline(); - int32_t GetUnderlinePeriod(); - float GetFontSize(); - void GetTypeface(WideString& wsTypeFace); - - bool IsBold(); - bool IsItalic(); - - FX_ARGB GetColor(); + float GetBaselineShift() const; + float GetHorizontalScale() const; + float GetVerticalScale() const; + float GetLetterSpacing() const; + int32_t GetLineThrough() const; + int32_t GetUnderline() const; + int32_t GetUnderlinePeriod() const; + float GetFontSize() const; + WideString GetTypeface() const; + + bool IsBold() const; + bool IsItalic() const; + + FX_ARGB GetColor() const; void SetColor(FX_ARGB color); }; |