Home
last modified time | relevance | path

Searched refs:m_Ref (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_generalstate.cpp74 : m_Ref(that.m_Ref) {} in CPDF_GeneralState()
79 m_Ref.GetPrivateCopy()->m_RenderIntent = RI_StringToId(ri); in SetRenderIntent()
120 const StateData* pData = m_Ref.GetObject(); in GetBlendType()
125 m_Ref.GetPrivateCopy()->m_BlendType = type; in SetBlendType()
129 const StateData* pData = m_Ref.GetObject(); in GetFillAlpha()
134 m_Ref.GetPrivateCopy()->m_FillAlpha = alpha; in SetFillAlpha()
138 const StateData* pData = m_Ref.GetObject(); in GetStrokeAlpha()
143 m_Ref.GetPrivateCopy()->m_StrokeAlpha = alpha; in SetStrokeAlpha()
147 const StateData* pData = m_Ref.GetObject(); in GetSoftMask()
152 m_Ref.GetPrivateCopy()->m_pSoftMask = pObject; in SetSoftMask()
[all …]
Dcpdf_textstate.cpp17 m_Ref.Emplace(); in Emplace()
21 return m_Ref.GetObject()->m_pFont; in GetFont()
25 m_Ref.GetPrivateCopy()->SetFont(pFont); in SetFont()
29 return m_Ref.GetObject()->m_FontSize; in GetFontSize()
33 m_Ref.GetPrivateCopy()->m_FontSize = size; in SetFontSize()
37 return m_Ref.GetObject()->m_Matrix; in GetMatrix()
41 return m_Ref.GetPrivateCopy()->m_Matrix; in GetMutableMatrix()
45 return m_Ref.GetObject()->m_CharSpace; in GetCharSpace()
49 m_Ref.GetPrivateCopy()->m_CharSpace = sp; in SetCharSpace()
53 return m_Ref.GetObject()->m_WordSpace; in GetWordSpace()
[all …]
Dcpdf_path.cpp11 CPDF_Path::CPDF_Path(const CPDF_Path& that) : m_Ref(that.m_Ref) {} in CPDF_Path()
16 return m_Ref.GetObject()->GetPoints(); in GetPoints()
20 m_Ref.GetPrivateCopy()->ClosePath(); in ClosePath()
24 return m_Ref.GetObject()->GetPoint(index); in GetPoint()
28 return m_Ref.GetObject()->GetBoundingBox(); in GetBoundingBox()
33 return m_Ref.GetObject()->GetBoundingBox(line_width, miter_limit); in GetBoundingBox()
37 return m_Ref.GetObject()->IsRect(); in IsRect()
41 m_Ref.GetPrivateCopy()->Transform(pMatrix); in Transform()
45 m_Ref.GetPrivateCopy()->Append(other.GetObject(), pMatrix); in Append()
49 m_Ref.GetPrivateCopy()->Append(pData, pMatrix); in Append()
[all …]
Dcpdf_colorstate.cpp16 : m_Ref(that.m_Ref) {} in CPDF_ColorState()
21 m_Ref.Emplace(); in Emplace()
25 m_Ref.GetPrivateCopy()->SetDefault(); in SetDefault()
29 return m_Ref.GetObject()->m_FillRGB; in GetFillRGB()
33 m_Ref.GetPrivateCopy()->m_FillRGB = rgb; in SetFillRGB()
37 return m_Ref.GetObject()->m_StrokeRGB; in GetStrokeRGB()
41 m_Ref.GetPrivateCopy()->m_StrokeRGB = rgb; in SetStrokeRGB()
45 const ColorData* pData = m_Ref.GetObject(); in GetFillColor()
50 return &m_Ref.GetPrivateCopy()->m_FillColor; in GetMutableFillColor()
59 const ColorData* pData = m_Ref.GetObject(); in GetStrokeColor()
[all …]
Dcpdf_contentmark.cpp16 : m_Ref(that.m_Ref) {} in CPDF_ContentMark()
21 return m_Ref.GetObject()->CountItems(); in CountItems()
25 return m_Ref.GetObject()->GetItem(i); in GetItem()
29 const MarkData* pData = m_Ref.GetObject(); in GetMarkedContentID()
36 m_Ref.GetPrivateCopy()->AddMark(name, pDict, bDirect); in AddMark()
40 m_Ref.GetPrivateCopy()->DeleteLastMark(); in DeleteLastMark()
42 m_Ref.SetNull(); in DeleteLastMark()
Dcpdf_clippath.cpp18 CPDF_ClipPath::CPDF_ClipPath(const CPDF_ClipPath& that) : m_Ref(that.m_Ref) {} in CPDF_ClipPath()
23 return m_Ref.GetObject()->m_PathAndTypeList.size(); in GetPathCount()
27 return m_Ref.GetObject()->m_PathAndTypeList[i].first; in GetPath()
31 return m_Ref.GetObject()->m_PathAndTypeList[i].second; in GetClipType()
35 return m_Ref.GetObject()->m_TextList.size(); in GetTextCount()
39 return m_Ref.GetObject()->m_TextList[i].get(); in GetText()
79 PathData* pData = m_Ref.GetPrivateCopy(); in AppendPath()
96 PathData* pData = m_Ref.GetPrivateCopy(); in AppendTexts()
106 PathData* pData = m_Ref.GetPrivateCopy(); in Transform()
Dcpdf_clippath.h27 void Emplace() { m_Ref.Emplace(); } in Emplace()
28 void SetNull() { m_Ref.SetNull(); } in SetNull()
30 bool HasRef() const { return !!m_Ref; } in HasRef()
32 return m_Ref == that.m_Ref;
59 SharedCopyOnWrite<PathData> m_Ref; variable
Dcpdf_path.h24 void Emplace() { m_Ref.Emplace(); } in Emplace()
25 bool HasRef() const { return !!m_Ref; } in HasRef()
43 const CFX_PathData* GetObject() const { return m_Ref.GetObject(); } in GetObject()
46 SharedCopyOnWrite<CFX_PathData> m_Ref;
Dcpdf_generalstate.h25 void Emplace() { m_Ref.Emplace(); } in Emplace()
26 bool HasRef() const { return !!m_Ref; } in HasRef()
109 SharedCopyOnWrite<StateData> m_Ref; variable
Dcpdf_contentmark.h31 bool HasRef() const { return !!m_Ref; } in HasRef()
53 SharedCopyOnWrite<MarkData> m_Ref; variable
Dcpdf_colorstate.h46 bool HasRef() const { return !!m_Ref; } in HasRef()
69 SharedCopyOnWrite<ColorData> m_Ref; variable
Dcpdf_textstate.h87 SharedCopyOnWrite<TextData> m_Ref; variable
/external/pdfium/core/fxge/
Dcfx_graphstate.cpp14 : m_Ref(that.m_Ref) {} in CFX_GraphState()
19 m_Ref.Emplace(); in Emplace()
23 CFX_GraphStateData* pData = m_Ref.GetPrivateCopy(); in SetLineDash()
31 return m_Ref.GetObject() ? m_Ref.GetObject()->m_LineWidth : 1.f; in GetLineWidth()
35 m_Ref.GetPrivateCopy()->m_LineWidth = width; in SetLineWidth()
39 return m_Ref.GetObject() ? m_Ref.GetObject()->m_LineCap in GetLineCap()
43 m_Ref.GetPrivateCopy()->m_LineCap = cap; in SetLineCap()
47 return m_Ref.GetObject() ? m_Ref.GetObject()->m_LineJoin in GetLineJoin()
52 m_Ref.GetPrivateCopy()->m_LineJoin = join; in SetLineJoin()
56 return m_Ref.GetObject() ? m_Ref.GetObject()->m_MiterLimit : 10.f; in GetMiterLimit()
[all …]
Dcfx_graphstate.h38 const CFX_GraphStateData* GetObject() const { return m_Ref.GetObject(); } in GetObject()
41 SharedCopyOnWrite<CFX_GraphStateData> m_Ref;