OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_INCLUDE_FXFA_FXFA_OBJECTACC_H_ | 7 #ifndef XFA_INCLUDE_FXFA_FXFA_OBJECTACC_H_ |
8 #define XFA_INCLUDE_FXFA_FXFA_OBJECTACC_H_ | 8 #define XFA_INCLUDE_FXFA_FXFA_OBJECTACC_H_ |
9 | 9 |
10 #include "core/include/fxge/fx_dib.h" | 10 #include "core/include/fxge/fx_dib.h" |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 int32_t GetCapType() const; | 326 int32_t GetCapType() const; |
327 int32_t GetStrokeType() const; | 327 int32_t GetStrokeType() const; |
328 FX_FLOAT GetThickness() const; | 328 FX_FLOAT GetThickness() const; |
329 CXFA_Measurement GetMSThickness() const; | 329 CXFA_Measurement GetMSThickness() const; |
330 void SetMSThickness(CXFA_Measurement msThinkness); | 330 void SetMSThickness(CXFA_Measurement msThinkness); |
331 FX_ARGB GetColor() const; | 331 FX_ARGB GetColor() const; |
332 void SetColor(FX_ARGB argb); | 332 void SetColor(FX_ARGB argb); |
333 int32_t GetJoinType() const; | 333 int32_t GetJoinType() const; |
334 FX_BOOL IsInverted() const; | 334 FX_BOOL IsInverted() const; |
335 FX_FLOAT GetRadius() const; | 335 FX_FLOAT GetRadius() const; |
336 FX_BOOL SameStyles(CXFA_Stroke stroke, FX_DWORD dwFlags = 0) const; | 336 FX_BOOL SameStyles(CXFA_Stroke stroke, uint32_t dwFlags = 0) const; |
337 }; | 337 }; |
338 | 338 |
339 class CXFA_Corner : public CXFA_Stroke { | 339 class CXFA_Corner : public CXFA_Stroke { |
340 public: | 340 public: |
341 explicit CXFA_Corner(CXFA_Node* pNode) : CXFA_Stroke(pNode) {} | 341 explicit CXFA_Corner(CXFA_Node* pNode) : CXFA_Stroke(pNode) {} |
342 }; | 342 }; |
343 | 343 |
344 class CXFA_Edge : public CXFA_Stroke { | 344 class CXFA_Edge : public CXFA_Stroke { |
345 public: | 345 public: |
346 explicit CXFA_Edge(CXFA_Node* pNode) : CXFA_Stroke(pNode) {} | 346 explicit CXFA_Edge(CXFA_Node* pNode) : CXFA_Stroke(pNode) {} |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 void GetEventList(CXFA_NodeArray& events); | 427 void GetEventList(CXFA_NodeArray& events); |
428 int32_t GetEventByActivity(int32_t iActivity, | 428 int32_t GetEventByActivity(int32_t iActivity, |
429 CXFA_NodeArray& events, | 429 CXFA_NodeArray& events, |
430 FX_BOOL bIsFormReady = FALSE); | 430 FX_BOOL bIsFormReady = FALSE); |
431 CXFA_Value GetDefaultValue(FX_BOOL bModified = FALSE); | 431 CXFA_Value GetDefaultValue(FX_BOOL bModified = FALSE); |
432 CXFA_Value GetFormValue(FX_BOOL bModified = FALSE); | 432 CXFA_Value GetFormValue(FX_BOOL bModified = FALSE); |
433 CXFA_Calculate GetCalculate(FX_BOOL bModified = FALSE); | 433 CXFA_Calculate GetCalculate(FX_BOOL bModified = FALSE); |
434 CXFA_Validate GetValidate(FX_BOOL bModified = FALSE); | 434 CXFA_Validate GetValidate(FX_BOOL bModified = FALSE); |
435 CXFA_Bind GetBind(FX_BOOL bModified = FALSE); | 435 CXFA_Bind GetBind(FX_BOOL bModified = FALSE); |
436 CXFA_Assist GetAssist(FX_BOOL bModified = FALSE); | 436 CXFA_Assist GetAssist(FX_BOOL bModified = FALSE); |
437 FX_DWORD GetRelevantStatus(); | 437 uint32_t GetRelevantStatus(); |
438 FX_BOOL GetWidth(FX_FLOAT& fWidth); | 438 FX_BOOL GetWidth(FX_FLOAT& fWidth); |
439 FX_BOOL GetHeight(FX_FLOAT& fHeight); | 439 FX_BOOL GetHeight(FX_FLOAT& fHeight); |
440 FX_BOOL GetMinWidth(FX_FLOAT& fMinWidth); | 440 FX_BOOL GetMinWidth(FX_FLOAT& fMinWidth); |
441 FX_BOOL GetMinHeight(FX_FLOAT& fMinHeight); | 441 FX_BOOL GetMinHeight(FX_FLOAT& fMinHeight); |
442 FX_BOOL GetMaxWidth(FX_FLOAT& fMaxWidth); | 442 FX_BOOL GetMaxWidth(FX_FLOAT& fMaxWidth); |
443 FX_BOOL GetMaxHeight(FX_FLOAT& fMaxHeight); | 443 FX_BOOL GetMaxHeight(FX_FLOAT& fMaxHeight); |
444 CXFA_Border GetUIBorder(FX_BOOL bModified = FALSE); | 444 CXFA_Border GetUIBorder(FX_BOOL bModified = FALSE); |
445 CXFA_Margin GetUIMargin(FX_BOOL bModified = FALSE); | 445 CXFA_Margin GetUIMargin(FX_BOOL bModified = FALSE); |
446 void GetUIMargin(CFX_RectF& rtUIMargin); | 446 void GetUIMargin(CFX_RectF& rtUIMargin); |
447 int32_t GetButtonHighlight(); | 447 int32_t GetButtonHighlight(); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 explicit CXFA_Occur(CXFA_Node* pNode); | 552 explicit CXFA_Occur(CXFA_Node* pNode); |
553 | 553 |
554 int32_t GetMax(); | 554 int32_t GetMax(); |
555 int32_t GetMin(); | 555 int32_t GetMin(); |
556 FX_BOOL GetOccurInfo(int32_t& iMin, int32_t& iMax, int32_t& iInit); | 556 FX_BOOL GetOccurInfo(int32_t& iMin, int32_t& iMax, int32_t& iInit); |
557 void SetMax(int32_t iMax); | 557 void SetMax(int32_t iMax); |
558 void SetMin(int32_t iMin); | 558 void SetMin(int32_t iMin); |
559 }; | 559 }; |
560 | 560 |
561 #endif // XFA_INCLUDE_FXFA_FXFA_OBJECTACC_H_ | 561 #endif // XFA_INCLUDE_FXFA_FXFA_OBJECTACC_H_ |
OLD | NEW |