Files
IJSVG/source/IJSVGCommandClose.m
T
Curtis Hard 4804fe4db3 Added elliptical arc command (finally)
Various other fixes and tweaks
2015-04-13 19:13:52 +01:00

35 lines
659 B
Objective-C

//
// IJSVGCommandClose.m
// IconJar
//
// Created by Curtis Hard on 30/08/2014.
// Copyright (c) 2014 Curtis Hard. All rights reserved.
//
#import "IJSVGCommandClose.h"
@implementation IJSVGCommandClose
+ (void)load
{
[IJSVGCommand registerClass:[self class]
forCommand:@"z"];
}
+ (NSInteger)requiredParameterCount
{
return 0;
}
+ (void)runWithParams:(CGFloat *)params
paramCount:(NSInteger)count
command:(IJSVGCommand *)currentCommand
previousCommand:(IJSVGCommand *)command
type:(IJSVGCommandType)type
path:(IJSVGPath *)path
{
[path close];
}
@end