Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit037e6ed

Browse files
committed
Move AxisArtistHelpers to toplevel.
The axisartist has a concept of "axis_artist_helper", which computesvarious computations to draw slanted/curved axises. Confusingly,`AxisArtistHelper` (and likewise `AxisArtistHelperRectlinear`) do *not*define such helper classes; they are simply namespaces that hold the`{AxisArtistHelper,AxisArtistHelperRectlinear}.{Fixed,Floating}` nestedclasses which *do* define helpers. More specifically,`AxisArtistHelper.{Fixed,Floating}` act as abstract base classes for`AxisArtistHelperRectlinear.{Fixed,Floating}` which are actually usable.In order to slightly disentangle this move the actual helper classes tothe toplevel (as `_{Fixed,Floating}AxisArtistHelperBase` and`_{Fixed,Floating}AxisArtistHelperRectlinear`), keeping the old"purely namespace" classes around for backcompat. (But note that endusers should never have to directly interact with these classes anyways-- normally, they only construct GridHelpers which take care of theinteraction with AxisArtistHelpers; see e.g. the various axisartistexamples.)More simply, this commit simply dedents most of the definitions of theHelper classes.
1 parent6aaec5a commit037e6ed

File tree

2 files changed

+201
-190
lines changed

2 files changed

+201
-190
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp