Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cxfa_ffline.h
Go to the documentation of this file.
1// Copyright 2017 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef XFA_FXFA_CXFA_FFLINE_H_
8#define XFA_FXFA_CXFA_FFLINE_H_
9
10#include "xfa/fxfa/cxfa_ffwidget.h"
11
12class CXFA_FFLine final : public CXFA_FFWidget {
13 public:
15 ~CXFA_FFLine() override;
16
17 // CXFA_FFWidget
19 const CFX_Matrix& matrix,
20 HighlightOption highlight) override;
21
22 private:
23 explicit CXFA_FFLine(CXFA_Node* pNode);
24
25 void GetRectFromHand(CFX_RectF& rect,
27 float fLineWidth);
28};
29
30#endif // XFA_FXFA_CXFA_FFLINE_H_
CFGAS_GEColor(const FX_ARGB argb)
StateRestorer(CFGAS_GEGraphics *graphics)
void SetLineWidth(float lineWidth)
void SetStrokeColor(const CFGAS_GEColor &color)
void SetLineCap(CFX_GraphStateData::LineCap lineCap)
void StrokePath(const CFGAS_GEPath &path, const CFX_Matrix &matrix)
void AddLine(const CFX_PointF &p1, const CFX_PointF &p2)
void Concat(const CFX_Matrix &right)
void Inflate(float x, float y)
float bottom() const
float right() const
void Deflate(float x, float y)
~CXFA_FFLine() override
void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight) override
CFX_Matrix GetRotateMatrix() override
CXFA_FFWidget(CXFA_Node *pNode)
bool HasVisibleStatus() const
CFX_RectF GetRectWithoutRotate()
CXFA_Edge * GetEdgeIfExists()
Definition cxfa_line.cpp:61
bool GetSlope()
Definition cxfa_line.cpp:57
XFA_AttributeValue GetHand()
Definition cxfa_line.cpp:53
FX_ARGB GetColor() const
XFA_AttributeValue GetCapType()
bool IsVisible()
float GetThickness() const
XFA_AttributeValue GetStrokeType()
CXFA_Line * GetLineIfExists() const
void XFA_RectWithoutMargin(CFX_RectF *rt, const CXFA_Margin *margin)
void XFA_StrokeTypeSetLineDash(CFGAS_GEGraphics *pGraphics, XFA_AttributeValue iStrokeType, XFA_AttributeValue iCapType)
XFA_AttributeValue
Definition fxfa_basic.h:60
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32