Skip to content

Commit b0acb50

Browse files
committed
Declaring painter classes as private
1 parent a6262ac commit b0acb50

File tree

13 files changed

+17
-7
lines changed

13 files changed

+17
-7
lines changed

build/jsroot.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49274,6 +49274,11 @@ function drawBinsSurf3D(painter, is_v7 = false) {
4927449274

4927549275
/// Special mathematical functions
4927649276

49277+
/**
49278+
* A math namespace - all functions can be exported from math/base.mjs.
49279+
* @namespace Math
49280+
*/
49281+
4927749282
const kMACHEP = 1.11022302462515654042363166809e-16,
4927849283
kMINLOG = -708.396418532264078748994506896,
4927949284
kMAXLOG = 709.782712893383973096206318587,
@@ -49286,7 +49291,7 @@ const kMACHEP = 1.11022302462515654042363166809e-16,
4928649291
/** @summary Polynomialeval function
4928749292
* @desc calculates a value of a polynomial of the form:
4928849293
* a[0]x^N+a[1]x^(N-1) + ... + a[N]
49289-
* @private */
49294+
* @memberof Math */
4929049295
function Polynomialeval(x, a, N) {
4929149296
if (N==0) return a[0];
4929249297

modules/base/BasePainter.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,8 @@ class BasePainter {
654654
} // class BasePainter
655655

656656
/** @summary Load and initialize JSDOM from nodes
657-
* @returns {Promise} with d3 selection for d3_body */
657+
* @returns {Promise} with d3 selection for d3_body
658+
* @private */
658659
function _loadJSDOM() {
659660
return import("jsdom").then(handle => {
660661

modules/base/FontHandler.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const root_fonts_aver_width = [0.5778,0.5314,
1717

1818
/**
1919
* @summary Helper class for font handling
20-
*
20+
* @private
2121
*/
2222

2323
class FontHandler {

modules/base/TAttFillHandler.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { getColor } from './colors.mjs';
44

55
/**
66
* @summary Handle for fill attributes
7-
*
87
* @private
98
*/
109

modules/base/TAttLineHandler.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const root_line_styles = [
88

99
/**
1010
* @summary Handle for line attributes
11+
* @private
1112
*/
1213

1314
class TAttLineHandler {

modules/base/TAttMarkerHandler.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const root_markers = [
1515

1616
/**
1717
* @summary Handle for marker attributes
18-
*
18+
* @private
1919
*/
2020

2121
class TAttMarkerHandler {

modules/base/math.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
/**
44
* A math namespace - all functions can be exported from base/math.mjs.
5+
* Also all these functions can be used with TFormula calcualtions
56
* @namespace Math
67
*/
78

modules/gpad/TFramePainter.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,6 +1438,7 @@ const FrameInteractive = {
14381438

14391439
/**
14401440
* @summary Painter class for TFrame, main handler for interactivity
1441+
* @private
14411442
*/
14421443

14431444
class TFramePainter extends ObjectPainter {

modules/gpad/TPadPainter.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ const webSnapIds = { kNone: 0, kObject: 1, kSVG: 2, kSubPad: 3, kColors: 4, kSt
169169

170170
/**
171171
* @summary Painter for TPad object
172+
* @private
172173
*/
173174

174175
class TPadPainter extends ObjectPainter {

modules/hist/TGraph2DPainter.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { createLineSegments, PointsCreator } from '../base/base3d.mjs';
1616

1717
/**
1818
* @summary Painter for TGraph2D classes
19+
* @private
1920
*/
2021

2122
class TGraph2DPainter extends ObjectPainter {

0 commit comments

Comments
 (0)