File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / Draw / graphicsUndo.subproj / LineJoinGraphicsChange.m
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:38 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

#import "drawundo.h"

@interface LineJoinGraphicsChange(PrivateMethods)

@end

@implementation LineJoinGraphicsChange

- initGraphicView:aGraphicView lineJoin:(int)aJoinValue
{
    [super initGraphicView:aGraphicView];
    joinValue = aJoinValue;
    return self;
}

- (const char *)changeName
{
    return NXLocalStringFromTable("Operations", "Line Join", NULL, "The operation of changing the roundedness at the joint between two lines.");
}

- (int)lineJoin
{
    return joinValue;
}

- changeDetailClass
{
    return [LineJoinChangeDetail class];
}

@end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.